/* ============================================================
   PROTECTED PAGES — Consolidated Styles
   Migrated from embedded <style> blocks in protected/*.aspx
   ============================================================ */


/* ============================================================
   SearchResults.aspx
   ============================================================ */

/* ---- Page wrapper ---- */
.sr-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 52px 24px 100px;
    font-family: 'Inter', sans-serif;
}

/* ---- Two-column layout ---- */
.sr-layout {
    display: flex;
    gap: 0;
    align-items: flex-start;
    position: relative;
}

/* ---- Sidebar — white card ---- */
.sr-sidebar {
    width: 310px;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
    background: #ffffff;
    border: 1px solid #e5e0dc;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    box-sizing: border-box;
    margin-right: 36px;
}

/* ---- Main content area ---- */
.sr-main {
    flex: 1;
    min-width: 0;
    border-left: 1px solid #e5e0dc;
    padding-left: 36px;
}

/* ---- Page title ---- */
h2.search_resultsheader {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    font-style: italic;
    color: #161616;
    line-height: 1.2;
    margin: 0 0 44px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e0dc;
    position: relative;
    letter-spacing: -0.01em;
}
h2.search_resultsheader::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 48px; height: 3px;
    background: var(--red, #a11e23);
    border-radius: 2px;
}

/* ---- Search bar row ---- */
.sr-search-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 4px;
}

