/*
Theme Name: Rasoipathy
Theme URI: https://example.com/rasoipathy
Author: Rasoipathy
Description: Modern learning and student dashboard theme for Rasoipathy.
Version: 2.0.0
Text Domain: rasoipathy
*/

/* =========================================================
   RASOIPATHY
   COMPLETE RESPONSIVE CSS
   Glassmorphism + Rounded UI + Mobile First
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --primary: #0b6b3a;
    --primary-dark: #064a28;
    --primary-light: #1b8750;

    --accent: #c7a52e;

    --mint: #eaf6ee;
    --cream: #fffdf6;

    --text: #152219;
    --muted: #68766c;

    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.62);

    --line: rgba(11, 107, 58, 0.14);

    --shadow-sm:
        0 6px 18px rgba(24, 68, 43, 0.08);

    --shadow:
        0 18px 45px rgba(24, 68, 43, 0.12);

    --shadow-lg:
        0 25px 70px rgba(24, 68, 43, 0.18);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --pill: 999px;

    --header-height: 82px;
    --header-gap: 20px;
}


/* =========================================================
   TABLET VARIABLES
========================================================= */

@media (max-width: 900px) {

    :root {
        --header-height: 68px;
        --header-gap: 10px;
    }

}


/* =========================================================
   MOBILE VARIABLES
========================================================= */

@media (max-width: 600px) {

    :root {
        --header-height: 62px;
        --header-gap: 8px;
    }

}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {

    margin: 0;

    padding-top:
        calc(
            var(--header-height)
            + (var(--header-gap) * 2)
        );

    width: 100%;
    max-width: 100%;

    overflow-x: hidden;

    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 16px;

    line-height: 1.65;

    background:
        linear-gradient(
            135deg,
            #fffef9 0%,
            #f2f8ef 100%
        );
}

body,
button,
input,
textarea,
select {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
video,
svg,
iframe {
    max-width: 100%;
}

img,
video,
svg {
    height: auto;
    display: block;
}

iframe {
    display: block;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: anywhere;
    word-break: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
}

:focus-visible {
    outline: 3px solid rgba(11, 107, 58, 0.28);
    outline-offset: 3px;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width: min(1180px, 92%);

    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {

    .container {
        width: min(94%, 760px);
    }

}

@media (max-width: 600px) {

    .container {
        width: calc(100% - 28px);
        max-width: none;
    }

}


/* =========================================================
   GLASSMORPHISM
========================================================= */

.glass {

    background:
        rgba(255, 255, 255, 0.62);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border:
        1px solid rgba(255, 255, 255, 0.70);

    box-shadow:
        var(--shadow);
}


/* =========================================================
   TOP BAR
========================================================= */

.topbar {

    position: relative;

    width: 100%;

    background:
        rgba(245, 249, 243, 0.90);

    border-bottom:
        1px solid var(--line);

    z-index: 100;
}

.topbar-inner {

    min-height: 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: var(--muted);

    font-size: 13px;
}

@media (max-width: 700px) {

    .topbar-inner {

        justify-content: center;

        text-align: center;

        font-size: 12px;
    }

    .topbar-inner .socials {
        display: none;
    }

}


/* =========================================================
   HEADER
========================================================= */

.header-shell {

    position: static;

    width: 100%;

    margin: 0;

    padding: 0;
}

.site-header,
#mainHeader {

    position: fixed;

    top: var(--header-gap);

    left: var(--header-gap);
    right: var(--header-gap);

    width: auto;

    max-width: 1180px;

    height: var(--header-height);

    min-height: var(--header-height);

    margin: 0 auto;

    padding: 0;

    z-index: 99999;

    border-radius: var(--pill);

    background:
        rgba(255, 255, 255, 0.94);

    border:
        1px solid rgba(255, 255, 255, 0.90);

    box-shadow:
        0 18px 45px rgba(20, 60, 38, 0.16),
        0 6px 20px rgba(20, 60, 38, 0.08);

    backdrop-filter:
        blur(22px);

    -webkit-backdrop-filter:
        blur(22px);

    overflow: visible;
}

.site-header .nav,
#mainHeader .nav {

    position: relative;

    width: 100%;
    height: 100%;

    padding: 0 28px;

    margin: 0;

    display: flex;

    align-items: center;
}


/* =========================================================
   LOGO
========================================================= */

.site-header .brand,
#mainHeader .brand {

    display: flex;

    align-items: center;

    gap: 12px;

    flex: 0 0 auto;

    margin: 0;

    color: var(--primary);

    font-size: 23px;

    font-weight: 900;

    line-height: 1;

    white-space: nowrap;
}

.site-header .brand-mark,
#mainHeader .brand-mark {

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    overflow: hidden;

    border-radius: 50%;

    background: #fff;

    border:
        1px solid rgba(11, 107, 58, 0.08);
}

.site-header .brand-mark img,
#mainHeader .brand-mark img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   DESKTOP MENU
========================================================= */

.site-header .menu,
#mainHeader .menu {

    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 34px;

    width: max-content;

    margin: 0;
    padding: 0;

    z-index: 20;
}

.site-header .menu ul,
#mainHeader .menu ul {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 34px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-header .menu li,
#mainHeader .menu li {

    list-style: none;

    margin: 0;
    padding: 0;
}

.site-header .menu a,
#mainHeader .menu a {

    position: relative;

    display: block;

    padding: 8px 4px;

    color: var(--text);

    font-size: 17px;

    font-weight: 700;

    line-height: 1.4;

    white-space: nowrap;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.site-header .menu a:hover,
#mainHeader .menu a:hover {

    color: var(--primary);

    transform:
        translateY(-2px);
}

.site-header .menu a::after,
#mainHeader .menu a::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: -2px;

    width: 0;
    height: 3px;

    border-radius:
        var(--pill);

    background:
        var(--primary);

    transform:
        translateX(-50%);

    transition:
        width .2s ease;
}

.site-header .menu a:hover::after,
#mainHeader .menu a:hover::after {

    width: 70%;
}


/* =========================================================
   NAV RIGHT
========================================================= */

.site-header .nav-right,
#mainHeader .nav-right {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-left: auto;

    flex: 0 0 auto;
}


/* =========================================================
   SEARCH
========================================================= */

.icon-btn {

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    padding: 0;

    border:
        1px solid var(--line);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.72);

    color:
        var(--primary);

    font-size:
        21px;

    transition:
        transform .2s ease,
        background .2s ease;
}

.icon-btn:hover {

    transform:
        translateY(-2px);

    background:
        var(--mint);
}


/* =========================================================
   LOGIN
========================================================= */

.site-header .login-btn,
#mainHeader .login-btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        115px;

    min-height:
        44px;

    padding:
        11px 21px;

    border-radius:
        var(--pill);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color:
        #fff;

    font-size:
        15px;

    font-weight:
        800;

    line-height:
        1;

    white-space:
        nowrap;

    text-decoration:
        none;

    box-shadow:
        0 9px 22px
        rgba(8, 120, 63, .20);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.site-header .login-btn:hover,
#mainHeader .login-btn:hover {

    color:
        #fff;

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 28px
        rgba(8, 120, 63, .28);
}


/* =========================================================
   LOGOUT
========================================================= */

.site-header .logout-btn,
#mainHeader .logout-btn {

    background:
        linear-gradient(
            135deg,
            #1d2d26,
            #3f4f48
        );
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.site-header .menu-toggle,
#mainHeader .menu-toggle {

    display:
        none;

    width:
        44px;

    height:
        44px;

    margin-left:
        8px;

    padding:
        0;

    border:
        0;

    border-radius:
        14px;

    background:
        var(--mint);

    color:
        var(--primary);

    font-size:
        23px;

    line-height:
        1;

    place-items:
        center;
}


/* =========================================================
   HEADER TABLET
========================================================= */

