@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --ink: #17271e;
    --muted: #68776d;
    --green: #23553d;
    --green-dark: #193d2c;
    --lime: #c8df9b;
    --paper: #f7f7f2;
    --line: #e4e8df;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
.site-header { position: absolute; z-index: 2; top: 0; left: 0; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 25px 7.5%; color: white; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #ffffff70; border-radius: 50%; color: var(--lime); font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; }
.brand-logo { display: block; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Manrope, sans-serif; font-size: 15px; }
.brand small { margin-top: 3px; color: #ffffffa6; font-size: 11px; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.site-header nav a { color: #ffffffdb; transition: color .2s; }
.site-header nav a:hover { color: var(--lime); }
.site-header nav .nav-contact { padding: 11px 17px; border: 1px solid #ffffff80; border-radius: 3px; }
.hero { position: relative; display: flex; min-height: 660px; align-items: center; padding: 150px 11% 115px; overflow: hidden; background: radial-gradient(ellipse at 78% 34%, #809c705c 0, transparent 29%), linear-gradient(112deg, #1a3c2b 0%, #2d6040 52%, #1c432f 100%); color: white; }
.hero::after { position: absolute; right: -4%; bottom: -41%; width: 58vw; height: 58vw; border: 1px solid #ffffff17; border-radius: 50%; content: ''; box-shadow: 0 0 0 70px #ffffff09, 0 0 0 140px #ffffff06; }
.hero-content { position: relative; z-index: 1; max-width: 660px; }
.eyebrow, .section-label { color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 20px 0; font-family: Manrope, sans-serif; font-size: clamp(42px, 6.4vw, 76px); font-weight: 600; letter-spacing: -.055em; line-height: 1.08; }
.hero-content > p { max-width: 440px; margin: 0 0 31px; color: #ffffffbb; font-size: 16px; line-height: 1.8; }
.button { display: inline-flex; min-height: 48px; align-items: center; gap: 16px; padding: 0 24px; border-radius: 14px; background: linear-gradient(135deg, #cde3a2 0%, #b8d488 100%); color: var(--green-dark); font-size: 13px; font-weight: 700; transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 6px 20px -3px rgba(200, 223, 155, 0.45); }
.button:hover { transform: translateY(-2px); background: #d8e9b9; }
.button span { font-size: 18px; }
.hero-note { position: absolute; right: 8%; bottom: 38px; display: flex; align-items: center; gap: 9px; color: #ffffffb0; font-size: 11px; letter-spacing: .04em; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px #c8df9b20; }
.section { padding-right: 11%; padding-left: 11%; }
.welcome { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px 9%; padding-top: 105px; padding-bottom: 70px; }
.welcome .section-label { grid-column: 1 / -1; color: var(--green); }
.welcome h2, .contact-band h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(30px, 4vw, 45px); font-weight: 600; letter-spacing: -.04em; line-height: 1.17; }
.welcome p { max-width: 490px; margin: 5px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; padding-bottom: 105px; }
.feature-card { position: relative; min-height: 225px; padding: 28px 24px; border: 1px solid rgba(228, 232, 223, 0.85); border-radius: 18px; background: #fff; box-shadow: 0 6px 20px -4px rgba(23, 39, 30, 0.05); transition: all .28s cubic-bezier(0.16, 1, 0.3, 1); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -8px rgba(23, 39, 30, 0.12); border-color: rgba(168, 196, 135, 0.7); }
.feature-card-highlight { border-color: var(--green); background: var(--green); color: white; }
.card-number { color: #879389; font-size: 11px; letter-spacing: .08em; }
.feature-card-highlight .card-number { color: var(--lime); }
.feature-card h3 { margin: 34px 0 9px; font-family: Manrope, sans-serif; font-size: 17px; letter-spacing: -.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.feature-card-highlight p { color: #ffffffb8; }
.card-arrow { position: absolute; top: 20px; right: 21px; color: #748278; font-size: 17px; }
.feature-card-highlight .card-arrow { color: var(--lime); }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 61px 11%; background: #e9eddf; }
.contact-band .section-label { display: block; margin-bottom: 13px; color: var(--green); }
.contact-band h2 { font-size: clamp(26px, 3vw, 36px); }
.button-light { flex-shrink: 0; border: 1px solid #c4ceba; background: transparent; }
.button-light:hover { background: white; }
.site-footer { display: flex; justify-content: space-between; padding: 22px 11%; background: var(--green-dark); color: #ffffffad; font-size: 11px; }
.connection-banner { position: sticky; z-index: 5; top: 0; padding: 10px 7%; background: #8b3e24; color: #fff; font-size: 13px; text-align: center; }
.pwa-install-bar { position: relative; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 8px 7%; background: var(--green-dark); color: #fff; font-size: 12px; }
.pwa-install-content { display: grid; gap: 2px; }
.pwa-install-content span { color: #ffffffb8; }
.pwa-install-button { padding: 8px 13px; border: 1px solid var(--lime); border-radius: 7px; background: var(--lime); color: var(--green-dark); font: inherit; font-weight: 700; cursor: pointer; }
.pwa-install-dismiss { padding: 3px 8px; border: 0; background: transparent; color: #ffffffb8; font-size: 22px; cursor: pointer; }
.village-contact-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; padding: 9px 7%; background: #edf1e6; color: var(--green-dark); font-size: 12px; }
.village-contact-bar a { color: var(--green); font-weight: 600; }
.village-contact-bar a:hover { text-decoration: underline; }
.village-contact-title { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.message-layout { display: grid; grid-template-columns: minmax(230px, .35fr) 1fr; gap: 20px; }
.message-people h2 { margin-top: 0; font-size: 18px; }
.message-conversation-list { display: grid; gap: 8px; margin-top: 18px; }
.message-conversation { position: relative; display: grid; gap: 5px; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfa; color: var(--ink); text-align: left; cursor: pointer; }
.message-conversation:hover { border-color: var(--green); }
.message-conversation small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.unread-badge { position: absolute; top: 12px; right: 12px; min-width: 22px; padding: 3px 6px; border-radius: 10px; background: var(--green); color: #fff; font-size: 11px; text-align: center; }
.message-panel { min-height: 360px; }
.message-empty { display: grid; min-height: 180px; align-content: center; justify-items: center; padding: 24px; text-align: center; }
.message-empty h2 { margin: 0; }
.message-empty p { margin: 4px 0 0; }
.member-directory-section { margin-top: 20px; }
.member-directory-section .section-heading { margin-bottom: 18px; }
.member-directory-section h2 { margin: 4px 0 0; }
.member-count { color: var(--muted); font-size: 12px; }
.member-directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.member-directory-card { position: relative; display: flex; min-height: 72px; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fcfdfa; transition: border-color .2s, transform .2s; }
.member-directory-card:hover { border-color: var(--green); transform: translateY(-2px); }
.member-directory-card img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; background: #e9efdf; object-fit: cover; }
.member-presence-dot { position: absolute; top: 45px; left: 45px; width: 11px; height: 11px; border: 2px solid #fcfdfa; border-radius: 50%; background: #a9b3aa; }
.member-presence-dot.is-online { background: #3b9d5d; }
.member-directory-info { display: grid; min-width: 0; gap: 4px; }
.member-directory-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-directory-info small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.member-directory-arrow { margin-left: auto; color: var(--green); font-size: 18px; }
.chat-room-layout { display: grid; grid-template-columns: minmax(220px, .35fr) 1fr; gap: 20px; }
.chat-room-list h2 { margin-top: 0; }
.chat-room-list { display: grid; align-content: start; gap: 7px; }
.chat-room-list a { display: flex; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); }
.chat-room-list a:hover, .chat-room-list a.is-active { border-color: var(--green); background: #f0f5e9; color: var(--green-dark); }
.chat-room-panel { min-height: 500px; }
.chat-room-empty { display: grid; min-height: 440px; align-content: center; justify-items: center; text-align: center; }
.chat-room-empty h2 { margin: 0; }
.chat-room-empty p { margin: 5px 0 0; color: var(--muted); }
.chat-room-header { display: flex; align-items: end; justify-content: space-between; gap: 15px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.chat-room-header h2 { margin: 5px 0 0; }
.chat-room-header small { color: var(--muted); }
.chat-room-online { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--muted); font-size: 12px; }
.chat-room-online > div { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-room-online span { padding: 4px 8px; border-radius: 12px; background: #e9efdf; color: var(--green-dark); }
.chat-room-messages { display: grid; align-content: start; gap: 10px; min-height: 330px; max-height: 430px; overflow-y: auto; padding: 18px 0; }
.chat-room-message { width: fit-content; max-width: 80%; padding: 9px 13px; border-radius: 13px 13px 13px 3px; background: #e8e2d8; }
.chat-room-message-outgoing { margin-left: auto; border-radius: 13px 13px 3px 13px; background: #c8df9b; }
.chat-room-message strong, .chat-room-message p, .chat-room-message small { display: block; }
.chat-room-message p { margin: 4px 0; line-height: 1.45; }
.chat-room-message small { color: var(--muted); font-size: 10px; }
.chat-room-message img { display: block; max-width: 220px; max-height: 180px; margin-top: 7px; border-radius: 8px; object-fit: cover; }
.chat-room-compose { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; border-top: 1px solid var(--line); padding-top: 14px; }
.chat-room-compose textarea { width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 11px; resize: vertical; }
.chat-room-compose-preview { display: grid; grid-column: 1 / -1; gap: 7px; max-width: 300px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: #f4f7ef; }
.chat-room-compose-preview img { display: block; max-width: 180px; max-height: 130px; border-radius: 8px; object-fit: cover; }
.chat-room-compose-preview p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-room-tools { position: relative; display: flex; grid-column: 1 / -1; gap: 5px; }
.chat-room-emoji-control { position: relative; }
.chat-room-tools button, .chat-room-image-button { padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }
.chat-room-image-button input { display: none; }
.chat-room-emoji-picker { position: absolute; bottom: 35px; left: 0; display: grid; grid-template-columns: repeat(6, 1fr); max-width: 270px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.chat-room-emoji-picker[hidden] { display: none; }
.chat-room-emoji-picker .chat-room-emoji { padding: 4px; border: 0; background: transparent; font-size: 19px; line-height: 1.2; cursor: pointer; }
.chat-room-emoji-picker .chat-room-emoji:hover { background: #edf1e6; }
.home-chat-rooms { padding: 75px 11%; background: #edf1e6; }
.home-chat-room-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.home-chat-room-links a { display: flex; min-height: 100px; flex-direction: column; justify-content: space-between; padding: 17px; border: 1px solid #dce4d5; border-radius: 14px; background: #fff; }
.home-chat-room-links a span { align-self: end; color: var(--green); font-size: 18px; }
.admin-list-actions { display: flex; gap: 7px; }
.message-thread { display: grid; grid-template-rows: auto 1fr auto; min-height: 450px; }
.message-thread-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.message-thread-header h2 { margin: 0; }
.online-status::before { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: #3b9d5d; content: ''; }
.message-list { display: grid; align-content: start; gap: 10px; max-height: 360px; overflow-y: auto; padding: 20px 0; }
.message-bubble { width: fit-content; max-width: 80%; padding: 11px 14px; border-radius: 14px 14px 14px 3px; background: #e8efe8; }
.message-bubble-outgoing { margin-left: auto; border-radius: 14px 14px 3px 14px; background: #c8df9b; }
.message-bubble-incoming { margin-right: auto; background: #e8e2d8; }
.message-bubble p { margin: 0 0 5px; line-height: 1.5; }
.message-bubble small { color: var(--muted); font-size: 11px; }
.message-compose { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; border-top: 1px solid var(--line); padding-top: 15px; }
.message-compose textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; resize: vertical; }
.check-row { display: flex !important; grid-template-columns: auto 1fr !important; grid-auto-flow: column; align-items: center; gap: 10px !important; }
.gallery-category-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gallery-category-filter a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: 13px; }
.gallery-category-filter a.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.gallery-upload-panel { border-color: #c8df9b; background: linear-gradient(135deg, #fbfdf7, #f0f5e9); }
.gallery-upload-panel h2 { margin: 8px 0 0; }
.gallery-upload-panel .section-heading { align-items: start; }
.gallery-upload-note { color: var(--muted); font-size: 12px; }
.gallery-upload-details { margin-top: 24px; text-align: center; }
.gallery-upload-details > summary { display: inline-flex; cursor: pointer; list-style: none; }
.gallery-upload-details > summary::-webkit-details-marker { display: none; }
.gallery-upload-details[open] > summary { margin-bottom: 15px; }
.gallery-upload-details .gallery-upload-panel { text-align: left; }
.gallery-login-note { margin-top: 24px; text-align: center; }
.mobile-dashboard, .mobile-bottom-nav { display: none; }
@media (max-width: 850px) {
    .site-header { padding: 20px 6%; }
    .site-header nav { gap: 16px; }
    .site-header nav a:nth-child(2), .site-header nav a:nth-child(3) { display: none; }
    .hero { min-height: 600px; padding: 145px 8% 105px; }
    .section { padding-right: 8%; padding-left: 8%; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); padding-bottom: 75px; }
    .contact-band { padding-right: 8%; padding-left: 8%; }
}
@media (max-width: 560px) {
    .brand small { display: none; }
    .site-header nav { gap: 12px; font-size: 12px; }
    .site-header nav a:nth-child(4) { display: none; }
    .site-header nav .nav-contact { padding: 9px 12px; }
    .hero { min-height: 590px; }
    .hero h1 { font-size: 45px; }
    .welcome { display: block; padding-top: 75px; padding-bottom: 45px; }
    .welcome h2 { margin-top: 18px; }
    .welcome p { margin-top: 18px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 195px; }
    .contact-band { align-items: flex-start; flex-direction: column; padding-top: 45px; padding-bottom: 45px; }
    .site-footer { gap: 10px; flex-direction: column; }
    .pwa-install-bar { align-items: flex-start; gap: 10px; padding: 10px 5%; }
    .pwa-install-button { margin-left: auto; white-space: nowrap; }
    .pwa-install-content span { display: none; }
    .message-layout { grid-template-columns: 1fr; }
    .message-compose { grid-template-columns: 1fr; }
    body { padding-bottom: 72px; }
    .mobile-dashboard { display: block; width: 92%; margin: 0 auto; padding: 28px 0 24px; }
    .mobile-dashboard-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin: 8px 0 20px; }
    .mobile-dashboard-header h1 { margin: 6px 0 0; font-family: Manrope, sans-serif; font-size: 27px; letter-spacing: -.04em; }
    .mobile-online-indicator { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; white-space: nowrap; }
    .mobile-online-indicator i { width: 7px; height: 7px; border-radius: 50%; background: #41a866; }
    .mobile-online-indicator.is-offline i { background: #b85b3b; }
    .mobile-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .mobile-quick-card { position: relative; display: flex; min-height: 104px; flex-direction: column; justify-content: space-between; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 8px 24px -14px #17271e55; }
    .mobile-quick-card-primary { grid-column: 1 / -1; min-height: 86px; flex-direction: row; align-items: center; background: var(--green); color: #fff; }
    .mobile-card-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 10px; background: #c8df9b55; color: var(--green-dark); font-size: 17px; }
    .mobile-quick-card-primary .mobile-card-icon { background: #c8df9b; }
    .mobile-quick-card strong, .mobile-quick-card small { display: block; }
    .mobile-quick-card strong { font-size: 14px; }
    .mobile-quick-card small { margin-top: 4px; color: var(--muted); font-size: 11px; }
    .mobile-quick-card-primary small { color: #ffffffbb; }
    .mobile-notification-badge { position: absolute; top: 14px; right: 14px; min-width: 22px; padding: 4px 7px; border-radius: 12px; background: var(--lime); color: var(--green-dark); font-size: 11px; text-align: center; }
    .mobile-dashboard-block { margin-top: 18px; padding: 17px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 8px 24px -14px #17271e55; }
    .mobile-block-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
    .mobile-block-heading h2 { margin: 0; font-family: Manrope, sans-serif; font-size: 16px; }
    .mobile-block-heading a { color: var(--green); font-size: 11px; font-weight: 700; }
    .mobile-forum-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #edf0ea; }
    .mobile-forum-row:first-of-type { border-top: 0; }
    .mobile-forum-row strong, .mobile-forum-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-forum-row strong { max-width: 230px; font-size: 12px; }
    .mobile-forum-row small { max-width: 230px; margin-top: 3px; color: var(--muted); font-size: 10px; }
    .mobile-avatar { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--green-dark); font-size: 12px; font-weight: 700; }
    .mobile-members-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 3px; }
    .mobile-members-row a { display: grid; min-width: 52px; justify-items: center; gap: 5px; }
    .mobile-members-row small { max-width: 64px; overflow: hidden; font-size: 9px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-author-block { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; }
    .mobile-author-block .mobile-block-heading a, .mobile-author-block p { color: #ffffffbb; }
    .mobile-author-block p { margin: 0 0 14px; font-size: 12px; line-height: 1.6; }
    .mobile-block-action { color: var(--lime); font-size: 12px; font-weight: 700; }
    .mobile-empty { margin: 0; color: var(--muted); font-size: 12px; }
    .mobile-bottom-nav { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(6, 1fr); padding: 8px 5px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fffffff2; box-shadow: 0 -8px 24px -18px #17271e; backdrop-filter: blur(12px); }
    .mobile-bottom-nav a { display: grid; justify-items: center; gap: 3px; color: var(--muted); }
    .mobile-bottom-nav a:first-child { color: var(--green); }
    .mobile-bottom-nav span { font-size: 19px; line-height: 1; }
    .mobile-bottom-nav small { font-size: 9px; }
    .chat-room-layout { grid-template-columns: 1fr; }
    .chat-room-list { order: 0; }
    .chat-room-panel { order: 1; min-height: 0; }
    .chat-room-messages { min-height: 260px; }
    .home-chat-rooms { padding: 45px 8%; }
    .home-chat-room-links { grid-template-columns: repeat(2, 1fr); }
}

.site-header { background: linear-gradient(180deg, #122d21c9, transparent); }
.site-header nav { flex-wrap: wrap; }
.nav-inline { display: inline; }
.nav-button { padding: 0; border: 0; background: transparent; color: #ffffffdb; font: inherit; cursor: pointer; }
.nav-button:hover { color: var(--lime); }
.page-shell { width: min(1120px, 84%); min-height: 58vh; margin: 0 auto; padding-top: 145px; padding-bottom: 90px; }
.page-shell.narrow { width: min(660px, 88%); }
.page-intro { margin-bottom: 30px; }
.page-intro .section-label { color: var(--green); }
.page-intro h1 { margin: 12px 0; font-family: Manrope, sans-serif; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.045em; }
.page-intro p { max-width: 650px; color: var(--muted); line-height: 1.75; }
.panel { margin-bottom: 24px; padding: clamp(24px, 4vw, 40px); border: 1px solid rgba(228, 232, 223, 0.85); border-radius: 20px; background: #ffffff; box-shadow: 0 10px 30px -8px rgba(23, 39, 30, 0.05); }
.panel h1, .panel h2 { margin-top: 12px; font-family: Manrope, sans-serif; letter-spacing: -.03em; }
.panel > p { color: var(--muted); line-height: 1.7; }
.form-stack { display: grid; gap: 18px; margin-top: 24px; }
.form-stack label { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 600; }
.form-stack input, .form-stack textarea, .form-stack select, .reply-form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #d9e0d7; border-radius: 12px; background: #fcfdfa; color: var(--ink); font: 400 14px 'DM Sans', sans-serif; transition: all .2s ease; }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus, .reply-form textarea:focus { outline: 2px solid #a8c487; outline-offset: 1px; }
.form-stack textarea, .reply-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.role-form { display: flex; align-items: center; gap: 7px; min-width: 210px; }
.role-form select { min-width: 115px; padding: 8px; border: 1px solid #d9e0d7; border-radius: 3px; background: #fcfdfa; color: var(--ink); font: 12px 'DM Sans', sans-serif; }
.settings-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.settings-actions .button { border: 0; font: 600 13px 'DM Sans', sans-serif; cursor: pointer; }
.redirect-uri { display: block; padding: 12px; background: #f2f4ed; overflow-wrap: anywhere; }
.form-stack small { color: var(--muted); font-weight: 400; line-height: 1.6; }
.form-stack .button { justify-self: start; border: 0; font: inherit; cursor: pointer; }
.flash, .notice { margin: 18px auto; padding: 14px 18px; width: min(1120px, 84%); border: 1px solid #d9e0d7; background: #fff; color: var(--ink); font-size: 14px; line-height: 1.6; }
.flash-success, .notice-success { border-color: #b8d2a1; background: #f0f6e9; }
.flash-error, .notice-error { border-color: #e7b9b5; background: #fff3f2; color: #8a2822; }
.flash + .page-shell { padding-top: 55px; }
.content-section { padding-top: 50px; padding-bottom: 65px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.section-heading h2 { margin: 9px 0 0; font-family: Manrope, sans-serif; font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.04em; }
.text-link { color: var(--green); font-size: 13px; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.content-card { min-width: 0; padding: 24px; border: 1px solid var(--line); background: #fff; }
.content-card h2, .content-card h3 { margin: 16px 0 10px; font-family: Manrope, sans-serif; font-size: 19px; letter-spacing: -.025em; }
.content-card p, .rich-text { color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.content-card small, .forum-topic small { display: block; margin-top: 18px; color: #77847a; font-size: 11px; }
.tag { display: inline-block; padding: 6px 9px; background: #eef3e8; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.empty-state { grid-column: 1 / -1; padding: 26px; border: 1px dashed #cdd6c9; color: var(--muted); font-size: 14px; }
.alt-section { padding-top: 65px; padding-bottom: 70px; background: #eef0e8; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-page { margin-top: 30px; }
.gallery-item { position: relative; min-height: 180px; margin: 0; overflow: hidden; background: #e6e9e1; }
.gallery-item img { display: block; width: 100%; height: 245px; object-fit: cover; transition: transform .3s; }
.gallery-item video { display: block; width: 100%; height: 245px; background: #17271e; object-fit: contain; }
.gallery-item iframe { display: block; width: 100%; height: 245px; border: 0; background: #17271e; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { padding: 11px 13px; background: #fff; color: var(--ink); font-size: 12px; }
.rich-text { margin: 14px 0; white-space: normal; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.dashboard-grid .feature-card { display: block; color: var(--ink); }
.dashboard-grid .feature-card h2 { margin: 30px 0 8px; font: 700 18px Manrope, sans-serif; }
.dashboard-grid .feature-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.dashboard-activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 24px; }
.dashboard-activity-panel { min-width: 0; }
.dashboard-activity-panel h2 { margin: 5px 0 0; font: 700 20px Manrope, sans-serif; }
.dashboard-panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.dashboard-panel-heading > a { color: var(--green); font-size: 12px; font-weight: 700; white-space: nowrap; }
.dashboard-activity-list { display: grid; gap: 0; }
.dashboard-activity-list article { padding: 13px 0; border-top: 1px solid var(--border); }
.dashboard-activity-list article:first-child { padding-top: 0; border-top: 0; }
.dashboard-activity-list strong { color: var(--ink); font-size: 14px; }
.dashboard-activity-list p { margin: 5px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.dashboard-activity-list small { color: var(--muted); font-size: 11px; }
.dashboard-activity-list small a { color: var(--green); }
.dashboard-author-activity { grid-column: 1 / -1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.small-button { padding: 8px 11px; border: 1px solid #c6d2c0; border-radius: 3px; background: #f5f8f1; color: var(--green-dark); font: 600 12px 'DM Sans', sans-serif; cursor: pointer; }
.small-button:hover { background: #e7efdc; }
.action-cell { display: flex; gap: 7px; }
.action-cell button { flex-shrink: 0; }
.disclosure { color: var(--green); font-weight: 700; cursor: pointer; }
.top-gap { margin-top: 24px; }
.forum-list { display: grid; gap: 14px; margin-top: 24px; }
.forum-topic { margin: 0; }
.forum-topic .section-heading { align-items: start; margin-bottom: 10px; }
.forum-topic .section-heading h2 { font-size: 22px; }
.forum-topic .section-heading small { flex-shrink: 0; text-align: right; }
.forum-post { padding: 12px 0; border-top: 1px solid var(--line); }
.forum-post p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.forum-post small { margin-top: 7px; }
.reply-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; margin-top: 15px; }
.site-content-form { display: grid; gap: 20px; }
.site-content-group { display: grid; gap: 16px; }
.site-content-group h2 { margin: 0; font: 700 18px Manrope, sans-serif; }
.site-content-save { display: flex; justify-content: flex-end; }
.rich-editor-field { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.rich-editor-field legend { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.rich-editor-toolbar { display: flex; gap: 5px; flex-wrap: wrap; padding: 8px; border: 1px solid var(--line); border-bottom: 0; border-radius: 5px 5px 0 0; background: var(--surface-alt); }
.rich-editor-toolbar button { min-height: 31px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font: 600 12px 'DM Sans', sans-serif; cursor: pointer; }
.rich-editor-toolbar button:hover { border-color: var(--green); color: var(--green); }
.rich-editor { min-height: 280px; padding: 14px; border: 1px solid var(--line); border-radius: 0 0 5px 5px; background: var(--surface); color: var(--ink); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.rich-editor:focus { outline: 2px solid #78936a; outline-offset: -2px; }
.rich-editor[aria-invalid="true"] { border-color: #b8463c; }
.rich-editor > :first-child { margin-top: 0; }
.rich-editor > :last-child { margin-bottom: 0; }
.rich-editor blockquote, .editorial-body blockquote { margin: 14px 0; padding: 8px 14px; border-left: 3px solid #91a678; color: var(--muted); }
.rich-editor img, .editorial-body img { display: block; max-width: 100%; height: auto; margin: 14px 0; border-radius: 8px; }
.rich-editor-source { display: none; }
.editorial-body p { margin: 0 0 1em; }
.editorial-body h2, .editorial-body h3 { margin: 1.4em 0 .6em; color: var(--ink); }
.editorial-body ul, .editorial-body ol { padding-left: 1.6em; }
.editorial-body a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.site-content-group textarea { min-height: 72px; }
.site-content-group textarea[name*="title"] { min-height: 60px; }
.site-content-group label { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.site-content-group input, .site-content-group textarea, .site-content-group select { width: 100%; padding: 13px 15px; border: 1px solid #d9e2d5; border-radius: 12px; background: #fcfdfa; color: var(--ink); font: 400 14px 'DM Sans', sans-serif; line-height: 1.5; box-shadow: 0 3px 12px #17271e08 inset; transition: border-color .2s, box-shadow .2s, background .2s; }
.site-content-group input:focus, .site-content-group textarea:focus, .site-content-group select:focus { outline: 0; border-color: #8aa96e; background: #fff; box-shadow: 0 0 0 4px #c8df9b55; }
.site-content-group input[type="file"] { padding: 9px; background: #f5f8f1; cursor: pointer; }
.site-content-save .button { border: 0; cursor: pointer; }
.consent-label { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; color: var(--muted) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.6; }
.consent-label input { width: auto; margin-top: 3px; }
.notice code { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.panel-body { min-height: 100vh; background: #f3f5f8; }
.panel-layout { min-height: 100vh; }
.panel-sidebar { position: fixed; z-index: 5; inset: 0 auto 0 0; display: flex; width: 252px; flex-direction: column; padding: 22px 14px 16px; background: #193d2c; color: #fff; }
.panel-brand { display: flex; min-height: 58px; align-items: center; gap: 11px; padding: 0 10px 20px; border-bottom: 1px solid #ffffff1c; }
.panel-brand-mark { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--lime); color: var(--green-dark); font: 800 19px Manrope, sans-serif; }
.panel-brand strong, .panel-brand small, .panel-account strong, .panel-account small { display: block; }
.panel-brand strong { font: 700 14px Manrope, sans-serif; }
.panel-brand small { margin-top: 4px; color: #ffffff9c; font-size: 10px; letter-spacing: .04em; }
.panel-sidebar-label { padding: 25px 12px 10px; color: #ffffff75; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.panel-nav { display: grid; gap: 8px; overflow-y: auto; padding-right: 3px; }
.panel-nav-group { border: 1px solid #ffffff12; border-radius: 10px; background: #ffffff08; overflow: hidden; }
.panel-nav-group summary { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; color: #ffffff9e; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; list-style: none; }
.panel-nav-group summary::-webkit-details-marker { display: none; }
.panel-nav-group summary span { color: var(--lime); font-size: 15px; transition: transform .2s; }
.panel-nav-group[open] summary span { transform: rotate(180deg); }
.panel-nav-items { display: grid; gap: 3px; padding: 0 5px 5px; }
.panel-nav-link { display: flex; width: 100%; min-height: 42px; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 6px; background: transparent; color: #ffffffc7; font: 500 12px 'DM Sans', sans-serif; text-align: left; transition: background .18s, color .18s; }
.panel-nav-link:hover, .panel-nav-link.is-active { background: #ffffff18; color: #fff; }
.panel-nav-link.is-active { box-shadow: inset 3px 0 var(--lime); }
.panel-nav-icon { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; border: 1px solid #ffffff34; border-radius: 6px; color: var(--lime); font-size: 10px; font-weight: 700; }
.panel-sidebar-bottom { display: grid; gap: 4px; margin-top: auto; padding-top: 14px; border-top: 1px solid #ffffff1c; }
.panel-sidebar-bottom form { margin: 0; }
.panel-logout { cursor: pointer; }
.panel-workspace { display: flex; min-height: 100vh; flex-direction: column; margin-left: 252px; }
.panel-topbar { position: sticky; z-index: 4; top: 0; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 38px; border-bottom: 1px solid #e5e9ed; background: #fff; }
.panel-topbar-caption { display: block; margin-bottom: 4px; color: #839087; font-size: 10px; }
.panel-topbar > div:first-child > strong { font: 700 15px Manrope, sans-serif; }
.panel-account { display: flex; align-items: center; gap: 9px; }
.panel-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #e9efdf; color: var(--green); font-size: 13px; font-weight: 700; }
.panel-account strong { max-width: 200px; overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.panel-account small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.panel-workspace > .page-shell { width: min(1180px, calc(100% - 72px)); flex: 1; padding-top: 38px; padding-bottom: 64px; }
.panel-workspace > .page-shell.narrow { width: min(660px, calc(100% - 72px)); }
.panel-workspace .panel { border-color: #e6eaf0; border-radius: 8px; box-shadow: 0 2px 9px #17271e08; }
.panel-workspace main input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), .panel-workspace main textarea, .panel-workspace main select { border: 1px solid #d9e2d5; border-radius: 12px; background: #fcfdfa; color: var(--ink); font: 400 14px 'DM Sans', sans-serif; transition: border-color .2s, box-shadow .2s, background .2s; }
.panel-workspace main input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus, .panel-workspace main textarea:focus, .panel-workspace main select:focus { outline: 0; border-color: #8aa96e; box-shadow: 0 0 0 4px #c8df9b55; }
.panel-workspace main textarea { min-height: 110px; padding: 13px 15px; line-height: 1.55; resize: vertical; }
.panel-workspace main input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) { min-height: 45px; padding: 0 14px; }
.panel-workspace main input[type="file"] { height: auto; padding: 9px; background: #f5f8f1; cursor: pointer; }
.panel-workspace main button:not(.panel-nav-link):not(.theme-toggle), .panel-workspace main input[type="submit"] { border: 0; border-radius: 12px; font: 700 13px 'DM Sans', sans-serif; cursor: pointer; }
.panel-workspace .feature-card { border-color: #e6eaf0; border-radius: 8px; box-shadow: 0 2px 9px #17271e08; }
.panel-workspace .site-footer { margin-top: auto; padding: 18px 36px; background: #fff; color: #77847a; }
.panel-flash { width: min(1180px, calc(100% - 72px)); margin: 18px auto 0; }
@media (max-width: 850px) {
    .panel-sidebar { width: 220px; }
    .panel-workspace { margin-left: 220px; }
    .panel-topbar { padding-right: 24px; padding-left: 24px; }
    .panel-workspace > .page-shell { width: calc(100% - 48px); }
    .panel-flash { width: calc(100% - 48px); }
}
@media (max-width: 680px) {
    .panel-layout { display: flex; flex-direction: column; }
    .panel-sidebar { position: static; width: 100%; padding: 12px 14px; }
    .panel-brand { min-height: 46px; padding: 0 4px 10px; }
    .panel-sidebar-label { display: none; }
    .panel-nav { display: grid; gap: 7px; padding-top: 10px; }
    .panel-nav-group { display: block; }
    .panel-nav-group summary { padding: 12px; }
    .panel-nav-items { display: grid; }
    .panel-nav-link { min-height: 42px; padding: 0 11px; white-space: normal; }
    .panel-nav-icon { width: 20px; height: 20px; }
    .panel-sidebar-bottom { display: grid; margin-top: 12px; }
    .panel-workspace { min-height: calc(100vh - 115px); margin-left: 0; }
    .panel-topbar { min-height: 64px; padding: 0 18px; }
    .panel-account strong { max-width: 130px; }
    .panel-workspace > .page-shell, .panel-workspace > .page-shell.narrow { width: calc(100% - 32px); padding-top: 24px; padding-bottom: 42px; }
    .panel-flash { width: calc(100% - 32px); }
    .panel-workspace .site-footer { gap: 8px; padding: 16px; }
}

.home-body { background: #faf9f6; }
.home-body .site-header { position: absolute; z-index: 3; top: 0; left: 50%; width: min(1320px, 92%); padding: 22px 0; transform: translateX(-50%); background: transparent; }
.home-body .brand-mark { border: 0; border-radius: 12px; background: #ffffff1c; }
.home-body .site-header nav { gap: clamp(14px, 2.1vw, 29px); }
.home-body .site-header nav a { color: #ffffffd9; font-size: 12px; }
.home-body .site-header nav a:hover { color: var(--lime); }
.home-body .site-header nav .nav-contact { padding: 11px 17px; border: 1px solid #ffffff70; border-radius: 30px; }
.home-body .hero { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 12px; min-height: 690px; padding: 142px max(4%, calc((100% - 1240px) / 2)) 96px; overflow: hidden; background: radial-gradient(ellipse at 74% 32%, #91a67754, transparent 30%), radial-gradient(ellipse at 14% 103%, #5b764c65, transparent 40%), linear-gradient(120deg, #193c2c 0%, #28553b 54%, #193c2c 100%); }
.home-body .hero::after { right: -7%; bottom: -56%; width: 51vw; height: 51vw; box-shadow: 0 0 0 54px #ffffff08, 0 0 0 108px #ffffff06, 0 0 0 162px #ffffff04; }
.home-body .hero-content { max-width: 610px; padding-bottom: 26px; }
.home-body .eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid #ffffff2a; border-radius: 30px; background: #ffffff0b; color: #e5edcf; font-size: 9px; letter-spacing: .12em; }
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #d9e6ac; box-shadow: 0 0 0 4px #d9e6ac24; }
.home-body .hero h1 { margin: 23px 0 18px; font-size: clamp(48px, 6.1vw, 78px); font-weight: 600; letter-spacing: -.065em; line-height: 1.04; }
.home-body .hero h1 em, .home-welcome h2 em, .opportunities-heading h2 em { color: #d6e2aa; font-style: normal; }
.home-body .hero-content > p { max-width: 430px; margin-bottom: 26px; color: #ffffffbe; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.home-body .hero .button { min-height: 49px; gap: 26px; padding: 0 21px; border-radius: 30px; box-shadow: 0 10px 28px #132d1e3d; }
.hero-secondary-link { color: #ffffffdb; font-size: 12px; font-weight: 600; }
.hero-secondary-link span { margin-left: 5px; color: var(--lime); }
.hero-art { position: relative; z-index: 1; width: min(100%, 570px); justify-self: end; padding: 4px 0 22px; }
.village-illustration { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 23px 40px #0b251827); }
.hero-art-note { position: absolute; right: 3%; bottom: 5%; display: flex; min-width: 255px; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 18px; background: rgba(249, 247, 235, 0.94); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 16px 40px -8px rgba(16, 44, 30, 0.35); }
.hero-art-note-icon { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 11px; background: var(--green); color: var(--lime); font: 800 17px Manrope, sans-serif; }
.hero-art-note strong, .hero-art-note small { display: block; }
.hero-art-note strong { font: 700 12px Manrope, sans-serif; }
.hero-art-note small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.hero-art-arrow { margin-left: auto; color: var(--green); font-size: 17px; }
.hero-floating-mark { position: absolute; top: 14%; right: 0; padding: 10px 13px; border: 1px solid #ffffff2e; border-radius: 9px; color: #ffffff94; font-size: 8px; letter-spacing: .16em; line-height: 1.7; transform: rotate(5deg); }
.hero-floating-mark strong { color: #f0dfa9; font-size: 10px; }
.hero-bottom-note { position: absolute; bottom: 29px; left: max(4%, calc((100% - 1240px) / 2)); display: flex; align-items: center; gap: 10px; color: #ffffffa8; font-size: 10px; letter-spacing: .04em; }
.home-body .pulse { background: #dce8b2; box-shadow: 0 0 0 5px #dce8b21d; }
.home-welcome { display: grid; width: min(1240px, 92%); grid-template-columns: .85fr 1.15fr; align-items: center; gap: 48px; margin: 0 auto; padding: 75px 0 72px; }
.welcome-copy .section-label, .home-section .section-label, .opportunities-heading .section-label, .sponsors-heading .section-label { color: #7d9163; font-size: 9px; letter-spacing: .17em; }
.home-welcome h2 { margin: 14px 0 12px; font: 600 clamp(29px, 3.5vw, 43px)/1.15 Manrope, sans-serif; letter-spacing: -.052em; }
.home-welcome h2 em, .opportunities-heading h2 em { color: var(--green); }
.home-welcome p { max-width: 435px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.welcome-quicklinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.quicklink-card { position: relative; display: flex; min-height: 131px; flex-direction: column; justify-content: space-between; gap: 12px; padding: 15px 14px; overflow: hidden; border: 1px solid #e9e9df; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px #1b35210a; transition: transform .2s, box-shadow .2s; }
.quicklink-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #1b352114; }
.quicklink-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 10px; background: #edf1e4; color: var(--green); font: 700 13px Manrope, sans-serif; }
.quicklink-jobs .quicklink-icon { background: #f8edda; color: #97682a; }
.quicklink-forum .quicklink-icon { background: #e9eef4; color: #52718b; }
.quicklink-card small, .quicklink-card strong { display: block; }
.quicklink-card small { margin-bottom: 4px; color: #92998e; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.quicklink-card strong { font: 700 12px Manrope, sans-serif; }
.quicklink-arrow { position: absolute; top: 16px; right: 14px; color: #98a18f; font-size: 13px; }
.home-section { width: min(1240px, 92%); margin: 0 auto; }
.home-notices { padding: 31px 32px 34px; border: 1px solid #ecebe3; border-radius: 19px; background: #f1f1e9; }
.home-section-heading { align-items: end; margin-bottom: 23px; }
.home-section-heading h2 { margin: 8px 0 4px; font: 700 clamp(24px, 3vw, 34px) Manrope, sans-serif; letter-spacing: -.045em; }
.home-section-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.home-section-heading > .text-link { flex: 0 0 auto; padding-bottom: 5px; font-size: 11px; }
.home-section-heading > .text-link span, .text-link span { margin-left: 4px; }
.home-notice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.home-notice-card { display: flex; min-height: 190px; flex-direction: column; padding: 22px 22px 18px; border: 1px solid rgba(228, 232, 223, 0.85); border-radius: 18px; background: #ffffff; box-shadow: 0 8px 24px -6px rgba(23, 39, 30, 0.06); transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); }
.home-notice-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -6px rgba(23, 39, 30, 0.12); border-color: rgba(168, 196, 135, 0.7); }
.notice-mayor { border-top: 3px solid #c99952; }
.notice-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.home-notice-card .tag { padding: 6px 9px; border-radius: 20px; background: #edf2e6; font-size: 8px; letter-spacing: .07em; }
.notice-mayor .tag { background: #f8eedf; color: #946a32; }
.notice-date { color: #92998e; font-size: 9px; white-space: nowrap; }
.home-notice-card h3 { margin: 17px 0 7px; font-size: 16px; line-height: 1.4; }
.home-notice-card > p { margin: 0 0 15px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.notice-card-author { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 11px; border-top: 1px solid #f0f0eb; color: #727e72; font-size: 9px; }
.notice-author-mark { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #e9eedf; color: var(--green); font-size: 9px; font-weight: 700; }
.notice-card-arrow { margin-left: auto; color: var(--green); font-size: 13px; }
.home-empty { min-height: 115px; grid-column: 1 / -1; display: grid; align-content: center; border: 1px dashed #d5dacb; border-radius: 12px; background: #ffffff9c; color: var(--ink); font-weight: 600; text-align: center; line-height: 1.8; }
.home-empty span { color: var(--muted); font-size: 11px; font-weight: 400; }
.home-opportunities { display: grid; width: min(1240px, 92%); grid-template-columns: .72fr 1.28fr; align-items: center; gap: 38px; margin: 0 auto; padding: 87px 0 84px; }
.opportunities-heading h2 { margin: 12px 0 10px; font: 700 clamp(27px, 3.3vw, 39px)/1.15 Manrope, sans-serif; letter-spacing: -.05em; }
.opportunities-heading p { max-width: 320px; margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.opportunities-heading > .text-link { font-size: 11px; }
.opportunities-content { display: grid; grid-template-columns: minmax(0, 1fr) 205px; gap: 13px; }
.jobs-panel { padding: 20px 20px 12px; border: 1px solid #e9e9e0; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px #1835220b; }
.mini-section-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid #eeeee8; color: #818b7c; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.mini-section-heading a { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #edf2e6; color: var(--green); font-size: 13px; }
.job-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f0f0ec; }
.job-row-icon { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: #f8eedf; color: #91682f; font: 700 12px Manrope, sans-serif; }
.job-row:nth-of-type(3n) .job-row-icon { background: #e9eef4; color: #54708b; }
.job-row-main { min-width: 0; flex: 1; }
.job-row-main strong, .job-row-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-row-main strong { font-size: 11px; }
.job-row-main small { margin-top: 4px; color: #838d82; font-size: 9px; }
.job-row-arrow { color: #849277; font-size: 13px; }
.jobs-empty { display: flex; min-height: 86px; align-items: center; gap: 11px; border-bottom: 1px solid #f0f0ec; }
.jobs-empty-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; background: #eff2e9; color: var(--green); font-size: 18px; }
.jobs-empty strong, .jobs-empty small { display: block; }
.jobs-empty strong { font-size: 10px; }
.jobs-empty small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.jobs-panel-link { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; color: var(--green); font-size: 9px; font-weight: 700; }
.community-card { position: relative; display: flex; min-height: 222px; flex-direction: column; justify-content: space-between; padding: 19px; overflow: hidden; border-radius: 15px; background: #dbe5c9; color: var(--green-dark); }
.community-card-overline { z-index: 1; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.community-card-symbol { position: absolute; top: 33px; right: 16px; color: #7f996152; font: 800 105px/1 Georgia, serif; }
.community-card > strong { z-index: 1; font: 700 22px/1.27 Manrope, sans-serif; letter-spacing: -.04em; }
.community-card-bottom { z-index: 1; display: flex; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid #193d2c27; font-size: 9px; font-weight: 700; }
.community-orbit { position: absolute; right: -64px; bottom: -84px; width: 168px; height: 168px; border: 1px solid #193d2c1e; border-radius: 50%; }
.orbit-two { right: -38px; bottom: -59px; width: 116px; height: 116px; }
.home-gallery { padding: 34px 0 74px; }
.home-gallery-grid { grid-template-columns: 1.25fr .85fr .85fr; grid-auto-rows: 180px; gap: 12px; }
.home-gallery-grid .gallery-item { min-height: 0; border-radius: 13px; box-shadow: 0 7px 18px #193d2c12; }
.home-gallery-grid .gallery-item:first-of-type { grid-row: span 2; }
.home-gallery-grid .gallery-item img { height: 100%; min-height: 180px; }
.home-gallery-grid .gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 24px 14px 12px; background: linear-gradient(transparent, #10291dc9); color: white; font-size: 10px; }
.gallery-empty { height: 180px; }
.home-sponsors { display: flex; width: min(1240px, 92%); align-items: center; gap: 34px; margin: 0 auto 78px; padding: 28px; border: 1px solid #e8e9dd; border-radius: 17px; background: #f1f1e8; }
.sponsors-heading { display: flex; align-items: flex-start; gap: 13px; }
.sponsors-heading > span:last-child { min-width: 0; }
.sponsors-heading-mark { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 12px; background: var(--green); color: var(--lime); font-size: 17px; }
.sponsors-heading h2 { margin: 8px 0 6px; font: 700 19px/1.35 Manrope, sans-serif; letter-spacing: -.035em; }
.sponsors-heading p { max-width: 310px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.company-submit-link { min-height: 34px; margin-top: 14px; padding: 8px 12px; border-radius: 24px; font-size: 9px; }
.sponsors-carousel { position: relative; min-width: 0; flex: 1; padding-top: 37px; }
.sponsors-carousel-controls { position: absolute; top: 0; right: 0; display: flex; gap: 7px; }
.sponsor-carousel-button { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #dfe4d9; border-radius: 50%; background: #fff; color: var(--green); font-size: 14px; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.sponsor-carousel-button:hover { border-color: var(--green); background: var(--green); color: #fff; }
.sponsors-grid { display: flex; gap: 12px; overflow-x: auto; padding: 1px 1px 9px; scroll-snap-type: x mandatory; scrollbar-color: #aeb99d transparent; scrollbar-width: thin; }
.sponsor-card { display: flex; min-width: 0; min-height: 190px; flex: 0 0 clamp(180px, 27%, 230px); flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid rgba(232, 233, 223, 0.9); border-radius: 16px; background: #ffffff; color: inherit; text-decoration: none; scroll-snap-align: start; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03); transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); }
.sponsor-card:hover, .sponsor-card:focus-visible { border-color: var(--green); box-shadow: 0 12px 26px -6px rgba(25, 61, 44, 0.15); transform: translateY(-4px); }
.sponsor-card:focus-visible, .company-sector-card:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.sponsor-empty-card { display: flex; min-width: 0; min-height: 180px; flex: 0 0 min(100%, 300px); align-items: center; gap: 11px; padding: 15px; border: 1px dashed #d7dccd; border-radius: 11px; background: #ffffffa8; scroll-snap-align: start; }
.sponsor-empty-card strong, .sponsor-empty-card small { display: block; }
.sponsor-empty-card strong { font-size: 10px; }
.sponsor-empty-card small { margin-top: 5px; color: #838d82; font-size: 9px; line-height: 1.5; }
.sponsor-monogram { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 9px; background: #e9efdf; color: var(--green); font: 700 13px Manrope, sans-serif; }
.sponsor-card:nth-child(3n) .sponsor-monogram { background: #f7ecd9; color: #91682f; }
.sponsor-logo { display: block; width: 100%; height: 92px; padding: 8px; border-radius: 9px; background: #f8f9f5; object-fit: contain; }
.sponsor-card-copy { min-width: 0; flex: 1; }
.sponsor-card-copy strong, .sponsor-card-copy small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; }
.sponsor-card-copy strong { font-size: 11px; -webkit-line-clamp: 1; }
.sponsor-card-copy small { margin-top: 5px; color: #838d82; font-size: 9px; line-height: 1.5; -webkit-line-clamp: 3; }
.sponsor-link { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f2f4ed; color: var(--green); font-size: 12px; }
.home-sponsors { flex-wrap: wrap; }
.company-sector-directory { margin-top: 32px; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.company-sector-heading { margin-bottom: 18px; }
.company-sector-heading h2 { margin: 7px 0 5px; font: 700 20px/1.35 Manrope, sans-serif; letter-spacing: -.035em; }
.company-sector-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.company-sector-filter { align-items: end; margin: 0 0 18px; }
.company-sector-filter label { flex: 1; }
.company-sector-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.company-sector-empty { grid-column: 1 / -1; margin: 0; }
.company-sector-card { display: flex; min-width: 0; min-height: 64px; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid #e3e6dc; border-radius: 11px; background: #fff; color: inherit; text-decoration: none; transition: border-color .18s, transform .18s; }
.company-sector-card:hover { border-color: #a8b69a; transform: translateY(-1px); }
.company-sector-card > img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 8px; background: #f1f3ec; object-fit: contain; }
.company-sector-card > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.company-sector-card strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.company-sector-card small { color: var(--muted); font-size: 9px; }
.company-sector-arrow { margin-left: auto; color: var(--green); }
.company-detail-page { max-width: 980px; }
.company-detail-back { margin: 0 0 16px; }
.company-detail { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: 32px; padding: clamp(22px, 5vw, 52px); }
.company-detail-logo { display: grid; min-height: 220px; place-items: center; border-radius: 15px; background: #f4f5ef; }
.company-detail-logo img { width: 100%; height: 100%; max-height: 280px; padding: 24px; object-fit: contain; }
.company-detail-logo .sponsor-monogram { width: 72px; height: 72px; border-radius: 20px; font-size: 30px; }
.company-detail-content h1 { margin: 8px 0 16px; font: 700 clamp(27px, 4vw, 40px)/1.2 Manrope, sans-serif; letter-spacing: -.04em; }
.company-detail-description { color: var(--muted); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.company-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 25px; }
.company-detail-page > .share-actions { margin-top: 18px; }
.form-stack [data-company-sector-other][hidden] { display: none; }
.company-detail-page .share-actions { justify-content: flex-start; }
.sponsor-thanks { color: #b08543; }
.company-admin-logo { width: 38px; height: 38px; margin-right: 9px; border-radius: 7px; background: #f1f3ec; object-fit: contain; vertical-align: middle; }
.company-admin-description { display: block; max-width: 300px; margin-top: 4px; color: var(--muted); }
.home-contact { width: min(1240px, 92%); margin: 0 auto 45px; padding: 34px 39px; border: 1px solid #264e39; border-radius: 17px; background: linear-gradient(115deg, #193d2b, #2c5a3f); color: white; }
.home-contact .section-label { display: block; margin-bottom: 10px; color: #d6e2aa; font-size: 9px; }
.home-contact h2 { font-size: clamp(23px, 3vw, 34px); }
.home-contact p { margin: 9px 0 0; color: #ffffffa8; font-size: 11px; }
.home-contact .button-light { border: 0; border-radius: 30px; background: #d8e3b5; color: var(--green-dark); }
.home-contact .button-light:hover { background: #e5eccf; }
.home-body .site-footer { padding: 22px max(4%, calc((100% - 1240px) / 2)); background: #153526; color: #ffffffa5; }
.site-footer a { color: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.legal-page { max-width: 900px; }
.legal-content { display: grid; gap: 12px; line-height: 1.75; }
.legal-content h2 { margin: 16px 0 0; font: 700 19px/1.35 Manrope, sans-serif; }
.legal-content p { margin: 0; color: var(--muted); font-size: 14px; }
.legal-content p:first-child { padding: 14px; border-left: 3px solid var(--green); border-radius: 4px; background: var(--surface-alt); color: var(--ink); }
.legal-content a { color: var(--green); font-weight: 700; }
.member-contributions { display: grid; gap: 24px; margin-top: 18px; }
.member-contributions > section + section { padding-top: 20px; border-top: 1px solid var(--border); }
.member-contributions h2 { margin: 7px 0 0; }
.member-contributions h3 { margin: 15px 0 10px; font-size: 16px; }
.member-contribution-list { display: grid; gap: 10px; }
.member-contribution-list article { padding: 14px; border: 1px solid var(--border); border-radius: 9px; }
.member-contribution-list p { margin: 7px 0; color: var(--muted); line-height: 1.6; }
.member-contribution-list small { color: var(--muted); }
.member-contribution-list a { color: var(--green); }
.member-admin-search { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 14px 0; }
.member-admin-search label { min-width: min(100%, 260px); flex: 1; }
.legal-signup-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.legal-signup-note a { color: var(--green); font-weight: 700; }
.social-signin { display: grid; gap: 10px; margin: 22px 0 18px; }
.social-signin > p { margin: 0 0 2px; color: var(--muted); font-size: 12px; }
.social-signin > small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.social-signin-button { display: flex; min-height: 45px; align-items: center; justify-content: center; gap: 10px; padding: 8px 14px; border: 1px solid #dfe4dd; border-radius: 6px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; transition: border-color .18s, background .18s; }
.social-signin-button:hover { border-color: #a9b69f; background: #fafbf8; }
.social-signin-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; font: 700 14px Arial, sans-serif; }
.social-signin-google .social-signin-icon { color: #4285f4; }
.social-signin-facebook .social-signin-icon { background: #1877f2; color: #fff; }
.social-divider { display: flex; align-items: center; gap: 12px; margin-top: 6px; color: #899287; font-size: 10px; }
.social-divider::before, .social-divider::after { height: 1px; flex: 1; background: #e8ebe5; content: ''; }
.share-actions { display: flex; align-items: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.share-actions-label { margin-right: 3px; color: #879184; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.share-actions > a, .share-actions > button { display: inline-grid; width: 26px; height: 26px; place-items: center; padding: 0; border: 1px solid #e5e9e0; border-radius: 50%; background: #fff; color: #53634f; font: 700 9px 'DM Sans', sans-serif; cursor: pointer; transition: background .16s, color .16s, border-color .16s; }
.share-actions > a:hover, .share-actions > button:hover { border-color: var(--green); background: var(--green); color: #fff; }
.share-status { min-height: 14px; color: var(--green); font-size: 9px; }
.notice-list-card .share-actions { padding-top: 10px; border-top: 1px solid #eef0ea; }
.home-notice-card .share-actions { margin-top: 10px; }
.home-notice-card .share-actions-label { display: none; }
.home-notice-card .share-actions > a, .home-notice-card .share-actions > button { width: 23px; height: 23px; }
.home-gallery-grid .gallery-item .share-actions { position: absolute; z-index: 2; top: 9px; right: auto; bottom: auto; left: 9px; margin: 0; }
.home-gallery-grid .gallery-item .share-actions-label, .home-gallery-grid .gallery-item .share-status { display: none; }
.home-gallery-grid .gallery-item .share-actions > a, .home-gallery-grid .gallery-item .share-actions > button { border-color: #ffffff75; background: #12251eb8; color: white; }
.gallery-page .gallery-item .share-actions { padding: 0 12px 10px; }
@media (max-width: 980px) {
    .home-body .hero { min-height: 630px; grid-template-columns: 1fr .9fr; padding-right: 4%; padding-left: 4%; }
    .home-body .hero h1 { font-size: clamp(45px, 6vw, 66px); }
    .home-welcome { gap: 30px; }
    .welcome-quicklinks { gap: 7px; }
    .quicklink-card { padding: 12px 10px; }
    .home-opportunities { grid-template-columns: .65fr 1.35fr; gap: 24px; }
    .opportunities-content { grid-template-columns: minmax(0, 1fr) 175px; gap: 9px; }
    .home-sponsors { gap: 22px; }
}
@media (max-width: 760px) {
    .home-body .site-header { width: 90%; }
    .home-body .hero { min-height: 0; grid-template-columns: 1fr; gap: 5px; padding: 136px 6% 77px; }
    .home-body .hero-content { max-width: 590px; padding-bottom: 0; }
    .home-body .hero h1 { font-size: clamp(47px, 9vw, 70px); }
    .hero-art { width: min(82%, 440px); justify-self: center; margin-top: -4px; }
    .hero-floating-mark { top: 11%; }
    .hero-bottom-note { left: 6%; bottom: 25px; }
    .home-welcome { grid-template-columns: 1fr; gap: 22px; padding: 54px 0; }
    .welcome-quicklinks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-opportunities { grid-template-columns: 1fr; gap: 21px; padding: 61px 0; }
    .opportunities-heading h2 br { display: none; }
    .opportunities-content { grid-template-columns: minmax(0, 1fr) 205px; }
    .home-sponsors { align-items: stretch; flex-direction: column; gap: 18px; padding: 22px; }
    .sponsors-heading { max-width: 520px; }
}
@media (max-width: 560px) {
    .home-body .site-header { align-items: center; padding: 15px 0; }
    .home-body .brand { gap: 8px; }
    .home-body .brand-mark { width: 35px; height: 35px; border-radius: 10px; }
    .home-body .brand strong { font-size: 12px; }
    .home-body .site-header nav { gap: 9px; font-size: 10px; }
    .home-body .site-header nav a:nth-child(1), .home-body .site-header nav a:nth-child(3), .home-body .site-header nav a:nth-child(4) { display: none; }
    .home-body .site-header nav a:nth-child(2) { display: inline; }
    .home-body .site-header nav .nav-contact { padding: 8px 11px; }
    .home-body .hero { padding: 115px 6% 66px; }
    .home-body .hero h1 { margin: 19px 0 13px; font-size: clamp(43px, 12vw, 60px); }
    .home-body .hero-content > p { max-width: 340px; font-size: 13px; }
    .hero-actions { gap: 14px; }
    .home-body .hero .button { min-height: 44px; gap: 15px; padding: 0 15px; font-size: 11px; }
    .hero-secondary-link { font-size: 10px; }
    .hero-art { width: 100%; margin-top: 7px; }
    .hero-art-note { right: 0; bottom: 0; min-width: 215px; padding: 9px 11px; }
    .hero-art-note-icon { width: 31px; height: 31px; }
    .hero-art-note strong { font-size: 10px; }
    .hero-art-note small { font-size: 8px; }
    .hero-floating-mark { top: 10%; right: 2%; }
    .hero-bottom-note { font-size: 9px; }
    .home-welcome, .home-section, .home-opportunities, .home-sponsors, .home-contact { width: 88%; }
    .home-welcome { padding: 43px 0; }
    .home-welcome h2 { font-size: 29px; }
    .welcome-quicklinks { grid-template-columns: 1fr; }
    .quicklink-card { min-height: 82px; flex-direction: row; align-items: center; justify-content: flex-start; }
    .quicklink-card > span:nth-child(2) { flex: 1; }
    .quicklink-card small { margin-bottom: 4px; }
    .quicklink-arrow { top: 50%; right: 15px; transform: translateY(-50%); }
    .home-notices { width: 92%; padding: 23px 17px; }
    .home-section-heading { gap: 12px; }
    .home-section-heading h2 { font-size: 25px; }
    .home-section-heading > .text-link { font-size: 10px; }
    .home-notice-grid { grid-template-columns: 1fr; }
    .home-notice-card { min-height: 165px; }
    .home-opportunities { padding: 49px 0; }
    .opportunities-content { grid-template-columns: 1fr; }
    .community-card { min-height: 180px; }
    .home-gallery { padding: 23px 0 50px; }
    .home-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 8px; }
    .home-gallery-grid .gallery-item:first-of-type { grid-row: span 1; }
    .home-gallery-grid .gallery-item img { min-height: 140px; }
    .gallery-empty { height: 150px; }
    .home-sponsors { margin-bottom: 48px; padding: 17px; }
    .sponsors-grid { gap: 9px; }
    .sponsor-card { flex-basis: min(74vw, 230px); }
    .sponsors-carousel { width: 100%; }
    .company-sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-detail { grid-template-columns: 1fr; gap: 20px; }
    .company-detail-logo { min-height: 170px; }
    .home-contact { align-items: flex-start; padding: 26px 21px; }
    .home-contact h2 br { display: none; }
    .home-body .site-footer { gap: 8px; flex-direction: column; padding: 18px 6%; }
}

.gallery-item { isolation: isolate; }
.gallery-trigger { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.gallery-trigger img { transition: transform .28s ease; }
.gallery-trigger:hover img { transform: scale(1.045); }
.gallery-zoom-icon { position: absolute; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ffffff8a; border-radius: 50%; background: #13291e91; color: #fff; font-size: 22px; line-height: 1; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.gallery-trigger:hover .gallery-zoom-icon, .gallery-trigger:focus-visible .gallery-zoom-icon { opacity: 1; transform: translateY(0); }
.gallery-trigger:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.gallery-viewer { position: fixed; inset: 0; display: none; width: min(1100px, calc(100vw - 48px)); max-width: none; height: min(820px, calc(100vh - 48px)); max-height: none; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 12px; padding: 48px 20px 20px; overflow: visible; border: 1px solid #ffffff21; border-radius: 16px; background: #101712f5; color: white; box-shadow: 0 25px 90px #0008; }
.gallery-viewer[open] { display: grid; }
.gallery-viewer::backdrop { background: #07100bd9; backdrop-filter: blur(7px); }
.gallery-viewer[open] { animation: gallery-viewer-in .18s ease-out; }
.gallery-viewer-figure { display: flex; min-width: 0; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 0; }
.gallery-viewer-prev { grid-column: 1; }
.gallery-viewer-figure { grid-column: 2; }
.gallery-viewer-next { grid-column: 3; }
.gallery-viewer-image { display: block; width: 100%; height: calc(100% - 48px); object-fit: contain; }
.gallery-viewer-caption { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; color: #ffffffd9; font-size: 12px; }
.gallery-viewer-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-viewer-counter { flex: 0 0 auto; color: #ffffff91; font-size: 11px; }
.gallery-viewer-close { position: absolute; top: 12px; right: 15px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #ffffff36; border-radius: 50%; background: #ffffff13; color: white; font-size: 27px; line-height: 1; cursor: pointer; }
.gallery-viewer-close:hover, .gallery-viewer-nav:hover { background: #ffffff2b; }
.gallery-viewer-nav { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #ffffff36; border-radius: 50%; background: #ffffff13; color: white; font-size: 39px; line-height: .8; cursor: pointer; transition: background .18s, transform .18s; }
.gallery-viewer-prev:hover { transform: translateX(-2px); }
.gallery-viewer-next:hover { transform: translateX(2px); }
.gallery-viewer-nav[hidden] { display: none; }
.gallery-viewer button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
@keyframes gallery-viewer-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 560px) {
    .gallery-viewer { width: calc(100vw - 24px); height: calc(100vh - 24px); grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 5px; padding: 48px 8px 14px; border-radius: 12px; }
    .gallery-viewer-nav { width: 36px; height: 36px; font-size: 31px; }
    .gallery-viewer-image { height: calc(100% - 42px); }
    .gallery-viewer-caption { font-size: 10px; }
    .gallery-viewer-close { top: 9px; right: 10px; width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .gallery-viewer[open] { animation: none; }
    .gallery-trigger img, .gallery-zoom-icon, .gallery-viewer-nav { transition: none; }
}

:root {
    color-scheme: light;
    --ink: #17271e;
    --muted: #68776d;
    --green: #23553d;
    --green-dark: #193d2c;
    --lime: #c8df9b;
    --paper: #f7f7f2;
    --line: #e4e8df;
    --surface: #ffffff;
    --surface-alt: #f1f1e9;
    --field: #fcfdfa;
    --border: #e4e8df;
}
html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #e7ede7;
    --muted: #a2b0a5;
    --green: #a8cead;
    --green-dark: #0d1b14;
    --lime: #c8df9b;
    --paper: #111914;
    --line: #2b382f;
    --surface: #19231c;
    --surface-alt: #202b23;
    --field: #131c16;
    --border: #344138;
}
body { overflow-x: hidden; background-color: var(--paper); color: var(--ink); }
.site-menu-toggle { display: none; }
.theme-toggle { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid #ffffff70; border-radius: 20px; background: #ffffff13; color: #fff; font: 600 10px 'DM Sans', sans-serif; white-space: nowrap; cursor: pointer; transition: background .18s, border-color .18s; }
.theme-toggle > span:first-child { font-size: 14px; }
.theme-toggle:hover { border-color: #ffffffb0; background: #ffffff24; }
.site-header > .theme-toggle { margin-left: 18px; }
.panel-theme-toggle { border-color: var(--border); background: var(--surface-alt); color: var(--ink); }
.panel-theme-toggle:hover { border-color: var(--green); background: var(--surface); }
.panel-theme-toggle > span:first-child { color: var(--green); }
.public-body { min-height: 100vh; background: var(--paper); }
.public-body .site-header { position: absolute; }
.public-body .page-shell { padding-top: 145px; }
.public-body .page-intro h1, .public-body .page-intro p, .public-body .panel h1, .public-body .panel h2, .public-body .panel > p { color: var(--ink); }
.public-body .page-intro p, .public-body .panel > p { color: var(--muted); }
.public-body .panel, .public-body .content-card, .public-body .forum-topic { border-color: var(--border); background: var(--surface); color: var(--ink); }
.public-body .tag { background: var(--surface-alt); color: var(--green); }
.public-body .rich-text, .public-body .content-card p, .public-body .forum-topic p { color: var(--muted); }
.public-body .empty-state { border-color: var(--border); color: var(--muted); }
.public-body .site-footer { background: var(--green-dark); }
html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .public-body .site-header { background: linear-gradient(180deg, #0b1510ed, #0b151085 72%, transparent); }
html[data-theme="dark"] .public-body .page-shell { background: var(--paper); }
html[data-theme="dark"] .panel-body { background: #101712; }
html[data-theme="dark"] .panel-topbar, html[data-theme="dark"] .panel-workspace .site-footer { border-color: var(--border); background: var(--surface); color: var(--muted); }
html[data-theme="dark"] .panel-workspace .panel, html[data-theme="dark"] .panel-workspace .feature-card { border-color: var(--border); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .panel-workspace .feature-card p, html[data-theme="dark"] .panel-workspace .panel > p { color: var(--muted); }
html[data-theme="dark"] .form-stack input, html[data-theme="dark"] .form-stack textarea, html[data-theme="dark"] .form-stack select, html[data-theme="dark"] .reply-form textarea, html[data-theme="dark"] .role-form select { border-color: var(--border); background: var(--field); color: var(--ink); }
html[data-theme="dark"] table th, html[data-theme="dark"] table td { border-color: var(--border); color: var(--ink); }
html[data-theme="dark"] table th { color: var(--muted); }
html[data-theme="dark"] .small-button { border-color: var(--border); background: var(--surface-alt); color: var(--ink); }
html[data-theme="dark"] .flash, html[data-theme="dark"] .notice { border-color: var(--border); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .flash-success, html[data-theme="dark"] .notice-success { border-color: #405940; background: #1b2d20; }
html[data-theme="dark"] .flash-error, html[data-theme="dark"] .notice-error { border-color: #71443e; background: #311d1b; color: #f3c5bd; }
html[data-theme="dark"] .text-link { color: #a8cead; }
html[data-theme="dark"] .home-body { background: #111914; }
html[data-theme="dark"] .home-welcome, html[data-theme="dark"] .home-opportunities, html[data-theme="dark"] .home-gallery { color: var(--ink); }
html[data-theme="dark"] .home-welcome p, html[data-theme="dark"] .opportunities-heading p, html[data-theme="dark"] .home-section-heading p { color: var(--muted); }
html[data-theme="dark"] .home-welcome h2 em, html[data-theme="dark"] .opportunities-heading h2 em { color: #c8df9b; }
html[data-theme="dark"] .home-notices { border-color: var(--border); background: #19231c; }
html[data-theme="dark"] .home-notice-card, html[data-theme="dark"] .jobs-panel, html[data-theme="dark"] .quicklink-card { border-color: var(--border); background: #202b23; color: var(--ink); }
html[data-theme="dark"] .home-notice-card > p, html[data-theme="dark"] .notice-card-author, html[data-theme="dark"] .job-row-main small, html[data-theme="dark"] .jobs-empty small { color: var(--muted); }
html[data-theme="dark"] .notice-card-author, html[data-theme="dark"] .job-row { border-color: var(--border); }
html[data-theme="dark"] .quicklink-card strong, html[data-theme="dark"] .job-row-main strong, html[data-theme="dark"] .jobs-empty strong { color: var(--ink); }
html[data-theme="dark"] .home-empty { border-color: var(--border); background: #202b23; color: var(--ink); }
html[data-theme="dark"] .home-empty span { color: var(--muted); }
html[data-theme="dark"] .home-sponsors { border-color: var(--border); background: #19231c; }
html[data-theme="dark"] .sponsor-card, html[data-theme="dark"] .sponsor-empty-card { border-color: var(--border); background: #202b23; color: var(--ink); }
html[data-theme="dark"] .company-sector-card { border-color: var(--border); background: #202b23; color: var(--ink); }
html[data-theme="dark"] .company-sector-directory { border-color: var(--border); background: var(--surface); }
html[data-theme="dark"] .company-detail-logo { background: #f1f3ec; }
html[data-theme="dark"] .sponsor-card-copy small, html[data-theme="dark"] .sponsor-empty-card small { color: var(--muted); }
html[data-theme="dark"] .sponsor-logo, html[data-theme="dark"] .company-admin-logo { background: #f1f3ec; }
html[data-theme="dark"] .sponsor-carousel-button { border-color: var(--border); background: #202b23; color: var(--ink); }
html[data-theme="dark"] .home-contact { border-color: #385b42; }
html[data-theme="dark"] .home-body .site-footer { background: #0b1510; }
html[data-theme="dark"] .social-signin-button { border-color: var(--border); background: var(--surface-alt); color: var(--ink); }
html[data-theme="dark"] .social-divider::before, html[data-theme="dark"] .social-divider::after { background: var(--border); }
html[data-theme="dark"] .share-actions > a, html[data-theme="dark"] .share-actions > button { border-color: var(--border); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .share-actions > a:hover, html[data-theme="dark"] .share-actions > button:hover { border-color: var(--green); background: #294534; color: #fff; }
html[data-theme="dark"] .message-bubble-incoming { background: #2b342d; }
html[data-theme="dark"] .message-bubble-outgoing { background: #31563c; color: #f1f7ef; }
html[data-theme="dark"] .message-bubble-outgoing small { color: #c6d8c7; }

@media (max-width: 980px) {
    .site-header { padding-right: 5%; padding-left: 5%; }
    .site-header nav { gap: 13px; }
    .site-header nav a { font-size: 11px; }
    .theme-toggle { padding: 0 9px; }
}
@media (max-width: 850px) {
    .site-header, .home-body .site-header { position: absolute; top: 0; left: 0; width: 100%; min-height: 68px; align-items: center; padding: 13px 5%; transform: none; }
    .site-menu-toggle { display: grid; width: 40px; height: 40px; flex: 0 0 auto; align-content: center; justify-items: center; gap: 5px; margin-left: auto; border: 1px solid #ffffff70; border-radius: 50%; background: #ffffff14; cursor: pointer; }
    .site-menu-toggle span { display: block; width: 17px; height: 2px; border-radius: 2px; background: white; transition: transform .2s, opacity .2s; }
    .site-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
    .site-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .site-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .site-header nav, .home-body .site-header nav { position: absolute; z-index: 10; top: calc(100% - 1px); right: 4%; left: 4%; display: none; align-items: stretch; gap: 0; padding: 10px; border: 1px solid #ffffff2b; border-radius: 13px; background: #163526f7; box-shadow: 0 18px 38px #09150f44; }
    .site-header nav.is-open, .home-body .site-header nav.is-open { display: grid; }
    .site-header nav a, .home-body .site-header nav a, .home-body .site-header nav a:nth-child(n) { display: flex; min-height: 43px; align-items: center; padding: 0 12px; border: 0; border-radius: 8px; color: #fff; font-size: 13px; }
    .site-header nav a:hover, .home-body .site-header nav a:hover { background: #ffffff16; }
    .site-header nav .nav-contact, .home-body .site-header nav .nav-contact { justify-content: center; margin-top: 5px; border: 1px solid #ffffff55; }
    .site-header nav .nav-inline { padding: 0 12px; }
    .site-header nav .nav-button { min-height: 42px; }
    .site-header > .theme-toggle { order: 2; margin: 0 10px 0 auto; }
    .site-menu-toggle { order: 3; margin-left: 0; }
    .theme-toggle { min-height: 38px; }
    .panel-theme-toggle .theme-toggle-label { display: none; }
}
@media (max-width: 560px) {
    .site-header, .home-body .site-header { min-height: 60px; padding: 11px 5%; }
    .brand { gap: 8px; }
    .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
    .brand strong { font-size: 13px; }
    .brand small { display: none; }
    .site-header nav, .home-body .site-header nav { right: 3%; left: 3%; }
    .public-body .page-shell { width: 90%; padding-top: 112px; padding-bottom: 56px; }
    .public-body .page-shell.narrow { width: 90%; }
    .public-body .content-grid, .public-body .gallery-grid, .public-body .form-row { grid-template-columns: minmax(0, 1fr); }
    .public-body .gallery-item img, .public-body .gallery-item iframe, .public-body .gallery-item video { height: 230px; }
    .page-intro { margin-bottom: 22px; }
    .page-intro h1 { font-size: clamp(32px, 10vw, 44px); }
    .page-intro p { font-size: 13px; }
    .panel { padding: 20px 17px; }
    .reply-form { grid-template-columns: 1fr; }
    .table-wrap { margin-right: -4px; }
    table { min-width: 540px; }
    .action-cell { flex-wrap: wrap; }
    .site-footer { gap: 9px; flex-direction: column; padding: 18px 6%; }
    .flash, .notice { width: 90%; margin-top: 12px; }
    .panel-topbar { gap: 8px; }
    .panel-account { margin-left: auto; }
}
@media (max-width: 380px) {
    .panel-theme-toggle { width: 36px; min-width: 36px; padding: 0; }
    .panel-account strong { max-width: 94px; }
    .home-body .hero h1 { font-size: 42px; }
    .home-body .eyebrow { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.editorial-shell { width: min(1120px, 86%); }
.editorial-layout { display: grid; grid-template-columns: minmax(0, 1fr) 245px; align-items: start; gap: 36px; }
.editorial-articles { display: grid; gap: 16px; }
.editorial-articles > h2, .editorial-sidebar h2 { margin: 0 0 4px; font: 700 19px Manrope, sans-serif; }
.editorial-card { padding: 27px; border: 1px solid var(--border); background: var(--surface); }
.editorial-card h2, .editorial-card h3 { margin: 13px 0 8px; font: 700 23px Manrope, sans-serif; letter-spacing: -.03em; }
.editorial-card h3 { font-size: 20px; }
.editorial-card > p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.editorial-byline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 12px; }
.editorial-card .text-link { color: var(--green); font-size: 13px; font-weight: 700; }
.editorial-sidebar { position: sticky; top: 24px; display: grid; align-content: start; gap: 12px; padding: 17px; border: 1px solid var(--border); background: var(--surface); }
.editorial-sidebar-heading .section-label { color: var(--green); font-size: 9px; }
.editorial-sidebar-heading h2 { margin: 5px 0 0; font: 700 19px Manrope, sans-serif; }
.editorial-all-link { display: flex; min-height: 42px; align-items: center; justify-content: space-between; padding: 0 11px; border: 1px solid var(--border); background: var(--surface-alt); color: var(--muted); font-size: 12px; }
.editorial-all-link:hover, .editorial-all-link.is-active { border-color: var(--green); color: var(--green); }
.editorial-topic-list { display: grid; gap: 10px; }
.editorial-topic-card { position: relative; display: flex; aspect-ratio: 1 / 1; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 9px; padding: 17px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-alt); color: var(--ink); transition: border-color .18s, transform .18s, background .18s; }
.editorial-topic-card:nth-child(2n) { background: var(--surface); }
.editorial-topic-card:hover, .editorial-topic-card.is-active { transform: translateY(-2px); border-color: var(--green); background: #eaf0e5; color: var(--green-dark); }
.editorial-topic-number { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--green); font: 700 11px Manrope, sans-serif; }
.editorial-topic-card strong { max-width: 100%; font: 700 16px Manrope, sans-serif; line-height: 1.3; }
.editorial-topic-arrow { position: absolute; top: 15px; right: 15px; color: var(--green); font-size: 19px; }
.editorial-article h1 { font: 800 clamp(30px, 5vw, 48px) Manrope, sans-serif; letter-spacing: -.04em; line-height: 1.15; }
.editorial-summary { color: var(--muted); font-size: 17px; line-height: 1.8; }
.editorial-body { margin: 30px 0; font-size: 16px; line-height: 1.95; }
.editorial-home { padding: 78px 11%; background: var(--paper); }
.editorial-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.editorial-home-grid .editorial-card { padding: 22px; }
.editorial-home-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed var(--border); color: var(--muted); text-align: center; }
.branch-assignment-label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.branch-assignment-label select { min-width: 130px; max-width: 180px; padding: 5px; border: 1px solid var(--border); background: var(--field); color: var(--ink); font: inherit; }
.role-form { align-items: start; }
html[data-theme="dark"] .editorial-home { background: #111914; }
html[data-theme="dark"] .editorial-card, html[data-theme="dark"] .editorial-sidebar { border-color: var(--border); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .editorial-card > p { color: var(--muted); }
html[data-theme="dark"] .editorial-topic-card:hover, html[data-theme="dark"] .editorial-topic-card.is-active { border-color: var(--green); background: #26382b; color: var(--ink); }
@media (max-width: 850px) {
    .editorial-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; }
    .editorial-home { padding-right: 8%; padding-left: 8%; }
    .editorial-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .editorial-layout { display: flex; flex-direction: column-reverse; gap: 16px; }
    .editorial-sidebar { position: static; width: 100%; }
    .editorial-topic-list { grid-template-columns: minmax(0, 1fr); }
    .editorial-topic-card { aspect-ratio: 1 / 1; }
    .editorial-home-grid { grid-template-columns: minmax(0, 1fr); }
    .editorial-home { padding: 54px 5%; }
    .editorial-card { padding: 21px; }
}

.avatar-picker { min-width: 0; margin: 4px 0; padding: 16px; border: 1px solid var(--border); }
.avatar-picker legend { padding: 0 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.avatar-picker legend span { color: var(--muted); font-size: 11px; font-weight: 400; }
.avatar-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.avatar-option { display: grid !important; justify-items: center; gap: 7px !important; color: var(--muted) !important; font-size: 11px !important; font-weight: 500 !important; cursor: pointer; }
.avatar-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.avatar-option img { width: 62px; height: 62px; border: 3px solid transparent; border-radius: 50%; transition: border-color .15s, transform .15s; }
.avatar-option input:checked + img { border-color: var(--green); transform: scale(1.06); }
.avatar-option input:focus-visible + img { outline: 2px solid var(--green); outline-offset: 3px; }
.avatar-upload-field { display: grid; grid-template-columns: minmax(0, 1fr) 66px; align-items: center; gap: 14px; }
.avatar-upload-preview { width: 66px; height: 66px; border: 2px solid var(--border); border-radius: 50%; object-fit: cover; }
.author-avatar { display: inline-block; width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.author-avatar-small { width: 30px; height: 30px; }
.author-byline, .notice-author-byline { display: inline-flex; align-items: center; gap: 8px; }
.notice-author-byline { margin-top: 16px; color: var(--muted); font-size: 11px; }
.notice-card-author .author-avatar-small { width: 25px; height: 25px; }
.editorial-home { padding: 78px 5%; }
.editorial-home-layout { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); align-items: start; gap: 30px; max-width: 1240px; margin: 0 auto; }
.editorial-home-intro { padding: 22px 12px; }
.editorial-home-intro .section-label { color: var(--green); }
.editorial-home-intro h2 { margin: 13px 0; font: 700 clamp(30px, 4vw, 46px) Manrope, sans-serif; letter-spacing: -.045em; line-height: 1.12; }
.editorial-home-intro h2 em { color: var(--green); font-style: normal; }
.editorial-home-intro p { max-width: 350px; margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.editorial-home-intro .text-link { color: var(--green); font-size: 12px; font-weight: 700; }
.home-authors { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.home-authors-heading { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 13px; border-bottom: 1px solid var(--border); }
.home-authors-heading .section-label { color: #7d9163; font-size: 8px; letter-spacing: .15em; }
.home-authors-heading h3 { margin: 4px 0 0; color: var(--ink); font: 700 19px/1.25 Manrope, sans-serif; letter-spacing: -.035em; }
.home-authors-actions { display: flex; align-items: center; gap: 7px; }
.home-authors-actions > a { margin-left: 3px; color: var(--green); font-size: 10px; font-weight: 700; white-space: nowrap; }
.author-carousel-button { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--green); font-size: 12px; cursor: pointer; transition: background .16s, color .16s, border-color .16s; }
.author-carousel-button:hover { border-color: var(--green); background: var(--green); color: #fff; }
.home-authors-list { display: flex; gap: 8px; overflow-x: auto; padding: 10px; scroll-snap-type: x mandatory; scrollbar-color: #aeb99d transparent; scrollbar-width: thin; }
.home-author-card { display: grid; flex: 0 0 min(100%, 370px); grid-template-columns: 88px minmax(0, 1fr); align-items: start; gap: 0 14px; min-height: 124px; padding: 12px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); scroll-snap-align: start; transition: border-color .16s, background .16s; }
.home-author-card:hover { border-color: var(--green); background: var(--surface-alt); }
.home-author-card > img { grid-row: span 1; width: 82px; height: 82px; border-radius: 8px; object-fit: cover; }
.home-author-copy { display: grid; gap: 4px; min-width: 0; }
.home-author-copy > strong { overflow: hidden; color: var(--ink); font: 700 13px Manrope, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.home-author-role { color: var(--green); font-size: 9px; font-weight: 700; }
.home-author-latest-title { overflow: hidden; color: var(--ink); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.home-author-latest { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-author-read { margin-top: 2px; color: var(--green); font-size: 10px; font-weight: 700; }
.home-authors-empty { margin: 0; padding: 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
html[data-theme="dark"] .home-authors, html[data-theme="dark"] .home-author-card { border-color: var(--border); background: var(--surface); }
html[data-theme="dark"] .home-author-card:hover { background: var(--surface-alt); }
html[data-theme="dark"] .home-authors-heading { border-color: var(--border); }
html[data-theme="dark"] .author-carousel-button { border-color: var(--border); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .editorial-home-intro h2 em { color: var(--lime); }
@media (max-width: 850px) {
    .editorial-home-layout { grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr); gap: 16px; }
    .editorial-home { padding-right: 5%; padding-left: 5%; }
    .home-author-card { grid-template-columns: 70px minmax(0, 1fr); gap: 0 10px; }
    .home-author-card > img { width: 66px; height: 66px; }
}
@media (max-width: 640px) {
    .editorial-home-layout { grid-template-columns: minmax(0, 1fr); }
    .editorial-home-intro { padding: 0 0 4px; }
    .home-author-card { flex-basis: 100%; grid-template-columns: 72px minmax(0, 1fr); }
    .home-author-card > img { width: 68px; height: 68px; }
    .avatar-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
    .content-grid, .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-header nav { justify-content: end; }
}
@media (max-width: 560px) {
    .site-header { position: absolute; align-items: flex-start; padding-top: 16px; }
    .site-header nav a:nth-child(2), .site-header nav a:nth-child(4) { display: none; }
    .site-header nav { gap: 10px; }
    .page-shell { width: 88%; padding-top: 120px; padding-bottom: 60px; }
    .flash, .notice { width: 88%; }
    .content-grid, .dashboard-grid, .dashboard-activity-grid, .gallery-grid, .form-row { grid-template-columns: 1fr; }
    .dashboard-author-activity { grid-column: auto; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .contact-band { gap: 20px; }
    .reply-form { grid-template-columns: 1fr; }
    .forum-topic .section-heading small { text-align: left; }
    .action-cell { flex-wrap: wrap; }
    table { min-width: 580px; }
}

.profile-social-fields {
    display: grid;
    gap: 14px;
    margin: 8px 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
}
.profile-social-fields legend { padding: 0 8px; font-weight: 700; }
.profile-social-fields > p { margin: 0; color: var(--muted); }
.profile-social-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .45fr); gap: 12px; }
.profile-social-row label, .family-request-form label { display: grid; gap: 7px; }
.family-request-form { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.family-request-form h2 { margin: 0; }
.family-grid { align-items: start; margin-top: 24px; }
.family-grid > .panel { min-width: 0; }
.family-list-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.family-list-row:last-child { border-bottom: 0; }
.family-list-row > span, .family-list-row small { color: var(--muted); }
.family-list-row small { display: block; margin-top: 4px; }
.family-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.button-small { padding: 8px 12px; font-size: .85rem; }
.member-profile { text-align: center; }
.member-profile-avatar { width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; }
.member-profile h2 { margin-top: 32px; }
.member-social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.member-social-links a { padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--ink); text-decoration: none; }
.author-byline { color: inherit; text-decoration: none; }
.author-byline:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .profile-social-row { grid-template-columns: 1fr; }
    .family-list-row { align-items: flex-start; flex-direction: column; }
}

.hero-art:has(.hero-gallery) { width: min(100%, 570px); padding: 0; }
.hero-gallery { position: relative; width: 100%; aspect-ratio: 1.18 / 1; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; background: #193d2c; box-shadow: 0 24px 60px -10px rgba(7, 23, 15, 0.5); backdrop-filter: blur(8px); }
.hero-gallery-slides, .hero-gallery-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-gallery-slide { display: block; padding: 0; overflow: hidden; border: 0; background: transparent; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.hero-gallery-slide.is-active { z-index: 1; opacity: 1; pointer-events: auto; }
.hero-gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-gallery-slide::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #07140dcc); content: ""; }
.hero-gallery-caption { position: absolute; z-index: 2; right: 22px; bottom: 20px; left: 22px; display: grid; gap: 5px; color: white; text-shadow: 0 1px 8px #0008; }
.hero-gallery-label { color: #d6e8b1; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.hero-gallery-caption > span:nth-child(2) { overflow: hidden; font: 700 clamp(16px, 2.2vw, 25px) Manrope, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.hero-gallery-caption > span:last-child { position: absolute; right: 0; bottom: 1px; color: #ffffffd6; font-size: 11px; }
.hero-gallery-controls { position: absolute; z-index: 3; top: 16px; right: 16px; display: flex; align-items: center; gap: 10px; }
.hero-gallery-controls > button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ffffff80; border-radius: 50%; background: #0c1e17a6; color: white; font-size: 23px; cursor: pointer; }
.hero-gallery-dots { display: flex; max-width: 100px; gap: 5px; overflow: hidden; }
.hero-gallery-dots button { width: 6px; height: 6px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; background: #ffffff83; cursor: pointer; }
.hero-gallery-dots button[aria-current="true"] { width: 18px; border-radius: 5px; background: white; }
.hero-gallery-controls > button:focus-visible, .hero-gallery-dots button:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.home-main-layout { display: grid; width: min(1240px, 92%); grid-template-columns: minmax(0, 1fr) minmax(240px, 285px); align-items: stretch; gap: 22px; margin: 0 auto; }
.home-primary-column { display: grid; min-width: 0; align-content: start; gap: 28px; }
.home-main-layout .home-section, .home-main-layout .home-opportunities { width: 100%; margin: 0; }
.home-main-layout .home-notices { padding: 26px 24px; }
.home-main-layout .home-notice-grid { grid-template-columns: 1fr; }
.home-main-layout .home-notice-card { min-height: auto; }
.home-main-layout .home-opportunities { grid-template-columns: 1fr; gap: 18px; padding: 9px 0 22px; }
.home-main-layout .opportunities-content { grid-template-columns: minmax(0, 1fr); }
.home-main-layout .opportunities-heading h2 { font-size: clamp(25px, 2.8vw, 34px); }
.home-authors { position: sticky; top: 18px; display: flex; min-width: 0; max-height: 820px; flex-direction: column; align-self: start; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.home-authors-heading { flex: 0 0 auto; }
.home-authors-list { display: flex; min-height: 0; flex-direction: column; gap: 8px; overflow-x: hidden; overflow-y: auto; padding: 10px; scroll-snap-type: y mandatory; scrollbar-color: #aeb99d transparent; scrollbar-width: thin; }
.home-author-card { display: grid; width: 100%; min-height: 84px; flex: 0 0 auto; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 0 12px; padding: 12px; border-radius: 12px; border: 1px solid rgba(228, 232, 223, 0.7); background: #ffffff; scroll-snap-align: start; transition: all .2s ease; }
.home-author-card:hover { transform: translateX(3px); border-color: var(--green); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05); }
.home-author-card > img { grid-row: 1; width: 50px; height: 50px; border-radius: 50%; }
.home-author-copy { min-width: 0; }
.home-author-copy > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-author-role { font-size: 9px; }
.home-author-latest-title { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-authors-actions .author-carousel-button { font-size: 15px; }
.home-forum { width: min(1240px, 92%); margin: 24px auto 0; padding: 36px 38px; border-radius: 24px; background: linear-gradient(135deg, #1b3d2b 0%, #25573c 50%, #163625 100%); color: #ffffff; box-shadow: 0 20px 48px -12px rgba(18, 45, 30, 0.35); border: 1px solid rgba(255, 255, 255, 0.1); position: relative; overflow: hidden; }
.home-forum::before { content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(200, 223, 155, 0.18) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }
.home-forum-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.home-forum-heading .section-label { color: var(--lime); letter-spacing: 0.14em; font-weight: 700; }
.home-forum-heading h2 { margin: 5px 0; font: 800 clamp(25px, 3vw, 34px) Manrope, sans-serif; color: #ffffff; }
.home-forum-heading p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 13px; }
.home-forum-heading > a { flex: 0 0 auto; padding: 10px 22px; border: 1px solid rgba(200, 223, 155, 0.45); border-radius: 30px; background: rgba(200, 223, 155, 0.15); backdrop-filter: blur(8px); color: #ffffff; font-size: 12px; font-weight: 700; text-decoration: none; transition: all .25s ease; }
.home-forum-heading > a:hover { background: var(--lime); color: var(--green-dark); border-color: var(--lime); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200, 223, 155, 0.4); }
.home-forum-posts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.home-forum-post { display: flex; min-width: 0; min-height: 126px; align-items: start; justify-content: space-between; gap: 10px; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); color: #17271e; text-decoration: none; transition: all .25s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
.home-forum-post:hover { transform: translateY(-4px); background: #ffffff; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16); border-color: var(--lime); }
.home-forum-post-copy { display: grid; min-width: 0; gap: 6px; }
.home-forum-post-copy strong { overflow: hidden; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; }
.home-forum-post-copy > span { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-forum-post-copy small { color: var(--muted); font-size: 9px; }
.home-forum-post-arrow { flex: 0 0 auto; color: #287342; }
.home-forum-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px dashed #0f793966; border-radius: 8px; text-align: center; }
html[data-theme="dark"] .home-authors { border-color: var(--border); background: var(--surface); }
html[data-theme="dark"] .home-forum-post { background: #f0f3e9; }
@media (max-width: 900px) {
    .home-main-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 14px; }
    .home-main-layout .home-notices { padding: 22px 17px; }
    .home-forum-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .hero-art:has(.hero-gallery) { width: 100%; }
    .hero-gallery { aspect-ratio: 1.15 / 1; }
    .hero-gallery-caption { right: 14px; bottom: 14px; left: 14px; }
    .hero-gallery-controls { top: 10px; right: 10px; }
    .home-main-layout { display: flex; width: 92%; flex-direction: column; gap: 16px; }
    .home-primary-column { gap: 18px; }
    .home-authors { position: static; width: 100%; max-height: 480px; }
    .home-author-card { grid-template-columns: 54px minmax(0, 1fr); }
    .home-forum { width: 92%; padding: 22px 16px; }
    .home-forum-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .home-forum-posts { grid-template-columns: 1fr; }
    .home-forum-post { min-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-gallery-slide, .home-forum-post { transition: none; }
}


/* ========================================================
   MODERN UI REFRESH & ENHANCEMENTS
   ======================================================== */

/* 1. Glassmorphic Sticky Header */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    background: rgba(19, 45, 32, 0.82) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease !important;
}

.home-body .site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    transform: none !important;
    padding: 16px 5% !important;
    margin: 0 !important;
}

.site-header nav a {
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

.site-header nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.site-header nav .nav-contact {
    background: var(--lime) !important;
    color: var(--green-dark) !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 9px 20px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(200, 223, 155, 0.35);
    transition: all 0.25s ease !important;
}

.site-header nav .nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 223, 155, 0.5);
    background: #d8ebb4 !important;
}

/* 2. Brand Logo & Mark */
.brand-mark {
    background: linear-gradient(135deg, rgba(200, 223, 155, 0.25) 0%, rgba(200, 223, 155, 0.05) 100%) !important;
    border: 1px solid rgba(200, 223, 155, 0.4) !important;
    box-shadow: inset 0 0 12px rgba(200, 223, 155, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--lime);
}

.brand strong {
    font-size: 16px;
    letter-spacing: -0.02em;
}

/* 3. Hero Modernization */
.home-body .hero {
    padding-top: 100px !important;
    padding-bottom: 90px !important;
    background: 
        radial-gradient(circle at 80% 20%, rgba(200, 223, 155, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 90%, rgba(45, 96, 64, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #132d20 0%, #1c432e 50%, #153424 100%) !important;
}

.home-body .hero h1 {
    font-weight: 700;
    line-height: 1.08;
    background: linear-gradient(180deg, #ffffff 0%, #e2eed6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-body .eyebrow {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-actions .button {
    box-shadow: 0 8px 25px -4px rgba(200, 223, 155, 0.45) !important;
}

.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all 0.25s ease;
}

.hero-secondary-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-2px);
}

/* 4. Home Notices & Section Design */
.home-notices {
    background: #ffffff !important;
    border: 1px solid rgba(228, 232, 223, 0.8) !important;
    box-shadow: 0 12px 35px -8px rgba(23, 39, 30, 0.06) !important;
    border-radius: 22px !important;
}

.home-notice-card {
    border: 1px solid #edf1e8 !important;
    background: #fbfcf9 !important;
    border-radius: 16px !important;
    padding: 24px !important;
}

.home-notice-card:hover {
    background: #ffffff !important;
    border-color: #bad39f !important;
}

.home-notice-card .tag {
    background: #eef5e6;
    color: #275e42;
    border-radius: 8px;
    font-weight: 700;
}

/* 5. Home Authors Carousel / List */
.home-authors {
    border-radius: 20px !important;
    border: 1px solid rgba(228, 232, 223, 0.8) !important;
    box-shadow: 0 12px 35px -8px rgba(23, 39, 30, 0.06) !important;
    background: #ffffff !important;
}

.home-authors-heading {
    padding: 16px 20px !important;
    border-bottom: 1px solid #eef1ea !important;
}

.home-author-card {
    border: 1px solid #edf1e8 !important;
    background: #fcfdfa !important;
    border-radius: 14px !important;
}

.home-author-card:hover {
    background: #ffffff !important;
    border-color: #bad39f !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.home-author-card > img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* 6. Sponsors / Business Directory */
.home-sponsors {
    background: #ffffff !important;
    border: 1px solid rgba(228, 232, 223, 0.8) !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 35px -8px rgba(23, 39, 30, 0.06) !important;
}

.sponsor-card {
    border: 1px solid #edf1e8 !important;
    background: #fcfdfa !important;
    border-radius: 16px !important;
}

.sponsor-card:hover {
    background: #ffffff !important;
    border-color: #a8cead !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px -5px rgba(23, 39, 30, 0.12) !important;
}

/* 7. Contact Banner / Call to Action */
.home-contact {
    border-radius: 24px !important;
    background: linear-gradient(135deg, #183e2b 0%, #295e40 60%, #1b4530 100%) !important;
    box-shadow: 0 20px 45px -10px rgba(23, 56, 38, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    position: relative;
    overflow: hidden;
}

.home-contact::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(200, 223, 155, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-contact .button-light {
    background: linear-gradient(135deg, #d8e8b6 0%, #c4df97 100%) !important;
    color: #173827 !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
    border-radius: 30px !important;
    padding: 13px 26px !important;
    transition: all 0.25s ease !important;
}

.home-contact .button-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 223, 155, 0.45) !important;
}

/* 8. Modern Footer */
.site-footer, .home-body .site-footer {
    background: #0f241a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 30px 10% !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

/* 9. Dark Mode Refinements */
html[data-theme="dark"] .site-header {
    background: rgba(13, 27, 20, 0.88) !important;
    border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .home-notices,
html[data-theme="dark"] .home-sponsors,
html[data-theme="dark"] .home-authors {
    background: #17231a !important;
    border-color: #26362b !important;
}

html[data-theme="dark"] .home-notice-card,
html[data-theme="dark"] .home-author-card,
html[data-theme="dark"] .sponsor-card {
    background: #1e2d23 !important;
    border-color: #2b3d30 !important;
    color: #e5ede5 !important;
}

html[data-theme="dark"] .home-notice-card:hover,
html[data-theme="dark"] .home-author-card:hover,
html[data-theme="dark"] .sponsor-card:hover {
    background: #25382b !important;
    border-color: #4b6b54 !important;
}

html[data-theme="dark"] .home-forum {
    background: linear-gradient(135deg, #14281d 0%, #1a3827 50%, #12241a 100%) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .home-forum-post {
    background: rgba(30, 45, 35, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e5ede5 !important;
}

html[data-theme="dark"] .home-forum-post:hover {
    background: #273b2d !important;
    border-color: var(--lime) !important;
}

html[data-theme="dark"] .home-forum-post-copy strong {
    color: #ffffff;
}

html[data-theme="dark"] .home-forum-post-copy small,
html[data-theme="dark"] .home-forum-post-copy > span {
    color: #a4b4a6 !important;
}


/* ========================================================
   MODERN UI REFRESH & ENHANCEMENTS
   ======================================================== */

/* 1. Glassmorphic Sticky Header */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    background: rgba(19, 45, 32, 0.82) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease !important;
}

.home-body .site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    transform: none !important;
    padding: 16px 5% !important;
    margin: 0 !important;
}

.site-header nav a {
    position: relative;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

.site-header nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.site-header nav .nav-contact {
    background: var(--lime) !important;
    color: var(--green-dark) !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 9px 20px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(200, 223, 155, 0.35);
    transition: all 0.25s ease !important;
}

.site-header nav .nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 223, 155, 0.5);
    background: #d8ebb4 !important;
}

/* 2. Brand Logo & Mark */
.brand-mark {
    background: linear-gradient(135deg, rgba(200, 223, 155, 0.25) 0%, rgba(200, 223, 155, 0.05) 100%) !important;
    border: 1px solid rgba(200, 223, 155, 0.4) !important;
    box-shadow: inset 0 0 12px rgba(200, 223, 155, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--lime);
}

.brand strong {
    font-size: 16px;
    letter-spacing: -0.02em;
}

/* 3. Hero Modernization */
.home-body .hero {
    padding-top: 100px !important;
    padding-bottom: 90px !important;
    background: 
        radial-gradient(circle at 80% 20%, rgba(200, 223, 155, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 90%, rgba(45, 96, 64, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #132d20 0%, #1c432e 50%, #153424 100%) !important;
}

.home-body .hero h1 {
    font-weight: 700;
    line-height: 1.08;
    background: linear-gradient(180deg, #ffffff 0%, #e2eed6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-body .eyebrow {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-actions .button {
    box-shadow: 0 8px 25px -4px rgba(200, 223, 155, 0.45) !important;
}

.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all 0.25s ease;
}

.hero-secondary-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-2px);
}

/* 4. Home Notices & Section Design */
.home-notices {
    background: #ffffff !important;
    border: 1px solid rgba(228, 232, 223, 0.8) !important;
    box-shadow: 0 12px 35px -8px rgba(23, 39, 30, 0.06) !important;
    border-radius: 22px !important;
}

.home-notice-card {
    border: 1px solid #edf1e8 !important;
    background: #fbfcf9 !important;
    border-radius: 16px !important;
    padding: 24px !important;
}

.home-notice-card:hover {
    background: #ffffff !important;
    border-color: #bad39f !important;
}

.home-notice-card .tag {
    background: #eef5e6;
    color: #275e42;
    border-radius: 8px;
    font-weight: 700;
}

/* 5. Home Authors Carousel / List */
.home-authors {
    border-radius: 20px !important;
    border: 1px solid rgba(228, 232, 223, 0.8) !important;
    box-shadow: 0 12px 35px -8px rgba(23, 39, 30, 0.06) !important;
    background: #ffffff !important;
}

.home-authors-heading {
    padding: 16px 20px !important;
    border-bottom: 1px solid #eef1ea !important;
}

.home-author-card {
    border: 1px solid #edf1e8 !important;
    background: #fcfdfa !important;
    border-radius: 14px !important;
}

.home-author-card:hover {
    background: #ffffff !important;
    border-color: #bad39f !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.home-author-card > img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* 6. Sponsors / Business Directory */
.home-sponsors {
    background: #ffffff !important;
    border: 1px solid rgba(228, 232, 223, 0.8) !important;
    border-radius: 22px !important;
    box-shadow: 0 12px 35px -8px rgba(23, 39, 30, 0.06) !important;
}

.sponsor-card {
    border: 1px solid #edf1e8 !important;
    background: #fcfdfa !important;
    border-radius: 16px !important;
}

.sponsor-card:hover {
    background: #ffffff !important;
    border-color: #a8cead !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px -5px rgba(23, 39, 30, 0.12) !important;
}

/* 7. Contact Banner / Call to Action */
.home-contact {
    border-radius: 24px !important;
    background: linear-gradient(135deg, #183e2b 0%, #295e40 60%, #1b4530 100%) !important;
    box-shadow: 0 20px 45px -10px rgba(23, 56, 38, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    position: relative;
    overflow: hidden;
}

.home-contact::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(200, 223, 155, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-contact .button-light {
    background: linear-gradient(135deg, #d8e8b6 0%, #c4df97 100%) !important;
    color: #173827 !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
    border-radius: 30px !important;
    padding: 13px 26px !important;
    transition: all 0.25s ease !important;
}

.home-contact .button-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 223, 155, 0.45) !important;
}

/* 8. Modern Footer */
.site-footer, .home-body .site-footer {
    background: #0f241a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 30px 10% !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

/* 9. Dark Mode Refinements */
html[data-theme="dark"] .site-header {
    background: rgba(13, 27, 20, 0.88) !important;
    border-bottom-color: rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .home-notices,
html[data-theme="dark"] .home-sponsors,
html[data-theme="dark"] .home-authors {
    background: #17231a !important;
    border-color: #26362b !important;
}

html[data-theme="dark"] .home-notice-card,
html[data-theme="dark"] .home-author-card,
html[data-theme="dark"] .sponsor-card {
    background: #1e2d23 !important;
    border-color: #2b3d30 !important;
    color: #e5ede5 !important;
}

html[data-theme="dark"] .home-notice-card:hover,
html[data-theme="dark"] .home-author-card:hover,
html[data-theme="dark"] .sponsor-card:hover {
    background: #25382b !important;
    border-color: #4b6b54 !important;
}

html[data-theme="dark"] .home-forum {
    background: linear-gradient(135deg, #14281d 0%, #1a3827 50%, #12241a 100%) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .home-forum-post {
    background: rgba(30, 45, 35, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e5ede5 !important;
}

html[data-theme="dark"] .home-forum-post:hover {
    background: #273b2d !important;
    border-color: var(--lime) !important;
}

html[data-theme="dark"] .home-forum-post-copy strong {
    color: #ffffff;
}

html[data-theme="dark"] .home-forum-post-copy small,
html[data-theme="dark"] .home-forum-post-copy > span {
    color: #a4b4a6 !important;
}
