/* Structured page layouts; all copy and images come from the page editor. */
.designed-page {padding-top:27px;padding-bottom:48px}
.designed-page .breadcrumbs {margin-bottom:28px}
.page-hero {margin-bottom:40px;padding-bottom:36px;border-bottom:1px solid var(--line)}
.page-hero--with-cover {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:48px;align-items:center}
.page-hero--text .page-hero-copy {max-width:870px}
.page-eyebrow {display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.5;color:var(--blue);font-weight:600;margin-bottom:18px;letter-spacing:.025em}
.page-eyebrow .icon {width:18px;height:18px}
.page-hero h1 {font-size:43px;line-height:1.16;letter-spacing:-.045em;margin-bottom:20px;overflow-wrap:anywhere}
.page-lead {font-size:16px;line-height:1.85;color:var(--text)}
.page-lead p:last-child {margin-bottom:0}
.page-lead a {color:var(--blue)}
.page-facts {display:flex;align-items:center;flex-wrap:wrap;gap:15px 22px;margin-top:23px;font-size:11px;color:var(--muted)}
.page-facts>span,.page-facts>a {display:inline-flex;align-items:center;gap:7px}
.page-facts .icon {width:15px;height:15px}
.page-facts>a {color:var(--blue)}
.page-facts .catalog-total {font-size:12px;color:var(--ink);background:#f1f6fa;padding:6px 12px;border-radius:6px;font-weight:600}
.page-actions {display:flex;flex-wrap:wrap;gap:11px;margin-top:24px}
.page-actions .button {font-size:12px;padding:10px 17px}
.page-actions .button .icon {width:17px;height:17px}
.page-cover {min-width:0}
.page-cover figure {margin:0!important;width:100%!important;max-width:100%!important;float:none!important}
.page-cover a {display:block}
.page-cover img {display:block!important;width:100%!important;height:auto!important;max-height:345px;object-fit:contain;border:1px solid var(--line);border-radius:13px;background:#f7f9fa;box-shadow:0 8px 30px #19364c0a}
.page-cover figcaption {font-size:10px;color:var(--muted);text-align:center;line-height:1.5;margin-top:10px}
.page-body-layout {display:grid;grid-template-columns:minmax(0,1fr) 254px;gap:32px;align-items:start;scroll-margin-top:24px}
@media(min-width:1200px) {
    .page-body-layout {grid-template-columns:minmax(0,1fr) 300px}
}
.page-sections {min-width:0}
.page-section {padding:27px 28px;border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:22px;box-shadow:0 3px 17px #23425c03}
.page-section:last-child {margin-bottom:0}
.page-section .entry-content {font-size:15px;line-height:1.8}
.page-section .entry-content>h2:first-child {margin-top:0;margin-bottom:17px;font-size:25px}
.page-section .entry-content>h3:first-child {margin-top:0}
.page-section .entry-content>:last-child {margin-bottom:0}
.page-sidebar {align-self:stretch;min-width:0}
.page-sidebar-inner {position:sticky;top:25px}
.page-sidebar .toc-list {font-size:12px}
.page-sidebar .sidebar-card h2 {font-size:17px}
.page-sidebar .sidebar-card:last-child {margin-bottom:0}
.page-shortcuts>a,.page-resource-card>a {display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;padding-block:10px}
.page-shortcuts .icon,.page-resource-card .icon {width:17px;height:17px;color:var(--blue)}
.page-shortcuts>a>.icon:last-child,.page-resource-card>a>.icon:last-child {margin-left:auto;width:14px;height:14px;color:#7d92a6}
.page-shortcuts a[aria-current=page] {color:var(--blue);font-weight:600}
.page-shortcuts h2,.page-resource-card h2 {margin-bottom:10px}
.page-resource-card>a>span {overflow-wrap:anywhere}
.page-section h2[id],.page-section h3[id],.catalog-card-title,.catalog-group-anchor {scroll-margin-top:25px}
.project-updates {margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.project-updates .post-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
.project-updates .post-grid>.post-card:last-child:nth-child(odd) {grid-column:auto}
.project-updates .post-card-title {font-size:18px}
.project-catalog {scroll-margin-top:25px}
.catalog-group-nav {display:flex;flex-wrap:wrap;gap:10px;margin-bottom:34px}
.catalog-group-nav>a {display:inline-flex;align-items:center;gap:10px;padding:9px 14px;border:1px solid var(--line);border-radius:9px;font-size:12px;line-height:1.5;background:#fafcfd}
.catalog-group-nav>a:hover {color:var(--blue);border-color:#bdd9ef;background:#f1f8ff}
.catalog-group-count {display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 7px;border-radius:7px;background:var(--blue-soft);color:var(--blue);font-size:12px;font-weight:600;flex-shrink:0}
.catalog-section+.catalog-section {margin-top:38px;padding-top:32px;border-top:1px solid var(--line)}
.catalog-section-heading {display:flex;align-items:center;gap:12px;margin-bottom:20px}
.catalog-section-heading h2 {margin:0;font-size:27px;line-height:1.25;letter-spacing:-.035em;scroll-margin-top:25px}
.catalog-card-top .catalog-card-title {margin:0;min-width:0}
.catalog-card-top .project-mark {flex-shrink:0}
@media(max-width:767px) {
    .catalog-group-nav {gap:8px;margin-bottom:27px}
    .catalog-group-nav>a {font-size:11px;padding:8px 10px;gap:7px}
    .catalog-section-heading h2 {font-size:23px}
    .catalog-section+.catalog-section {margin-top:28px;padding-top:26px}
}
.project-catalog-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.project-catalog-grid--1 {grid-template-columns:minmax(0,1fr);max-width:760px}
@media(min-width:1100px) {.project-catalog-grid--4 {grid-template-columns:repeat(2,minmax(0,1fr))}}
.project-catalog-card {position:relative;min-width:0;padding:25px 25px 23px;border:1px solid #e3e9ef;border-radius:13px;background:linear-gradient(140deg,#fff,#fbfcfd);transition:box-shadow .18s,border-color .18s;display:flex;flex-direction:column}
.project-catalog-card:hover {border-color:#bdd9ef;box-shadow:0 8px 28px #1a52720b}
.catalog-card-top {display:flex;align-items:center;gap:14px;margin-bottom:19px}
.catalog-card-top .project-mark {width:45px;height:45px;border-radius:9px;font-size:25px}
.catalog-card-top .project-mark--purple {font-size:21px}
.catalog-card-top .project-mark--red {background:linear-gradient(135deg,#ff8f91,#f05c71);font-size:20px}
.catalog-card-top .project-mark--orange {background:linear-gradient(135deg,#f9b466,#e58c48)}
.catalog-card-top .project-mark--green {font-size:18px}
.catalog-card-top .project-mark--blue {font-size:21px}
.catalog-group-label {color:var(--muted);font-size:10px;line-height:1.5;max-width:155px}
.catalog-card-title {font-size:23px;line-height:1.2;letter-spacing:-.035em;margin-bottom:16px}
.catalog-card-description {display:flex;flex-direction:column;flex:1;font-size:13px;line-height:1.8}
.catalog-card-description p {margin-bottom:13px}
.catalog-card-description>p:last-child {margin-top:auto;margin-bottom:0;padding-top:4px;font-size:12px}
.catalog-card-description a {text-underline-offset:3px}
.catalog-group-anchor {position:absolute;top:0}
.catalog-extras {margin-top:31px;max-width:900px}
.catalog-extras .page-section {background:#f6f9fc;border-color:#e4ecf3}
.catalog-extras .page-section .entry-content>h2:first-child {font-size:22px}
.catalog-footer-link {margin-top:25px}
.catalog-footer-link .button {font-size:12px}
.project-catalog-card--source {padding:0!important}
.catalog-card-image {display:block;aspect-ratio:16/9;background:#f1f6fa;overflow:hidden;border-bottom:1px solid var(--line)}
.catalog-card-image img {display:block;width:100%;height:100%;object-fit:cover}
.catalog-card-image .thumbnail-fallback {width:100%;height:100%;display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:var(--muted)}
.catalog-card-body {padding:24px;display:flex;flex:1;flex-direction:column}
.catalog-card-body .catalog-card-title {font-size:23px;line-height:1.25;margin:0 0 15px}
.catalog-card-excerpt {font-size:13px;line-height:1.8;color:var(--text);margin:0 0 20px}
.catalog-card-more {margin-top:auto;font-size:12px;align-self:flex-start}
.catalog-setup-notice {padding:20px;border:1px dashed var(--line);border-radius:9px}
.catalog-setup-notice a {color:var(--blue)}
.directory-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.directory-entry {border:1px solid #e4eaf0;border-radius:9px;background:#f9fbfd;padding:20px;min-width:0}
.entry-content .directory-entry h3 {font-size:19px;margin:0 0 13px;line-height:1.3}
.directory-entry p {font-size:13px;line-height:1.8}
.directory-entry>:last-child {margin-bottom:0}
.page-kind--term .page-section .entry-content>h2:first-child {font-size:23px;display:flex;align-items:center;gap:14px}
.page-kind--term .page-section .entry-content>h2:first-child::before {content:'Aa';font-size:16px;font-weight:600;letter-spacing:-.06em;color:var(--blue);width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;background:var(--blue-soft);border-radius:8px;flex-shrink:0}
.page-kind--my-goals .page-section {padding:0;border:0;box-shadow:none;background:transparent}
.page-kind--my-goals .page-section .entry-content>ol {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;counter-reset:ichi-goals;list-style:none;margin:0;padding:0}
.page-kind--my-goals .page-section .entry-content>ol>li {position:relative;margin:0;padding:24px 24px 24px 76px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(140deg,#fff,#f8fafb);counter-increment:ichi-goals;font-size:14px;line-height:1.8}
.page-kind--my-goals .page-section .entry-content>ol>li::before {content:counter(ichi-goals,decimal-leading-zero);position:absolute;left:23px;top:25px;display:flex;align-items:center;justify-content:center;width:35px;height:35px;color:var(--blue);background:var(--blue-soft);border-radius:8px;font-size:12px;font-weight:700}
.page-kind--my-goals del {color:#6f8891}
.designed-page .comments-area {margin-top:38px}
@media(max-width:1199px) {
    .page-hero--with-cover {gap:30px}
    .page-hero h1 {font-size:37px}
    .page-lead {font-size:15px}
    .page-body-layout {grid-template-columns:minmax(0,1fr) 220px;gap:25px}
    .page-section {padding:24px}
    .project-catalog-grid {gap:18px}
    .project-catalog-card {padding:22px 20px}
    .catalog-card-title {font-size:21px}
    .catalog-card-description {font-size:12px}
    .catalog-group-label {font-size:9px}
    .page-section .entry-content {font-size:14px}
    .page-actions .button,.page-sidebar .toc-list {font-size:11px}
    .directory-grid,.page-kind--my-goals .page-section .entry-content>ol {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:960px) {
    .page-hero--with-cover {grid-template-columns:1.1fr 1fr;gap:25px}
    .page-hero h1 {font-size:33px}
    .page-lead {font-size:14px}
    .page-body-layout {grid-template-columns:minmax(0,1fr) 200px;gap:22px}
    .page-section {padding:22px}
    .project-catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
    .catalog-card-description {font-size:13px}
    .project-updates .post-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
    .project-updates .post-grid>.post-card:last-child:nth-child(odd) {grid-column:1 / -1}
    .page-sidebar .toc-list {font-size:10px}
    .page-sidebar .sidebar-card h2 {font-size:15px}
    .page-shortcuts>a,.page-resource-card>a {font-size:11px;gap:8px}
    .page-section .entry-content>h2:first-child {font-size:23px}
    .page-cover figcaption {font-size:9px}
}
@media(max-width:767px) {
    .designed-page {padding-top:19px;padding-bottom:30px}
    .designed-page .breadcrumbs {margin-bottom:24px}
    .page-hero {margin-bottom:25px;padding-bottom:25px}
    .page-hero--with-cover {display:flex;flex-direction:column;align-items:stretch;gap:25px}
    .page-hero h1 {font-size:31px;line-height:1.18;margin-bottom:17px}
    .page-eyebrow {font-size:10px;margin-bottom:15px;gap:8px}
    .page-eyebrow .icon {width:16px;height:16px}
    .page-lead {font-size:14px;line-height:1.85}
    .page-facts {font-size:10px;margin-top:18px;gap:12px 18px}
    .page-facts .catalog-total {font-size:11px}
    .page-actions {margin-top:20px;gap:9px}
    .page-actions .button {font-size:11px;min-height:40px;padding:9px 13px}
    .page-cover img {max-height:275px;border-radius:10px}
    .page-cover figcaption {font-size:9px}
    .page-body-layout {display:block}
    .page-sidebar {display:none}
    .page-sections>.mobile-toc {margin-bottom:21px}
    .page-section {padding:20px;margin-bottom:17px;border-radius:10px}
    .page-section .entry-content {font-size:14px;line-height:1.85}
    .page-section .entry-content>h2:first-child {font-size:23px;margin-bottom:16px}
    .page-section .entry-content h3 {font-size:20px}
    .project-catalog-grid {grid-template-columns:minmax(0,1fr);gap:16px}
    .project-catalog-card {padding:23px 22px;border-radius:11px}
    .catalog-card-top {margin-bottom:17px;gap:15px}
    .catalog-card-top .project-mark {width:43px;height:43px}
    .catalog-group-label {font-size:10px;max-width:none}
    .catalog-card-title {font-size:24px;margin-bottom:14px}
    .catalog-card-description {font-size:13px;line-height:1.85}
    .catalog-card-description>p:last-child {font-size:12px}
    .catalog-extras {margin-top:23px}
    .catalog-extras .page-section .entry-content>h2:first-child {font-size:22px}
    .catalog-footer-link {margin-top:21px}
    .directory-grid {gap:13px}
    .directory-entry {padding:17px}
    .entry-content .directory-entry h3 {font-size:18px}
    .directory-entry p {font-size:13px}
    .page-kind--term .page-section .entry-content>h2:first-child {font-size:21px;gap:12px}
    .page-kind--term .page-section .entry-content>h2:first-child::before {width:34px;height:34px;font-size:14px}
    .page-kind--my-goals .page-section .entry-content>ol {gap:14px}
    .page-kind--my-goals .page-section .entry-content>ol>li {padding:21px 20px 21px 67px;font-size:14px}
    .page-kind--my-goals .page-section .entry-content>ol>li::before {left:19px;top:23px;width:31px;height:31px;font-size:11px}
    .project-updates {margin-top:28px;padding-top:23px}
    .project-updates .post-grid {grid-template-columns:minmax(0,1fr)}
    .project-updates .post-grid>.post-card:last-child:nth-child(odd) {grid-column:auto;display:flex}
    .project-updates .post-grid>.post-card:last-child:nth-child(odd) .post-card-image {aspect-ratio:1.88;height:auto}
    .project-updates .post-card-title {font-size:18px}
}
@media(prefers-reduced-motion:reduce) {.project-catalog-card{transition:none}}
