/* =========================================================
   WORLDISON INTERNATIONAL
   BLOG PAGE
   ========================================================= */

/* ---------------------------------------------------------
   PAGE HERO
--------------------------------------------------------- */

.blog-page-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #07111f;
}

.blog-page-hero-image {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 12, 24, .96) 0%,
            rgba(4, 12, 24, .82) 45%,
            rgba(4, 12, 24, .55) 100%
        ),
        url("../images/blog/featured-post.jpg") center/cover no-repeat;
}

.blog-page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(255, 255, 255, .08),
            transparent 35%
        );
}

.blog-page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.blog-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.blog-hero-copy {
    max-width: 760px;
    padding: 90px 0;
}

.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;

    color: #d7a84a;
}

.blog-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: #d7a84a;
}

.blog-hero-copy h1 {
    margin: 0 0 22px;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.04em;

    color: #fff;
}

.blog-hero-copy h1 span {
    display: block;
    color: #d7a84a;
}

.blog-hero-copy p {
    max-width: 650px;
    margin: 0;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(255, 255, 255, .78);
}


/* ---------------------------------------------------------
   FEATURED ARTICLE
--------------------------------------------------------- */

.blog-featured {
    position: relative;
    margin-top: -70px;
    z-index: 5;
    padding-bottom: 90px;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    overflow: hidden;

    background: #fff;
    border-radius: 4px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .12);
}

.blog-featured-image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform .6s ease;
}

.blog-featured-card:hover .blog-featured-image img {
    transform: scale(1.04);
}

.blog-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px;
}

.blog-featured-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;

    color: #b88927;
}

.blog-featured-content h2 {
    margin: 0 0 20px;

    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.025em;

    color: #101820;
}

.blog-featured-content h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-featured-content h2 a:hover {
    color: #b88927;
}

.blog-featured-content p {
    margin: 0 0 25px;

    font-size: 16px;
    line-height: 1.8;

    color: #68727d;
}

.blog-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;

    margin-bottom: 30px;
}

.blog-featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    color: #7a838c;
}

.blog-featured-meta i {
    width: 16px;
    height: 16px;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    width: fit-content;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;

    color: #101820;
    text-decoration: none;

    transition: color .25s ease, gap .25s ease;
}

.blog-read-link:hover {
    color: #b88927;
    gap: 13px;
}


/* ---------------------------------------------------------
   BLOG CONTENT
--------------------------------------------------------- */

.blog-content {
    padding: 20px 0 100px;
    background: #f7f8fa;
}

.blog-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 70px;
    align-items: start;
}


/* ---------------------------------------------------------
   SECTION HEADING
--------------------------------------------------------- */

.blog-section-heading {
    margin-bottom: 35px;
}

.blog-section-label {
    display: block;
    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;

    color: #b88927;
}

.blog-section-heading h2 {
    margin: 0 0 10px;

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;

    color: #101820;
}

.blog-section-heading p {
    margin: 0;

    font-size: 15px;
    color: #707983;
}


/* ---------------------------------------------------------
   ARTICLE LIST
--------------------------------------------------------- */

.blog-post-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-post-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);

    overflow: hidden;

    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 4px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .09);
}

.blog-post-image {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

.blog-post-image a,
.blog-post-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-post-image img {
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-category {
    position: absolute;
    top: 18px;
    left: 18px;

    padding: 7px 11px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;

    color: #fff;
    background: #101820;
}

.blog-post-body {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 32px;
}

.blog-post-date {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 12px;

    font-size: 12px;
    color: #9299a1;
}

.blog-post-date i {
    width: 15px;
    height: 15px;
}

.blog-post-body h3 {
    margin: 0 0 14px;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 750;

    color: #101820;
}

.blog-post-body h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-post-body h3 a:hover {
    color: #b88927;
}

.blog-post-body p {
    margin: 0 0 20px;

    font-size: 14px;
    line-height: 1.75;

    color: #69737e;
}

.blog-post-author {
    margin-bottom: 18px;

    font-size: 12px;
    color: #9299a1;
}

.blog-post-author strong {
    color: #3e4852;
}

.blog-post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: #101820;
    text-decoration: none;
}

.blog-post-link:hover {
    color: #b88927;
}


/* ---------------------------------------------------------
   EMPTY STATE
--------------------------------------------------------- */

.blog-empty {
    padding: 70px 30px;

    text-align: center;

    background: #fff;
    border: 1px solid #e8ebee;
}

.blog-empty-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #f1f3f5;
    color: #707983;
}

