/* =========================================
   CATEGORY FEATURED
========================================= */

.shs-category-featured{
    display:grid;
    grid-template-columns:55% 45%;
    grid-template-rows:1fr 1fr;
    gap:20px;
    margin-bottom:50px;
}


/* =========================================
   LATEST - 40%
========================================= */

.shs-category-featured-main{
    grid-column:1;
    grid-row:1 / 3;

    display:flex;
    flex-direction:column;

    background:#fff;
    border-radius:18px;
    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.shs-category-main-image{
    display:block;
    width:100%;
    height:285px;
    overflow:hidden;
}

.shs-category-main-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.shs-category-main-content{
    padding:22px;
}

.shs-category-label{
    display:inline-block;
    color:#F36F21;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
	margin-bottom: 5px;
    margin-right:8px;
}

.shs-category-date{
    color:#888;
    font-size:10px;
}

.shs-category-main-content h2{
    margin:12px 0;
    font-size:24px;
    line-height:1.25;
}

.shs-category-main-content h2 a{
    color:#111;
    text-decoration:none;
}

.shs-category-main-content p{
    margin:0 0 18px;
    color:#666;
    font-size:14px;
    line-height:1.2;
}


/* =========================================
   RIGHT 60%
========================================= */

.shs-category-featured-side{
    grid-column:2;
    display:grid;
    grid-template-columns:180px 1fr;
    gap:20px;
    align-items:stretch;
    padding:18px;

    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    box-sizing:border-box;
}

.shs-category-side-image{
    width:180px;
    height:100%;
    min-height:160px;
    display:block;
    overflow:hidden;
    border-radius:12px;
}

.shs-category-side-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.shs-category-side-content{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.shs-category-side-content h2{
    margin:8px 0 10px;
    font-size:15px;
    line-height:1.2;
}

.shs-category-side-content h2 a{
    color:#111;
    text-decoration:none;
}

.shs-category-side-content p{
    margin:0 0 12px;
    color:#666;
    font-size:14px;
    line-height:1.5;

    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}

/* =========================================
   READ MORE
========================================= */

.shs-category-read-more{
    color:#15357A;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
}

.shs-category-read-more:hover{
    text-decoration:underline;
}


/* =========================================
   REMAINING POSTS
========================================= */

.shs-category-list{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.shs-category-list-card{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:30px;

    padding:20px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.shs-category-list-image{
    width:280px;
    height:190px;
    display:block;
    overflow:hidden;
    border-radius:12px;
}

.shs-category-list-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =========================================
   LEARN Q&A PAGE
========================================= */

.shs-learn-page {
    width: 100%;
    padding: 40px 0 60px;
}

.shs-learn-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 30px;
    box-sizing: border-box;
}

/* =========================================
   LEARN HEADING
========================================= */

.shs-learn-heading {
    text-align: center;
    margin-bottom: 30px;
}

.shs-learn-heading h1 {
    margin: 0 0 8px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.shs-learn-heading p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

/* =========================================
   Q&A LIST
========================================= */

.shs-learn-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =========================================
   Q&A CARD
========================================= */

.shs-learn-card {
    width: 100%;
    box-sizing: border-box;
    background: #fff;

    /* IMPORTANT:
       No padding here because the question
       should touch the card edges */
    padding: 0;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

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

.shs-learn-card .shs-learn-question {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px 16px !important;

    /* BLACK HEADER */
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;

    /* WHITE TEXT */
    color: #66FF66 !important;

    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;

    border: none !important;
    border-radius: 0 !important;

    box-shadow: none !important;
    text-decoration: none !important;
}

/*
 * Some Zox News/theme heading styles
 * may add decorative pseudo elements.
 * Remove them from the Learn question.
 */

.shs-learn-card .shs-learn-question::before,
.shs-learn-card .shs-learn-question::after {
    content: none !important;
    display: none !important;
}

/* =========================================
   ANSWER AREA
========================================= */

.shs-learn-answer-wrapper {
    padding: 18px 30px 25px;
    box-sizing: border-box;
}

/* =========================================
   ANSWER
========================================= */

.shs-learn-answer {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;

    /*
     * Show maximum 2 lines
     */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* =========================================
   EXPANDED ANSWER
========================================= */

.shs-learn-answer.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* =========================================
   READ ANSWER BUTTON
========================================= */

.shs-learn-read-more {
    display: none;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.shs-learn-read-more:hover {
    text-decoration: underline;
}

/* =========================================
   NO RESULTS
========================================= */

.shs-learn-no-results {
    margin: 0;
    padding: 20px 0;
}


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

@media(max-width:992px){

    .shs-category-featured{
        grid-template-columns:1fr;
        grid-template-rows:auto;
    }

    .shs-category-featured-main{
        grid-column:1;
        grid-row:auto;
    }

    .shs-category-featured-side{
        grid-column:1;
    }
	
	.shs-learn-page {
        padding: 35px 0 50px;
    }

    .shs-learn-heading {
        margin-left: 20px;
        margin-right: 20px;
    }

    .shs-learn-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .shs-learn-card {
        margin-bottom: 0;
    }

    .shs-learn-card .shs-learn-question {
        font-size: 21px !important;
        padding: 12px 16px !important;
    }

    .shs-learn-answer-wrapper {
        padding: 17px 24px 23px;
    }

}


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

@media(max-width:768px){

    .shs-category-featured{
        display:flex;
        flex-direction:column;
    }

    .shs-category-main-image{
        height:260px;
    }

    .shs-category-featured-side{
        grid-template-columns:130px minmax(0,1fr);
        gap:15px;
    }

    .shs-category-side-image{
        width:130px;
        height:130px;
    }

    .shs-category-list-card{
        grid-template-columns:1fr;
    }

    .shs-category-list-image{
        width:100%;
        height:220px;
    }
	
	.shs-learn-page {
        padding: 30px 0 45px;
    }

    .shs-learn-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .shs-learn-heading {
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 25px;
    }

    .shs-learn-heading h1 {
        font-size: 30px;
    }

    .shs-learn-heading p {
        font-size: 14px;
    }

    .shs-learn-card {
        padding: 0;
        border-radius: 10px;
        overflow: hidden;
    }

    .shs-learn-card .shs-learn-question {
        font-size: 19px !important;
        line-height: 1.35 !important;
        padding: 11px 15px !important;
    }

    .shs-learn-answer-wrapper {
        padding: 15px 20px 20px;
    }

    .shs-learn-answer {
        font-size: 14px;
        line-height: 1.6;
    }

    .shs-learn-read-more {
        font-size: 14px;
    }
}

/* MOBILE */

@media (max-width: 576px) {

    .shs-learn-page {
        padding: 25px 0 40px;
    }

    .shs-learn-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .shs-learn-card {
        padding: 0;
        border-radius: 9px;
    }

    .shs-learn-card .shs-learn-question {
        font-size: 18px !important;
        padding: 10px 14px !important;
    }

    .shs-learn-answer-wrapper {
        padding: 14px 18px 18px;
    }

    .shs-learn-answer {
        font-size: 14px;
        line-height: 1.6;
    }
}