/* ==========================================================================
   Case Study Portfolio Footer Block Styles
   ========================================================================== */
.case-study-footer {
    margin-top: clamp(4rem, 3rem + 5vw, 8rem);
    width: 100%;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 50, 78, 0.1);
    margin-bottom: clamp(2.5rem, 2rem + 3vw, 4rem);
    transition: background-color 0.3s ease;
}

.footer-content-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* 45% Context Text, 55% Navigation Cards Split */
    gap: 3rem;
    align-items: center;
}

.footer-prompt h2 {
    font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
    margin: 0.5rem 0 1rem 0;
    line-height: 1.1;
}

.footer-prompt p {
    font-size: 0.95rem;
    margin: 0;
}

/* Navigation Card Items Matrix */
.footer-action-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-nav-card {
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none; /* Strips standard anchor lines cleanly */
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), all 0.3s ease;
    will-change: transform;
}

.footer-nav-card{
    color: #00324e;
    background-color: rgba(0, 50, 78, 0.04);
    border-left: 4px solid #00324e;
}

.footer-nav-card:hover{
    color: #0a803b;
    transform: translateX(4px);
    background-color: rgba(0, 50, 78, 0.06);
    border-left-color: #0a803b;
}

[data-theme="dark"] .footer-nav-card {
    color: #0F7BC2;
    background-color: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #0F7BC2;
}

[data-theme="dark"] .footer-nav-card:hover{
    color: rgba(176, 235, 1, 1);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateX(4px);
    border-left-color: rgba(176, 235, 1, 1);
}



.footer-nav-card .nav-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-nav-card strong {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.05rem;
    color: var(--text-primary);
    line-height: 1;
}

.nav-text span {
    font-size: 0.85rem;
    color: var(--text-primary);
    opacity: 0.75;
}

/* --- Dark Mode Configuration Synchronizations --- */
[data-theme="dark"] .footer-divider {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Adaptive Collapse Rules */
@media (max-width: 850px) {
    .footer-content-wrap {
        grid-template-columns: 1fr; /* Drop columns down into a smooth block layout on smaller canvases */
        gap: 2rem;
    }
}