/* Sidebar suggest row — zero height when empty */
.sr-sidebar-suggest {
    min-height: 0;
    padding: 0;
    font-size: 0.78rem;
    color: var(--red, #a11e23);
    font-style: italic;
}
.sr-sidebar-suggest a {
    display: block;
    padding: 5px 0 0;
    font-size: 0.78rem;
    color: var(--red, #a11e23);
    font-style: italic;
    text-decoration: none;
}

/* Search input */
.search_searchbox {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #161616;
    background: #fff;
    border: 1.5px solid #d5cfc9;
    border-right: none;
    border-radius: 8px 0 0 8px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.search_searchbox:focus {
    border-color: var(--red, #a11e23);
    box-shadow: none;
}

/* Search button */
.search_searchbutton.search_refreshbutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    background: var(--red, #a11e23);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    border: 1px solid var(--red, #a11e23);
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    line-height: 1;
}
.search_searchbutton.search_refreshbutton:hover {
    background: var(--dark-red, #7a1519);
    border-color: var(--dark-red, #7a1519);
    color: #fff;
    text-decoration: none;
}

/* ---- Sidebar filter panel ---- */
.search_advancedsearchbox {
    display: block;
    background: transparent;
    border: none;
    border-top: 1px solid #e5e0dc;
    padding: 18px 0 0;
    margin-top: 16px;
    margin-bottom: 0;
    position: relative;
}

/* Space between filter group blocks */
.search_advancedsearchbox .sr-filter-group-label + ul + .sr-filter-group-label,
.search_advancedsearchbox span[style*="margin-top"] {
    margin-top: 20px;
}

/* Group labels */
.sr-filter-group-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
    display: block;
}

/* Reset UL */
.search_advancedsearchbox ul {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
}
.search_advancedsearchbox ul li {
    margin-bottom: 10px;
}

/* Checkbox labels */
.search_advancedsearchbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.82rem;
    color: #333;
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}
.search_advancedsearchbox label:hover span {
    color: var(--red, #a11e23);
}

/* Custom checkbox */
.search_advancedsearchbox input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
    margin: 0;
}
.search_advancedsearchbox input[type="checkbox"]:hover {
    border-color: var(--red, #a11e23);
}
.search_advancedsearchbox input[type="checkbox"]:checked {
    background: var(--red, #a11e23);
    border-color: var(--red, #a11e23);
}
.search_advancedsearchbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 2px;
    width: 4px;
    height: 7px;
    border: 1.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}
/* ASP.NET wraps <asp:CheckBox CssClass="..."> in a <span> — collapse it */
.search_advancedsearchbox span.chkOneSection {
    display: contents;
}
.search_advancedsearchbox label strong {
    font-weight: 600;
    color: #1f1f1f;
}

/* Content-Type collapsible toggle */
.sr-filter-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
    transition: color 0.15s;
}
.sr-filter-toggle:hover { color: var(--red, #a11e23); }
.sr-toggle-icon {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform 0.25s;
}
.sr-filter-toggle[aria-expanded="true"] .sr-toggle-icon {
    transform: rotate(180deg);
}
.sr-ct-collapsible {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    margin: 0 0 4px !important;
}
.sr-ct-collapsible.sr-open { max-height: 300px; }

/* Apply filters button */
.sr-filter-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
    padding: 11px 0;
    background: var(--red, #a11e23);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.sr-filter-apply:hover {
    background: var(--dark-red, #7a1519);
    color: #fff;
    text-decoration: none;
}

/* ---- AI Summary card ---- */
.sr-ai-summary {
    margin: 0 0 16px;
    padding: 22px 24px;
    background: #fffafa;
    border: 1px solid rgba(167,25,48,0.18);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(167,25,48,0.06);
    position: relative;
    overflow: hidden;
}

.sr-ai-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.sr-ai-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fce4e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red, #a11e23);
    font-size: 0.78rem;
    flex-shrink: 0;
}
.sr-ai-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--red, #a11e23);
}
.sr-ai-body {
    font-size: 0.9rem;
    line-height: 1.85;
    color: #1f1f1f;
    font-weight: 400;
}
.sr-ai-body a {
    color: var(--red, #a11e23);
    text-decoration: underline;
    text-decoration-color: rgba(167,25,48,0.35);
    text-underline-offset: 2px;
}
.sr-ai-body a:hover {
    text-decoration-color: var(--red, #a11e23);
}

/* ---- AI Understood — footer attribution inside the card ---- */
.sr-ai-understood {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(167,25,48,0.1);
    font-size: 0.67rem;
    color: #aaa;
    font-family: 'Inter', sans-serif;
    font-style: italic;
}
.sr-ai-understood i {
    color: #bbb;
    font-size: 0.64rem;
    font-style: normal;
}

/* ---- Related searches ---- */
.sr-related {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: none;
}
.sr-related-label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.sr-related-label i { color: #aaa; font-size: 0.65rem; }

/* Chip buttons */
.sr-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border: 1.5px solid var(--red, #a11e23);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--red, #a11e23);
    background: transparent;
    cursor: pointer;
    margin: 0 6px 8px 0;
    transition: background 0.15s, color 0.15s;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
}
.sr-chip:hover {
    background: var(--red, #a11e23);
    color: #fff;
}

/* ---- Zero-results AI chips ---- */
.sr-zero-ai { margin-top: 20px; }
.sr-zero-ai-label {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}
.sr-zero-ai-label i { color: var(--red, #a11e23); }

/* ---- Staff member results ---- */
.sr-staff-section {
    margin: 0 0 24px;
    padding: 20px 24px;
    background: #fafcff;
    border: 1px solid rgba(25, 70, 140, 0.15);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(25, 70, 140, 0.05);
}
.sr-staff-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #19468c;
}
.sr-staff-section-header i {
    font-size: 0.85rem;
    color: #19468c;
}
.sr-staff-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.sr-staff-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e0dc;
    border-radius: 10px;
    transition: box-shadow 0.15s, border-color 0.15s;
}
.sr-staff-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: rgba(25, 70, 140, 0.25);
}
.sr-staff-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #e8ecf2 center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sr-staff-photo-none {
    background: #e8ecf2;
    color: #b0b8c4;
    font-size: 1.2rem;
}
.sr-staff-info {
    min-width: 0;
    flex: 1;
}
.sr-staff-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #161616;
    text-decoration: none;
    line-height: 1.3;
}
.sr-staff-name:hover {
    color: var(--red, #a11e23);
    text-decoration: underline;
}
.sr-staff-title {
    display: block;
    font-size: 0.78rem;
    color: #555;
    line-height: 1.4;
    margin-top: 2px;
}
.sr-staff-building {
    display: block;
    font-size: 0.72rem;
    color: #888;
    line-height: 1.3;
    margin-top: 1px;
}
.sr-staff-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 6px;
    font-size: 0.75rem;
}
.sr-staff-email {
    color: var(--red, #a11e23);
    text-decoration: none;
}
.sr-staff-email:hover {
    text-decoration: underline;
}
.sr-staff-phone {
    color: #888;
}
@media (max-width: 600px) {
    .sr-staff-cards { grid-template-columns: 1fr; }
}

/* ---- Results list ---- */
.search_searchresult {
    padding: 28px 0;
    border-bottom: 1px solid #e5e0dc;
}
.search_searchresult:first-of-type {
    border-top: 1px solid #e5e0dc;
}

/* Result title */
a.search_searchresult_title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: #161616;
    text-decoration: none;
    line-height: 1.25;
    display: inline-block;
    margin-bottom: 4px;
    transition: color 0.15s;
}
a.search_searchresult_title:hover {
    color: var(--red, #a11e23);
}

/* URL line */
a.search_searchresult_itemlink {
    display: block;
    font-size: 0.71rem;
    color: var(--red, #a11e23);
    text-decoration: none;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.7;
    transition: opacity 0.15s;
}
a.search_searchresult_itemlink:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Description / snippet */
span.search_searchresult_description,
label.search_searchresult_description {
    display: block;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
    margin-top: 0;
}

/* "Go to page" link */
a.search_searchresult_contentpagelink {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.71rem;
    color: var(--red, #a11e23);
    text-decoration: none;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(161,30,35,0.3);
    padding-bottom: 1px;
    transition: border-color 0.15s;
}
a.search_searchresult_contentpagelink:hover {
    border-color: var(--red, #a11e23);
}

/* ---- Pagination ---- */
.search_pagebuttonrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid #e5e0dc;
}
.search_pagebuttonrow .col-xs-3,
.search_pagebuttonrow .col-xs-6,
.search_pagebuttonrow .col-sm-3,
.search_pagebuttonrow .col-sm-6,
.search_pagebuttonrow .col-lg-2,
.search_pagebuttonrow .col-lg-8 {
    float: none;
    width: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.search_pagebutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
a.search_pagebutton:hover {
    background: var(--red, #a11e23);
    border-color: var(--red, #a11e23);
    color: #fff;
    text-decoration: none;
}
span.search_pagenumber,
label.search_pagenumber {
    font-size: 0.76rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    font-weight: 400;
}

/* ---- No results ---- */
.sr-no-results {
    padding: 60px 0 40px;
    text-align: center;
    color: #666;
}
.sr-no-results-icon {
    font-size: 2.2rem;
    color: rgba(0,0,0,0.1);
    margin-bottom: 18px;
}
.sr-no-results h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    color: #1f1f1f;
    margin: 0 0 12px;
}
.sr-no-results p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #666;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .sr-layout { flex-direction: column; gap: 28px; }
    .sr-sidebar { width: 100%; position: static; margin-right: 0; }
    .sr-main { border-left: none; padding-left: 0; border-top: 1px solid #e5e0dc; padding-top: 28px; }
    .search_advancedsearchbox { display: flex; flex-wrap: wrap; gap: 0 40px; }
    .search_advancedsearchbox ul { min-width: 160px; }
}
@media (max-width: 767px) {
    .sr-page { padding: 28px 16px 60px; }
    .search_advancedsearchbox { flex-direction: column; }
    h2.search_resultsheader { margin-bottom: 28px; }
}


/* ============================================================
   EventView.aspx
   ============================================================ */

/* Note: EventView.aspx keeps a small <style> block for .PageTitleContainer
   and h1.page_header overrides (they target master page elements). */

/* ---- Card container ---- */
.ev-card-wrap {
    max-width: 800px;
    margin: 32px auto;
}
.ev-card {
    background: #fff;
    border-radius: 10px;
    border-top: 4px solid var(--red);
    box-shadow: 0 4px 28px rgba(0,0,0,0.09);
    padding: 36px 40px 32px;
    overflow: hidden;
}

/* ---- Event title + date ---- */
.ev-title {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 8px;
    line-height: 1.25;
}
.ev-datetime {
    font-size: 0.88rem;
    color: var(--gray);
    font-family: 'Inter', Arial, sans-serif;
    margin-bottom: 4px;
}

/* ---- Sections ---- */
.ev-section {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}
.ev-label {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 6px;
    font-family: 'Poppins', Arial, sans-serif;
}
.ev-value {
    font-size: 0.9rem;
    color: var(--black);
    line-height: 1.7;
    font-family: 'Inter', Arial, sans-serif;
}
.ev-desc {
    display: block;
}

/* ---- Attachment links ---- */
.attachmentLink {
    color: var(--red);
    font-size: 0.875rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.attachmentLink:hover { border-bottom-color: var(--red); }

/* ---- Action buttons ---- */
.ev-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}
.eventViewLink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fafafa;
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Poppins', Arial, sans-serif;
    letter-spacing: 0.03em;
    padding: 7px 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}
.eventViewLink:hover {
    background: #fff;
    border-color: var(--red);
    color: var(--red);
    text-decoration: none;
}
.eventViewLink:active { background: #fdf5f5; }

/* ---- Share strip ---- */
.ev-share {
    margin-top: 16px;
}

/* ---- EventView Responsive ---- */
@media (max-width: 700px) {
    .ev-card { padding: 24px 20px 20px; }
    .ev-title { font-size: 1.3rem; }
    .ev-actions { justify-content: flex-start; }
}


/* ============================================================
   ArticleArchive.aspx
   ============================================================ */

/* ---- Layout shell ---- */
.archive-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 28px 0;
}

/* ---- Filter sidebar (override Styles.css legacy .filterContainer) ---- */
.archive-layout .filterContainer {
    width: 260px;
    min-width: 260px;
    float: none;
    background: #fff;
    border: none;
    border-radius: 6px;
    box-shadow: var(--shadow-default);
    padding: 20px 18px 24px;
    margin: 0;
}
.filter-heading {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--red);
}
.archive-layout .filterTitle {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gray);
    padding: 14px 0 6px;
    margin: 0;
}
.archive-layout .filterContainer input[type="text"],
.archive-layout .filterContainer select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 7px 9px;
    font-size: 0.875rem;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--black);
    background: #fafafa;
    transition: border-color 0.2s;
}
.archive-layout .filterContainer input[type="text"]:focus,
.archive-layout .filterContainer select:focus {
    outline: none;
    border-color: var(--red);
    background: #fff;
}
.filter-dates {
    display: flex;
    gap: 6px;
    align-items: center;
}
.filter-dates input[type="text"] { flex: 1; min-width: 0; }
.filter-dates .date-sep { color: var(--gray); font-size: 0.85rem; flex-shrink: 0; }
.archive-layout .filterContainer .ArticleArchive_searchButton {
    width: 100%;
    display: block;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 0;
    margin: 20px 0 0;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}
.archive-layout .filterContainer .ArticleArchive_searchButton:hover { background: var(--dark-red); }
.archive-layout .filterContainer table { width: 100%; }
.archive-layout .filterContainer label { font-size: 0.875rem; color: var(--black); }

/* ---- Content area ---- */
.archive-content { flex: 1; min-width: 0; }

/* ---- Paging bar (override Styles.css legacy .pagingMenu) ---- */
.archive-layout .pagingMenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 0 12px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: normal;
    overflow: visible;
}
.paging-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.paging-nav span { font-size: 0.85rem; color: var(--gray); }
.archive-layout .pagingMenu input[type="submit"] {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: var(--black);
    font-size: 0.8rem;
    padding: 4px 12px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.archive-layout .pagingMenu input[type="submit"]:hover:not([disabled]) {
    border-color: var(--red);
    color: var(--red);
}
.archive-layout .pagingMenu input[type="submit"]:disabled { opacity: 0.35; cursor: default; }

/* ---- Article cards ---- */
.archive-layout .newscomponent_item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: auto;
    transition: box-shadow 0.2s;
}
.archive-layout .newscomponent_item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.09); }
.archive-layout .newscomponent_item:last-child { margin-bottom: 0; }

.archive-thumb { flex-shrink: 0; width: 130px; }
.archive-thumb a { display: block; }
.archive-thumb img {
    width: 130px;
    height: 88px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    transition: opacity 0.2s;
}
.archive-thumb a:hover img { opacity: 0.85; }

.archive-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.archive-card-date {
    font-size: 0.71rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}
h3.archive-card-title {
    margin: 3px 0 5px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}
h3.archive-card-title a { color: var(--black); text-decoration: none; }
h3.archive-card-title a:hover { color: var(--red); }
.archive-card-excerpt { font-size: 0.875rem; color: var(--gray); line-height: 1.65; margin: 0; }
.archive-card-excerpt p,
.archive-card-excerpt div { margin: 0; padding: 0; }
a.archive-readmore {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
a.archive-readmore:hover { color: var(--red); border-bottom-color: var(--red); }

/* ---- Month-group view ---- */
.month-group-list { padding: 8px 0; }
.month-accordion-header { margin: 0 0 0; }
a.monthTitle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    background: #fff;
    border: 1px solid #e4e4e4;
    border-left: 3px solid var(--red);
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: background 0.15s;
}
a.monthTitle:hover { background: #fdf7f7; color: var(--black); }
.archive-layout .monthDiv {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-left: 3px solid var(--red);
    border-radius: 4px;
    box-sizing: border-box;
    margin: 0 -5px 16px 5px;
    padding: 12px 0 8px;
    font-size: 0.875rem;
}
.NewsItemDiv {
    padding: 14px 16px;
    border-bottom: 1px solid #f2f2f2;
    overflow: hidden;
}
.NewsItemDiv:last-child { border-bottom: none; }
.NewsItemDiv h4 {
    margin: 0 0 6px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}
.NewsItemDiv h4 a { color: var(--black); }
.NewsItemDiv h4 a:hover { color: var(--red); }
.NewsItemDiv .newscomponent_thumbimage {
    width: 100px;
    height: 68px;
    object-fit: cover;
    border-radius: 3px;
    float: left;
    margin: 0 12px 8px 0;
}
.NewsItemDiv strong {
    display: block;
    clear: both;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 8px;
}
.NewsItemDiv p { margin: 0 0 4px; color: var(--gray); font-size: 0.875rem; }

/* ---- Legacy archive callout ---- */
.legacy-archive-callout {
    background: #f8f5f0;
    border-left: 3px solid var(--red);
    border-radius: 0 4px 4px 0;
    padding: 10px 16px;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 16px;
}
.legacy-archive-callout i { margin-right: 6px; color: var(--red); }
.legacy-archive-callout a { color: var(--red); font-weight: 600; text-decoration: none; }
.legacy-archive-callout a:hover { text-decoration: underline; }

/* ---- No-results ---- */
#lblNoNews { color: var(--gray); font-style: italic; padding: 20px 0; display: block; }

/* ---- ArticleArchive Responsive ---- */
@media (max-width: 700px) {
    .archive-layout { flex-direction: column; gap: 20px; }
    .archive-layout .filterContainer { width: 100%; min-width: 0; box-sizing: border-box; }
    .archive-thumb { width: 90px; }
    .archive-thumb img { width: 90px; height: 62px; }
}


/* SiteMap.aspx — NOT included here; it has its own HTML shell
   (no MasterPageFile), so it keeps its embedded <style> block. */


/* ============================================================
   SNAVotingList.aspx
   ============================================================ */

.votingListOfficeName {
    font-weight: 600;
    font-size: 1.2em;
}

.votingListCandidates {
    margin-left: 20px;
    margin-bottom: 25px;
}

.votingListCandidates input[type="radio"] {
    float: left;
    margin-right: 5px;
    margin-top: 7px;
}

.votingListCandidates label {
    float: left;
    width: calc(100% - 18px);
    margin-bottom: 10px;
}


