/* =============================================================
   fepl.ca — Shared Stylesheet
   Extracted from Evergreen OPAC styles.css.tt2.
   Covers: design tokens, typography, forms, buttons,
           dropdowns, site header, mega nav, footer.
   Requires: Bootstrap 5, DM Sans (Google Fonts), Lucide icons
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ── Design tokens ──────────────────────────────────────── */

:root {
    --color-primary:        rgb(50, 70, 90);
    --color-primary-dark:   rgb(30, 50, 70);
    --color-primary-mid:    rgb(70, 90, 110);
    --color-primary-light:  rgb(100, 120, 140);
    --color-accent:         rgb(25, 153, 216);
    --color-accent-dark:    rgb(15, 120, 175);
    --color-accent-light:   rgb(120, 195, 235);
    --color-surface:        #f5f7fa;
    --color-muted:          #6c757d;
    --color-danger:         #dc3545;
    --color-danger-dark:    #a71d2a;
    --color-success:        #198754;
    --color-success-dark:   #146c43;

    --color-status-available-bg:      #d1e7dd;
    --color-status-available-text:    #0f5132;
    --color-status-checkedout-bg:     #fff3cd;
    --color-status-checkedout-text:   #7d5a00;

    --color-border:         #dee2e6;
    --color-border-light:   #e9ecef;
    --color-border-nav:     rgb(235, 238, 242);
    --color-border-dropdown: rgb(200, 210, 220);
    --color-text-dark:      #2d2d2d;
    --color-text-body:      #444;
    --color-separator:      rgb(180, 190, 200);
    --color-bg-hover:       rgb(235, 240, 245);
    --color-bg-hover-icon:  rgb(240, 243, 247);
    --color-footer-bg:      rgb(30, 50, 70);

    --border-radius-card:   8px;
    --border-radius-search: 12px;
}

/* ── Typography ─────────────────────────────────────────── */

mark {
    background-color: transparent !important;
    color: inherit !important;
    padding: 0;
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    color: var(--color-text-body);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* ── Container max-width ────────────────────────────────── */

@media (min-width: 1200px) {
    .container { max-width: 1280px; }
}

/* ── Forms ──────────────────────────────────────────────── */

.form-control,
.form-select {
    border-radius: var(--border-radius-search);
    border-color: var(--color-border);
    padding-top: 8px;
    padding-bottom: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.15rem rgba(25, 153, 216, 0.2);
}

.form-check-input {
    border-color: var(--color-border);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.form-check-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.15rem rgba(25, 153, 216, 0.2);
}

.form-check-label {
    cursor: pointer;
}

/* ── Dropdowns ──────────────────────────────────────────── */

.dropdown-menu {
    border-radius: var(--border-radius-card);
    border-color: var(--color-border-dropdown);
}

.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
    background-color: var(--color-bg-hover);
    color: var(--color-primary-dark);
}

/* ── Buttons ────────────────────────────────────────────── */

.btn {
    --bs-btn-font-weight: 300;
    --bs-btn-border-radius: var(--border-radius-card);
}

.btn-action {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-action:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
}

.btn-action:focus {
    box-shadow: 0 0 0 0.2rem rgba(25, 153, 216, 0.25);
    color: #fff;
}

.btn-action svg {
    width: 18px;
    height: 18px;
}

.btn-action-outline {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-action-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-action-outline:focus {
    box-shadow: 0 0 0 0.2rem rgba(50, 70, 90, 0.25);
}

.btn-action-outline svg {
    width: 18px;
    height: 18px;
}

/* ============================================================
   SITE HEADER
   ============================================================ */

.site-header {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
}

.header-main {
    border-bottom: 1px solid #f0f0f0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    flex: 0 0 auto;
}

.header-logo {
    height: 41px;
    width: auto;
}

@media (max-width: 575px) {
    .header-logo {
        height: 34px;
    }
}

.header-search {
    flex: 1;
    margin: 0 2rem;
}

.header-actions {
    flex: 0 0 auto;
}

.search-wrapper {
    display: flex;
    align-items: stretch;
    position: relative;
}

.search-wrapper .form-control {
    background-color: transparent;
    border: 1px solid var(--color-primary-light);
    border-radius: var(--border-radius-search) 0 0 var(--border-radius-search);
    border-right: none;
    padding: 8px 16px;
    font-size: 1rem;
    color: var(--color-primary);
    flex: 1;
}

.search-wrapper .form-control:focus {
    background-color: var(--color-bg-hover);
    box-shadow: none;
    border-color: var(--color-primary);
}

.search-wrapper .form-control:focus + .search-btn {
    border-color: var(--color-primary);
}

.search-wrapper .form-control::placeholder {
    color: var(--color-primary-light);
}

.search-buttons {
    display: flex;
    align-items: stretch;
    position: relative;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--color-primary-light);
    border-right: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.filter-btn:hover {
    background-color: var(--color-bg-hover);
}

.filter-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
}