.blog-empty h3 {
    margin: 0 0 8px;

    font-size: 22px;
    color: #101820;
}

.blog-empty p {
    margin: 0;
    color: #78818a;
}


/* ---------------------------------------------------------
   SIDEBAR
--------------------------------------------------------- */

.blog-sidebar {
    position: sticky;
    top: 30px;
}

.blog-sidebar-card {
    margin-bottom: 30px;
    padding: 30px;

    background: #fff;
    border: 1px solid #e7eaed;
}

.blog-sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 18px;
    margin-bottom: 22px;

    border-bottom: 2px solid #101820;
}

.blog-sidebar-title h3 {
    margin: 0;

    font-size: 18px;
    font-weight: 800;

    color: #101820;
}

.blog-sidebar-title span {
    width: 30px;
    height: 2px;

    background: #b88927;
}


/* ---------------------------------------------------------
   TRENDING POSTS
--------------------------------------------------------- */

.blog-trending-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.blog-trending-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 15px;
}

.blog-trending-image {
    width: 88px;
    height: 72px;
    overflow: hidden;
}

.blog-trending-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform .4s ease;
}

.blog-trending-item:hover img {
    transform: scale(1.06);
}

.blog-trending-content h4 {
    margin: 0 0 7px;

    font-size: 14px;
    line-height: 1.45;
    font-weight: 750;
}

.blog-trending-content h4 a {
    color: #202a33;
    text-decoration: none;
}

.blog-trending-content h4 a:hover {
    color: #b88927;
}

.blog-trending-date {
    font-size: 11px;
    color: #9299a1;
}


/* ---------------------------------------------------------
   PAGINATION
--------------------------------------------------------- */

.blog-pagination {
    display: flex;
    justify-content: center;

    margin-top: 45px;
}

.blog-pagination-list {
    display: flex;
    align-items: center;
    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.blog-pagination-list a {
    min-width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 13px;

    border: 1px solid #dfe3e7;
    background: #fff;

    color: #303a44;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition: all .2s ease;
}

.blog-pagination-list a:hover,
.blog-pagination-list .active a {
    color: #fff;
    background: #101820;
    border-color: #101820;
}

.blog-pagination-list .disabled a {
    opacity: .4;
    pointer-events: none;
}


/* ---------------------------------------------------------
   INSTAGRAM / SOCIAL STRIP
--------------------------------------------------------- */

.blog-social-section {
    padding: 85px 0;
    background: #101820;
}

.blog-social-heading {
    text-align: center;
    margin-bottom: 35px;
}

.blog-social-heading .blog-section-label {
    color: #d7a84a;
}

.blog-social-heading h2 {
    margin: 0 0 12px;

    font-size: 34px;
    color: #fff;
}

.blog-social-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .65);
}

.blog-social-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 18px;

    font-size: 14px;
    font-weight: 700;

    color: #fff;
    text-decoration: none;
}

.blog-social-link:hover {
    color: #d7a84a;
}

.blog-social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.blog-social-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.blog-social-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform .5s ease;
}

.blog-social-item:hover img {
    transform: scale(1.07);
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 991px) {

    .blog-content-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-image {
        min-height: 350px;
    }

    .blog-social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 767px) {

    .blog-container {
        width: min(100% - 28px, 1180px);
    }

    .blog-page-hero {
        min-height: 400px;
    }

    .blog-hero-copy {
        padding: 70px 0;
    }

    .blog-hero-copy h1 {
        font-size: 42px;
    }

    .blog-hero-copy p {
        font-size: 16px;
    }

    .blog-featured {
        margin-top: -40px;
        padding-bottom: 60px;
    }

    .blog-featured-content {
        padding: 32px 25px;
    }

    .blog-featured-image {
        min-height: 260px;
    }

    .blog-post-card {
        grid-template-columns: 1fr;
    }

    .blog-post-image {
        min-height: 230px;
    }

    .blog-post-body {
        padding: 25px;
    }

    .blog-post-body h3 {
        font-size: 21px;
    }

    .blog-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-social-section {
        padding: 60px 0;
    }
}


@media (max-width: 480px) {

    .blog-page-hero {
        min-height: 370px;
    }

    .blog-hero-copy h1 {
        font-size: 36px;
    }

    .blog-featured-content h2 {
        font-size: 27px;
    }

    .blog-sidebar-card {
        padding: 22px;
    }

    .blog-pagination-list a {
        min-width: 38px;
        height: 38px;
        padding: 0 9px;
    }
}