/* =========================================================
   NAVGRAH — HOMEPAGE NEWS + FAQ
   Isolated from theme CSS
========================================================= */


/* =========================================================
   SECTION
========================================================= */

body.home .news-faq-section {
    position: relative;
    box-sizing: border-box;

    padding: 115px 0 135px;

    background: #f8f4ec;

    overflow: hidden;
}


/* =========================================================
   LAYOUT — NEWS EXISTS
========================================================= */

body.home .news-faq-section .news-faq-grid.has-news {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    column-gap: clamp(55px, 7vw, 105px);
    row-gap: 70px;

    align-items: start;
}


/* =========================================================
   LAYOUT — NO NEWS
========================================================= */

body.home .news-faq-section .news-faq-grid.no-news {
    display: grid;

    grid-template-columns: minmax(0, 1fr);

    width: 100%;

    align-items: start;
}

body.home .news-faq-section
.news-faq-grid.no-news
.faq-column {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   COLUMNS
========================================================= */

body.home .news-faq-section .latest-news-column,
body.home .news-faq-section .faq-column {
    min-width: 0;
}


/* =========================================================
   EYEBROW
========================================================= */

body.home .news-faq-section .eyebrow {
    margin: 0 0 14px;

    color: #d89418;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 2px;

    line-height: 1.2;

    text-transform: uppercase;
}


/* =========================================================
   HEADINGS
========================================================= */

body.home .news-faq-section
.latest-news-column h2,

body.home .news-faq-section
.faq-column h2 {
    margin: 0 0 42px;

    color: #34213f;

    font-size: clamp(42px, 4vw, 64px);

    font-weight: 500;

    line-height: 0.98;

    letter-spacing: -0.045em;

    text-transform: uppercase;
}


/* =========================================================
   LATEST NEWS
========================================================= */

body.home .news-faq-section .latest-news-list {
    display: grid;

    gap: 0;
}


body.home .news-faq-section .latest-news-item {
    display: grid;

    grid-template-columns:
        135px
        minmax(0, 1fr);

    gap: 25px;

    padding: 0 0 25px;

    margin: 0 0 25px;

    border-bottom: 1px solid #d89418;
}


body.home .news-faq-section .latest-news-item:last-child {
    margin-bottom: 0;
}


/* =========================================================
   NEWS IMAGE
========================================================= */

body.home .news-faq-section .latest-news-image {
    display: block;

    width: 135px;
    height: 110px;

    overflow: hidden;

    background: #e9e6df;
}


body.home .news-faq-section .latest-news-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}


body.home .news-faq-section
.latest-news-item:hover
.latest-news-image img {
    transform: scale(1.045);
}


/* =========================================================
   NEWS CONTENT
========================================================= */

body.home .news-faq-section .latest-news-content {
    min-width: 0;
}


body.home .news-faq-section .latest-news-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin: 2px 0 10px;

    color: #d89418;

    font-size: 10px;

    font-weight: 600;

    line-height: 1.3;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


body.home .news-faq-section .latest-news-content h3 {
    margin: 0 0 17px;

    font-size: 21px;

    font-weight: 600;

    line-height: 1.3;

    text-transform: uppercase;
}


body.home .news-faq-section
.latest-news-content h3 a {
    color: #24102f;

    opacity: 0.9;

    text-decoration: none;

    transition:
        opacity 0.25s ease,
        color 0.25s ease;
}


body.home .news-faq-section
.latest-news-content h3 a:hover {
    color: #d89418;

    opacity: 1;
}


/* =========================================================
   NEWS FOOTER
========================================================= */

body.home .news-faq-section .latest-news-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    color: #6a5a6c;

    font-size: 11px;

    line-height: 1.3;
}


body.home .news-faq-section .latest-news-footer a {
    color: #24102f;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.25s ease;
}


body.home .news-faq-section .latest-news-footer a:hover {
    color: #d89418;
}


/* =========================================================
   FAQ LIST
========================================================= */

body.home .news-faq-section .faq-list {
    width: 100%;

    border-top: 1px solid #d89418;
}


/* =========================================================
   FAQ DETAILS
========================================================= */

body.home .news-faq-section .faq-list details {
    margin: 0;

    padding: 0;

    border-bottom: 1px solid #d89418;
}


/* =========================================================
   FAQ QUESTION
========================================================= */

body.home .news-faq-section
.faq-list details > summary {
    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    box-sizing: border-box;

    padding: 22px 48px 22px 0;

    color: #d89418;

    font-family: inherit;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.4;

    text-transform: uppercase;

    cursor: pointer;

    list-style: none;

    transition:
        color 0.25s ease;
}