.filter-dropdown {
    width: max-content;
    min-width: 240px;
    border-radius: var(--border-radius-search);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border-dropdown);
    margin-top: 8px;
}

.search-btn {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 0 var(--border-radius-search) var(--border-radius-search) 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.search-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

/* Mobile search bar */

.mobile-search-bar {
    position: relative;
}

.mobile-search-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    position: relative;
}

.mobile-search-input {
    flex: 1;
    border: 1px solid var(--color-primary-light);
    border-radius: var(--border-radius-search) 0 0 var(--border-radius-search);
    border-right: none;
    padding: 10px 16px;
    font-size: 1rem;
    color: var(--color-primary);
    background: transparent;
}

.mobile-search-input:focus {
    outline: none;
    background-color: var(--color-bg-hover);
    border-color: var(--color-primary);
}

.mobile-search-input::placeholder {
    color: var(--color-primary-light);
}

.mobile-filter-btn {
    background-color: transparent;
    border: 1px solid var(--color-primary-light);
    border-left: none;
    border-right: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-filter-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-primary);
}

.mobile-search-btn {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 0 var(--border-radius-search) var(--border-radius-search) 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-search-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

/* Header icon buttons */

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-primary);
    border-radius: 50%;
    transition: background-color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.header-icon:hover {
    background-color: var(--color-bg-hover-icon);
    color: var(--color-primary);
}

.header-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.header-icon:hover svg {
    stroke: var(--color-primary-dark);
}

.header-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   NAVIGATION  (mega menu + mobile)
   ============================================================ */

.header-nav {
    background-color: #fff;
    position: relative;
}

.mega-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
}

.mega-nav-item {
    position: static;
}

.mega-nav-trigger,
.mega-nav-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 14px 16px;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: inherit;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.mega-nav-trigger:hover,
.mega-nav-link:hover,
.mega-nav-trigger[aria-expanded="true"] {
    color: var(--color-accent);
    text-decoration: none;
}

.mega-nav-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.mega-nav-trigger[aria-expanded="true"] .mega-nav-chevron,
.mega-nav-trigger[aria-expanded="true"] .mega-nav-chevron svg {
    transform: rotate(180deg);
}

.mega-menu.dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    border-radius: 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    border-left: none;
    border-right: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    display: block;
    visibility: hidden;
    pointer-events: none;
}

.mega-menu.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-heading {
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
}

.mega-menu-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    color: var(--color-primary);
    font-size: 0.95rem;
    border-bottom: none;
}

.mega-menu-list-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.mega-menu-list li a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.mega-menu-divider {
    border-color: var(--color-border-light);
    margin: 0.6rem 0;
    opacity: 1;
}

.mega-menu-link-featured {
    color: var(--color-accent) !important;
    font-weight: 500;
}

.mega-menu-link-featured:hover {
    color: var(--color-accent-dark) !important;
}

.mega-menu-promo-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-card);
    display: block;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

a:hover .mega-menu-promo-img {
    opacity: 0.88;
    transform: translateY(-2px);
}

.mega-menu-promo-img--padded {
    max-width: 160px;
    padding: 1rem;
    background-color: var(--color-surface);
    border-radius: var(--border-radius-card);
}

.mega-menu-promo-cta {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-dark);
}

.mega-menu-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    background-color: var(--color-accent);
    color: #fff;
    vertical-align: middle;
    margin-left: 0.25rem;
}

/* SimpleTix event cards */

.smt-events-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
}

.smt-events-loading {
    padding: 0.5rem 0;
}

.smt-event-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    max-width: 220px;
    background-color: #fff;
    border: 1px solid var(--color-border-nav);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.smt-event-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    color: var(--color-text);
    text-decoration: none;
}

.smt-event-img {
    height: 110px;
    background-color: var(--color-surface);
    background-size: cover;
    background-position: center;
}

.smt-event-info {
    padding: 0.6rem 0.75rem 0.75rem;
    flex: 1;
}

.smt-event-date {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-accent);
    margin-bottom: 0.1rem;
}

.smt-event-time {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-bottom: 0.35rem;
}

.smt-event-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smt-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.smt-view-all:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

.smt-view-all-icon {
    width: 14px;
    height: 14px;
}

