/* ==========================================================
   MERITZA CLASSES
   SUBJECTS
   Version : 1.0.0

   Layout:
   Header       = 100%
   Illustration = 40%
   Subjects     = 60%

   Visual:
   Premium editorial
   Subject constellation/list
   Navy + Blue + Gold
   No traditional cards
========================================================== */


/* ==========================================================
   SECTION
========================================================== */

.mc-subjects{

    position:relative;

    padding:0;

    overflow:hidden;
}

/* ==========================================================
   SECTION HEADER
========================================================== */

.mc-subjects-header{

    position:relative;

    max-width:850px;

    margin:0 auto 8px;

    text-align:center;

    z-index:5;

}


/* ==========================================================
   EDITORIAL EYEBROW
   Same style as Why Meritza
========================================================== */

.mc-subjects-eyebrow{

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    max-width:720px;

    margin:0 auto 10px;

    gap:18px;

}


.mc-subjects-eyebrow-text{

    flex-shrink:0;

    color:#B98C14;

    font-size:.84rem;

    font-weight:800;

    letter-spacing:.17em;

    line-height:1;

    white-space:nowrap;

}


.mc-subjects-eyebrow-line{

    flex:1;

    height:2px;

}


/* LEFT GOLD LINE */

.mc-subjects-eyebrow-line:first-child{

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(212,175,55,.20) 15%,
            rgba(212,175,55,.55) 55%,
            rgba(212,175,55,.95) 100%
        );

}


/* RIGHT GOLD LINE */

.mc-subjects-eyebrow-line:last-child{

    background:
        linear-gradient(
            90deg,
            rgba(212,175,55,.95) 0%,
            rgba(212,175,55,.55) 45%,
            rgba(212,175,55,.20) 85%,
            transparent 100%
        );

}


/* ==========================================================
   TITLE
========================================================== */

.mc-subjects-header .mc-section-title{

    margin:0;

    color:#0A1946;

    font-size:2.25rem;

    font-weight:800;

    line-height:1.12;

    letter-spacing:-.7px;

}


/* ==========================================================
   DESCRIPTION
========================================================== */

.mc-subjects-header .mc-section-description{

    max-width:650px;

    margin:5px auto 0;

    color:#52627A;

    font-size:.92rem;

    line-height:1.4;

}


/* ==========================================================
   MAIN LAYOUT
========================================================== */
.mc-subjects-layout{
    display:grid;

    grid-template-columns:40% 60%;

    align-items:start;

    min-height:auto;
}


/* ==========================================================
   LEFT 40%
   VISUAL
========================================================== */

.mc-subjects-visual{
    position:relative;

    min-height:0;

    display:flex;

    align-items:flex-start;

    justify-content:center;

    overflow:visible;

}


/* ==========================================================
   VISUAL GLOW
========================================================== */

.mc-subjects-visual-glow{

    position:absolute;

    width:390px;

    height:390px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(54,103,170,.07) 0%,
            rgba(212,175,55,.045) 40%,
            transparent 72%
        );

    pointer-events:none;

}


/* ==========================================================
   ILLUSTRATION WRAPPER
========================================================== */

.mc-subjects-illustration-wrap{

    position:relative;

    width:100%;

    max-width:410px;

    height:360px;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:2;

}


/* ==========================================================
   ILLUSTRATION
========================================================== */

.mc-subjects-illustration{

    display:block;

    width:100%;

    max-width:410px;

    height:100%;

    object-fit:contain;

    filter:
        drop-shadow(
            0 18px 35px rgba(10,25,70,.10)
        );

}


/* ==========================================================
   RIGHT 60%
   SUBJECT CONTENT
========================================================== */

.mc-subjects-content{
    width:100%;

    max-width:780px;

    padding-left:16px;
    padding-right:8px;

    padding-top:24px;
}



/* ==========================================================
   SUBJECT LIST
========================================================== */

.mc-subjects-list{

    position:relative;

    display:grid;

    grid-template-columns:1fr 1fr;

    column-gap:28px;

    row-gap:4px;

}


/* ==========================================================
   SUBJECT ITEM
========================================================== */

.mc-subject-item{
    position:relative;
    display:grid;
    grid-template-columns:48px 1fr 24px;
    align-items:center;
    min-height:78px;
    padding:8px 0;
    border-bottom:1px solid rgba(10,25,70,.10);

    text-decoration:none;
    color:inherit;

    transition:
        transform .25s ease,
        border-color .25s ease;
}


/* ==========================================================
   SUBJECT ICON
========================================================== */

.mc-subject-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:42px;

    height:42px;

    border-radius:50%;

    background:#FFFFFF;

    border:2px solid #2867C7;

    color:#2867C7;

    box-shadow:
        0 5px 14px rgba(10,25,70,.07);

    transition:
        transform .25s ease,
        border-color .25s ease,
        color .25s ease,
        box-shadow .25s ease;

}


.mc-subject-icon i{

    font-size:1rem;

    line-height:1;

}


/* ==========================================================
   SUBJECT INFORMATION
========================================================== */

