/* ============================================
   Tribune's Roar — Design System
   ============================================ */

/* --- Typography Refinements --- */
.wp-block-details summary strong,
.kt-adv-heading-wrap span[data-kb-block] {
    letter-spacing: 0.12em;
    font-weight: 700;
}
blockquote.wp-block-quote {
    border-left: 4px solid var(--global-palette1);
    padding-left: 1.5em;
}
blockquote.wp-block-quote p {
    font-style: normal;
}

/* --- Button Hover Lift --- */
.wp-block-button__link,
.kb-buttons-wrap .kt-button,
a.kb-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-block-button__link:hover,
.kb-buttons-wrap .kt-button:hover,
a.kb-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* --- Latest Posts Card Grid --- */
.wp-block-latest-posts {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    list-style: none;
    padding: 0;
}
.wp-block-latest-posts li {
    background: #fff;
    border: 1px solid var(--global-palette7, #f0f2f5);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.wp-block-latest-posts li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.wp-block-latest-posts li a {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--global-palette3, #1a1f2e);
    text-decoration: none;
    transition: color 0.2s ease;
}
.wp-block-latest-posts li a:hover {
    color: var(--global-palette1, #1a7a6d);
}

/* --- Newsletter Section Visual Separation --- */
.kadence-column71_d92e6b-6d .kt-inside-inner-col {
    background: var(--global-palette8, #f8f9fb);
    border-radius: 8px;
    padding: 2rem;
}

/* --- Footer Widget Titles --- */
.site-footer .footer-widget-area .widget-title,
.site-footer .widget-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--global-palette5, #4a5060);
    margin-bottom: 1.25rem;
}
.site-footer .footer-widget-area {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* --- Cookie Consent Banner Override --- */
#ccb-banner {
    background: #1a1f2e !important;
    border-top: 1px solid rgba(255,255,255,0.08);
}
#ccb-inner {
    max-width: 1200px;
}
#ccb-accept {
    background: #1a7a6d !important;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 600;
}
#ccb-accept:hover {
    background: #14655a !important;
    transform: translateY(-1px);
}
#ccb-reject,
#ccb-customize {
    background: transparent !important;
    color: #e0e0e0 !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 4px;
}
#ccb-reject:hover,
#ccb-customize:hover {
    border-color: rgba(255,255,255,0.5) !important;
    background: rgba(255,255,255,0.05) !important;
}
#ccb-save {
    background: #1a7a6d !important;
    border-radius: 4px;
}
#ccb-panel {
    border-top-color: rgba(255,255,255,0.08) !important;
}

/* --- Link Hover --- */
a:hover {
    color: var(--global-palette1, #1a7a6d);
}

/* --- Separator --- */
.wp-block-separator {
    border-color: var(--global-palette7, #f0f2f5);
    opacity: 1;
}

/* --- Details/Accordion --- */
.wp-block-details summary {
    font-family: "Playfair Display", serif;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .wp-block-latest-posts {
        grid-template-columns: 1fr;
    }
    .kadence-column71_d92e6b-6d .kt-inside-inner-col {
        padding: 1.25rem;
    }
}
