
/* =========================================================
   KLINIKINDONESIA.COM
   SERI TADABBUR AL-QUR'AN
   PREMIUM ICY BLUE THEME
   LIGHT MODE + DARK MODE
   ========================================================= */


/* =========================================================
   01. LIGHT MODE — COLOR SYSTEM
   Identitas warna KlinikIndonesia
========================================================= */

body.page-seri-tadabbur:not(.dark) {

    --bg-main: #edf5fb;
    --bg-hero: #eaf4fb;
    --bg-hero-soft: #f4f9fd;

    --text-main: #172d46;
    --text-soft: #536b80;

    --primary: #0e9bd0;

    --glow-color: rgba(14, 165, 233, .17);

    background-color: #edf5fb !important;

    background-image:
        radial-gradient(
            ellipse at 8% 0%,
            rgba(75, 174, 220, .15),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 95% 12%,
            rgba(102, 190, 228, .12),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #eaf4fb 0%,
            #f4f9fd 48%,
            #edf5fb 100%
        ) !important;

    background-attachment: fixed;
    color: var(--text-main);
}


/* =========================================================
   02. DARK MODE — PRESERVE EXISTING IDENTITY
========================================================= */

body.page-seri-tadabbur.dark {

    --bg-main: #0f172a;
    --bg-hero: #0f172a;
    --bg-hero-soft: #020617;

    --text-main: #f1f5f9;
    --text-soft: #cbd5f5;

    --primary: #0ea5e9;

    --glow-color: rgba(56, 189, 248, .15);
}


/* =========================================================
   03. HEADER — PREMIUM BLUE GLASS
========================================================= */

body.page-seri-tadabbur:not(.dark) header {

    background:
        linear-gradient(
            120deg,
            rgba(241, 249, 254, .90),
            rgba(222, 241, 251, .83),
            rgba(239, 248, 253, .91)
        ) !important;

    border-bottom:
        1px solid rgba(14, 165, 233, .15);

    box-shadow:
        0 7px 25px rgba(28, 102, 145, .065);

    -webkit-backdrop-filter: blur(20px) saturate(145%);
    backdrop-filter: blur(20px) saturate(145%);
}


body.page-seri-tadabbur:not(.dark) header.scrolled {

    background:
        rgba(239, 248, 253, .94) !important;

    border-bottom-color:
        rgba(14, 165, 233, .17);

    box-shadow:
        0 8px 25px rgba(28, 102, 145, .09);
}


/* =========================================================
   04. LOGO
========================================================= */

body.page-seri-tadabbur:not(.dark) .logo span {

    color: #17324d;
}


/* =========================================================
   05. SEARCH BOX
========================================================= */

body.page-seri-tadabbur:not(.dark) .search-wrapper {

    background:
        rgba(255, 255, 255, .73);

    border:
        1px solid rgba(14, 165, 233, .27);

    box-shadow:
        0 3px 15px rgba(14, 116, 166, .055);
}


body.page-seri-tadabbur:not(.dark) .search-wrapper:focus-within {

    background:
        rgba(255, 255, 255, .94);

    border-color:
        rgba(14, 165, 233, .60);

    box-shadow:
        0 8px 22px rgba(14, 165, 233, .15),
        0 0 0 3px rgba(14, 165, 233, .07);
}


body.page-seri-tadabbur:not(.dark)
.search-wrapper input::placeholder {

    color: #71879a;
}


/* =========================================================
   06. HERO — ICY BLUE BACKGROUND
========================================================= */

body.page-seri-tadabbur:not(.dark) .hero {

    background:
        linear-gradient(
            180deg,
            #eaf4fb 0%,
            #eff7fc 48%,
            #f5faff 100%
        ) !important;

    color: #172d46;
}


body.page-seri-tadabbur:not(.dark) .hero::before {

    background:
        radial-gradient(
            circle,
            rgba(56, 175, 224, .19),
            rgba(135, 206, 235, .07) 45%,
            transparent 72%
        );

    filter: blur(75px);
}


/* =========================================================
   07. HERO TITLE
========================================================= */

body.page-seri-tadabbur:not(.dark) .hero h1 {

    color: #172d46;

    font-weight: 800;

    letter-spacing: -.65px;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, .75);
}


/* =========================================================
   08. HERO DESCRIPTION
========================================================= */

body.page-seri-tadabbur:not(.dark) .hero p {

    color: #536b80;

    line-height: 1.75;
}


/* =========================================================
   09. BREADCRUMB
========================================================= */

body.page-seri-tadabbur:not(.dark)
.hero .breadcrumb-meta.badge {

    background:
        linear-gradient(
            135deg,
            rgba(222, 241, 251, .95),
            rgba(239, 248, 253, .95)
        );

    border:
        1px solid rgba(14, 165, 233, .18);

    color: #17658c;

    box-shadow:
        0 3px 12px rgba(14, 116, 166, .045);
}


