/* footer-v2 auto-import */
@import url(footer-v2.css);

/* ========================================
   Footer & Player Fluid Override
   Applied to all pages for consistent color palette
   ======================================== */

/* Header adjustment - soft beige palette */
body[data-theme="light"] .site-header {
    background: linear-gradient(180deg, #efe3cc 0%, #e7d7bb 100%) !important;
    border-bottom: 1px solid rgba(148, 112, 53, 0.12) !important;
}

/* Footer adjustment - warm beige palette */
body[data-theme="light"] .yaq-footer {
    background: linear-gradient(180deg, #efe3cc 0%, #e7d7bb 100%) !important;
    border-top: 1px solid rgba(148, 112, 53, 0.12) !important;
    box-shadow: 0 -4px 16px rgba(80, 57, 22, 0.04) !important;
}

/* Spirit player fluid styling */
body[data-theme="light"] .spirit-player {
    background: linear-gradient(135deg, #faf6f0, #f5f1eb) !important;
    border-top: 1px solid rgba(148, 112, 53, 0.06) !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.02) !important;
}

body[data-theme="dark"] .site-header {
    background: rgba(7, 10, 18, 0.88) !important;
    border-bottom: 1px solid rgba(42, 48, 85, 0.5) !important;
}

body[data-theme="dark"] .yaq-footer {
    background: rgba(11, 14, 24, 0.96) !important;
    border-top: 1px solid rgba(42, 48, 85, 0.5) !important;
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.32) !important;
}

body[data-theme="dark"] .spirit-player {
    background: linear-gradient(135deg, #12162a, #1a1f38) !important;
    border-top: 1px solid rgba(42, 48, 85, 0.56) !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.22) !important;
}

/* Close button styling - enhanced visibility */
.sp-player-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-left: 12px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.15);
    color: rgba(139, 90, 43, 0.75);
    border: 1px solid rgba(212, 165, 116, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 22px;
    flex-shrink: 0;
}

.sp-player-close:hover {
    background: rgba(212, 165, 116, 0.25);
    color: rgba(139, 90, 43, 0.95);
    border-color: rgba(212, 165, 116, 0.4);
    transform: scale(1.12);
}

/* Audio hero typography refinement */
.page-audio .spirit-hero-bismillah {
    font-family: 'Amiri', 'Mirza', serif !important;
    font-size: clamp(42px, 6.2vw, 86px) !important;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    color: #a67a22 !important;
    text-shadow: 0 1px 0 rgba(255, 248, 232, 0.72), 0 10px 26px rgba(166, 122, 34, 0.08);
    margin: 0 0 12px !important;
}

.page-audio .spirit-salam {
    font-family: 'Cormorant Garamond', 'Amiri', serif !important;
    font-weight: 600 !important;
    font-size: clamp(32px, 4.8vw, 56px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.01em;
    color: #4d3718 !important;
}

.page-audio .spirit-salam-sub {
    display: block;
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    font-weight: 500 !important;
    font-size: clamp(26px, 3.3vw, 40px) !important;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: #6c4d22 !important;
    margin-top: 8px !important;
}

.page-audio .spirit-hero-line {
    font-family: 'Cormorant Garamond', serif !important;
    font-style: italic;
    font-size: clamp(21px, 2.5vw, 30px) !important;
    font-weight: 500;
    color: #6f5733 !important;
}

/* Home hero greeting refinement */
.home-v10 .v10-hero-salam {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end;
    column-gap: 10px;
    row-gap: 4px;
}

.home-v10 .v10-hero-salam > span:first-child {
    flex: 0 0 auto;
    font-family: 'Mirza', 'Amiri', serif !important;
    font-size: clamp(42px, 5vw, 70px) !important;
    font-weight: 500;
    letter-spacing: 0;
    color: #8f6a21 !important;
    text-shadow: none;
}

.home-v10 .v10-hero-salam em {
    display: inline-block;
    font-family: 'Cormorant Garamond', 'Amiri', serif !important;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.01em;
}

.home-v10 .v10-comma {
    align-self: flex-end;
    margin-inline: 0;
}

@media (max-width: 768px) {
    .page-audio .spirit-hero-bismillah {
        font-size: clamp(34px, 10.5vw, 56px) !important;
        margin-bottom: 10px !important;
    }

    .page-audio .spirit-salam-sub {
        font-size: clamp(24px, 7.5vw, 34px) !important;
    }

    .page-audio .spirit-hero-line {
        font-size: clamp(18px, 5.5vw, 24px) !important;
    }

    .home-v10 .v10-hero-salam {
        row-gap: 0;
    }

    .home-v10 .v10-hero-salam > span:first-child {
        flex-basis: 100%;
        font-size: clamp(36px, 9vw, 54px) !important;
        line-height: 1.08;
    }

    .home-v10 .v10-hero-salam em {
        font-size: 0.92em;
    }

    .home-v10 .v10-comma {
        margin-right: 2px;
    }
}

@media (max-width: 768px) {
    .sp-player-close {
        padding: 8px;
        margin-left: 8px;
        font-size: 20px;
    }
}

@media (max-width: 560px) {
    .sp-player-close {
        padding: 6px;
        margin-left: 4px;
        font-size: 18px;
    }
}
