/* ══════════════════════════════════════════════════════════
   Site Footer — dark editorial edition
   ══════════════════════════════════════════════════════════ */

.site-footer {
    background: linear-gradient(180deg, #111008 0%, #0d0b06 60%, #0a0805 100%);
    color: #e8ddd0;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

/* Decorative top border — gold + red gradient */
.site-footer::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg,
        #c18b2f 0%,
        #d4380d 35%,
        #9a3412 65%,
        #c18b2f 100%
    );
}

/* Subtle radial glow top-left */
.site-footer::after {
    content: '';
    position: absolute;
    top: -80px; left: -80px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(193,139,47,.07) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Footer ad band ─────────────────────────────────────── */
.site-footer .ad-slot {
    background: rgba(255,255,255,.04);
    border: 1px dashed rgba(193,139,47,.3);
    color: rgba(193,139,47,.7);
    border-radius: 8px;
    margin: 28px 0 0;
}

/* ── Brand row (logo + tagline + social) ────────────────── */
.footer-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 36px 0 28px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-footer .brand--footer { color: #fff; }

.site-footer .brand--footer.brand--logo img {
    max-width: min(280px, 100%);
    height: clamp(44px, 7vw, 68px);
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

.site-footer .brand--footer .brand__mark {
    background: linear-gradient(135deg, #c2410c, #9a3412);
    box-shadow: 0 4px 14px rgba(212,56,13,.4);
    color: #fff;
}

/* override gradient text in footer — plain white */
.site-footer .brand--footer .brand strong {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
    color: #fff;
    font-size: 34px;
}

.site-footer .brand--footer small { color: rgba(255,255,255,.5); }

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.72);
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s, border-color .2s;
}

.footer-social__icon:hover {
    transform: translateY(-3px);
    background: var(--brand-red);
    border-color: var(--brand-red);
    color: #fff;
}

.footer-social__icon--fb:hover  { background: #1877f2; border-color: #1877f2; }
.footer-social__icon--yt:hover  { background: #ff0000; border-color: #ff0000; }
.footer-social__icon--tw:hover  { background: #1da1f2; border-color: #1da1f2; }

.footer-social__icon svg { width: 17px; height: 17px; }

/* ── Main grid ──────────────────────────────────────────── */
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);
    gap: 36px 48px;
    padding: 36px 0 32px;
    align-items: start;
}

/* About blurb column */
.footer-brand__text {
    margin: 14px 0 0;
    max-width: 380px;
    line-height: 1.8;
    font-size: 14px;
    color: rgba(232,221,208,.7);
}

/* Column titles */
.footer-col__title {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold, #c18b2f);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(193,139,47,.3);
    position: relative;
}

.footer-col__title::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 32px; height: 2px;
    background: var(--gold, #c18b2f);
}

/* Links */
.footer-col__list {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: 10px;
}

/* Categories column — 2 columns */
.footer-col--categories .footer-col__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.footer-col__list a {
    color: rgba(232,221,208,.75);
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color .15s, gap .15s;
}

.footer-col__list a::before {
    content: '›';
    color: var(--brand-red, #d4380d);
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform .15s;
}

.footer-col__list a:hover {
    color: #fff;
    gap: 11px;
}

.footer-col__list a:hover::before { transform: translateX(2px); }

/* ── Reader counter — inline in bottom bar ──────────────── */
.footer-counter-bar {
    margin: 0 !important;
    display: flex !important;
    align-items: center;
}

/* ── Bottom bar ─────────────────────────────────────────── */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom .copyright {
    font-size: 13px;
    color: rgba(232,221,208,.45);
    margin: 0;
}

.footer-bottom__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.footer-bottom__links a {
    font-size: 12px;
    color: rgba(232,221,208,.45);
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
}

.footer-bottom__links a:hover { color: var(--gold, #c18b2f); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 36px;
    }

    .footer-grid > .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand-row { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-col__list {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 8px 16px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-social { flex-wrap: wrap; }
}
