.site-theme { --site-primary: #193f31; --site-deep: #132e26; --site-gold: #bda16c; --site-paper: #f6f5ef; --site-ink: #294235; --site-muted: #66745f; --site-line: #e1e4d8; --site-radius: 15px; margin: 0; background: var(--site-paper); color: var(--site-ink); font: var(--font-size-base)/1.9 var(--font-family-sans); }
.site-theme.palette-navy { --site-primary: #223b57; --site-deep: #152b43; --site-ink: #293c50; --site-muted: #67737f; --site-paper: #f4f5f6; --site-line: #dce1e6; }
.site-theme.palette-ivory { --site-primary: #645942; --site-deep: #3f392d; --site-gold: #aa8750; --site-ink: #494434; --site-paper: #fbf8f0; --site-line: #e8e1d3; }
.site-theme.palette-wine { --site-primary: #593941; --site-deep: #38272e; --site-ink: #48353b; --site-muted: #806b70; --site-paper: #f8f4f1; --site-line: #e8dddb; }
.site-theme.corners-square { --site-radius: 3px; }
.site-theme *, .site-theme *::before, .site-theme *::after { box-sizing: border-box; }
.site-theme h1, .site-theme h2, .site-theme h3, .site-theme p { margin: 0; }
.site-theme a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.site-theme a:focus-visible { outline: 2px solid var(--site-gold); outline-offset: 5px; }
.site-theme a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-container { width: min(100% - 64px, 1200px); margin: auto; }
.width-wide .site-container { max-width: 1560px; width: calc(100% - 64px); }
.width-full .site-container { max-width: none; width: calc(100% - 32px); }
.width-full .reading-bar-inner { max-width: none; padding-inline:16px; }
.site-skip { position: fixed; left: 20px; top: -100px; z-index: 10; padding: 12px 20px; background: #fffdf6; color: var(--site-primary); border: 1px solid var(--site-gold); }
.site-skip:focus { top: 15px; }
.site-header { background: #fffefa; border-bottom: 1px solid var(--site-line); }
.header-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 25px 0; }
.site-brand { display: flex; align-items: center; gap: 17px; min-width: 0; font-size: 19px; font-weight: 500; line-height: 1.75; }
.site-brand img { max-width: 85px; height: 54px; object-fit: contain; }
.site-brand small { display: block; font-size: 14px; font-weight: 400; color: var(--site-muted); margin-top: 4px; }
.site-brand-mark { flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 57px; border: 1px solid #ba9e674f; border-radius: 12px; background: #f8f4e8; color: #947746; }
.site-brand-mark svg { width: 30px; height: 30px; }
.site-header ul, .site-footer ul, .block-menu ul, .block-links ul { list-style: none; padding: 0; margin: 0; }
.site-header ul { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.site-header nav a { display: block; padding: 8px 0; font-size: 14px; }
.header-centered .header-inner { flex-direction: column; gap: 20px; }
.header-centered nav { width: 100%; padding-top: 14px; border-top: 1px solid var(--site-line); }
.header-centered ul { justify-content: center; }
.header-compact { background: var(--site-primary); color: #f8f1e3; }
.header-compact .header-inner { min-height: 85px; padding: 18px 0; }
.header-compact .site-brand small { color: #d6d8c7; }
.header-compact .site-brand-mark { background: #fff8e510; color: #ddc48b; }
#site-main { padding-top: 32px; padding-bottom: 45px; }
.site-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-bottom: 26px; }
.site-header.is-positioned { width: 100%; margin: 0 0 26px; }
.site-header.is-positioned > .header-inner { width: 100%; max-width: none; padding-inline: 24px; }
.site-column { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.span-1 { grid-column: span 1; }.span-2 { grid-column: span 2; }.span-3 { grid-column: span 3; }.span-4 { grid-column: span 4; }.span-5 { grid-column: span 5; }.span-6 { grid-column: span 6; }.span-7 { grid-column: span 7; }.span-8 { grid-column: span 8; }.span-9 { grid-column: span 9; }.span-10 { grid-column: span 10; }.span-11 { grid-column: span 11; }.span-12 { grid-column: span 12; }
.site-banner { position: relative; isolation: isolate; overflow: hidden; min-height: 330px; display: flex; align-items: center; padding: 48px; border-radius: var(--site-radius); background: radial-gradient(ellipse at 90% 10%, #c6ba7940, transparent 65%), linear-gradient(125deg, var(--site-primary), var(--site-deep)); color: #fbf5e6; }
.site-banner::after { content: ''; position: absolute; inset: 12px; border: 1px solid #dcc38f33; border-radius: max(0px, calc(var(--site-radius) - 7px)); pointer-events: none; z-index: 1; }
.banner-copy { position: relative; z-index: 1; max-width: 75%; overflow-wrap: anywhere; }
.banner-rule, .footer-rule { display: block; width: 38px; height: 2px; background: var(--site-gold); margin-bottom: 20px; }
.site-banner h1 { font-size: clamp(23px, 3.1vw, 40px); font-weight: 400; line-height: 1.65; }
.site-banner p { font-size: 14px; line-height: 1.9; color: #e1e5d5; margin-top: 18px; }
.banner-art { position: absolute; right: 1%; top: 50%; transform: translateY(-50%); width: 38%; max-height: 90%; object-fit: contain; opacity: .6; }
.banner-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-banner:has(.banner-image)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0c211ee6, #0c211e55); z-index: -1; }
.site-block { min-width: 0; background: #fffefa; border: 1px solid var(--site-line); border-radius: var(--site-radius); padding: 28px; overflow-wrap: anywhere; }
.site-block h2 { font-size: 20px; font-weight: 500; line-height: 1.65; margin-bottom: 17px; }
.site-block p { color: var(--site-muted); font-size: 14px; line-height: 2; }
.site-action { display: inline-flex; gap: 20px; align-items: center; padding: 11px 20px; background: var(--site-primary); color: #fff7e8 !important; border: 1px solid #aa936055; border-radius: max(3px, calc(var(--site-radius) - 6px)); font-size: 14px; margin-top: 22px; }
.site-banner .site-action { background: #fff7dc14; border-color: #cbb57d7a; }
.block-menu { padding: 0; overflow: hidden; }
.block-menu h2 { padding: 19px 23px; margin: 0; background: var(--site-primary); color: #fff7e8; font-size: 15px; }
.block-menu li a, .block-links li a { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 15px 0; font-size: 14px; border-bottom: 1px solid var(--site-line); }
.block-menu li a { padding-left: 23px; padding-right: 23px; }
.block-menu li:last-child a, .block-links li:last-child a { border-bottom: 0; }
.block-menu li a:hover, .block-links li a:hover { background: #baa3750c; }
.block-menu li span, .block-links li span { color: var(--site-gold); }
.site-image { padding: 0; margin: 0; overflow: hidden; border-radius: var(--site-radius); background: #fffefa; border: 1px solid var(--site-line); }
.site-image img { width: 100%; height: auto; display: block; }
.site-image figcaption { padding: 15px 20px; font-size: 14px; color: var(--site-muted); }
.site-spacer { height: 40px; }
.site-footer { background: var(--site-deep); color: #e8eddf; border-top: 3px solid var(--site-gold); }
.footer-inner { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 55px; padding-top: 44px; padding-bottom: 38px; }
.site-footer h2 { font-size: 19px; font-weight: 500; margin-bottom: 12px; }
.site-footer h3 { font-size: 14px; font-weight: 500; margin: 0 0 17px; color: #ddc690; }
.site-footer p, .site-footer li { font-size: 14px; color: #d0d6c6; overflow-wrap: anywhere; }
.site-footer li { margin-bottom: 10px; }
.site-copyright { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; border-top: 1px solid #d8c08233; padding-top: 20px; padding-bottom: 22px; font-size: 14px; color: #ced5c4; }
.site-copyright-owner { min-width: 0; overflow-wrap: anywhere; }
.site-credit { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; margin-left: auto; min-width: 0; max-width: 100%; text-align: right; line-height: 1.8; }
.site-credit-notice { font-size: 11px; overflow-wrap: anywhere; }
.site-credit-byline { font-size: 12px; }
.site-credit a, .site-credit strong { color: #e2cea2; font-weight: 600; }
.site-credit a { border-radius: 3px; transition: color .18s; }
.site-credit a:hover { color: #fff8e8; }
.footer-minimal .site-credit a, .footer-minimal .site-credit strong { color: var(--site-primary); }
.footer-minimal .site-credit a:hover { color: var(--site-deep); }
.footer-minimal { background: #fffefa; color: var(--site-ink); border-color: var(--site-line); }
.footer-minimal .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 28px; padding-bottom: 25px; }
.footer-minimal .footer-brand h2 { font-size: 16px; }
.footer-minimal .footer-rule, .footer-minimal h3 { display: none; }
.footer-minimal nav { align-self: center; }
.footer-minimal ul { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: flex-end; }
.footer-minimal .footer-contact { grid-column: 1 / -1; }
.footer-minimal p, .footer-minimal li, .footer-minimal .site-copyright { color: var(--site-muted); }
.footer-centered .footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 25px; }
.footer-centered .footer-rule { margin-left: auto; margin-right: auto; }
.footer-centered nav h3 { display: none; }
.footer-centered ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.footer-centered .site-copyright { text-align: left; }
.footer-contact .footer-inner { grid-template-columns: 1.4fr 1fr; }
.footer-contact .footer-contact { padding: 24px; border: 1px solid #cfb16b44; border-radius: var(--site-radius); grid-column: 2; grid-row: 1 / 3; }
.footer-contact .footer-inner > nav { grid-column: 1; }
.footer-contact .footer-inner > nav ul { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-contact .footer-inner > nav h3 { display: none; }
@media (max-width: 900px) { .header-inner { flex-direction: column; align-items: flex-start; gap: 20px; } .header-centered .header-inner { align-items: center; } .site-brand { font-size: 17px; } .site-row { gap: 16px; } .site-block { padding: 22px; } .block-menu { padding: 0; } .block-menu h2 { padding: 16px; font-size: 14px; } .block-menu li a { padding: 13px 16px; } .site-block h2 { font-size: 17px; } .footer-inner { gap: 28px; } }
@media (max-width: 767px) { .site-container, .width-wide .site-container { width: calc(100% - 36px); } .header-inner { padding: 22px 0 15px; } .site-brand { font-size: 15px; gap: 12px; } .site-brand small { font-size: 14px; } .site-brand-mark { width: 42px; height: 46px; } .site-header ul { gap: 5px 19px; } .site-header nav a { font-size: 14px; } #site-main { padding-top: 20px; padding-bottom: 20px; } .site-row { gap: 18px; margin-bottom: 18px; } .site-column { grid-column: span 12; gap: 18px; } .site-banner { min-height: 280px; padding: 30px 26px; } .banner-copy { max-width: 100%; } .banner-art { width: 65%; right: -10%; opacity: .18; } .site-banner h1 { font-size: 27px; } .site-banner p { font-size: 14px; } .site-block p { font-size: 14px; } .footer-inner, .footer-minimal .footer-inner, .footer-contact .footer-inner { display: flex; flex-direction: column; gap: 28px; padding: 30px 0; } .footer-minimal ul { justify-content: flex-start; } .site-copyright { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .site-theme * { scroll-behavior: auto; } }

@media (max-width: 767px) {
    .site-copyright { flex-direction: column; align-items: flex-start; gap: 12px; }
    .site-credit { align-items: flex-start; margin-left: 0; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .site-credit a { transition: none; } }