/* =========================================================
   REMOVE DEFAULT BROWSER ARROW
========================================================= */

body.home .news-faq-section
.faq-list details > summary::-webkit-details-marker {
    display: none;
}

body.home .news-faq-section
.faq-list details > summary::marker {
    display: none;
}


/* =========================================================
   FAQ + ICON
========================================================= */

body.home .news-faq-section
.faq-list details > summary::after {
    content: "+";

    position: absolute;

    top: 50%;
    right: 0;

    width: 24px;
    height: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    border: 1px solid #d89418;

    border-radius: 50%;

    color: #d89418;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    font-weight: 400;

    line-height: 1;

    transform: translateY(-50%);

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}


/* =========================================================
   FAQ HOVER
========================================================= */

body.home .news-faq-section
.faq-list details > summary:hover {
    color: #d89418;
}


/* =========================================================
   FAQ OPEN STATE
========================================================= */

body.home .news-faq-section
.faq-list details[open] > summary {
    color: #d89418;
}


body.home .news-faq-section
.faq-list details[open] > summary::after {
    background: #d89418;

    border-color: #d89418;

    color: #ffffff;

    transform:
        translateY(-50%)
        rotate(45deg);
}


/* =========================================================
   FAQ ANSWERS
========================================================= */

body.home .news-faq-section
.faq-list details > :not(summary) {
    box-sizing: border-box;
}


/* Paragraphs */

body.home .news-faq-section
.faq-list details > p {
    max-width: 92%;

    margin: 0;

    padding: 0 48px 25px 0;

    color: #24102f;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.75;
}


/* Lists */

body.home .news-faq-section
.faq-list details > ul,

body.home .news-faq-section
.faq-list details > ol {
    max-width: 92%;

    margin: 0;

    padding: 0 48px 25px 20px;

    color: #24102f;

    font-size: 16px;

    line-height: 1.75;
}


/* Headings inside answers */

body.home .news-faq-section
.faq-list details > h3,

body.home .news-faq-section
.faq-list details > h4,

body.home .news-faq-section
.faq-list details > h5 {
    max-width: 92%;

    margin: 0 0 12px;

    color: #24102f;

    font-weight: 600;
}


/* Links inside answers */

body.home .news-faq-section
.faq-list details > p a,

body.home .news-faq-section
.faq-list details > ul a,

body.home .news-faq-section
.faq-list details > ol a {
    color: #24102f;

    font-weight: 600;

    text-decoration: underline;

    text-decoration-color: #d89418;

    text-underline-offset: 3px;

    transition: color 0.25s ease;
}


body.home .news-faq-section
.faq-list details > p a:hover,

body.home .news-faq-section
.faq-list details > ul a:hover,