@media (max-width: 900px) {

    .site-header,
    #mainHeader {

        top:
            10px;

        left:
            10px;

        right:
            10px;

        max-width:
            none;

        border-radius:
            32px;
    }

    .site-header .nav,
    #mainHeader .nav {

        padding:
            0 14px;
    }

    .site-header .brand,
    #mainHeader .brand {

        font-size:
            17px;

        gap:
            8px;
    }

    .site-header .brand-mark,
    #mainHeader .brand-mark {

        width:
            46px;

        height:
            46px;

        flex-basis:
            46px;
    }


    /* Mobile menu */

    .site-header .menu,
    #mainHeader .menu {

        position:
            absolute;

        top:
            calc(100% + 12px);

        left:
            0;

        right:
            0;

        width:
            100%;

        transform:
            none;

        display:
            none;

        flex-direction:
            column;

        align-items:
            stretch;

        justify-content:
            flex-start;

        gap:
            4px;

        padding:
            14px;

        border-radius:
            26px;

        background:
            rgba(
                255,
                255,
                255,
                0.97
            );

        border:
            1px solid
            var(--line);

        box-shadow:
            0 20px 55px
            rgba(
                20,
                60,
                38,
                .20
            );

        backdrop-filter:
            blur(22px);

        -webkit-backdrop-filter:
            blur(22px);

        max-height:
            calc(
                100vh
                - var(--header-height)
                - 40px
            );

        overflow-y:
            auto;

        z-index:
            999999;
    }

    .site-header .menu.open,
    #mainHeader .menu.open {

        display:
            flex;
    }

    .site-header .menu ul,
    #mainHeader .menu ul {

        width:
            100%;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            4px;
    }

    .site-header .menu li,
    #mainHeader .menu li {

        width:
            100%;
    }

    .site-header .menu a,
    #mainHeader .menu a {

        width:
            100%;

        padding:
            13px 15px;

        border-radius:
            16px;

        font-size:
            16px;

        transform:
            none;
    }

    .site-header .menu a::after,
    #mainHeader .menu a::after {

        display:
            none;
    }

    .site-header .menu a:hover,
    #mainHeader .menu a:hover {

        background:
            var(--mint);

        color:
            var(--primary);

        transform:
            none;
    }

    .site-header .menu-toggle,
    #mainHeader .menu-toggle {

        display:
            grid;
    }

    .site-header .login-btn,
    #mainHeader .login-btn {

        min-width:
            auto;

        min-height:
            42px;

        padding:
            10px 16px;

        font-size:
            14px;
    }

}


/* =========================================================
   HEADER PHONE
========================================================= */

@media (max-width: 600px) {

    .site-header,
    #mainHeader {

        top:
            8px;

        left:
            8px;

        right:
            8px;

        border-radius:
            28px;
    }

    .site-header .nav,
    #mainHeader .nav {

        padding:
            0 10px;
    }

    .site-header .brand,
    #mainHeader .brand {

        font-size:
            14px;

        gap:
            7px;
    }

    .site-header .brand-mark,
    #mainHeader .brand-mark {

        width:
            40px;

        height:
            40px;

        flex-basis:
            40px;
    }

    .site-header .nav-right,
    #mainHeader .nav-right {

        gap:
            6px;
    }

    .icon-btn {

        width:
            38px;

        height:
            38px;

        font-size:
            18px;
    }

    .site-header .login-btn,
    #mainHeader .login-btn {

        min-height:
            38px;

        padding:
            8px 13px;

        font-size:
            13px;
    }

    .site-header .menu-toggle,
    #mainHeader .menu-toggle {

        width:
            38px;

        height:
            38px;

        margin-left:
            5px;

        font-size:
            21px;
    }

}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media (max-width: 400px) {

    .site-header,
    #mainHeader {

        left:
            5px;

        right:
            5px;
    }

    .site-header .brand,
    #mainHeader .brand {

        font-size:
            13px;
    }

    .site-header .brand-mark,
    #mainHeader .brand-mark {

        width:
            37px;

        height:
            37px;

        flex-basis:
            37px;
    }

    .site-header .login-btn,
    #mainHeader .login-btn {

        padding:
            8px 11px;

        font-size:
            12px;
    }

    .site-header .menu-toggle,
    #mainHeader .menu-toggle {

        width:
            36px;

        height:
            36px;

        font-size:
            20px;
    }

}


/* =========================================================
   ANNOUNCEMENT
========================================================= */

.notice {

    width:
        min(
            1180px,
            92%
        );

    margin:
        10px auto 0;

    padding:
        9px 16px;

    border-radius:
        var(--pill);

    background:
        var(--primary);

    color:
        #fff;

    text-align:
        center;

    font-size:
        14px;

    font-weight:
        750;
}

@media (max-width: 600px) {

    .notice {

        width:
            calc(
                100% - 28px
            );

        padding:
            8px 12px;

        font-size:
            12px;
    }

}


/* =========================================================
   HERO
========================================================= */

.hero {

    padding:
        clamp(
            40px,
            7vw,
            80px
        )
        0
        clamp(
            30px,
            5vw,
            55px
        );
}

.hero-grid,
.home-hero-grid {

    display:
        flex;

    flex-direction:
        row;

    align-items:
        center;

    gap:
        clamp(
            25px,
            5vw,
            55px
        );
}

.hero-grid > *,
.home-hero-grid > * {

    flex:
        1 1 0;

    min-width:
        0;
}

.hero h1 {

    margin:
        14px 0 18px;

    font-size:
        clamp(
            36px,
            6vw,
            68px
        );

    line-height:
        1.05;

    letter-spacing:
        -1.5px;
}

.hero h1 span {

    color:
        var(--primary);
}

.hero h2 {

    margin:
        0 0 18px;

    font-size:
        clamp(
            22px,
            3.5vw,
            36px
        );

    line-height:
        1.18;
}

.hero p {

    max-width:
        680px;

    margin:
        0;

    color:
        var(--muted);

    font-size:
        clamp(
            15px,
            2vw,
            18px
        );
}

.eyebrow {

    display:
        inline-flex;

    padding:
        7px 13px;

    border-radius:
        var(--pill);

    background:
        var(--mint);

    color:
        var(--primary-dark);

    font-size:
        13px;

    font-weight:
        800;
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {

    position:
        relative;

    padding:
        16px;

    border-radius:
        var(--radius-xl);
}

.hero-image {

    width:
        100%;

    min-height:
        450px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    padding:
        clamp(
            20px,
            5vw,
            45px
        );

    border-radius:
        26px;

    background:
        linear-gradient(
            135deg,
            #eff8e9,
            #cfe6c5
        );

    overflow:
        hidden;
}

.hero-badge {

    position:
        absolute;

    top:
        35px;

    right:
        35px;

    width:
        102px;

    height:
        102px;

    display:
        grid;

    place-items:
        center;

    text-align:
        center;

    border-radius:
        50%;

    background:
        #1f6b36;

    color:
        #fff;

    border:
        5px solid
        rgba(
            255,
            255,
            255,
            .62
        );

    font-size:
        14px;

    font-weight:
        900;
}

@media (max-width: 900px) {

    .hero-grid,
    .home-hero-grid {

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            30px;
    }

    .hero-grid > *,
    .home-hero-grid > * {

        width:
            100%;

        flex:
            0 0 auto;
    }

    .hero-image {

        min-height:
            320px;
    }

}

@media (max-width: 600px) {

    .hero {

        padding:
            30px 0
            25px;
    }

    .hero h1 {

        font-size:
            clamp(
                34px,
                11vw,
                48px
            );

        letter-spacing:
            -.5px;
    }

    .hero h2 {

        font-size:
            clamp(
                20px,
                6vw,
                27px
            );
    }

    .hero p {

        font-size:
            16px;
    }

    .hero-image {

        min-height:
            240px;

        padding:
            20px;
    }

    .hero-badge {

        top:
            20px;

        right:
            20px;

        width:
            82px;

        height:
            82px;

        font-size:
            12px;
    }

}


/* =========================================================
   BUTTONS
========================================================= */

.primary-btn,
.secondary-btn,
button.primary-btn,
button.secondary-btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    min-width:
        125px;

    min-height:
        48px;

    padding:
        12px 22px;

    border:
        0;

    border-radius:
        var(--pill);

    color:
        #fff;

    font-size:
        16px;

    font-weight:
        800;

    line-height:
        1.2;

    text-align:
        center;

    white-space:
        normal;

    text-decoration:
        none;

    cursor:
        pointer;

    box-shadow:
        0 9px 22px
        rgba(
            8,
            120,
            63,
            .20
        );

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.primary-btn {

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );
}

