/* ==========================================================================
   Resources Page Styles (Figma Match)
   ========================================================================== */

.sk-resources-news {
    padding: 40px 0;
    width: 100%;
}

.sk-resources-news:first-of-type {
    padding-top: 60px;
}

.sk-resources-news:last-of-type {
    padding-bottom: 60px;
}

.sk-resources-news__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Header: Title and Description */
.sk-resources-news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.sk-resources-news__title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 58px;
    font-weight: 500;
    line-height: 1.1;
    color: #163C75;
    text-transform: uppercase;
    margin: 0;
    flex-shrink: 0;
}

.sk-resources-news__description {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: #000000;
    text-align: right;
    max-width: 450px;
    margin: 0;
}

/* Grid of Cards */
.sk-resources-news__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

/* Card Base */
.sk-news-card {
    box-sizing: border-box;
    border-radius: 10px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sk-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(22, 60, 117, 0.15);
}

.sk-news-card__title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Body box */
.sk-news-card__body {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 6px;
    padding: 10px;
    box-sizing: border-box;
}

.sk-news-card__excerpt {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sk-news-card__date {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 10px;
    font-style: italic;
    text-transform: uppercase;
    margin: 10px 0 0 0;
}

/* Card Button */
.sk-news-card__footer {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.sk-news-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sk-news-card__btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.sk-news-card:hover .sk-news-card__btn svg {
    transform: translateX(4px);
}

/* 1. Featured Card Style (Blue Gradient) */
.sk-news-card--featured {
    background: linear-gradient(180deg, #255EB3 0%, #163C75 100%);
    border: 1px solid #163C75;
}

.sk-news-card--featured .sk-news-card__title {
    color: #FFFFFF;
}

.sk-news-card--featured .sk-news-card__body {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(22, 60, 117, 0.2);
}

.sk-news-card--featured .sk-news-card__excerpt {
    color: #FFFFFF;
}

.sk-news-card--featured .sk-news-card__date {
    color: #FFFFFF;
    opacity: 0.8;
}

.sk-news-card--featured .sk-news-card__btn {
    background: #FFFFFF;
    color: #163C75;
}

.sk-news-card--featured .sk-news-card__btn:hover {
    background: #F0F5FC;
}

/* 2. Standard Card Style (White bg, blue border) */
.sk-news-card--standard {
    background: #FFFFFF;
    border: 1px solid #163C75;
}

.sk-news-card--standard .sk-news-card__title {
    color: #163C75;
}

.sk-news-card--standard .sk-news-card__body {
    background: transparent;
    border: 1px solid #163C75;
}

.sk-news-card--standard .sk-news-card__excerpt {
    color: #282828;
}

.sk-news-card--standard .sk-news-card__date {
    color: #282828;
    opacity: 0.8;
}

.sk-news-card--standard .sk-news-card__btn {
    background: #163C75;
    color: #FFFFFF;
}

.sk-news-card--standard .sk-news-card__btn:hover {
    background: #0F2C56;
}

/* Discover More Button Container */
.sk-resources-news__footer {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.sk-resources-news__discover-btn {
    background-color: #163C75;
    color: #FFFFFF;
    padding: 14px 40px;
    border-radius: 10px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.sk-resources-news__discover-btn:hover {
    background-color: #0F2C56;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1200px) {
    .sk-resources-news__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .sk-resources-news {
        padding: 20px 0;
    }

    .sk-resources-news:first-of-type {
        padding-top: 40px;
    }

    .sk-resources-news:last-of-type {
        padding-bottom: 40px;
    }

    .sk-resources-news__title {
        font-size: 36px;
    }

    .sk-resources-news__description {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .sk-resources-news__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sk-resources-news__description {
        text-align: left;
        max-width: 100%;
    }

    .sk-resources-news__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sk-news-card__title {
        line-clamp: unset;
        -webkit-line-clamp: unset;
    }



    /* Hide 3rd and 4th card on mobile as per requirement */
    .sk-resources-news__grid .sk-news-card:nth-child(n+4) {
        display: none;
    }

    .sk-resources-news__discover-btn {
        font-size: 20px;
        padding: 14px 30px;
        width: 100%;
        text-align: center;
    }
}

/* Pagination Styling */
.sk-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    width: 100%;
}

.sk-pagination a,
.sk-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    box-sizing: border-box;
    border: 1px solid #163C75;
    border-radius: 10px;
    color: #163C75;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sk-pagination a:hover {
    background-color: #163C75;
    color: #FFFFFF;
}

.sk-pagination span.current {
    background-color: #163C75;
    color: #FFFFFF;
    border-color: #163C75;
    cursor: default;
}

.sk-pagination .dots {
    border: none;
    cursor: default;
}

@media (max-width: 767px) {
    .sk-pagination {
        gap: 8px;
        margin-top: 30px;
    }
    
    .sk-pagination a,
    .sk-pagination span {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 8px;
    }
}

/* ==========================================================================
   Single Post Layout & Breadcrumbs
   ========================================================================== */

.sk-breadcrumbs {
    padding: 20px 0;
    width: 100%;
}

.sk-breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: 1.2;
}

.sk-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
}

.sk-breadcrumbs__link {
    color: #163C75;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sk-breadcrumbs__link:hover {
    color: #0f2c56;
    text-decoration: underline;
}

.sk-breadcrumbs__separator {
    color: #282828;
    opacity: 0.5;
}

.sk-breadcrumbs__item--current {
    color: #282828;
    font-weight: 600;
}

/* Single Post Content Wrapper */
.sk-single-post {
    padding-bottom: 60px;
    width: 100%;
}

.sk-single-post__layout {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 50px;
    align-items: start;
    width: 100%;
}

.sk-single-post__image {
    width: 100%;
}

.sk-single-post__image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.sk-single-post__info {
    width: 100%;
}

.sk-single-post__title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    color: #163C75;
    text-transform: uppercase;
    margin: 0 0 30px 0;
}

/* Styles for the standard blocks inside post content */
.sk-single-post__content {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #282828;
}

/* Subheadings style based on "PDF-presentations" */
.sk-single-post__content h1,
.sk-single-post__content h2,
.sk-single-post__content h3,
.sk-single-post__content h4,
.sk-single-post__content h5,
.sk-single-post__content h6 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
    color: #163C75;
    text-transform: uppercase;
    margin-top: 35px;
    margin-bottom: 20px;
}

.sk-single-post__content h1:first-child,
.sk-single-post__content h2:first-child,
.sk-single-post__content h3:first-child {
    margin-top: 0;
}

.sk-single-post__content p {
    margin-bottom: 20px;
}

.sk-single-post__content ul {
    list-style: disc;
    margin: 0 0 20px 25px;
    padding: 0;
}

.sk-single-post__content ol {
    list-style: decimal;
    margin: 0 0 20px 25px;
    padding: 0;
}

.sk-single-post__content li {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.sk-single-post__content a {
    color: #163C75;
    text-decoration: underline;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    transition: color 0.2s ease;
}

.sk-single-post__content a:hover {
    color: #0f2c56;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .sk-single-post__layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sk-single-post__title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .sk-breadcrumbs {
        padding: 15px 0;
    }
    
    .sk-breadcrumbs__list {
        font-size: 12px;
        gap: 6px;
    }
    
    .sk-single-post {
        padding-bottom: 40px;
    }
}