.content-main { min-height: 70vh; padding-top: var(--header-height); background: var(--paper); }
.content-hero { padding: clamp(4rem, 8vw, 7rem) 0 3rem; color: #fff; background: linear-gradient(145deg, var(--forest-950), var(--forest-700)); }
.content-hero h1 { max-width: 16ch; margin-bottom: 1rem; color: #fff; }
.content-hero p { max-width: 760px; color: rgba(255,255,255,.78); font-size: 1.15rem; }
.content-hero .eyebrow { color: var(--signal); }
.content-section { padding: 3.5rem 0 6rem; }
.content-toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.category-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.category-list a { padding: .42rem .75rem; color: var(--forest-800); background: var(--green-50); border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.category-list a.is-active, .category-list a:hover { color: #fff; background: var(--forest-700); border-color: var(--forest-700); }
.empty-state { padding: clamp(2rem, 5vw, 4rem); text-align: center; background: var(--green-50); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.post-grid, .album-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.4rem; }
.post-card, .album-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.post-card > a:first-child, .album-card > a:first-child { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--green-50); }
.post-card img, .album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.post-card:hover img, .album-card:hover img { transform: scale(1.025); }
.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--forest-700); background: linear-gradient(135deg, var(--green-50), var(--green-100)); font-size: 2.2rem; font-weight: 900; }
.card-copy { padding: 1.35rem; }
.card-meta, .article-meta { display: flex; flex-wrap: wrap; gap: .45rem .9rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.card-copy h2 { margin: .65rem 0 .75rem; font-size: 1.55rem; }
.card-copy h2 a { text-decoration: none; }
.card-copy p { color: var(--muted); font-size: .94rem; }
.read-more { color: var(--forest-700); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.pagination { display: flex; gap: .65rem; justify-content: center; margin-top: 2.5rem; }
.pagination a, .pagination span { display: grid; min-width: 2.6rem; min-height: 2.6rem; place-items: center; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: .6rem; text-decoration: none; }
.pagination .current { color: #fff; background: var(--forest-700); border-color: var(--forest-700); }
.article-shell { width: min(820px, calc(100% - 2rem)); margin-inline: auto; padding: calc(var(--header-height) + 3rem) 0 6rem; }
.article-shell h1 { max-width: 18ch; font-size: clamp(2.4rem, 6vw, 5rem); }
.article-shell .article-meta { padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.article-featured { margin: 0 0 2.5rem; overflow: hidden; border-radius: var(--radius); }
.article-featured img { width: 100%; max-height: 650px; object-fit: cover; }
.article-body { font-size: 1.08rem; }
.article-body h2 { margin-top: 2.7rem; font-size: 2.2rem; }
.article-body h3 { margin-top: 2rem; }
.article-body p, .article-body li { color: #354b44; }
.article-body a { color: var(--forest-700); }
.article-body blockquote { padding: 1.2rem 1.4rem; margin: 2rem 0; background: var(--green-50); border-left: 5px solid var(--forest-600); }
.article-photo { margin: 2.2rem 0; }
.article-photo img { width: 100%; height: auto; border-radius: .8rem; }
.article-photo figcaption { margin-top: .55rem; color: var(--muted); font-size: .85rem; text-align: center; }
.article-photo--small { max-width: 420px; }
.article-photo--medium { max-width: 780px; }
.article-photo--large { max-width: 100%; }
.back-link { display: inline-block; margin-bottom: 1.4rem; color: var(--forest-700); font-weight: 800; }
.album-header { padding: calc(var(--header-height) + 3.5rem) 0 2rem; }
.album-header h1 { max-width: 18ch; }
.album-description { max-width: 820px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; padding-bottom: 6rem; }
.photo-card { margin: 0; }
.photo-card button { width: 100%; padding: 0; overflow: hidden; aspect-ratio: 4/3; background: var(--green-50); border: 0; border-radius: .8rem; cursor: zoom-in; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.photo-card button:hover img { transform: scale(1.035); }
.photo-card figcaption { padding: .55rem .2rem 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .8rem; padding: 1rem; color: #fff; background: rgba(2,18,14,.96); }
.lightbox-stage { max-width: min(1200px, 100%); max-height: calc(100vh - 2rem); margin: auto; text-align: center; }
.lightbox-stage img { max-width: 100%; max-height: calc(100vh - 8rem); margin: auto; object-fit: contain; }
.lightbox-caption { margin: .8rem auto 0; color: rgba(255,255,255,.85); }
.lightbox button { display: grid; min-width: 3rem; min-height: 3rem; place-items: center; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; }
.preview-notice { padding: .8rem 1rem; color: #5c4700; background: #fff4b8; border: 1px solid #d8bd35; border-radius: .6rem; font-weight: 800; }
@media (max-width: 900px) { .post-grid, .album-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .photo-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 620px) { .post-grid, .album-grid { grid-template-columns: 1fr; } .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; } .lightbox { grid-template-columns: 1fr; } .lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); } .lightbox-prev { left: .5rem; } .lightbox-next { right: .5rem; } }