.secondary-btn {

    background:
        linear-gradient(
            135deg,
            #1d2d26,
            #3f4f48
        );
}

.primary-btn:hover,
.secondary-btn:hover,
button.primary-btn:hover,
button.secondary-btn:hover {

    color:
        #fff;

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 28px
        rgba(
            8,
            120,
            63,
            .28
        );
}

.primary-btn.is-complete {

    background:
        var(--primary-dark);
}

.actions {

    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-top:
        24px;
}

@media (max-width: 600px) {

    .actions {

        flex-direction:
            column;

        width:
            100%;

        gap:
            10px;
    }

    .actions .primary-btn,
    .actions .secondary-btn {

        width:
            100%;

        max-width:
            100%;

        flex:
            0 0 auto;
    }

}


/* =========================================================
   STATS
========================================================= */

.stats {

    padding:
        10px 0
        28px;
}

.stats-grid {

    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap:
        15px;
}

.stat {

    min-width:
        0;

    padding:
        24px;

    border-radius:
        var(--radius-lg);

    text-align:
        center;
}

.stat strong {

    display:
        block;

    margin-bottom:
        6px;

    font-size:
        clamp(
            24px,
            4vw,
            30px
        );

    color:
        var(--primary);

    line-height:
        1;
}

@media (max-width: 900px) {

    .stats-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }

}

@media (max-width: 600px) {

    .stats-grid {

        grid-template-columns:
            1fr;

        gap:
            12px;
    }

    .stat {

        width:
            100%;

        padding:
            18px 14px;
    }

}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding:
        clamp(
            45px,
            7vw,
            80px
        )
        0;
}

.section.alt {

    background:
        rgba(
            238,
            247,
            239,
            .65
        );
}

.section-head {

    width:
        100%;

    max-width:
        760px;

    margin:
        0 auto
        36px;

    text-align:
        center;
}

.section-head h2 {

    margin:
        0 0 10px;

    font-size:
        clamp(
            28px,
            4.5vw,
            42px
        );

    line-height:
        1.15;
}

.section-head p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        clamp(
            15px,
            2vw,
            17px
        );
}

@media (max-width: 600px) {

    .section {

        padding:
            48px 0;
    }

    .section-head {

        margin-bottom:
            26px;
    }

    .section-head h2 {

        font-size:
            clamp(
                28px,
                8vw,
                34px
            );
    }

}


/* =========================================================
   GRIDS
========================================================= */

.grid-3 {

    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(
                min(
                    100%,
                    250px
                ),
                1fr
            )
        );

    gap:
        20px;
}

.grid-4 {

    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(
                    100%,
                    200px
                ),
                1fr
            )
        );

    gap:
        18px;
}


/* =========================================================
   CARDS
========================================================= */

.card {

    min-width:
        0;

    padding:
        24px;

    border-radius:
        var(--radius-lg);

    overflow-wrap:
        anywhere;
}

.card h2,
.card h3 {

    margin-top:
        0;
}

.card p {

    color:
        var(--muted);
}

@media (max-width: 600px) {

    .card {

        padding:
            20px;
    }

}


/* =========================================================
   FEATURE ICON
========================================================= */

.feature-icon {

    width:
        52px;

    height:
        52px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        16px;

    background:
        var(--mint);

    color:
        var(--primary);

    font-size:
        23px;
}


/* =========================================================
   SPLIT SECTIONS
========================================================= */

.split {

    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                min(
                    100%,
                    320px
                ),
                1fr
            )
        );

    gap:
        clamp(
            24px,
            5vw,
            55px
        );

    align-items:
        center;
}

.split > * {

    min-width:
        0;
}

.rounded-image {

    width:
        100%;

    border-radius:
        var(--radius-xl);

    object-fit:
        cover;
}


/* =========================================================
   QUOTE
========================================================= */

.quote {

    font-size:
        clamp(
            18px,
            2.5vw,
            22px
        );

    font-weight:
        800;

    line-height:
        1.45;

    border-left:
        4px solid
        var(--primary);

    padding-left:
        18px;
}


/* =========================================================
   COURSE CARDS
========================================================= */

.course-card {

    min-width:
        0;

    padding:
        0;

    overflow:
        hidden;

    border-radius:
        var(--radius-lg);
}

.course-card img {

    width:
        100%;

    aspect-ratio:
        16 / 10;

    height:
        auto;

    object-fit:
        cover;

    border-radius:
        var(--radius-lg)
        var(--radius-lg)
        0 0;
}

.course-image {

    width:
        100%;

    aspect-ratio:
        16 / 10;

    display:
        grid;

    place-items:
        center;

    background:
        linear-gradient(
            135deg,
            #e5f3df,
            #cfe6c5
        );

    font-size:
        clamp(
            55px,
            10vw,
            85px
        );
}

.course-body {

    padding:
        23px;
}

.course-body h2,
.course-body h3 {

    overflow-wrap:
        anywhere;
}

.course-meta {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    flex-wrap:
        wrap;

    margin:
        10px 0 15px;

    color:
        var(--muted);

    font-size:
        13px;
}

.pill {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        5px 10px;

    border-radius:
        var(--pill);

    background:
        var(--mint);

    color:
        var(--primary);

    font-weight:
        750;
}

@media (max-width: 600px) {

    .course-body {

        padding:
            20px;
    }

}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonial {

    font-size:
        16px;
}

.testimonial-author {

    display:
        flex;

    align-items:
        center;

    gap:
        10px;

    margin-top:
        18px;

    font-style:
        normal;
}

.avatar {

    width:
        44px;

    height:
        44px;

    flex:
        0 0 44px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

    background:
        var(--mint);

    color:
        var(--primary);

    font-weight:
        900;

    overflow:
        hidden;
}

.avatar img {

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;
}


/* =========================================================
   FAQ
========================================================= */

.faq {

    width:
        100%;

    max-width:
        860px;

    margin:
        0 auto;
}

.faq details {

    padding:
        18px 0;

    border-bottom:
        1px solid
        var(--line);
}

.faq summary {

    cursor:
        pointer;

    padding:
        4px 0;

    font-weight:
        800;

    list-style:
        none;
}

.faq summary::-webkit-details-marker {

    display:
        none;
}

.faq summary::after {

    content:
        "+";

    float:
        right;

    color:
        var(--primary);

    font-size:
        20px;
}

.faq details[open] summary::after {

    content:
        "−";
}


/* =========================================================
   CTA
========================================================= */

.cta {

    padding:
        clamp(
            28px,
            6vw,
            48px
        );

    border-radius:
        var(--radius-xl);

    text-align:
        center;
}

.cta h2 {

    margin-top:
        0;

    font-size:
        clamp(
            28px,
            5vw,
            42px
        );
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    margin-top: 30px;
    padding: 65px 0 22px;

    background: #0d3823;

    color: #dfece3;
}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1.2fr;

    gap: 60px;

    align-items: start;
}


/* =========================================================
   FOOTER TITLE
========================================================= */

.footer-title {
    margin-bottom: 18px;

    color: #ffffff;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: .2px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand p {
    max-width: 390px;

    margin: 0;

    color: #c9d9cf;

    font-size: 16px;

    line-height: 1.8;
}


.brand-name {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 25px;

    letter-spacing: 1px;
}


.brand-leaf {
    font-size: 27px;
}


/* =========================================================
   SOCIAL MEDIA ICONS
========================================================= */

.footer-socials {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 28px;
}


.social-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, .15);

    border-radius: 9px;

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

    color: #f1eadc;

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        color .25s ease;
}


.social-icon svg {
    width: 22px;
    height: 22px;

    display: block;
}


/* Hover */

.social-icon:hover {
    transform: translateY(-4px);

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

    border-color:
        rgba(255, 255, 255, .30);

    color: #ffffff;
}


/* =========================================================
   EXPLORE LINKS
========================================================= */

.footer-links {
    display: grid;

    gap: 12px;
}


.footer-links a {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #c9d9cf;

    text-decoration: none;

    font-size: 16px;

    transition:
        color .2s ease,
        transform .2s ease;
}


