:root {
    --ink: #0c2133;
    --muted: #6b7785;
    --green: #078b54;
    --green-dark: #004934;
    --blue: #0069d9;
    --line: #e5e9ec;
    --surface: #ffffff;
    --page: #f4f6f7;
    --shadow: 0 8px 28px rgba(13, 31, 48, .07);
    --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.35;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }
button, input, select, textarea { font: inherit; }
select {
    width: 100%;
    min-height: 46px;
    padding: 10px 42px 10px 12px;
    color: var(--ink);
    background-color: #fff;
    border: 1px solid #bdc9cf;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
select:not([multiple]) {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23078b54' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 16px;
}
select:hover { border-color: #7fa99a; background-color: #fbfdfc; }
select:focus-visible { outline: 3px solid rgba(7,139,84,.15); border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
select:disabled { color: #89959c; background-color: #edf1f2; cursor: not-allowed; opacity: 1; }
select option { color: var(--ink); background: #fff; }
img { display: block; max-width: 100%; }
.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; }

.icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.site-header {
    height: 110px;
    display: grid;
    grid-template-columns: minmax(310px, 1fr) auto minmax(110px, .35fr);
    align-items: stretch;
    gap: 22px;
    padding: 0 32px 0 40px;
    background: #fff;
    position: relative;
    z-index: 20;
    box-shadow: 0 1px 0 rgba(15, 37, 55, .08);
}

.brand {
    width: 330px;
    height: 108px;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: 278px;
    height: 139px;
    object-fit: contain;
}

.main-navigation { display: flex; height: 100%; align-items: stretch; }

.nav-link {
    min-width: 92px;
    padding: 24px 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    color: #071d30;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--green-dark); background: #fbfdfc; border-bottom-color: var(--green); }
.nav-link .icon { width: 25px; height: 25px; stroke-width: 2.2; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.round-button, .mobile-menu-button {
    border: 0;
    color: var(--ink);
    background: #f2f4f5;
    cursor: pointer;
}
.round-button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.round-button:first-child { color: #059c70; }
.round-button:hover, .round-button:focus-visible { background: #e6eeeb; outline: 2px solid transparent; }
.mobile-menu-button { display: none; }
.mobile-account-link { display: none; }
.plain-link { color: inherit; text-decoration: none; }
.plain-link:hover { color: var(--green); }

.account-menu-wrap { position: relative; }
.account-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 220px;
    padding: 10px;
    display: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(7,29,48,.16);
}
.account-menu.is-open { display: grid; }
.account-menu strong { padding: 9px 10px; border-bottom: 1px solid var(--line); }
.account-menu a, .account-menu button { width: 100%; padding: 9px 10px; color: var(--ink); background: none; border: 0; text-align: left; text-decoration: none; cursor: pointer; border-radius: 7px; }
.account-menu a:hover, .account-menu button:hover { background: #f0f6f3; color: var(--green-dark); }

.auth-required-dialog { width: min(520px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 24px 80px rgba(7,29,48,.25); }
.auth-required-dialog::backdrop { background: rgba(7,29,48,.58); }
.auth-required-dialog h2 { margin: 0 36px 10px 0; }
.auth-required-dialog p { color: var(--muted); }
.auth-required-dialog .dialog-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f0f3f2; color: var(--ink); font-size: 25px; cursor: pointer; }
.admin-quick-link { padding-bottom: 0; }
.admin-quick-link a { display: flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.admin-quick-link strong { color: var(--green-dark); font-size: 28px; }

.hero {
    min-height: 365px;
    position: relative;
    display: flex;
    align-items: center;
    background: url('../hero.webp') center 47% / cover no-repeat;
    color: #fff;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 18, 11, .78) 0%, rgba(0, 18, 11, .52) 28%, rgba(0, 18, 11, .08) 60%, transparent 100%);
}

.hero-content { position: relative; z-index: 1; width: 100%; max-width: 1536px; margin: 0 auto; padding: 52px 68px 75px; }
.hero h1 { margin: 0 0 12px; max-width: 630px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 5vw, 76px); line-height: .98; letter-spacing: -.025em; text-shadow: 0 2px 14px rgba(0, 0, 0, .2); }
.hero p { margin: 0; font-size: clamp(20px, 2vw, 27px); line-height: 1.28; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }

.dashboard {
    position: relative;
    z-index: 3;
    max-width: 1490px;
    margin: -44px auto 0;
    padding: 0 24px 30px;
    display: grid;
    grid-template-columns: 1.16fr 1.06fr .86fr;
    gap: 14px;
    align-items: start;
}

.middle-column, .right-column { display: grid; gap: 14px; }
.panel { background: var(--surface); border: 1px solid #edf0f1; border-radius: var(--radius); box-shadow: var(--shadow); padding: 13px 20px 17px; overflow: hidden; }
.panel-heading { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 21px; line-height: 1.1; letter-spacing: -.025em; }
.panel-heading a { display: inline-flex; align-items: center; gap: 4px; color: #006dd8; font-size: 13px; white-space: nowrap; text-decoration: none; }
.panel-heading a:hover { text-decoration: underline; }
.panel-heading a .icon { width: 14px; height: 14px; }
.heading-icon { display: inline-flex; color: var(--green); }
.heading-icon.red { color: #ff2f37; }
.heading-icon.violet { color: #7048dd; }

.post-list { display: grid; }
.post-row { min-height: 109px; padding: 12px 0; display: grid; grid-template-columns: 170px 1fr; gap: 14px; border-bottom: 1px solid var(--line); }
.post-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.post-row > img { width: 170px; height: 100px; object-fit: cover; border-radius: 8px; }
.post-row:nth-child(2) > img { object-position: 30% 44%; }
.post-row:nth-child(3) > img { object-position: 75% 45%; filter: saturate(.75); }
.post-copy { min-width: 0; }
.category { display: inline-block; margin-bottom: 3px; padding: 2px 7px; color: #fff; background: var(--category-color); border-radius: 4px; font-size: 12px; font-weight: 800; line-height: 1.25; }
.post-row h3, .event-row h3, .discussion-row h3, .gallery-grid h3 { margin: 0; font-size: 16px; line-height: 1.2; }
.post-row p, .event-row p, .discussion-row p, .gallery-grid p { margin: 3px 0; color: var(--muted); }
.meta { display: flex; gap: 17px; margin-top: 6px; color: #6d7882; font-size: 13px; }
.meta span { display: inline-flex; gap: 4px; align-items: center; }
.meta .icon { width: 15px; height: 15px; }

.event-row { min-height: 61px; display: grid; grid-template-columns: 72px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.event-row:last-child { border-bottom: 0; }
.event-row time { text-align: center; color: #e82631; line-height: 1; }
.event-row:nth-child(2) time { color: #176ab0; }
.event-row time strong { display: block; font-size: 25px; }
.event-row time span { font-size: 13px; font-weight: 800; }
.event-row p { font-size: 14px; }
.panel-empty { padding: 24px 8px 10px; color: var(--muted); text-align: center; }

.gallery-panel { padding-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; padding-top: 13px; }
.gallery-grid img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 6px; }
.gallery-grid article:nth-child(2) img { object-position: 20% center; }
.gallery-grid article:nth-child(3) img { filter: grayscale(1); }
.gallery-grid h3 { margin-top: 7px; font-size: 14px; }
.gallery-grid p { font-size: 13px; }

.discussion-row { min-height: 58px; display: grid; grid-template-columns: 23px 1fr auto; gap: 9px; align-items: center; border-bottom: 1px solid var(--line); }
.discussion-row:last-child { border-bottom: 0; }
.discussion-row > .icon { width: 18px; color: #748390; }
.discussion-row h3 { font-size: 14px; }
.discussion-row p { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.discussion-row > span { display: inline-flex; align-items: center; gap: 3px; color: #687681; font-size: 12px; }
.discussion-row > span .icon { width: 14px; height: 14px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; padding-top: 12px; }
.services-grid a { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 7px 3px; text-align: center; text-decoration: none; border-radius: 8px; background: linear-gradient(#fafbfb, #fff); }
.services-grid a:hover { background: #f0f6f3; }
.service-symbol { min-height: 35px; font-size: 29px; line-height: 1; }
.services-grid strong { font-size: 11px; line-height: 1.18; }

.history-teaser { display: flex; align-items: center; gap: 13px; color: #fff; background: linear-gradient(135deg, #075b42, #078b54); }
.history-icon { display: grid; place-items: center; width: 45px; height: 45px; flex: 0 0 auto; border-radius: 50%; background: rgba(255,255,255,.16); }
.history-teaser h2 { margin: 0 0 2px; font-size: 16px; }
.history-teaser p { margin: 0; opacity: .82; font-size: 12px; }

.site-footer { padding: 18px 24px 28px; color: #77838c; text-align: center; font-size: 13px; }
.site-footer p { margin: 0; }

.flash { position: relative; z-index: 10; max-width: 760px; margin: 14px auto; padding: 12px 16px; border-radius: 9px; border: 1px solid #b9d9ca; background: #ecf8f1; color: #075b42; }
.flash-error { border-color: #f0b9b9; background: #fff0f0; color: #a62727; }
.flash-warning { border-color: #f1d08b; background: #fff8e6; color: #7c5510; }

.content-page, .account-page { min-height: 100vh; background: #f4f6f7; }
.page-shell { width: min(1180px, calc(100% - 32px)); min-height: calc(100vh - 180px); margin: 0 auto; padding: 54px 0 70px; }
.narrow-shell { max-width: 820px; }
.page-title-row { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.page-title-row h1, .article-detail h1 { margin: 3px 0 0; color: #08213c; font-family: Georgia, "Times New Roman", serif; font-size: clamp(37px, 5vw, 58px); line-height: 1.02; letter-spacing: -.025em; }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.content-card, .form-card { background: #fff; border: 1px solid #e8ecee; border-radius: 16px; box-shadow: var(--shadow); }
.button { min-height: 43px; padding: 10px 17px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; font-weight: 750; text-decoration: none; cursor: pointer; }
.button.primary { color: #fff; background: var(--green); border-color: var(--green); }
.button.primary:hover { background: #047448; }
.button.secondary { color: var(--ink); background: #fff; border-color: #bfcbd2; }
.button.danger { color: #b52c2c; background: #fff; border-color: #e6aaaa; }
.button.small { min-height: 34px; padding: 6px 10px; font-size: 12px; }

.account-shell { min-height: calc(100vh - 170px); padding: 55px 16px 75px; display: grid; place-items: start center; }
.form-card { width: min(100%, 520px); padding: clamp(24px, 5vw, 44px); }
.form-card.centered { text-align: center; }
.form-card h1 { margin: 5px 0 8px; color: #08213c; font-family: Georgia, "Times New Roman", serif; font-size: 40px; }
.form-card > p { margin: 0 0 25px; color: var(--muted); }
.stack-form { display: grid; gap: 16px; }
.stack-form label, .article-form > label { display: grid; gap: 7px; font-weight: 700; }
.stack-form input, .stack-form textarea, .article-form input, .article-form textarea, .article-form select, .inline-form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #bdc9cf; border-radius: 8px; color: var(--ink); background: #fff; }
.article-form select, .inline-form select, .stack-form select { padding-right: 42px; }
.stack-form textarea { min-height: 120px; resize: vertical; }
.stack-form input:focus, .stack-form textarea:focus, .article-form input:focus, .wysiwyg:focus, select:focus { outline: 3px solid rgba(7,139,84,.15); border-color: var(--green); }
.image-fallback { object-fit:contain!important; padding:12px; background:#fff; }
.form-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #fff0f0; color: #a62727; }
.form-foot { margin: 24px 0 0 !important; text-align: center; }
.form-foot a, .form-links a { color: #006dd8; }
.form-links { margin-top: 15px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }

.profile-card { padding: 28px; }
.profile-card dl { margin: 0 0 28px; }
.profile-card dl div { padding: 13px 0; display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.profile-card dt { color: var(--muted); }.profile-card dd { margin: 0; font-weight: 700; }
.profile-form { border-top: 1px solid var(--line); padding-top: 25px; }
.check-label { grid-template-columns: auto 1fr !important; align-items: start; cursor: pointer; }
.check-label input { width: 20px; min-height: 20px; margin-top: 3px; }
.check-label span { display: grid; }.check-label small, label small { color: var(--muted); font-weight: 400; }
.form-grid { display: grid; gap: 15px; }.form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }

.status { display: inline-flex; width: fit-content; padding: 4px 8px; border-radius: 999px; background: #edf2f4; color: #50616c; font-size: 12px; font-weight: 800; }
.status-published, .status-normal, .status-resolved { background: #e5f8ed; color: #087344; }
.status-pending, .status-approval_required, .status-open { background: #fff4d9; color: #946100; }
.status-blocked, .status-rejected, .status-dismissed { background: #ffe9e9; color: #a92727; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { overflow: hidden; background: #fff; border: 1px solid #e7ebed; border-radius: 13px; box-shadow: var(--shadow); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card > div { padding: 20px; }
.news-card h2 { margin: 5px 0 9px; font-size: 22px; line-height: 1.15; }.news-card h2 a { color: inherit; text-decoration: none; }.news-card h2 a:hover { color: var(--green); }
.news-card p { color: var(--muted); }.news-card small { color: #73808a; }
.pagination { margin-top: 28px; display: flex; justify-content: center; gap: 7px; }.pagination a { min-width: 38px; padding: 9px; text-align: center; border-radius: 7px; background: #fff; text-decoration: none; }.pagination a.active { color: #fff; background: var(--green); }
.empty-state { padding: 60px 25px; text-align: center; background: #fff; border-radius: 14px; }.empty-state h1,.empty-state h2 { margin-top: 0; }

.article-shell { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 45px 0 70px; }
.article-detail { padding: clamp(24px, 6vw, 58px); background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.back-link { display: inline-block; margin-bottom: 28px; color: #006dd8; text-decoration: none; }
.article-author { color: var(--muted); }.article-hero { width: 100%; max-height: 500px; margin: 30px 0; object-fit: cover; border-radius: 12px; }
.article-body { color: #172d3d; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.72; overflow-wrap: anywhere; }
.article-body h2,.article-body h3 { font-family: Inter, sans-serif; line-height: 1.25; }.article-body a { color: #006dd8; }
.article-actions,.form-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }.article-actions form { margin: 0; }
.article-poll { margin-top:32px; padding:22px; background:#f2f6f7; border-radius:12px; }.article-poll form { display:grid; gap:12px; }.article-poll form label { padding:10px 12px; background:#fff; border:1px solid var(--line); border-radius:8px; }.poll-result { position:relative; display:flex; justify-content:space-between; gap:15px; overflow:hidden; margin:9px 0; padding:11px 12px; background:#fff; border-radius:8px; }.poll-result span,.poll-result b { position:relative; z-index:1; }.poll-result i { position:absolute; inset:0 auto 0 0; background:#d4ecdf; }
.report-box { margin-top: 15px; padding: 18px 22px; background: #fff; border-radius: 12px; }.report-box summary { cursor: pointer; font-weight: 700; }.report-box form { margin-top: 16px; }

.editor-shell { max-width: 940px; }.article-form { padding: clamp(20px, 4vw, 38px); display: grid; gap: 22px; }
.field-label { display: block; margin-bottom: 7px; font-weight: 700; }
.editor-toolbar { padding: 8px; display: flex; flex-wrap: wrap; gap: 6px; border: 1px solid #bdc9cf; border-bottom: 0; border-radius: 8px 8px 0 0; background: #f5f7f7; }
.editor-toolbar button { min-height: 34px; padding: 5px 10px; border: 1px solid #ccd5da; border-radius: 5px; background: #fff; cursor: pointer; }
.wysiwyg { min-height: 330px; padding: 18px; border: 1px solid #bdc9cf; border-radius: 0 0 8px 8px; background: #fff; line-height: 1.6; overflow: auto; }

.table-card { padding: 8px 22px 18px; }.responsive-table { overflow-x: auto; }table { width: 100%; border-collapse: collapse; }th,td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }th { color: #65747f; font-size: 12px; text-transform: uppercase; }td small { display: block; margin-top: 3px; color: var(--muted); }
.table-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }.table-actions a,.table-actions button { padding: 0; color: #006dd8; background: none; border: 0; font: inherit; cursor: pointer; text-decoration: none; }.table-actions form { display: inline-flex; gap: 8px; }
.inline-form { display: flex; align-items: center; gap: 8px; }.inline-form select { min-width: 190px; }
.admin-tabs,.filter-pills { margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; }.admin-tabs a,.filter-pills a { padding: 9px 13px; color: var(--ink); background: #fff; border: 1px solid #d7dfe3; border-radius: 8px; text-decoration: none; }.filter-pills a.active { color: #fff; background: var(--green); border-color: var(--green); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 15px; }.stat-grid a { padding: 28px; display: grid; color: var(--ink); background: #fff; border-radius: 14px; box-shadow: var(--shadow); text-decoration: none; }.stat-grid strong { color: var(--green); font-size: 38px; }.stat-grid span { color: var(--muted); }
.report-list { padding: 22px; }.report-list article { padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }.report-list article:last-child { border-bottom: 0; }.report-list h2 { margin: 8px 0; }.report-list h2 a { color: inherit; }.report-list p { max-width: 700px; }

.calendar-card { overflow: hidden; }
.calendar-toolbar { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.calendar-toolbar h2 { margin: 0; font-family: Georgia,"Times New Roman",serif; font-size: 30px; }
.calendar-arrow { width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); background: #f1f5f3; border-radius: 50%; font-size: 21px; text-decoration: none; }
.calendar-weekdays,.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.calendar-weekdays { border-bottom: 1px solid var(--line); }.calendar-weekdays span { padding: 10px; color: var(--muted); text-align: center; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.calendar-day { min-height: 128px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }.calendar-day:nth-child(7n) { border-right: 0; }.calendar-day.outside { background: #fafbfb; color: #a4adb3; }.calendar-day > time { width: 28px; height: 28px; display: grid; place-items: center; font-weight: 800; }.calendar-day.today > time { color: #fff; background: var(--green); border-radius: 50%; }
.calendar-day-events { margin-top: 5px; display: grid; gap: 4px; }.calendar-day-events a { padding: 4px 5px; display: block; color: #075b42; background: #e9f7ef; border-radius: 5px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }.calendar-day-events a span { margin-right: 3px; font-weight: 500; }.calendar-day-events small { color: var(--muted); }
.upcoming-section { margin-top: 38px; }.section-heading h2 { margin: 3px 0 18px; font-family: Georgia,"Times New Roman",serif; font-size: 36px; }
.event-card-list { display: grid; gap: 12px; }.event-list-card { min-height: 118px; padding: 14px 16px; display: grid; grid-template-columns: 70px 1fr 155px; gap: 16px; align-items: center; background: #fff; border: 1px solid #e7ebed; border-radius: 12px; box-shadow: var(--shadow); }.event-list-card > time { text-align: center; color: #e82631; }.event-list-card > time strong { display: block; font-size: 31px; line-height: 1; }.event-list-card > time span { font-weight: 800; }.event-list-copy > span { color: var(--green); font-size: 12px; font-weight: 700; }.event-list-copy h3 { margin: 3px 0; font-size: 20px; }.event-list-copy h3 a { color: inherit; text-decoration: none; }.event-list-copy p { margin: 3px 0; color: var(--muted); }.event-list-card > img { width: 155px; height: 90px; object-fit: cover; border-radius: 8px; }
.event-facts { margin: 24px 0; border-top: 1px solid var(--line); }.event-facts div { padding: 13px 0; display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line); }.event-facts dt { color: var(--muted); }.event-facts dd { margin: 0; font-weight: 700; }
.attendance-card { margin-top: 15px; padding: 24px; }.attendance-card h2 { margin-top: 0; }.attendance-counts { display: grid; gap: 5px; }.attendance-counts > div { padding: 10px 0; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.attendance-counts a,.attendance-counts strong { min-width: 32px; padding: 4px 8px; color: var(--ink); background: #eef3f1; border-radius: 999px; text-align: center; text-decoration: none; }
.attendance-form { margin-top: 20px; }.privacy-notice { padding: 10px 12px; color: #655116; background: #fff7dc; border-radius: 8px; font-size: 13px; }.attendance-buttons { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.attendance-buttons button { min-height: 45px; padding: 8px; border: 1px solid #cbd4d8; border-radius: 8px; background: #fff; cursor: pointer; }.attendance-buttons button.active { border-color: var(--green); background: #e9f7ef; color: #075b42; font-weight: 800; }
.attendee-list { padding: 22px; }.attendee-list ul { margin: 0; padding: 0; list-style: none; }.attendee-list li { padding: 12px 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }.attendee-list li:last-child { border-bottom: 0; }
.scope-choice,.weekday-choice { margin: 0; padding: 14px; display: flex; flex-wrap: wrap; gap: 13px; border: 1px solid #cbd5da; border-radius: 9px; }.scope-choice legend,.weekday-choice legend { padding: 0 5px; font-weight: 800; }.scope-choice label,.weekday-choice label { display: inline-flex; align-items: center; gap: 5px; }.scope-choice input,.weekday-choice input { width: auto; min-height: auto; }.scope-choice.prominent { background: #f0f7f4; border-color: #93cbb2; }.recurrence-settings { padding: 18px; display: grid; gap: 16px; background: #f7f9f8; border-radius: 10px; }.recurrence-settings > label,.recurrence-settings [data-recurrence-end] > label { display: grid; gap: 7px; font-weight: 700; }.check-label.compact { margin-top: 10px; }.admin-pending-block { margin-bottom: 18px; }.admin-pending-block h2 { margin: 13px 10px; }

.filter-bar { margin-bottom: 24px; padding: 18px; display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.filter-bar label { min-width: 145px; flex: 1 1 145px; display: grid; gap: 6px; color: #566874; font-size: 12px; font-weight: 800; }
.filter-bar input,.filter-bar select { width: 100%; min-height: 43px; color: var(--ink); background-color: #fff; border: 1px solid #bdc9cf; border-radius: 8px; }
.filter-bar input { padding: 8px 10px; }
.filter-bar select { padding: 8px 40px 8px 10px; }
.marketplace-filter label { flex-basis: 125px; }
.community-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.community-card { overflow: hidden; background: #fff; border: 1px solid #e6ebed; border-radius: 14px; box-shadow: var(--shadow); }
.community-photo { min-height: 220px; position: relative; display: grid; place-items: center; color: #799087; background: #edf3f0; text-decoration: none; }
.community-photo img { width: 100%; height: 240px; object-fit: cover; }
.community-photo > span .icon { width: 58px; height: 58px; }
.closed-badge { position: absolute; top: 12px; right: 12px; padding: 6px 10px; color: #fff; background: #9d3030; border-radius: 999px; font-size: 12px; }
.community-card-copy { padding: 18px; }
.category-pill { color: var(--green); font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.community-card h2 { margin: 6px 0 8px; font-size: 21px; line-height: 1.15; }
.community-card h2 a { text-decoration: none; }
.community-card p { margin: 0 0 12px; color: var(--muted); }
.community-card small { color: var(--muted); }
.card-meta { margin: 10px 0; display: flex; flex-wrap: wrap; gap: 10px; color: #62727d; font-size: 12px; }
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-meta .icon { width: 14px; height: 14px; }
.price { display: block; color: #075b42; font-size: 20px; }
.community-detail-shell { width: min(1050px,calc(100% - 32px)); }
.photo-gallery { margin: 28px 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.photo-gallery a { position: relative; overflow: hidden; border-radius: 9px; background: #edf1f0; }
.photo-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.photo-gallery img { width: 100%; height: 150px; object-fit: cover; }
.photo-gallery a:first-child img { height: 309px; }
.photo-gallery small { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; color: #fff; background: rgba(0,0,0,.68); border-radius: 5px; }
.listing-price { margin: 20px 0; color: var(--green-dark); font-size: 30px; font-weight: 850; }
.community-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.community-actions form { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-modal { width: min(94vw,1100px); max-height: 92vh; padding: 0; background: transparent; border: 0; }
.photo-modal::backdrop { background: rgba(3,15,24,.86); }
.photo-modal img { max-width: 100%; max-height: 88vh; margin: auto; object-fit: contain; }
.photo-modal button { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; color: #fff; background: rgba(0,0,0,.62); border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 30px; cursor: pointer; }
.existing-photos,.new-photo-preview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.existing-photos { margin: 0; padding: 15px; border: 1px solid #cbd5da; border-radius: 9px; }
.existing-photos legend { padding: 0 5px; font-weight: 800; }
.existing-photos label,.new-photo-preview label { display: grid; align-content: start; gap: 6px; font-size: 12px; }
.existing-photos img,.new-photo-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; }
.existing-photos span,.new-photo-preview span { display: flex; align-items: center; gap: 4px; }
.existing-photos input,.new-photo-preview input { width: auto; min-height: auto; }
.message-compose { padding: 26px; }
.message-compose h2 { margin-top: 0; }
.conversation-list { overflow: hidden; }
.conversation-row { position: relative; padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; color: inherit; border-bottom: 1px solid var(--line); text-decoration: none; }
.conversation-row:last-child { border-bottom: 0; }
.conversation-row.unread { background: #eff8f4; }
.conversation-avatar { width: 42px; height: 42px; display: grid; place-items: center; color: var(--green); background: #e4f5ec; border-radius: 50%; }
.conversation-row span:nth-child(2) { min-width: 0; }
.conversation-row small { display: block; color: var(--green); }
.conversation-row p { margin: 4px 0 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-row time { color: var(--muted); font-size: 12px; }
.conversation-row > b { position: absolute; right: 18px; bottom: 12px; min-width: 23px; padding: 3px 7px; color: #fff; background: var(--green); border-radius: 999px; text-align: center; font-size: 11px; }
.conversation-header { margin-bottom: 18px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.conversation-header h1 { margin: 4px 0; font-family: Georgia,"Times New Roman",serif; }
.conversation-header a { color: #006dd8; }
.message-thread { display: grid; gap: 10px; }
.message-bubble { max-width: 78%; padding: 12px 15px; justify-self: start; background: #fff; border: 1px solid var(--line); border-radius: 5px 14px 14px; }
.message-bubble.mine { justify-self: end; background: #e8f7ef; border-color: #b9dfcc; border-radius: 14px 5px 14px 14px; }
.message-bubble p { margin: 5px 0; }
.message-bubble time { color: var(--muted); font-size: 11px; }
.message-reply { position: sticky; bottom: 8px; margin-top: 18px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.message-reply textarea { min-height: 60px; padding: 10px; resize: vertical; border: 1px solid #bdc9cf; border-radius: 8px; }
.blocked-notice { margin-top: 18px; padding: 18px; text-align: center; }

@media (max-width: 1250px) {
    .site-header { grid-template-columns: 235px 1fr 98px; gap: 8px; padding: 0 18px; }
    .brand { width: 235px; }
    .brand img { width: 225px; height: 112px; }
    .nav-link { min-width: 75px; font-size: 12px; padding-inline: 5px; }
    .header-actions { gap: 8px; }
    .round-button { width: 43px; height: 43px; }
    .dashboard { grid-template-columns: 1.08fr 1fr; }
    .right-column { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
    .history-teaser { display: none; }
}

@media (max-width: 900px) {
    .site-header { height: 78px; grid-template-columns: 1fr auto auto; padding: 0 18px; align-items: center; }
    .brand { width: 180px; height: 76px; }
    .brand img { width: 168px; height: 84px; }
    .mobile-menu-button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
    .menu-close-icon { display: none; }
    .mobile-menu-button[aria-expanded="true"] .menu-open-icon { display: none; }
    .mobile-menu-button[aria-expanded="true"] .menu-close-icon { display: block; }
    .main-navigation {
        position: fixed;
        inset: 78px 0 0;
        height: auto;
        padding: 18px;
        background: #fff;
        display: grid;
        align-content: start;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .22s ease, visibility .22s ease;
        overflow-y: auto;
    }
    .main-navigation.is-open { transform: translateX(0); visibility: visible; }
    .nav-link { min-height: 88px; border: 1px solid var(--line); border-radius: 10px; padding: 13px; }
    .nav-link.is-active { border-color: #8dcab0; }
    .header-actions .round-button:first-child { display: none; }
    .mobile-account-link { display: flex; }
    .hero { min-height: 385px; background-position: 56% center; }
    .hero-content { padding: 65px 30px 92px; }
    .hero h1 { font-size: clamp(45px, 10vw, 66px); }
    .dashboard { grid-template-columns: 1fr; margin-top: -55px; padding-inline: 16px; }
    .right-column { grid-column: auto; grid-template-columns: 1fr; }
    .history-teaser { display: flex; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .community-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 580px) {
    body { font-size: 14px; }
    .site-header { padding-inline: 12px; }
    .header-actions { display: none; }
    .site-header { grid-template-columns: 1fr auto; }
    .brand { width: 156px; }
    .brand img { width: 150px; height: 75px; }
    .hero { min-height: 370px; background-position: 58% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(0,18,11,.78), rgba(0,18,11,.28)); }
    .hero-content { padding: 55px 20px 105px; }
    .hero h1 { font-size: 45px; }
    .hero p { font-size: 18px; }
    .desktop-only { display: none; }
    .dashboard { margin-top: -64px; padding-inline: 10px; gap: 10px; }
    .middle-column, .right-column { gap: 10px; }
    .panel { padding: 12px 14px 15px; border-radius: 12px; }
    .panel-heading h2 { font-size: 18px; }
    .panel-heading a { font-size: 0; }
    .panel-heading a .icon { width: 20px; height: 20px; }
    .post-row { grid-template-columns: 110px 1fr; gap: 10px; min-height: 100px; }
    .post-row > img { width: 110px; height: 92px; }
    .post-row p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .meta { gap: 9px; font-size: 11px; }
    .event-row { grid-template-columns: 60px 1fr; }
    .gallery-grid { gap: 8px; overflow-x: auto; grid-template-columns: repeat(3, minmax(130px, 1fr)); padding-bottom: 4px; }
    .discussion-row p { max-width: 205px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .page-shell { width: min(100% - 20px, 1180px); padding-top: 35px; }
    .page-title-row { align-items: stretch; flex-direction: column; }.page-title-row .button { width: 100%; }
    .news-grid { grid-template-columns: 1fr; }
    .profile-card { padding: 20px; }.profile-card dl div { grid-template-columns: 1fr; gap: 4px; }
    .article-shell { width: calc(100% - 20px); padding-top: 24px; }.article-detail { padding: 22px 18px; }.article-body { font-size: 17px; }.article-detail h1 { font-size: 38px; }
    .form-links { flex-direction: column; }.form-card { padding: 25px 20px; }.form-card h1 { font-size: 34px; }
    .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.stat-grid a { padding: 18px; }.stat-grid strong { font-size: 30px; }
    .report-list article { flex-direction: column; }
    .inline-form { align-items: stretch; flex-direction: column; }
    .form-grid.two { grid-template-columns: 1fr; }
    .calendar-card { overflow-x: auto; }.calendar-toolbar,.calendar-weekdays,.calendar-grid { min-width: 720px; }.calendar-day { min-height: 105px; }.calendar-page .calendar-card { margin-inline: -10px; border-radius: 0; }
    .event-list-card { grid-template-columns: 58px 1fr; }.event-list-card > img { display: none; }.event-list-copy h3 { font-size: 17px; }
    .event-facts div { grid-template-columns: 1fr; gap: 3px; }.attendance-buttons { grid-template-columns: 1fr; }
    .filter-bar { align-items: stretch; flex-direction: column; }
    .filter-bar label { width: 100%; flex-basis: auto; }
    .filter-bar .button { width: 100%; }
    .community-grid { grid-template-columns: 1fr; }
    .community-photo img { height: 225px; }
    .photo-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .photo-gallery a:first-child { grid-column: span 2; }
    .photo-gallery img { height: 130px; }
    .photo-gallery a:first-child img { height: 260px; }
    .existing-photos,.new-photo-preview { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .conversation-header { align-items: stretch; flex-direction: column; }
    .message-bubble { max-width: 92%; }
    .message-reply { grid-template-columns: 1fr; }
    .conversation-row { grid-template-columns: 38px 1fr; }
    .conversation-row time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Fotogaléria a história */
.album-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.album-card,.history-card { overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 8px 24px rgba(18,46,60,.06); }
.album-card > div { padding:15px 17px 18px; }.album-card h2,.history-card h2 { margin:5px 0 7px; font-size:21px; }.album-card h2 a,.history-card h2 a { color:var(--ink); text-decoration:none; }.album-card time { color:var(--muted); font-size:13px; }
.album-cover { position:relative; display:block; height:225px; background:#eaf0f2; }.album-cover img { width:100%; height:100%; object-fit:cover; }.album-cover > span { height:100%; display:grid; place-items:center; }.album-cover > span .icon { width:54px; height:54px; color:#81949e; }.album-cover b { position:absolute; right:12px; bottom:12px; padding:6px 10px; color:#fff; background:rgba(5,28,38,.78); border-radius:999px; font-size:12px; }
.media-detail { padding-bottom:35px; }.media-detail-head { display:flex; justify-content:space-between; align-items:flex-start; gap:25px; margin-bottom:28px; }.media-detail-head h1 { margin:7px 0; font-size:clamp(34px,5vw,58px); }.media-detail-head p { max-width:760px; color:var(--muted); }
.media-photo-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }.media-photo-grid figure { min-width:0; margin:0; }.media-photo-grid figure > a:first-child { display:block; overflow:hidden; border-radius:11px; background:#e9eff2; }.media-photo-grid figure > a img { width:100%; height:220px; display:block; object-fit:cover; transition:transform .2s; }.media-photo-grid figure > a:hover img { transform:scale(1.025); }.media-photo-grid figcaption { display:grid; gap:3px; padding:8px 2px 3px; color:var(--muted); font-size:13px; }.media-photo-grid figcaption strong { color:var(--ink); }.quiet-link { color:#657984; font-size:11px; }.media-request-links { margin-top:30px; }
.gallery-lightbox { width:min(96vw,1250px); max-width:none; height:94vh; padding:0; color:#fff; background:transparent; border:0; }.gallery-lightbox::backdrop { background:rgba(2,13,18,.94); }.gallery-lightbox figure { width:100%; height:100%; margin:0; display:grid; place-items:center; grid-template-rows:1fr auto; }.gallery-lightbox img { max-width:100%; max-height:82vh; object-fit:contain; }.gallery-lightbox figcaption { width:min(90vw,900px); display:flex; justify-content:center; flex-wrap:wrap; gap:8px 16px; padding:10px; }.gallery-lightbox button { position:fixed; z-index:2; width:50px; height:50px; border:0; border-radius:50%; color:#fff; background:rgba(5,23,31,.72); font-size:36px; cursor:pointer; }.lightbox-close { top:15px; right:18px; }.lightbox-prev { top:48%; left:18px; }.lightbox-next { top:48%; right:18px; }
.batch-uploader { margin-bottom:22px; }.batch-uploader form { display:grid; gap:14px; }.batch-uploader label { display:grid; gap:7px; font-weight:700; }.upload-progress { height:12px; overflow:hidden; background:#dde6ea; border-radius:10px; }.upload-progress span { display:block; width:0; height:100%; background:var(--green); transition:width .15s; }.upload-results { margin:0; }.upload-ok { color:#087a43; }.upload-error { color:#bb2633; }
.history-manage-shell { width:min(980px,calc(100% - 40px)); }
.history-manage-shell .page-title-row h1 { font-size:clamp(36px,4vw,50px); }
.history-manage-shell .content-card { padding:clamp(20px,3vw,32px); }
.manage-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }.manage-photo-card { display:grid; gap:9px; padding:13px; border:1px solid var(--line); border-radius:12px; }.manage-photo-card > img { width:100%; height:180px; object-fit:cover; border-radius:8px; }.manage-photo-card label { display:grid; gap:4px; font-size:12px; font-weight:800; }.manage-photo-card input,.manage-photo-card textarea { width:100%; padding:9px; border:1px solid #bdc9cf; border-radius:7px; }.photo-card-actions { display:flex; flex-wrap:wrap; gap:7px; }.photo-card-actions button { padding:7px 9px; border:1px solid #abc1cb; border-radius:7px; background:#fff; cursor:pointer; }.danger-link { color:#b52732!important; }.danger-zone { margin-top:25px; }
.history-list { display:grid; gap:18px; }.history-card { display:grid; grid-template-columns:280px 1fr; }.history-card > a,.history-placeholder { min-height:210px; background:#eaf0f2; }.history-card img { width:100%; height:100%; object-fit:cover; }.history-card > div { padding:24px; }.history-card p { color:var(--muted); }.history-placeholder { display:grid; place-items:center; }.history-placeholder .icon { width:55px; height:55px; }.source-facts { margin:35px 0; padding:20px; background:#f2f6f7; border-radius:12px; }.source-facts div { display:grid; grid-template-columns:170px 1fr; gap:15px; padding:7px; }.source-facts dt { font-weight:800; }.history-materials { margin-top:40px; }.then-now-card { grid-column:span 2; }.then-now { display:grid; grid-template-columns:1fr 1fr; gap:4px; }.then-now a { position:relative; }.then-now a span { position:absolute; z-index:1; top:8px; left:8px; padding:4px 8px; color:#fff; background:rgba(0,0,0,.68); border-radius:999px; font-size:12px; }.inline-inputs { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.history-teaser { text-decoration:none; }

@media (max-width:900px) { .album-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.media-photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.manage-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:580px) { .album-grid,.manage-photo-grid { grid-template-columns:1fr; }.album-cover { height:240px; }.media-detail-head { flex-direction:column; }.media-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.media-photo-grid figure > a img { height:155px; }.history-card { grid-template-columns:1fr; }.history-card > a,.history-placeholder { min-height:190px; }.history-card > div { padding:18px; }.then-now-card { grid-column:span 2; }.source-facts div { grid-template-columns:1fr; gap:2px; }.gallery-lightbox .lightbox-prev { left:5px; }.gallery-lightbox .lightbox-next { right:5px; } }

/* Miestne služby, diskusia, vyhľadávanie a upozornenia */
.notification-button { position:relative; }.notification-button b { position:absolute; top:-3px; right:-3px; min-width:20px; height:20px; display:grid; place-items:center; padding:0 5px; color:#fff; background:#d6323e; border:2px solid #fff; border-radius:999px; font-size:10px; }
.directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }.directory-card { display:grid; grid-template-columns:92px 1fr; gap:15px; padding:17px; background:#fff; border:1px solid var(--line); border-radius:13px; box-shadow:var(--shadow); }.directory-logo { width:92px; height:92px; display:grid; place-items:center; overflow:hidden; color:var(--green); background:#edf6f1; border-radius:11px; text-decoration:none; }.directory-logo img { width:100%; height:100%; object-fit:contain; }.directory-logo span { font-size:38px; }.directory-card h2 { margin:7px 0 4px; font-size:19px; }.directory-card h2 a { text-decoration:none; }.directory-card p { margin:0 0 7px; color:var(--muted); }.service-title { display:flex; align-items:center; gap:20px; }.service-title img { width:110px; height:110px; padding:8px; object-fit:contain; background:#fff; border:1px solid var(--line); border-radius:12px; }.service-contact { margin:25px 0; padding:18px; background:#f3f7f6; border-radius:12px; }.service-contact div { display:grid; grid-template-columns:110px 1fr; gap:15px; padding:8px; }.service-contact dt { font-weight:800; }.service-logo { object-fit:contain!important; padding:5px; background:#fff; }
.topic-list { display:grid; gap:10px; }.topic-row { display:grid; grid-template-columns:50px 1fr 90px; align-items:center; gap:16px; padding:17px 20px; background:#fff; border:1px solid var(--line); border-radius:12px; }.topic-avatar { width:48px; height:48px; display:grid; place-items:center; color:#fff; background:var(--green); border-radius:50%; font-size:19px; font-weight:900; }.topic-row h2 { margin:0 0 4px; font-size:19px; }.topic-row h2 a { color:var(--ink); text-decoration:none; }.topic-row h2 .status { margin-left:8px; font-size:10px; }.topic-row p { margin:0 0 5px; color:var(--muted); }.reply-total { text-align:center; color:var(--green); font-size:24px; }.reply-total small { display:block; color:var(--muted); font-size:10px; }.topic-detail { margin-bottom:25px; }.topic-detail header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }.topic-detail h1 { margin:4px 0 6px; font-size:clamp(30px,5vw,48px); }.topic-detail > p { font-size:17px; line-height:1.65; }.discussion-comments { display:grid; gap:10px; margin-bottom:25px; }.comment-card { padding:16px 18px; background:#fff; border:1px solid var(--line); border-radius:11px; }.comment-card.comment-reply { margin-left:45px; border-left:4px solid #9ccfba; }.comment-card header { display:flex; justify-content:space-between; gap:10px; }.comment-card time { color:var(--muted); font-size:12px; }.comment-card p { white-space:normal; }.comment-card footer { display:flex; align-items:center; flex-wrap:wrap; gap:13px; font-size:12px; }.comment-card footer form { display:inline; }.comment-card footer a,.comment-card footer button,.quiet-button { padding:0; color:#436276; background:none; border:0; text-decoration:underline; cursor:pointer; }.discussion-reply-form { display:grid; gap:11px; }.discussion-reply-form textarea { width:100%; padding:12px; border:1px solid #bdc9cf; border-radius:8px; resize:vertical; }
.global-search-form { display:grid; grid-template-columns:1fr auto; gap:10px; margin-bottom:25px; }.global-search-form input { min-height:48px; padding:10px 14px; border:1px solid #bdc9cf; border-radius:9px; }.search-group { margin:30px 0; }.search-group h2 small { color:var(--muted); font-size:13px; }.search-results { display:grid; gap:9px; }.search-results article { padding:16px 18px; background:#fff; border:1px solid var(--line); border-radius:10px; }.search-results h3 { margin:0; }.search-results h3 a { color:var(--ink); text-decoration:none; }.search-results p { margin:5px 0; color:var(--muted); }
.notification-list { display:grid; gap:9px; }.notification-list article { display:grid; grid-template-columns:1fr auto; align-items:center; gap:10px; padding:13px; background:#fff; border:1px solid var(--line); border-radius:11px; }.notification-list article.unread { background:#edf8f2; border-color:#94cbb2; }.notification-list article > a { display:grid; grid-template-columns:44px 1fr; gap:13px; align-items:center; color:var(--ink); text-decoration:none; }.notification-symbol { width:44px; height:44px; display:grid; place-items:center; color:var(--green); background:#fff; border-radius:50%; }.notification-list p { margin:3px 0; color:var(--muted); }.notification-list time { color:var(--muted); font-size:11px; }.notification-list form button { color:#436276; background:none; border:0; text-decoration:underline; cursor:pointer; }.site-footer nav { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 20px; margin-top:7px; font-size:12px; }.site-footer nav a { color:inherit; }
@media(max-width:1050px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:580px){.directory-grid{grid-template-columns:1fr}.directory-card{grid-template-columns:72px 1fr}.directory-logo{width:72px;height:72px}.topic-row{grid-template-columns:40px 1fr}.topic-avatar{width:40px;height:40px}.reply-total{grid-column:2;text-align:left;font-size:16px}.reply-total small{display:inline;margin-left:4px}.comment-card.comment-reply{margin-left:18px}.topic-detail header{flex-direction:column}.global-search-form{grid-template-columns:1fr}.notification-list article{grid-template-columns:1fr}.service-contact div{grid-template-columns:1fr;gap:2px}.service-title{align-items:flex-start;flex-direction:column}}
.smtp-summary { margin-bottom:18px; }.smtp-summary dl { margin:0; }.smtp-summary dl div { display:grid; grid-template-columns:180px 1fr; gap:15px; padding:8px 0; border-bottom:1px solid var(--line); }.smtp-summary dt { font-weight:800; }.smtp-log { margin-top:18px; }.smtp-log pre { max-height:520px; overflow:auto; padding:16px; color:#d9f7e8; background:#0b2230; border-radius:10px; white-space:pre-wrap; word-break:break-word; font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace; }
@media(max-width:580px){.smtp-summary dl div{grid-template-columns:1fr;gap:2px}}
