/* Public identities share markup, routes and content, with distinct compositions. */
.site-setda { --site-ink: #164c40; --site-accent: #176b54; --site-soft: #edf5ef; --site-ring: #176b5460; }
.site-setwan { --site-ink: #172e4d; --site-accent: #805b20; --site-soft: #f6f2e9; --site-ring: #805b2060; }
.site-setda, .site-setwan { background: #fafbf9; }
body > .navbar-dark { background: var(--site-ink); }
body > .page-header { border-bottom: 0; }
body > .navbar.sticky-top { background: #fff; border-bottom: 1px solid #dce3df; }
.main-nav .navbar-nav-link.active, .main-nav .navbar-nav-link:hover { color: var(--site-ink); background: var(--site-soft); }
.site-setwan > .page-header { border-top: 4px solid #b38a47; }
.site-setwan > .navbar.sticky-top { background: var(--site-ink); }
.site-setwan .main-nav > .nav-item > .navbar-nav-link { color: #fff; }
.site-setwan .main-nav > .nav-item > .navbar-nav-link.active,
.site-setwan .main-nav > .nav-item > .navbar-nav-link:hover { color: #f4d797; background: #ffffff12; }
.discovery-hero { overflow: hidden; }
.discovery-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 4rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.discovery-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.5rem; }
.discovery-copy h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 700; max-width: 18ch; margin-bottom: 1.5rem; }
.discovery-description { max-width: 52ch; font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }
.discovery-search label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .65rem; }
.discovery-search-field { display: flex; padding: .4rem; border: 1px solid #c4d4ca; background: white; border-radius: .75rem; box-shadow: 0 10px 30px #153e2f0a; }
.discovery-search input { min-width: 0; flex: 1; width: 100%; border: 0; border-radius: .3rem; padding: .8rem; color: #24362c; background: white; }
.discovery-search button { border: 0; border-radius: .45rem; background: var(--site-ink); color: white; padding: .8rem 1.3rem; font-weight: 700; }
.discovery-browse { display: inline-block; margin-top: 1.3rem; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 5px; }
.discovery-browse:hover { color: inherit; }
.discovery-panel { min-width: 0; background: white; color: #24362c; }
.discovery-panel-content { padding: 1.8rem; }
.discovery-panel-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--site-accent); margin-bottom: 1rem; }
.discovery-panel-content a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #e4e8e2; font-weight: 600; color: var(--site-ink); }
.discovery-panel-content a:last-child { border-bottom: 0; }
.discovery-panel-content a:hover { text-decoration: underline; }
.discovery-slide-image { width: 100%; height: 190px; object-fit: contain; background: #f1f2ef; }
.discovery-slides .carousel-control-prev, .discovery-slides .carousel-control-next { width: 15%; background: #0007; }
.site-setda .discovery-hero { background: radial-gradient(ellipse at 90% 0%, #d9e9dc, transparent 65%), #f0f6ef; color: var(--site-ink); }
.site-setda .discovery-panel { border-radius: 1.4rem; box-shadow: 0 18px 50px #164c4012; border: 1px solid #d3e2d5; overflow: hidden; }
.site-setda .homepage-welcome { background: #164c40 !important; }
.site-setda .homepage-collections .card { border-radius: 1rem; border: 1px solid #dce7de; box-shadow: 0 5px 18px #164c4008 !important; }
.site-setwan .discovery-hero { background: linear-gradient(120deg, #172e4d, #213f62); color: #fff; border-bottom: 6px solid #b38a47; }
.site-setwan .discovery-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.site-setwan .discovery-copy { grid-column: 2; grid-row: 1; }
.site-setwan .discovery-panel { grid-column: 1; grid-row: 1; border-top: 4px solid #b38a47; background: #fbf8f1; }
.site-setwan .discovery-copy h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.025em; }
.site-setwan .discovery-eyebrow { color: #f4d797; }
.site-setwan .discovery-description { color: #e0e8f1; }
.site-setwan .discovery-search-field, .site-setwan .discovery-search button { border-radius: 0; }
.site-setwan .discovery-search button { background: #f0d399; color: #172e4d; }
.site-setwan .homepage-welcome { background: #f6f2e9 !important; border-bottom: 1px solid #e4dac7; }
.site-setwan .homepage-welcome .text-light { color: #172e4d !important; }
.site-setwan .homepage-welcome .text-handwriting { font-family: Georgia, 'Times New Roman', serif; }
.site-setwan h2.section-title { font-family: Georgia, 'Times New Roman', serif; }
.site-setwan .homepage-collections .card { border-radius: 0; border: 1px solid #e2dac9; border-top: 3px solid #b38a47; box-shadow: none !important; }
body > section.bg-dark.text-light { background-color: var(--site-ink) !important; }
.discovery-search input:focus-visible, .discovery-search button:focus-visible,
.discovery-panel a:focus-visible, .discovery-browse:focus-visible { outline: 3px solid #b38a47; outline-offset: 4px; }
@media (max-width: 991.98px) {
    .discovery-grid, .site-setwan .discovery-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .site-setwan .discovery-copy, .site-setwan .discovery-panel { grid-column: auto; grid-row: auto; }
    .discovery-copy h2 { max-width: 24ch; }
    .homepage-collections .d-flex.mb-4 { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 575.98px) {
    .page-header .page-title img { max-width: 135px !important; height: auto; max-height: 64px; }
    .page-header h1.page-title { min-width: 0; font-size: 1rem; }
    .page-header .page-title small { font-size: .8rem !important; line-height: 1.5 !important; }
    .discovery-panel-content { padding: 1.25rem; }
    .discovery-search button { padding: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .carousel-item, .lift { transition: none !important; }
}

/* Keep the existing theme switch readable outside the deliberately light hero panels. */
[data-color-theme="dark"] .site-setda,
[data-color-theme="dark"] .site-setwan { background: #1f252d; }
[data-color-theme="dark"] body > .navbar.sticky-top { background: var(--site-ink); }
[data-color-theme="dark"] .main-nav > .nav-item > .navbar-nav-link { color: #fff; }
[data-color-theme="dark"] .main-nav > .nav-item > .navbar-nav-link.active { color: var(--site-ink); background: var(--site-soft); }