.footer-links a span {
    color: #b6d957;

    font-size: 24px;

    line-height: 12px;
}


.footer-links a:hover {
    color: #ffffff;

    transform:
        translateX(4px);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact {
    display: grid;

    gap: 18px;
}


.contact-item {
    display: flex;

    align-items: center;

    gap: 14px;

    color: #c9d9cf;

    font-size: 16px;
}


.contact-item svg {
    width: 22px;

    height: 22px;

    flex: 0 0 22px;

    color: #e9e2d4;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.copyright {
    margin-top: 55px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, .13);

    text-align: center;

    color: #c2d1c8;

    font-size: 14px;
}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.whatsapp {
    position: fixed;

    right: 22px;

    bottom: 22px;

    width: 58px;

    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #25d366;

    color: #ffffff;

    z-index: 9999;

    box-shadow:
        0 12px 25px
        rgba(0, 0, 0, .20);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.whatsapp svg {
    width: 32px;

    height: 32px;

    display: block;
}


.whatsapp:hover {
    color: #ffffff;

    transform:
        scale(1.06);

    box-shadow:
        0 15px 30px
        rgba(0, 0, 0, .25);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .footer {
        padding:
            50px 20px
            20px;
    }


    .footer-grid {
        grid-template-columns:
            1fr;

        gap: 40px;
    }


    .footer-brand p {
        max-width: 500px;
    }


    .footer-socials {
        margin-top: 24px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .footer {
        padding:
            45px 18px
            18px;
    }


    .brand-name {
        font-size: 22px;
    }


    .social-icon {
        width: 43px;

        height: 43px;
    }


    .social-icon svg {
        width: 19px;

        height: 19px;
    }


    .footer-socials {
        gap: 8px;
    }


    .contact-item {
        align-items: flex-start;

        font-size: 14px;
    }


    .contact-item svg {
        width: 20px;

        height: 20px;

        flex-basis: 20px;
    }


    .whatsapp {
        right: 14px;

        bottom: 14px;

        width: 50px;

        height: 50px;
    }


    .whatsapp svg {
        width: 28px;

        height: 28px;
    }

}

/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp {

    position:
        fixed;

    right:
        22px;

    bottom:
        22px;

    width:
        58px;

    height:
        58px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

    background:
        #25d366;

    color:
        #fff;

    z-index:
        9999;

    box-shadow:
        0 12px 25px
        rgba(
            0,
            0,
            0,
            .20
        );

    transition:
        transform .2s ease;
}

.whatsapp:hover {

    color:
        #fff;

    transform:
        scale(1.06);
}

.whatsapp img,
.whatsapp svg {

    width:
        32px;

    height:
        32px;
}

@media (max-width: 600px) {

    .whatsapp {

        right:
            14px;

        bottom:
            14px;

        width:
            50px;

        height:
            50px;
    }

    .whatsapp img,
    .whatsapp svg {

        width:
            28px;

        height:
            28px;
    }

}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {

    padding:
        clamp(
            25px,
            5vw,
            55px
        )
        0;

    background:
        linear-gradient(
            135deg,
            #f5faef,
            #e7f3e7
        );
}

.page-hero h1 {

    margin:
        0 0 8px;

    font-size:
        clamp(
            30px,
            0.1vw,
            48px
        );

    line-height:
        1.1;
}

.page-hero p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        clamp(
            15px,
            2vw,
            17px
        );
}


/* =========================================================
   FORMS
========================================================= */

.form-card {

    width:
        100%;

    max-width:
        600px;

    margin:
        0 auto;

    padding:
        clamp(
            20px,
            4vw,
            30px
        );

    border-radius:
        var(--radius-xl);
}

.field {

    margin-bottom:
        16px;
}

.field label {

    display:
        block;

    margin-bottom:
        6px;

    font-weight:
        750;
}

.field input,
.field textarea,
.field select {

    width:
        100%;

    min-height:
        46px;

    padding:
        12px 14px;

    border:
        1px solid
        var(--line);

    border-radius:
        14px;

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

    color:
        var(--text);

    outline:
        none;

    font-size:
        16px;
}

.field textarea {

    min-height:
        120px;

    resize:
        vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 4px
        rgba(
            11,
            107,
            58,
            .08
        );
}


/* =========================================================
   WORDPRESS LOGIN FORM
========================================================= */

.rsk-login-page form p {

    margin:
        0 0 16px;
}

.rsk-login-page form label {

    display:
        block;

    margin-bottom:
        6px;

    font-weight:
        750;
}

.rsk-login-page form input[type="text"],
.rsk-login-page form input[type="email"],
.rsk-login-page form input[type="password"] {

    width:
        100%;

    min-height:
        46px;

    padding:
        13px 14px;

    border:
        1px solid
        var(--line);

    border-radius:
        14px;

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

    outline:
        none;

    font-size:
        16px;
}

.rsk-login-page form input[type="submit"] {

    width:
        100%;

    min-height:
        48px;

    padding:
        12px 20px;

    border:
        0;

    border-radius:
        var(--pill);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    color:
        #fff;

    font-weight:
        800;

    cursor:
        pointer;
}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard-page,
.dashboard-wrap {

    display:
        grid;

    grid-template-columns:
        260px
        minmax(
            0,
            1fr
        );

    gap:
        18px;

    padding:
        30px 0;
}

.sidebar {

    min-width:
        0;

    padding:
        20px;

    align-self:
        start;

    position:
        sticky;

    top:
        calc(
            var(--header-height)
            + var(--header-gap) * 2
            + 10px
        );

    border-radius:
        var(--radius-xl);
}

.sidebar-brand {

    padding:
        10px;

    color:
        var(--primary);

    font-weight:
        900;
}

.sidebar a {

    display:
        block;

    margin:
        4px 0;

    padding:
        11px 13px;

    border-radius:
        14px;

    color:
        #2c3c31;

    transition:
        background .2s ease,
        color .2s ease;
}

.sidebar a:hover,
.sidebar a.active {

    background:
        var(--mint);

    color:
        var(--primary);

    font-weight:
        800;
}

.dashboard-main {

    min-width:
        0;

    display:
        grid;

    gap:
        18px;
}

.dashboard-top {

    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        14px;
}

.dashboard-stats {

    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap:
        15px;
}

.stat-card {

    min-width:
        0;

    padding:
        20px;

    border-radius:
        var(--radius-lg);
}

.stat-card strong {

    display:
        block;

    color:
        var(--primary);

    font-size:
        clamp(
            24px,
            4vw,
            30px
        );
}

@media (max-width: 900px) {

    .dashboard-page,
    .dashboard-wrap {

        grid-template-columns:
            1fr;

        padding:
            20px 0;
    }

    .sidebar {

        position:
            static;
    }

    .dashboard-stats {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );
    }

}

@media (max-width: 600px) {

    .dashboard-stats {

        grid-template-columns:
            1fr;

        gap:
            12px;
    }

}


/* =========================================================
   PROGRESS
========================================================= */

.progress-list {

    display:
        grid;

    gap:
        14px;
}

.progress-row {

    padding:
        16px;

    border-radius:
        18px;
}

.progress-head {

    display:
        flex;

    flex-wrap:
        wrap;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        10px;
}

.progress-bar {

    height:
        10px;

    margin-top:
        8px;

    overflow:
        hidden;

    border-radius:
        var(--pill);

    background:
        #e6eee7;
}

.progress-bar span {

    display:
        block;

    width:
        0;

    height:
        100%;

    border-radius:
        inherit;

    background:
        var(--primary);
}


/* =========================================================
   LESSON
========================================================= */

.lesson-layout {

    display:
        grid;

    grid-template-columns:
        minmax(
            0,
            1fr
        )
        320px;

    gap:
        20px;

    align-items:
        start;
}

.video-box {

    width:
        100%;

    overflow:
        hidden;

    border-radius:
        var(--radius-xl);

    background:
        #111;
}

.video-box video {

    display:
        block;

    width:
        100%;

    height:
        auto;

    aspect-ratio:
        16 / 9;

    object-fit:
        contain;

    background:
        #111;
}

