.gallery-documentation-page { padding-bottom: 90px; background: #f4f7f4; color: #183b2c; }
.gallery-documentation-hero { position: relative; overflow: hidden; padding: 40px 0 92px; background: radial-gradient(ellipse at 95% 0%, #277753 0, transparent 48%), linear-gradient(120deg, #082f23, #125b3d); color: #fff; }
.gallery-documentation-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 34px; color: #c2dbcf; font-size: .75rem; }
.gallery-documentation-breadcrumb a { color: #fff; text-decoration: none; }
.gallery-documentation-breadcrumb > span:last-child { max-width: 65ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-documentation-eyebrow { margin: 0 0 12px; color: #16815a; font-size: .69rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.gallery-documentation-hero .gallery-documentation-eyebrow { color: #f0d68d; }
.gallery-documentation-hero h1 { max-width: 960px; margin: 0 0 24px; color: #fff; font-size: clamp(1.9rem, 4vw, 3.25rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.22; overflow-wrap: anywhere; }
.gallery-documentation-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: #d4e9dd; font-size: .8rem; }
.gallery-documentation-meta > span, .gallery-documentation-meta > time { display: inline-flex; align-items: center; gap: 8px; }
.gallery-documentation-meta i { color: #f0d68d; }
.gallery-documentation-main { position: relative; margin-top: -46px; }
.gallery-documentation-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 30px; padding: 28px; border: 1px solid #e2eae4; border-radius: 26px; background: #fff; box-shadow: 0 20px 60px rgb(15 53 32 / .07); }
.gallery-documentation-view { min-width: 0; }
.gallery-documentation-information { padding: 8px 4px; }
.gallery-documentation-story-icon { display: grid; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 15px; place-items: center; background: #ecf5ee; color: #16724f; font-size: 1.25rem; }
.gallery-documentation-information h2 { margin: 0 0 14px; color: #153b2b; font-size: 1.2rem; font-weight: 750; line-height: 1.5; overflow-wrap: anywhere; }
.gallery-documentation-guide { color: #657e6f; font-size: .85rem; line-height: 1.8; }
.gallery-documentation-information dl { margin: 24px 0; }
.gallery-documentation-information dl > div { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid #e9efea; }
.gallery-documentation-information dt { color: #6a7e71; font-size: .72rem; font-weight: 500; }
.gallery-documentation-information dd { margin: 0; color: #224a36; font-size: .83rem; font-weight: 600; }
.gallery-documentation-back, .gallery-documentation-share { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 46px; padding: 12px; border-radius: 12px; font-size: .8rem; font-weight: 650; text-decoration: none; transition: background .2s, border-color .2s; }
.gallery-documentation-back { border: 1px solid #116b4b; background: #116b4b; color: #fff !important; }
.gallery-documentation-share { margin-top: 10px; border: 1px solid #dbe7de; background: #fff; color: #234a37; }
.gallery-documentation-copy-status { min-height: 1em; margin: 9px 0 0; color: #4d6e59; font-size: .75rem; }
.gallery-documentation-description { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 46px; padding: 48px 30px; border-bottom: 1px solid #dce7de; }
.gallery-documentation-description h2 { margin: 0; color: #173e2c; font-size: 1.6rem; font-weight: 750; letter-spacing: -.025em; }
.gallery-documentation-prose { color: #4c6656; font-size: .95rem; line-height: 1.95; overflow-wrap: anywhere; }
.gallery-documentation-prose > :first-child { margin-top: 0; }
.gallery-documentation-prose > :last-child { margin-bottom: 0; }
.gallery-documentation-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.gallery-documentation-page :focus-visible { outline: 3px solid #bd963c; outline-offset: 4px; }

@media (hover: hover) {
    .gallery-documentation-back:hover { background: #084c32; color: #fff; }
    .gallery-documentation-share:hover { border-color: #b7d2c0; background: #edf7f0; }
}

@media (max-width: 991.98px) {
    .gallery-documentation-workspace { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .gallery-documentation-information { display: block; padding-top: 24px; border-top: 1px solid #e3ece5; }
    .gallery-documentation-story-icon { display: none; }
    .gallery-documentation-information dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 20px 0; }
    .gallery-documentation-description { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 35px 12px; }
}

@media (max-width: 767.98px) {
    .gallery-documentation-page { padding-bottom: 55px; }
    .gallery-documentation-hero { padding: 24px 0 70px; }
    .gallery-documentation-breadcrumb { margin-bottom: 26px; }
    .gallery-documentation-hero h1 { font-size: 1.9rem; }
    .gallery-documentation-workspace { padding: 16px; border-radius: 20px; }
    .gallery-documentation-main { margin-top: -34px; }
    .gallery-documentation-meta { gap: 12px; font-size: .74rem; }
}

@media (max-width: 420px) {
    .gallery-documentation-information dl { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-documentation-page * { transition: none !important; }
}