/* =========================================================
   10. HEALTH TIPS BAR
========================================================= */

body.page-seri-tadabbur:not(.dark) #healthTipsBar {

    background:
        linear-gradient(
            110deg,
            rgba(220, 240, 251, .88),
            rgba(242, 249, 254, .94),
            rgba(222, 241, 251, .88)
        );

    border:
        1px solid rgba(14, 165, 233, .20);

    color: #155777;

    box-shadow:
        0 4px 15px rgba(14, 116, 166, .045);
}


body.page-seri-tadabbur:not(.dark)
#healthTipsBar #tipsText {

    color: #245774;
}


body.page-seri-tadabbur:not(.dark)
#healthTipsBar #tipsText a {

    color: #087eae;
}


/* =========================================================
   11. MATERIAL SECTION
========================================================= */

body.page-seri-tadabbur:not(.dark)
.tadabbur-list-section {

    background: transparent !important;
}


/* =========================================================
   12. MATERIAL HEADING
========================================================= */

body.page-seri-tadabbur:not(.dark)
.judul-artikel {

    color: #172d46;

    font-weight: 800;
}


/* =========================================================
   13. MATERIAL INTRO
========================================================= */

body.page-seri-tadabbur:not(.dark)
.tadabbur-list-intro {

    color: #61778b;

    line-height: 1.8;
}


/* =========================================================
   14. MATERIAL CARD
========================================================= */

body.page-seri-tadabbur:not(.dark)
.tadabbur-list-section .card {

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fcff 55%,
            #edf7fd 100%
        );

    border:
        1px solid rgba(14, 165, 233, .15);

    border-radius: 20px;

    box-shadow:
        0 9px 27px rgba(29, 89, 125, .075),
        0 2px 7px rgba(29, 89, 125, .025);
}


@media (hover: hover) and (pointer: fine) {

    body.page-seri-tadabbur:not(.dark)
    .tadabbur-list-section .card:hover {

        background:
            linear-gradient(
                145deg,
                #ffffff,
                #eff8fe
            );

        border-color:
            rgba(14, 165, 233, .35);

        box-shadow:
            0 18px 38px rgba(29, 89, 125, .13),
            0 5px 15px rgba(14, 165, 233, .08);
    }

}


/* =========================================================
   15. CARD TYPOGRAPHY
========================================================= */

body.page-seri-tadabbur:not(.dark)
.tadabbur-list-section .card h3 {

    color: #17324d;
    font-weight: 750;
}


body.page-seri-tadabbur:not(.dark)
.tadabbur-list-section .card p {

    color: #62788c;
}


/* =========================================================
   16. CARD ICON
========================================================= */

body.page-seri-tadabbur:not(.dark)
.tadabbur-list-section .card-icon {

    background:
        linear-gradient(
            145deg,
            #20a9df,
            #087fb8
        );

    box-shadow:
        0 6px 18px rgba(14, 165, 233, .20);
}


/* =========================================================
   17. READ MORE
========================================================= */

body.page-seri-tadabbur:not(.dark)
.tadabbur-read-more {

    color: #087eae;
    font-weight: 750;
}


/* =========================================================
   18. COVER INTERAKTIF
   TIDAK MENGUBAH DESAIN SAMPUL
========================================================= */

/*
   Sengaja tidak mengubah:
   - Ukuran sampul
   - Rasio gambar
   - Area klik surat dan ayat
   - Animasi sampul
   - Posisi tombol interaktif

   Sampul tetap menggunakan desain aslinya.
*/


/* =========================================================
   19. FLOATING ELEMENT
========================================================= */

body.page-seri-tadabbur:not(.dark)
:is(.floating-cart, .floating-button) {

    box-shadow:
        0 6px 22px rgba(14, 165, 233, .20);
}


/* =========================================================
   20. DARK MODE — PRESERVE EXISTING STYLE
========================================================= */

body.page-seri-tadabbur.dark .hero {

    background:
        linear-gradient(
            180deg,
            #0f172a 0%,
            #020617 100%
        ) !important;
}


body.page-seri-tadabbur.dark .hero h1 {

    color: #f1f5f9;
}


body.page-seri-tadabbur.dark .hero p {

    color: #cbd5f5;
}


/* =========================================================
   21. RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    body.page-seri-tadabbur:not(.dark) {

        background-attachment: scroll;
    }

    body.page-seri-tadabbur:not(.dark) .hero {

        background:
            linear-gradient(
                180deg,
                #eaf4fb,
                #f4f9fd
            ) !important;
    }

}


/* =========================================================
   22. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    body.page-seri-tadabbur .tadabbur-list-section .card {

        transition: none !important;
    }

}