.lesson-list {

    display:
        grid;

    gap:
        8px;
}

.lesson-item {

    display:
        block;

    padding:
        12px 14px;

    border:
        1px solid
        var(--line);

    border-radius:
        13px;

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

    color:
        var(--text);
}

.lesson-item.active {

    border-color:
        var(--primary);

    background:
        var(--mint);

    color:
        var(--primary);
}

@media (max-width: 900px) {

    .lesson-layout {

        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   PROFILE
========================================================= */

.profile-details {

    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(
                180px,
                1fr
            )
        );

    gap:
        16px;

    margin:
        20px 0;
}

.profile-details dt {

    margin:
        0 0 4px;

    color:
        var(--muted);

    font-size:
        13px;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        .02em;
}

.profile-details dd {

    margin:
        0;

    font-weight:
        700;
}

.profile-actions {

    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;

    margin-top:
        20px;
}

@media (max-width: 480px) {

    .profile-actions .primary-btn,
    .profile-actions .secondary-btn {

        width:
            100%;

        flex:
            0 0 100%;
    }

}


/* =========================================================
   WORDPRESS CONTENT
========================================================= */

.entry-content,
.page-content {

    max-width:
        100%;

    overflow-wrap:
        anywhere;
}

.entry-content img,
.page-content img {

    max-width:
        100%;

    height:
        auto;
}

.entry-content iframe,
.page-content iframe {

    width:
        100%;

    max-width:
        100%;
}


/* =========================================================
   MOBILE TABLES
========================================================= */

@media (max-width: 600px) {

    table {

        display:
            block;

        width:
            100%;

        overflow-x:
            auto;

        -webkit-overflow-scrolling:
            touch;
    }

}


/* =========================================================
   FINAL MOBILE LAYOUT
   ALL MAJOR HORIZONTAL OBJECTS → VERTICAL
========================================================= */

@media (max-width: 600px) {

    /*
       STATS
    */

    .stats-grid {

        display:
            flex !important;

        flex-direction:
            column !important;

        width:
            100% !important;

        gap:
            12px !important;
    }

    .stats-grid > * {

        width:
            100% !important;

        max-width:
            100% !important;

        flex:
            0 0 auto !important;
    }


    /*
       GRID 3
    */

    .grid-3 {

        display:
            flex !important;

        flex-direction:
            column !important;

        width:
            100% !important;

        gap:
            16px !important;
    }

    .grid-3 > * {

        width:
            100% !important;

        max-width:
            100% !important;

        flex:
            0 0 auto !important;
    }


    /*
       GRID 4
    */

    .grid-4 {

        display:
            flex !important;

        flex-direction:
            column !important;

        width:
            100% !important;

        gap:
            16px !important;
    }

    .grid-4 > * {

        width:
            100% !important;

        max-width:
            100% !important;

        flex:
            0 0 auto !important;
    }


    /*
       DASHBOARD STATS
    */

    .dashboard-stats {

        display:
            flex !important;

        flex-direction:
            column !important;

        width:
            100% !important;

        gap:
            12px !important;
    }

    .dashboard-stats > * {

        width:
            100% !important;

        max-width:
            100% !important;
    }


    /*
       SPLIT SECTIONS
    */

    .split {

        display:
            flex !important;

        flex-direction:
            column !important;

        align-items:
            stretch !important;

        width:
            100% !important;

        gap:
            24px !important;
    }

    .split > * {

        width:
            100% !important;

        max-width:
            100% !important;

        flex:
            0 0 auto !important;
    }


    /*
       HERO
    */

    .hero-grid,
    .home-hero-grid {

        display:
            flex !important;

        flex-direction:
            column !important;

        align-items:
            stretch !important;

        width:
            100% !important;

        gap:
            24px !important;
    }

    .hero-grid > *,
    .home-hero-grid > * {

        width:
            100% !important;

        max-width:
            100% !important;

        flex:
            0 0 auto !important;
    }


    /*
       LESSON
    */

    .lesson-layout {

        display:
            flex !important;

        flex-direction:
            column !important;

        width:
            100% !important;

        gap:
            20px !important;
    }

    .lesson-layout > * {

        width:
            100% !important;

        max-width:
            100% !important;

        flex:
            0 0 auto !important;
    }


    /*
       DASHBOARD
    */

    .dashboard-page,
    .dashboard-wrap {

        display:
            flex !important;

        flex-direction:
            column !important;

        width:
            100% !important;

        gap:
            20px !important;

        padding:
            20px 0 !important;
    }

    .dashboard-page > *,
    .dashboard-wrap > * {

        width:
            100% !important;

        max-width:
            100% !important;
    }


    /*
       SIDEBAR
    */

    .sidebar {

        position:
            static !important;

        width:
            100% !important;

        max-width:
            100% !important;
    }


    /*
       DASHBOARD TOP
    */

    .dashboard-top {

        display:
            flex !important;

        flex-direction:
            column !important;

        align-items:
            stretch !important;

        justify-content:
            flex-start !important;

        width:
            100% !important;

        gap:
            14px !important;
    }


    /*
       BUTTON GROUPS
    */

    .actions,
    .profile-actions {

        display:
            flex !important;

        flex-direction:
            column !important;

        align-items:
            stretch !important;

        width:
            100% !important;

        gap:
            10px !important;
    }

    .actions > *,
    .profile-actions > * {

        width:
            100% !important;

        max-width:
            100% !important;

        flex:
            0 0 auto !important;
    }


    /*
       COURSE META
    */

    .course-meta {

        display:
            flex !important;

        flex-direction:
            column !important;

        align-items:
            flex-start !important;

        width:
            100% !important;

        gap:
            7px !important;
    }

    .course-meta .pill {

        width:
            fit-content !important;
    }


    /*
       PROFILE
    */

    .profile-details {

        display:
            flex !important;

        flex-direction:
            column !important;

        width:
            100% !important;

        gap:
            14px !important;
    }


    /*
       FORMS
    */

    .form-card {

        width:
            100% !important;

        max-width:
            100% !important;
    }

    .field,
    .field input,
    .field textarea,
    .field select {

        width:
            100% !important;

        max-width:
            100% !important;
    }


    /*
       CARDS
    */

    .card,
    .stat,
    .stat-card,
    .course-card,
    .testimonial {

        width:
            100% !important;

        max-width:
            100% !important;

        min-width:
            0 !important;
    }


    /*
       IMAGES
    */

    .rounded-image,
    .hero-image,
    .course-card img,
    .course-image {

        width:
            100% !important;

        max-width:
            100% !important;
    }


    /*
       PROGRESS
    */

    .progress-head {

        display:
            flex !important;

        flex-direction:
            column !important;

        align-items:
            flex-start !important;

        gap:
            5px !important;
    }


    /*
       CTA
    */

    .cta {

        width:
            100% !important;

        max-width:
            100% !important;

        padding:
            30px 20px !important;
    }


    /*
       FOOTER
    */

    .footer-grid {

        display:
            flex !important;

        flex-direction:
            column !important;

        width:
            100% !important;

        gap:
            25px !important;
    }

    .footer-grid > * {

        width:
            100% !important;

        max-width:
            100% !important;
    }


    /*
       TEXT ALIGNMENT
    */

    .section-head,
    .page-hero {

        width:
            100% !important;
    }


    /*
       PREVENT OVERFLOW
    */

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    span,
    strong,
    small {

        overflow-wrap:
            anywhere;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .container {

        width:
            calc(
                100% - 20px
            );
    }

    .hero h1 {

        font-size:
            30px;
    }

    .hero h2 {

        font-size:
            20px;
    }

    .section {

        padding:
            42px 0;
    }

    .card {

        padding:
            18px;
    }

    .stat {

        padding:
            16px 12px;
    }

    .cta {

        padding:
            26px 18px;
    }

}
/* =========================================================
   FINAL MOBILE FORCE - RASOIPATHY
========================================================= */

@media (max-width: 767px) {

    /* =========================================
       1. FORCE ALL MAIN GRIDS TO ONE COLUMN
    ========================================= */

    .stats-grid,
    .grid-3,
    .grid-4,
    .dashboard-stats {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 16px !important;
    }

    .stats-grid > *,
    .grid-3 > *,
    .grid-4 > *,
    .dashboard-stats > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        grid-column: 1 / -1 !important;
    }


    /* =========================================
       2. FORCE SPLIT SECTIONS VERTICAL
    ========================================= */

    .split {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 24px !important;
    }

    .split > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }


    /* =========================================
       3. FORCE HERO VERTICAL
    ========================================= */

    .hero-grid,
    .home-hero-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 24px !important;
    }

    .hero-grid > *,
    .home-hero-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }


    /* =========================================
       4. FORCE DASHBOARD VERTICAL
    ========================================= */

    .dashboard-wrap,
    .dashboard-page {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 20px !important;
    }

    .dashboard-wrap > *,
    .dashboard-page > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* =========================================
       5. FORCE LESSON VERTICAL
    ========================================= */

    .lesson-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 20px !important;
    }

    .lesson-layout > * {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }


    /* =========================================
       6. FORCE FOOTER VERTICAL
    ========================================= */

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 24px !important;
    }

    .footer-grid > * {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* =========================================
       7. COURSE / TESTIMONIAL CARDS
    ========================================= */

    .course-card,
    .testimonial,
    .card,
    .stat,
    .stat-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* =========================================
       8. BUTTONS
    ========================================= */

    .actions,
    .profile-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .actions > *,
    .profile-actions > * {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* =========================================
       9. PROFILE
    ========================================= */

    .profile-details {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 14px !important;
    }


    /* =========================================
       10. PREVENT HORIZONTAL OVERFLOW
    ========================================= */

    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

}
/* =========================================================
   COURSE PRICE
========================================================= */

.course-price {
    margin: 16px 0 18px;

    color: var(--primary);

    font-size: 28px;

    font-weight: 900;

    line-height: 1.2;
}

@media (max-width: 600px) {

    .course-price {
        margin: 14px 0 16px;

        font-size: 24px;
    }

}

/* =========================================================
   RASOIPATHY CUSTOM OVERRIDES
   Dashboard + Blog
   ========================================================= */


/* =========================================================
   STUDENT DASHBOARD
========================================================= */

.rsk-dashboard {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
    box-sizing: border-box;
}

.rsk-dashboard *,
.rsk-dashboard *::before,
.rsk-dashboard *::after {
    box-sizing: border-box;
}

.rsk-sidebar {
    width: 100%;
    min-height: 700px;
    padding: 38px 26px;
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(255,255,255,.95) !important;
    border-radius: 32px !important;
    box-shadow: 0 18px 50px rgba(30,70,45,.10) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.rsk-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 12px;
    color: #08713e !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.rsk-brand-icon {
    font-size: 25px;
    line-height: 1;
}

.rsk-sidebar-label {
    margin: 48px 12px 24px;
    color: #68766c !important;
    font-size: 19px;
    font-weight: 400;
}

.rsk-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.rsk-sidebar-nav .rsk-nav-item {
    width: 100%;
    min-height: 62px;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center;
    gap: 15px;
    color: #304238 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 19px !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 500;
    transition: all .2s ease;
}

.rsk-sidebar-nav .rsk-nav-item:hover {
    color: #08713e !important;
    background: #eef8f1 !important;
}

.rsk-sidebar-nav .rsk-nav-item.active {
    color: #08713e !important;
    background: #e8f5ed !important;
    font-weight: 750;
}

.rsk-nav-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsk-nav-icon svg {
    width: 22px;
    height: 22px;
}

.rsk-nav-divider {
    width: calc(100% - 20px);
    height: 1px;
    margin: 20px 10px;
    background: rgba(30,70,45,.10);
}

.rsk-dashboard-main {
    width: 100%;
    min-width: 0;
    padding: 0;
}

.rsk-dashboard-header {
    width: 100%;
    min-height: 100px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.rsk-welcome h1 {
    margin: 0 !important;
    padding: 0 !important;
    color: #16241b !important;
    font-size: 42px !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    letter-spacing: -1px;
}

.rsk-welcome p {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    color: #68766c !important;
    font-size: 20px !important;
    line-height: 1.5;
}

.rsk-browse-button {
    min-height: 58px;
    padding: 0 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    color: #fff !important;
    background: #193c2e !important;
    border: 0 !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 750;
    box-shadow: 0 12px 30px rgba(25,60,46,.20);
    transition: all .2s ease;
}

.rsk-browse-button:hover {
    color: #fff !important;
    background: #0e3022 !important;
    transform: translateY(-2px);
}

.rsk-browse-button svg {
    width: 21px;
    height: 21px;
}

.rsk-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px;
    margin-bottom: 32px;
}

.rsk-stat-card {
    min-height: 170px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,.84) !important;
    border: 1px solid rgba(255,255,255,.95) !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 45px rgba(30,70,45,.09) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.rsk-stat-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08713e !important;
    background: #e9f6ee !important;
    border-radius: 50%;
}