body.home .news-faq-section
.faq-list details > ol a:hover {
    color: #d89418;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    body.home .news-faq-section {
        padding: 100px 0 115px;
    }

    body.home .news-faq-section
    .news-faq-grid.has-news {
        column-gap: 45px;
    }

    body.home .news-faq-section
    .latest-news-column h2,

    body.home .news-faq-section
    .faq-column h2 {
        font-size: clamp(38px, 5vw, 54px);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    body.home .news-faq-section {
        padding: 80px 0 95px;
    }

    body.home .news-faq-section
    .news-faq-grid.has-news,

    body.home .news-faq-section
    .news-faq-grid.no-news {
        display: flex;

        flex-direction: column;

        gap: 75px;
    }

    body.home .news-faq-section
    .news-faq-grid.no-news
    .faq-column {
        max-width: none;
    }

    body.home .news-faq-section
    .latest-news-column,

    body.home .news-faq-section
    .faq-column {
        width: 100%;
    }

    body.home .news-faq-section
    .latest-news-column h2,

    body.home .news-faq-section
    .faq-column h2 {
        margin-bottom: 32px;

        font-size: clamp(36px, 10vw, 48px);
    }

    body.home .news-faq-section
    .latest-news-item {
        grid-template-columns:
            105px
            minmax(0, 1fr);

        gap: 18px;

        padding-bottom: 20px;

        margin-bottom: 20px;
    }

    body.home .news-faq-section
    .latest-news-image {
        width: 105px;
        height: 90px;
    }

    body.home .news-faq-section
    .latest-news-meta {
        display: block;

        margin-bottom: 8px;
    }

    body.home .news-faq-section
    .latest-news-meta span {
        display: inline-block;

        margin-right: 10px;
    }

    body.home .news-faq-section
    .latest-news-content h3 {
        font-size: 17px;

        margin-bottom: 14px;
    }

    body.home .news-faq-section
    .latest-news-footer {
        font-size: 10px;
    }

    body.home .news-faq-section
    .faq-list details > summary {
        padding: 20px 42px 20px 0;

        font-size: 15px;
    }

    body.home .news-faq-section
    .faq-list details > summary::after {
        width: 23px;
        height: 23px;

        font-size: 15px;
    }

    body.home .news-faq-section
    .faq-list details > p,

    body.home .news-faq-section
    .faq-list details > ul,

    body.home .news-faq-section
    .faq-list details > ol {
        max-width: 94%;

        font-size: 14px;

        line-height: 1.7;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    body.home .news-faq-section {
        padding: 70px 0 85px;
    }

    body.home .news-faq-section
    .news-faq-grid.has-news,

    body.home .news-faq-section
    .news-faq-grid.no-news {
        gap: 60px;
    }

    body.home .news-faq-section
    .latest-news-item {
        grid-template-columns:
            90px
            minmax(0, 1fr);

        gap: 15px;
    }

    body.home .news-faq-section
    .latest-news-image {
        width: 90px;
        height: 80px;
    }

    body.home .news-faq-section
    .latest-news-content h3 {
        font-size: 15px;
    }

    body.home .news-faq-section
    .faq-list details > summary {
        font-size: 14px;
    }

    body.home .news-faq-section
    .faq-list details > summary::after {
        width: 22px;
        height: 22px;

        font-size: 14px;
    }

}

/* =========================================================
   NAVGRAH — NEWS + FAQ VISUAL BALANCE
========================================================= */


/* ---------------------------------------------------------
   NEWS — GIVE EACH ITEM A LITTLE MORE PRESENCE
--------------------------------------------------------- */

body.home .news-faq-section
.latest-news-item {
    min-height: 135px;
    box-sizing: border-box;
}

body.home .news-faq-section
.latest-news-image {
    width: 135px;
    height: 120px;
}


/* ---------------------------------------------------------
   FAQ — MORE GENEROUS QUESTION ROWS
--------------------------------------------------------- */

body.home .news-faq-section
.faq-list details > summary {
    min-height: 96px;

    padding-top: 28px;
    padding-bottom: 28px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   FAQ — ANSWERS
--------------------------------------------------------- */

body.home .news-faq-section
.faq-list details > p {
    padding-bottom: 28px;

    color: #24102f;

    font-size: 16px;

    line-height: 1.75;
}


/* ---------------------------------------------------------
   FAQ — KEEP ICON CENTERED
--------------------------------------------------------- */

body.home .news-faq-section
.faq-list details > summary::after {
    top: 50%;
}


/* ---------------------------------------------------------
   MOBILE — DON'T CARRY DESKTOP HEIGHTS
--------------------------------------------------------- */

@media (max-width: 767px) {

    body.home .news-faq-section
    .latest-news-item {
        min-height: 0;
    }

    body.home .news-faq-section
    .latest-news-image {
        width: 105px;
        height: 90px;
    }

    body.home .news-faq-section
    .faq-list details > summary {
        min-height: 0;

        padding-top: 20px;
        padding-bottom: 20px;
    }

}

@media (max-width: 480px) {

    body.home .news-faq-section
    .latest-news-image {
        width: 90px;
        height: 80px;
    }

}

/* =========================================================
   NAVGRAH — MOBILE FAQ SIDE SPACING
========================================================= */

@media (max-width: 767px) {

    body.home .news-faq-section .news-faq-grid {
        padding-left: 18px;
        padding-right: 18px;
        box-sizing: border-box;
    }

}

/* =========================================================
   NAVGRAH — FEEDBACK POPUP SCREEN STATES
========================================================= */

/* Hide the original form heading/brand on the offer screen */

.navgrah-feedback-popup > .navgrah-feedback-brand,
.navgrah-feedback-popup > .navgrah-feedback-title {
    display: none;
}


/* Restore them when the feedback form is active */

.navgrah-feedback-popup.show-feedback-form
> .navgrah-feedback-brand,
.navgrah-feedback-popup.show-feedback-form
> .navgrah-feedback-title {
    display: block;
}


/* Keep the form title compact when shown */

.navgrah-feedback-popup.show-feedback-form
> .navgrah-feedback-title {
    margin-top: 0;
}