.mc-subject-info{

    padding-left:11px;

}


.mc-subject-info h3{

        margin:0;
    color:#0A1946;
    font-size:.98rem;
    font-weight:800;
    line-height:1.2;

}


.mc-subject-info p{

      max-width:300px;
    margin:3px 0 0;
    color:#607089;
    font-size:.72rem;
    line-height:1.38;
}


/* ==========================================================
   ARROW
========================================================== */

.mc-subject-arrow{
    display:flex;
    align-items:center;
    justify-content:center;

    width:24px;
    height:24px;

    color:#2867C7;

    font-size:1rem;
    font-weight:400;

    transition:
        transform .25s ease,
        color .25s ease;
}
/* ==========================================================
   HOVER
========================================================== */

.mc-subject-item:hover{

    transform:translateX(3px);

    border-color:rgba(212,175,55,.40);

}


.mc-subject-item:hover
.mc-subject-icon{

    background:#FFFFFF;

    border-color:#D4AF37;

    color:#2867C7;

    transform:translateY(-2px);

    box-shadow:
        0 8px 18px rgba(212,175,55,.15);

}

/* ==========================================================
   EXPLORE MORE SUBJECTS
========================================================== */

.mc-subject-explore{

    display:flex;

    align-items:center;

    justify-content:center;

    align-self:stretch;

    min-height:78px;

    gap:8px;

    color:#2867C7;

    font-size:.82rem;

    font-weight:700;

    font-style:italic;

    text-decoration:none;

    transition:
        color .25s ease,
        transform .25s ease;

}


.mc-subject-explore-arrow{

    color:#2867C7;

    font-size:1rem;

    font-weight:400;

    font-style:normal;

    line-height:1;

    transition:transform .25s ease;

}


.mc-subject-explore:hover{

    color:#0A1946;

}


.mc-subject-explore:hover
.mc-subject-explore-arrow{

    color:#2867C7;

    transform:translateX(4px);

}
/* ==========================================================
   TABLET
========================================================== */

@media (max-width:991.98px){

    .mc-subjects{

        padding:0;

    }


    .mc-subjects-layout{

        grid-template-columns:40% 60%;

        min-height:450px;

    }


    .mc-subjects-visual{

        min-height:450px;

    }


    .mc-subjects-illustration-wrap{

        height:370px;

    }


    .mc-subjects-visual-glow{

        width:330px;

        height:330px;

    }


    .mc-subjects-content{

        padding-left:8px;

    }


    .mc-subjects-list{

        column-gap:18px;

    }


    .mc-subject-item{

        grid-template-columns:42px 1fr 20px;

        min-height:72px;

    }


    .mc-subject-icon{

        width:38px;

        height:38px;

    }


    .mc-subject-icon i{

        font-size:.9rem;

    }


    .mc-subject-info{

        padding-left:8px;

    }


    .mc-subject-info h3{

        font-size:.82rem;

    }


    .mc-subject-info p{

        font-size:.62rem;

    }


    .mc-subject-arrow{

        font-size:.65rem;

    }

}


/* ==========================================================
   MOBILE
   Temporary desktop-derived structure.
   Dedicated mobile pass later.
========================================================== */

@media (max-width:767.98px){

    .mc-subjects{

        padding:0;

    }

    .mc-subjects-header{

        margin-bottom:25px;

    }


    .mc-subjects-eyebrow{

        gap:10px;

    }


    .mc-subjects-eyebrow-text{

        font-size:.64rem;

        letter-spacing:.12em;

    }


    .mc-subjects-eyebrow-line{

        height:1px;

    }


    .mc-subjects-header .mc-section-title{

        font-size:1.8rem;

    }


    .mc-subjects-header .mc-section-description{

        font-size:.84rem;

    }


    .mc-subjects-layout{

        display:flex;

        flex-direction:column;

        min-height:auto;

    }


    /* ------------------------------------------
       Illustration
    ------------------------------------------ */

    .mc-subjects-visual{

        width:100%;

        min-height:300px;

        order:1;

        margin-bottom:20px;

    }


    .mc-subjects-illustration-wrap{

        width:100%;

        max-width:300px;

        height:300px;

    }


    .mc-subjects-visual-glow{

        width:280px;

        height:280px;

    }


    /* ------------------------------------------
       Subject Content
    ------------------------------------------ */

    .mc-subjects-content{

        width:100%;

        max-width:none;

        padding:0;

        order:2;

    }


    .mc-subjects-list{

        grid-template-columns:1fr;

        column-gap:0;

        row-gap:0;

    }


    .mc-subject-item{

        grid-template-columns:48px 1fr 24px;

        min-height:72px;

    }


    .mc-subject-icon{

        width:42px;

        height:42px;

    }


    .mc-subject-info{

        padding-left:10px;

    }


    .mc-subject-info h3{

        font-size:.9rem;

    }


    .mc-subject-info p{

        font-size:.7rem;

    }


    .mc-subjects-footer{

        margin-top:14px;

        font-size:.7rem;

    }
}