.smt-events-panel {
    background-color: var(--color-surface);
    border-radius: var(--border-radius-card);
    padding: 1.25rem 1.5rem;
}

.smt-sidebar-links {
    flex-shrink: 0;
    width: 220px;
    padding-left: 1rem;
}

/* Mobile mega menu */

.nav-list-mobile {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list-mobile li a,
.nav-list-mobile .mega-nav-link {
    display: block;
    padding: 12px 0;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border-nav);
    font-size: 0.95rem;
    text-decoration: none;
}

.mobile-mega-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 0;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-family: inherit;
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border-nav);
    cursor: pointer;
    text-align: left;
}

.mobile-mega-trigger svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.mobile-mega-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.mobile-mega-list {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0 0.5rem 1rem;
}

.mobile-mega-list li a {
    display: block;
    padding: 8px 0;
    color: var(--color-primary-mid);
    font-size: 0.9rem;
    border-bottom: none;
    text-decoration: none;
}

.mobile-mega-list li a:hover {
    color: var(--color-accent);
}


/* ============================================================
   SITE FOOTER  (dark theme)
   ============================================================ */

footer.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4rem;
}

footer.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

footer.site-footer a:hover {
    color: #fff;
}

footer.site-footer a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
    color: #fff;
}

/* Newsletter band */

.footer-newsletter {
    background: var(--color-primary);
    padding: 2.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-newsletter-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 0 0 0.5rem;
    font-weight: 500;
}

.footer-newsletter-headline {
    font-size: 1.5rem;
    line-height: 1.15;
    color: #fff;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-input {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius-card);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.12);
}

.footer-newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-card);
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.1s ease;
}

.footer-newsletter-btn:hover {
    background: var(--color-accent-dark);
    color: #fff;
}

.footer-newsletter-btn:active {
    transform: translateY(1px);
}

.footer-newsletter-btn i {
    width: 16px;
    height: 16px;
}

.footer-newsletter-microcopy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.75rem 0 0;
}

/* Main columns */

.footer-main {
    padding: 3.5rem 0 2.5rem;
}

.footer-brand {
    margin-bottom: 1.25rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    display: block;
}

/* Branch status list */

.footer-branches {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-branch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    padding: 0.15rem 0;
    color: inherit;
}

.footer-branch:hover .footer-branch-name {
    color: #fff;
}

.footer-branch-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-success);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.2);
    flex-shrink: 0;
}

.footer-branch[data-status="closed"] .footer-branch-dot {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.footer-branch-name {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    transition: color 0.15s ease;
}

.footer-branch-sep {
    color: rgba(255, 255, 255, 0.3);
}

.footer-branch-text {
    color: rgba(255, 255, 255, 0.65);
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-style: normal;
    margin: 0 0 1.25rem;
}

.footer-address a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent-light);
}

.footer-address-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

footer.site-footer .footer-card-cta {
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.625rem 1rem;
    border-radius: var(--border-radius-card);
    font-size: 0.875rem;
    color: #fff;
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease;
}

footer.site-footer .footer-card-cta:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.45);
}

footer.site-footer .footer-card-cta i {
    width: 16px;
    height: 16px;
}

/* Link columns */

.footer-heading {
    font-size: 0.75rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.4;
}

.footer-link-icon {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
}

/* Annual report callout */

.footer-report-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-card);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.footer-report-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-report-text {
    display: block;
    min-width: 0;
}

.footer-report-eyebrow {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.footer-report-title {
    display: block;
    font-size: 0.875rem;
    color: #fff;
    font-weight: 500;
}

.footer-report-link i {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* Land acknowledgment */

.footer-land-ack {
    padding: 0 0 1.5rem;
}

.footer-land-ack-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-card);
    padding: 0.875rem 1.25rem;
}

.footer-land-ack-icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-land-ack p {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Legal bar */

.footer-legal {
    padding: 1.25rem 0 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.25);
}

.footer-legal-text a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

footer.site-footer .footer-social-link {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-card);
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.15s ease, color 0.15s ease;
}

footer.site-footer .footer-social-link:hover {
    background: var(--color-accent);
    color: #fff;
}

.footer-social-link i {
    width: 18px;
    height: 18px;
}

/* Responsive */

@media (max-width: 991.98px) {
    .footer-main {
        padding: 2.75rem 0 1.75rem;
    }

    .footer-newsletter {
        padding: 2.25rem 0;
    }
}

@media (max-width: 767.98px) {
    .footer-newsletter-form {
        flex-direction: column;
    }

    .footer-newsletter-btn {
        justify-content: center;
    }

    .footer-legal-row {
        flex-direction: column;
        align-items: flex-start;
    }
}