.rsk-stat-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rsk-stat-content span {
    color: #34453b !important;
    font-size: 18px;
    line-height: 1.3;
}

.rsk-stat-content strong {
    order: -1;
    color: #08713e !important;
    font-size: 40px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
}

.rsk-material-section {
    width: 100%;
    padding: 40px;
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(255,255,255,.95) !important;
    border-radius: 32px !important;
    box-shadow: 0 18px 50px rgba(30,70,45,.09) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.rsk-section-header {
    margin: 0 0 28px;
}

.rsk-section-header h2 {
    margin: 0 !important;
    padding: 0 !important;
    color: #16241b !important;
    font-size: 31px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
}

.rsk-section-header p {
    margin: 10px 0 0 !important;
    padding: 0 !important;
    color: #68766c !important;
    font-size: 18px !important;
}

.rsk-material-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255,255,255,.60);
    border: 1px solid rgba(30,70,45,.08);
    border-radius: 22px;
}

.rsk-material-item {
    width: 100%;
    min-height: 105px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 60px minmax(0,1fr) 90px auto;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,.70);
    border: 0 !important;
    border-bottom: 1px solid rgba(30,70,45,.08) !important;
    border-radius: 0 !important;
}

.rsk-material-item:last-child {
    border-bottom: 0 !important;
}

.rsk-material-item:hover {
    background: rgba(247,251,248,.95);
}

.rsk-material-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #08713e;
    background: #eaf6ee;
}

