/* NAVIN BLOG PREMIUM V1 */

.nvb-section,
.nvb-page {
    --nvb-navy: #082c4c;
    --nvb-green: #1c701b;
    --nvb-gold: #ffbf00;
    --nvb-muted: #617181;

    color: var(--nvb-navy);
    font-family: "DM Sans", Arial, sans-serif;
}

.nvb-section *,
.nvb-page * {
    box-sizing: border-box;
}

.nvb-section {
    padding: 66px 0 72px;
    background: linear-gradient(
        180deg,
        #fff,
        #f5f9f7
    );
}

.nvb-container {
    width: min(94%, 1720px);
    margin: 0 auto;
}

.nvb-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.nvb-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #26771f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.nvb-kicker > span {
    width: 34px;
    height: 3px;
    background: #ffbf00;
    border-radius: 5px;
}

.nvb-heading h2 {
    margin: 12px 0 10px;
    color: #082c4c;
    font-family: Georgia, serif;
    font-size: clamp(32px, 3.1vw, 54px);
    line-height: 1.15;
    letter-spacing: -1.4px;
}

.nvb-heading h2 em {
    color: #1c701b;
    font-style: normal;
}

.nvb-heading p {
    color: #617181;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.nvb-all {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 12px 20px;
    border: 1px solid #c7d9c5;
    border-radius: 50px;
    color: #1c701b !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.nvb-all span {
    font-size: 21px;
}

.nvb-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 22px;
}

.nvb-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6ece9;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px #082c4c0b;
    transition: transform .3s, box-shadow .3s;
}

.nvb-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.6;
    background: #e9f1ef;
}

.nvb-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.nvb-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#082c4c,#197a76);
    color: #fff;
    font-weight: 700;
}

.nvb-category {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 8px 13px;
    border-radius: 30px;
    background: #fff;
    color: #1c701b;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 3px 12px #0002;
}

.nvb-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px;
}

.nvb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #71808d;
    font-size: 11px;
}

.nvb-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nvb-meta svg {
    width: 15px;
    height: 15px;
    color: #1c701b;
}

.nvb-card h3 {
    margin: 15px 0 10px;
    font-size: clamp(18px,1.4vw,23px);
    line-height: 1.4;
    font-weight: 800;
}

.nvb-card h3 a {
    color: #082c4c;
    text-decoration: none;
}

.nvb-card p {
    margin: 0 0 20px;
    color: #617181;
    font-size: 14px;
    line-height: 1.75;
}

.nvb-read {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #edf0ee;
    color: #1c701b !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
}

.nvb-read span {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e9f3e7;
    font-size: 21px;
}

.nvb-more {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-height: 360px;
    padding: 32px;
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        #287b24,
        #0c4719
    );
    color: #fff;
}

.nvb-decoration {
    position: absolute;
    right: -50px;
    top: -20px;
    width: 230px;
    height: 260px;
    color: #fff;
    opacity: .10;
    z-index: -1;
}

.nvb-more-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
    border-radius: 17px;
    background: #ffffff20;
    color: #ffcf31;
}

.nvb-more-icon svg {
    width: 38px;
    height: 38px;
}

.nvb-more-label {
    color: #ffcf31;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nvb-more h3 {
    color: #fff;
    font-family: Georgia, serif;
    font-size: clamp(27px,2.2vw,38px);
    line-height: 1.2;
    margin: 13px 0;
}

.nvb-more p {
    color: #e3efdf;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 25px;
}

.nvb-more a {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    padding: 13px 19px;
    border-radius: 40px;
    background: #ffbf00;
    color: #082c4c !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.nvb-empty {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px;
    border-radius: 18px;
    background: #eaf2ef;
}

.nvb-empty h3 {
    font-family: Georgia, serif;
    font-size: clamp(26px,3vw,44px);
    margin: 18px 0;
}

.nvb-empty p {
    color: #617181;
    line-height: 1.8;
}

.nvb-empty a {
    color: #1c701b;
    font-weight: 700;
}

@media (hover:hover) {
    .nvb-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px #082c4c17;
    }

    .nvb-card:hover img {
        transform: scale(1.05);
    }
}

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

    .nvb-empty {
        grid-column: span 1;
    }
}

@media(max-width:600px) {
    .nvb-section {
        padding: 40px 0;
    }

    .nvb-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .nvb-heading h2 {
        font-size: 34px;
    }

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

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

    .nvb-more {
        min-height: 300px;
    }

    .nvb-empty {
        padding: 26px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .nvb-card,
    .nvb-image img {
        transition: none;
    }
}

/* BLOG INNER PAGES */

.nvb-page {
    margin: 0;
    background: #f7faf9;
}

.nvb-page-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 4%;
    background: #fff;
    border-bottom: 1px solid #e6ece9;
}

.nvb-page-nav img {
    width: 160px;
    max-height: 80px;
    object-fit: contain;
}

.nvb-page-nav a {
    color: #082c4c;
    text-decoration: none;
    font-weight: 700;
}

.nvb-page-hero {
    padding: 65px 5%;
    background: linear-gradient(120deg,#082c4c,#126761);
    color: #fff;
    text-align: center;
}

.nvb-page-hero h1 {
    font-family: Georgia,serif;
    font-size: clamp(34px,5vw,62px);
    margin: 0 0 15px;
}

.nvb-page-hero p {
    color: #e0f1ed;
    line-height: 1.8;
}

.nvb-list {
    padding: 50px 0;
}

.nvb-list .nvb-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.nvb-article {
    width: min(92%,900px);
    margin: 40px auto;
    padding: clamp(20px,4vw,48px);
    background: #fff;
    border-radius: 20px;
}

.nvb-article h1 {
    font-family: Georgia,serif;
    font-size: clamp(32px,4vw,52px);
    line-height: 1.2;
}

.nvb-article-cover {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin: 24px 0;
}

.nvb-article-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 17px;
    line-height: 1.9;
    color: #405567;
}

.nvb-page-footer {
    padding: 28px;
    background: #082c4c;
    color: #fff;
    text-align: center;
    font-size: 14px;
}

.nvb-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nvb-pagination a {
    padding: 12px 20px;
    border-radius: 30px;
    background: #1c701b;
    color: #fff;
    text-decoration: none;
}

@media(max-width:900px) {
    .nvb-list .nvb-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px) {
    .nvb-list .nvb-grid {
        grid-template-columns: 1fr;
    }

    .nvb-page-nav img {
        width: 125px;
    }
}