.rsk-material-icon.rsk-type-pdf { color:#d93434; background:#fdf0f0; }
.rsk-material-icon.rsk-type-link { color:#4567c5; background:#eef1ff; }
.rsk-material-icon.rsk-type-video { color:#08713e; background:#e9f6ee; }
.rsk-material-icon.rsk-type-notes { color:#8b6510; background:#fff8df; }

.rsk-material-icon svg { width:29px; height:29px; }

.rsk-material-info { min-width:0; }

.rsk-material-info h3 {
    margin:0 !important;
    padding:0 !important;
    color:#18251d !important;
    font-size:19px !important;
    line-height:1.3 !important;
    font-weight:750 !important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.rsk-material-info p {
    margin:5px 0 0 !important;
    padding:0 !important;
    color:#758279 !important;
    font-size:14px !important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.rsk-material-type {
    color:#3e4c44 !important;
    font-size:16px;
    text-align:center;
}

.rsk-material-action {
    display:flex;
    justify-content:flex-end;
    align-items:center;
}

.rsk-material-button {
    min-height:48px;
    padding:0 20px;
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#08713e !important;
    background:#eef7f0 !important;
    border:1px solid #d2e7d8 !important;
    border-radius:14px !important;
    text-decoration:none !important;
    font-size:15px;
    font-weight:700;
    white-space:nowrap;
    transition:all .2s ease;
}

.rsk-material-button:hover {
    color:#08713e !important;
    background:#e0f1e5 !important;
    transform:translateY(-1px);
}

.rsk-material-button-primary {
    color:#fff !important;
    background:#08713e !important;
    border-color:#08713e !important;
}

.rsk-material-button-primary:hover {
    color:#fff !important;
    background:#075d34 !important;
    border-color:#075d34 !important;
}

.rsk-empty-materials {
    width:100%;
    padding:55px 25px;
    text-align:center;
    background:rgba(255,255,255,.60);
    border:1px dashed rgba(8,113,62,.18);
    border-radius:20px;
}

.rsk-empty-icon { font-size:42px; }

.rsk-empty-materials h3 {
    margin:12px 0 5px !important;
    color:#18251d !important;
    font-size:21px !important;
}

.rsk-empty-materials p { margin:0 !important; color:#718077 !important; }


/* =========================================================
   BLOG LIST
========================================================= */

.rsk-blog-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    align-items:stretch;
}

.rsk-blog-card {
    min-width:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    background:rgba(255,255,255,.78) !important;
    border:1px solid rgba(255,255,255,.90) !important;
    border-radius:28px !important;
    box-shadow:0 18px 45px rgba(30,70,45,.10);
    transition:transform .25s ease, box-shadow .25s ease;
}

.rsk-blog-card:hover {
    transform:translateY(-5px);
    box-shadow:0 25px 55px rgba(30,70,45,.15);
}

.rsk-blog-image-link {
    display:block;
    width:100%;
    overflow:hidden;
    text-decoration:none;
}

.rsk-blog-card-image {
    width:100%;
    aspect-ratio:16 / 10;
    height:auto;
    display:block;
    object-fit:cover;
    object-position:center;
    background:#eaf6ee;
    transition:transform .35s ease;
}

.rsk-blog-image-link:hover .rsk-blog-card-image {
    transform:scale(1.035);
}

.rsk-blog-card-image-empty {
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:60px;
    background:linear-gradient(135deg,#eaf6ee,#d8eadb);
}

.rsk-blog-card-content {
    flex:1;
    display:flex;
    flex-direction:column;
    padding:24px 25px 28px;
}

.rsk-blog-card-date {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:9px;
    color:var(--muted);
    font-size:14px;
    font-weight:600;
}

.rsk-blog-card-date span {
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    border-radius:999px;
    background:rgba(8,107,58,.08);
    color:var(--primary);
    font-size:12px;
    font-weight:700;
}

.rsk-blog-card-content h2 {
    margin:0 0 12px !important;
    padding:0 !important;
    color:var(--text) !important;
    font-size:25px !important;
    line-height:1.25 !important;
    font-weight:850 !important;
}

.rsk-blog-card-content h2 a {
    color:inherit !important;
    text-decoration:none !important;
}

.rsk-blog-card-content h2 a:hover {
    color:var(--primary) !important;
}

.rsk-blog-card-content p {
    margin:0 0 20px !important;
    color:var(--muted) !important;
    font-size:16px !important;
    line-height:1.75 !important;
}

.rsk-blog-read-more {
    width:fit-content;
    display:inline-flex;
    align-items:center;
    margin-top:auto;
    color:var(--text) !important;
    font-size:16px;
    font-weight:700;
    text-decoration:none !important;
    transition:color .2s ease, transform .2s ease;
}

.rsk-blog-read-more:hover {
    color:var(--primary) !important;
    transform:translateX(5px);
}

.rsk-blog-empty {
    max-width:700px;
    margin:0 auto;
    padding:60px 25px !important;
    text-align:center;
}

.rsk-blog-empty-icon { margin-bottom:10px; font-size:45px; }
.rsk-blog-empty h2 { margin:0 0 8px; font-size:28px; }
.rsk-blog-empty p { margin:0; color:var(--muted); }


/* =========================================================
   SINGLE BLOG
   IMAGE LEFT / CONTENT RIGHT
========================================================= */

.rsk-single-blog-section {
    padding-top:45px;
    padding-bottom:90px;
}

.rsk-single-blog-card {
    width:100%;
    max-width:1150px;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    overflow:hidden;
    background:rgba(255,255,255,.86);
    border:1px solid rgba(255,255,255,.95);
    border-radius:32px;
    box-shadow:0 25px 70px rgba(24,68,43,.12);
}

.rsk-single-blog-media {
    min-width:0;
    min-height:620px;
    background:#eaf6ee;
    overflow:hidden;
}

.rsk-single-blog-featured-image {
    width:100%;
    height:100%;
    min-height:620px;
    display:block;
    object-fit:cover;
    object-position:center;
}

.rsk-single-blog-no-image {
    width:100%;
    height:100%;
    min-height:620px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    color:var(--primary);
    background:linear-gradient(135deg,#eaf6ee,#d8eadb);
}

.rsk-single-blog-no-image span { font-size:75px; }
.rsk-single-blog-no-image small { color:var(--muted); font-size:14px; }

.rsk-single-blog-content {
    min-width:0;
    padding:38px 44px 50px;
    display:flex;
    flex-direction:column;
}

/* Back button is first inside right content */
.rsk-single-blog-back {
    margin-bottom:30px;
}

.rsk-single-blog-back a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:0 18px;
    border:1px solid rgba(8,107,58,.15);
    border-radius:999px;
    background:rgba(8,107,58,.06);
    color:var(--primary);
    text-decoration:none;
    font-size:15px;
    font-weight:750;
    transition:all .2s ease;
}

.rsk-single-blog-back a:hover {
    color:#fff;
    background:var(--primary);
    border-color:var(--primary);
    transform:translateX(-2px);
}

.rsk-single-blog-meta {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:15px;
}

.rsk-single-blog-date {
    color:var(--muted);
    font-size:14px;
    font-weight:650;
}

.rsk-single-blog-category {
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:4px 11px;
    border-radius:999px;
    background:rgba(8,107,58,.09);
    color:var(--primary);
    font-size:12px;
    font-weight:750;
}

.rsk-single-blog-title {
    margin:0 0 25px !important;
    padding:0 !important;
    color:var(--text) !important;
    font-size:clamp(32px,4vw,48px) !important;
    line-height:1.15 !important;
    font-weight:850 !important;
    letter-spacing:-.6px;
}

.rsk-single-blog-text {
    color:var(--muted);
    font-size:18px;
    line-height:1.9;
}

.rsk-single-blog-text p { margin:0 0 22px; }

.rsk-single-blog-text h2 {
    margin:35px 0 15px;
    color:var(--text);
    font-size:28px;
    line-height:1.3;
}

.rsk-single-blog-text h3 {
    margin:30px 0 12px;
    color:var(--text);
    font-size:23px;
}

.rsk-single-blog-text ul,
.rsk-single-blog-text ol {
    margin:20px 0;
    padding-left:25px;
}

.rsk-single-blog-text li { margin-bottom:8px; }

/* Do not render duplicate editor images */
.rsk-single-blog-text img {
    display:none !important;
}

.rsk-blog-not-found {
    max-width:700px;
    margin:0 auto;
    text-align:center;
}

.rsk-blog-not-found h2 { margin-top:0; }
.rsk-blog-not-found p { margin-bottom:25px; }


/* =========================================================
   RESPONSIVE OVERRIDES
========================================================= */

@media (max-width:1200px) {
    .rsk-dashboard {
        grid-template-columns:280px minmax(0,1fr);
        gap:24px;
    }
}

@media (max-width:1000px) {
    .rsk-dashboard {
        grid-template-columns:250px minmax(0,1fr);
        gap:22px;
        padding:22px;
    }

    .rsk-sidebar { padding:30px 18px; }
    .rsk-sidebar-brand { font-size:20px; }
    .rsk-sidebar-nav .rsk-nav-item { font-size:16px; padding:0 14px !important; }

    .rsk-dashboard-header { flex-direction:column; }
    .rsk-browse-button { align-self:flex-start; }

    .rsk-material-item {
        grid-template-columns:55px minmax(0,1fr) 70px auto;
        gap:12px;
        padding:15px;
    }

    .rsk-blog-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .rsk-single-blog-card {
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    }

    .rsk-single-blog-media,
    .rsk-single-blog-featured-image,
    .rsk-single-blog-no-image {
        min-height:520px;
    }

    .rsk-single-blog-content {
        padding:32px 30px 40px;
    }
}

@media (max-width:767px) {
    .rsk-dashboard {
        width:100%;
        padding:15px;
        grid-template-columns:1fr;
        gap:20px;
    }

    .rsk-sidebar {
        position:relative;
        top:auto;
        min-height:auto;
        padding:25px 20px;
        border-radius:25px !important;
    }

    .rsk-sidebar-label { margin-top:25px; }

    .rsk-sidebar-nav {
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:7px;
    }

    .rsk-nav-divider { display:none; }

    .rsk-dashboard-header {
        min-height:auto;
        margin-bottom:20px;
    }

    .rsk-welcome h1 { font-size:32px !important; }
    .rsk-welcome p { font-size:17px !important; }
    .rsk-browse-button { width:100%; }

    .rsk-stats {
        grid-template-columns:1fr;
        gap:15px;
    }

    .rsk-stat-card { min-height:130px; }
    .rsk-material-section { padding:25px 15px; border-radius:25px !important; }
    .rsk-section-header h2 { font-size:25px !important; }

    .rsk-material-item {
        grid-template-columns:52px minmax(0,1fr);
        gap:12px;
        padding:15px;
    }

    .rsk-material-icon { width:52px; height:52px; }
    .rsk-material-type { display:none; }
    .rsk-material-action {
        grid-column:1 / -1;
        justify-content:flex-start;
    }

    .rsk-material-button {
        min-height:44px;
        font-size:14px;
        padding:0 17px;
    }

    .rsk-blog-grid { grid-template-columns:1fr; gap:18px; }

    .rsk-blog-card { border-radius:24px; }
    .rsk-blog-card-content { padding:21px; }
    .rsk-blog-card-content h2 { font-size:22px !important; }

    .rsk-single-blog-section {
        padding-top:25px;
        padding-bottom:60px;
    }

    .rsk-single-blog-card {
        display:flex;
        flex-direction:column;
        border-radius:25px;
    }

    .rsk-single-blog-media {
        width:100%;
        min-height:auto;
    }

    .rsk-single-blog-featured-image {
        width:100%;
        height:300px;
        min-height:300px;
        object-fit:cover;
    }

    .rsk-single-blog-no-image {
        min-height:300px;
    }

    .rsk-single-blog-content {
        padding:25px 21px 35px;
    }

    .rsk-single-blog-back { margin-bottom:24px; }
    .rsk-single-blog-title { font-size:32px !important; }
    .rsk-single-blog-text { font-size:16px; line-height:1.75; }
}

@media (max-width:480px) {
    .rsk-dashboard { padding:10px; }
    .rsk-sidebar { padding:22px 15px; }
    .rsk-sidebar-nav { grid-template-columns:1fr; }
    .rsk-stat-card { padding:20px; }
    .rsk-stat-icon { width:58px; height:58px; min-width:58px; }
    .rsk-stat-content strong { font-size:34px !important; }
    .rsk-material-info h3 { font-size:17px !important; }
    .rsk-material-section { padding:22px 12px; }

    .rsk-blog-card-content { padding:18px; }
    .rsk-blog-card-content h2 { font-size:20px !important; }

    .rsk-single-blog-featured-image {
        height:230px;
        min-height:230px;
    }

    .rsk-single-blog-no-image { min-height:230px; }
    .rsk-single-blog-content { padding:22px 17px 30px; }
    .rsk-single-blog-title { font-size:28px !important; }
}

/* =========================================================
   RASOIPATHY BLOG - FINAL CLEAN OVERRIDE
   Single blog: image left, content right, back button top
========================================================= */

.rsk-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.rsk-blog-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255,255,255,.84) !important;
    border: 1px solid rgba(255,255,255,.92) !important;
    border-radius: 26px !important;
    box-shadow: 0 16px 40px rgba(30,70,45,.10);
}

.rsk-blog-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
}

.rsk-blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #eaf6ee;
    transition: transform .25s ease;
}

.rsk-blog-image-link:hover .rsk-blog-card-image {
    transform: scale(1.025);
}

.rsk-blog-card-image-empty {
    display: grid;
    place-items: center;
    font-size: 54px;
    background: linear-gradient(135deg,#eaf6ee,#d8eadb);
}

.rsk-blog-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 22px 23px 25px;
}

.rsk-blog-card-date {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.rsk-blog-card-date span {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(8,107,58,.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 750;
}

.rsk-blog-card-content h2 {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: var(--text) !important;
    font-size: 23px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
}

.rsk-blog-card-content h2 a {
    color: inherit !important;
    text-decoration: none !important;
}

.rsk-blog-card-content p {
    margin: 0 0 18px !important;
    color: var(--muted) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.rsk-blog-read-more {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: var(--primary) !important;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none !important;
}

/* =========================================================
   SINGLE BLOG
========================================================= */

.rsk-single-blog-page {
    width: 100%;
    padding: 36px 20px 70px;
}

.rsk-single-blog-container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.rsk-single-blog-card {
    width: 100%;
    height: min(680px, calc(100vh - 160px));
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    overflow: hidden;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 28px;
    box-shadow: 0 20px 55px rgba(24,68,43,.12);
}

.rsk-single-blog-media {
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    background: #eaf6ee;
}

.rsk-single-blog-featured-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    margin: 0 !important;
}

.rsk-single-blog-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 64px;
    background: linear-gradient(135deg,#eaf6ee,#d8eadb);
}

.rsk-single-blog-content {
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 30px 38px 36px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Back button is the first element in the right panel */
.rsk-single-blog-back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    margin: 0 0 24px;
    border: 1px solid rgba(8,107,58,.14);
    border-radius: 999px;
    background: #eef7f0;
    color: #08713e !important;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.rsk-single-blog-back:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
    transform: translateX(-2px);
}

.rsk-single-blog-title {
    margin: 0 0 22px !important;
    padding: 0 !important;
    color: var(--text) !important;
    font-size: clamp(30px, 3.2vw, 44px) !important;
    line-height: 1.16 !important;
    font-weight: 850 !important;
    letter-spacing: -.4px;
}

.rsk-single-blog-text {
    min-width: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.rsk-single-blog-text p {
    margin: 0 0 18px;
}

.rsk-single-blog-text h2 {
    margin: 28px 0 12px;
    color: var(--text);
    font-size: 26px;
    line-height: 1.3;
}

.rsk-single-blog-text h3 {
    margin: 24px 0 10px;
    color: var(--text);
    font-size: 21px;
}

.rsk-single-blog-text ul,
.rsk-single-blog-text ol {
    margin: 18px 0;
    padding-left: 24px;
}

/* Never show duplicate images from the editor content */
.rsk-single-blog-text img,
.rsk-single-blog-text figure {
    display: none !important;
}

.rsk-blog-not-found {
    min-height: 260px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    padding: 40px 24px;
    text-align: center;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 28px;
    box-shadow: 0 20px 55px rgba(24,68,43,.10);
}

.rsk-blog-not-found h1 {
    margin: 0 !important;
}

/* =========================================================
   BLOG RESPONSIVE
========================================================= */

@media (max-width: 1000px) {
    .rsk-blog-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .rsk-single-blog-card {
        grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    }

    .rsk-single-blog-content {
        padding: 26px 28px 32px;
    }
}

@media (max-width: 760px) {
    .rsk-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rsk-single-blog-page {
        padding: 24px 14px 55px;
    }

    .rsk-single-blog-card {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        border-radius: 24px;
    }

    .rsk-single-blog-media {
        width: 100%;
        height: min(58vw, 340px);
        min-height: 220px;
        flex: 0 0 auto;
    }

    .rsk-single-blog-featured-image,
    .rsk-single-blog-placeholder {
        height: 100% !important;
        min-height: 0 !important;
    }

    .rsk-single-blog-content {
        width: 100%;
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 24px 20px 32px;
    }

    .rsk-single-blog-back {
        margin-bottom: 20px;
    }

    .rsk-single-blog-title {
        font-size: 31px !important;
    }

    .rsk-single-blog-text {
        font-size: 16px;
        line-height: 1.75;
    }
}

@media (max-width: 480px) {
    .rsk-blog-card-content {
        padding: 18px;
    }

    .rsk-blog-card-content h2 {
        font-size: 21px !important;
    }

    .rsk-single-blog-media {
        height: 220px;
        min-height: 220px;
    }

    .rsk-single-blog-content {
        padding: 22px 17px 28px;
    }

    .rsk-single-blog-title {
        font-size: 28px !important;
    }
}

