/* Color Variables */
:root {
    --primary: #0086C9;
    --primary-light: #2E90FA;
    --black: #000000;
    --white: #FFFFFF;
    --gray-600: #475467;
    --gray-700: #344054;
    --text-secondary: #4A4D4F;
    --text-dark: #191A1A;
    --title-dark: #1B2124;
    --title-color: #161925;
}

/*  MAIN LAYOUT */

.news-main {
    padding-top: 100px;
    background-color: var(--white);
}

.news-grid {
    display: flex;
    gap: 42px;
    align-items: flex-start;
}

.container {
    padding: 0 112px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* Article Section */
.article {
    flex: 0 0 800px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}


/* BREADCRUMB */

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    width: 320px;
}

.breadcrumb-link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--gray-600);
    text-decoration: none;
    letter-spacing: 0.16px;
    transition: color 0.3s ease;
}

.breadcrumb-link:not(.active) {
    color: #000;
}

.breadcrumb-link.active {
    color: var(--primary-light);
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb>span {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.breadcrumb-section .breadcrumb {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.breadcrumb-section .breadcrumb-item {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-weight: 400 !important;
}

.breadcrumb-section .breadcrumb-item a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif !important;
    font-weight: 400 !important;
    color: #000 !important;
}

.breadcrumb-section .breadcrumb-item a.active {
    color: var(--primary-light) !important;
}

/*  ARTICLE HEADER */

.article-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.article-title {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 38px;
    font-weight: normal;
    line-height: 45.6px;
    color: var(--black);
    margin: 0;
    padding-bottom: 18px;
}

/*ARTICLE TEXT */

.article-description {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: var(--text-dark);
    margin: 0;
}

.article-body {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: var(--text-secondary);
    margin: 0;
    text-align: justify;
}


/* ============================================
   IMAGES & FIGURES
   ============================================ */

.image-section {
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 799px;
}

.article-figure {
    margin: 0;
    padding: 0;
}

.article-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    padding-bottom: 14px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.image-caption {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 14px;
    font-weight: italic;
    line-height: 20px;
    color: var(--black);
    text-align: center;
    margin: 0;
    font-style: italic;
}


/* ============================================
   ARTICLE CONCLUSION & SHARE
   ============================================ */

.article-conclusion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-conclusion p {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: var(--text-secondary);
    margin: 0;
    text-align: justify;
}

.share-section {
    display: flex;
    gap: 24px;
    align-items: center;
    width: 800px;
    margin-top: 32px;
}

.share-label {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    color: var(--black);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.social-icon:hover {
    opacity: 0.8;
}

.facebook-icon {
    background-color: #1877F2;
}

.twitter-icon {
    background-color: #000000;
}

.linkedin-icon {
    background-color: #0A66C2;
}

.copy-icon {
    background-color: var(--gray-600);
}


/* ============================================
   SIDEBAR & RELATED NEWS
   ============================================ */

.sidebar {
    flex: 1;
    min-width: 374px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-title {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 41.6px;
    color: var(--title-dark);
    margin: 0;
    text-transform: capitalize;
}

.news-card {
    background-color: var(--white);
    border: 2px solid var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 50px 200px -40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
    box-shadow: 0px 60px 220px -30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.news-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid var(--white);
    box-shadow: 10px 24px 34px 0px rgba(185, 233, 250, 0.3);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.news-card-content {
    display: flex;
    flex-direction: column;
    height: 232px;
    justify-content: space-between;
}

.news-card-logo {
    width: 95px;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8.191px;
}

.news-card-logo img {
    width: 130px;
    height: 89.868px;
    object-fit: contain;
}

.news-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-card-title {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--title-color);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 66px;
}

.news-card-description {
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 24px;
    color: var(--gray-700);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 47px;
}

.news-card-footer {
    display: flex;
    align-items: center;
}

.read-more-btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    font-family: 'FS_PF_BeauSans_Pro', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-light);
}

.arrow-icon {
    display: inline-block;
    font-size: 20px;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */


/* Tablet - max-width: 1024px */
@media (max-width: 1024px) {
    .news-main {
        padding: 40px 0;
    }

    .news-grid {
        flex-direction: column;
        gap: 32px;
    }

    .article {
        flex: 1;
        width: 100%;
    }

    .sidebar {
        flex: 1;
        width: 100%;
        min-width: auto;
    }

    .image-section {
        width: 100%;
    }

    .share-section {
        width: 100%;
    }

    .breadcrumb {
        width: auto;
    }

    .article-title {
        font-size: 32px;
        line-height: 38.4px;
    }

    .article-description {
        font-size: 15px;
        line-height: 23px;
    }

    .article-body {
        font-size: 15px;
        line-height: 23px;
    }

    .sidebar-title {
        font-size: 28px;
        line-height: 36.4px;
    }

    .news-card {
        gap: 28px;
        padding: 18px;
    }

    .news-card-title {
        font-size: 20px;
        line-height: 28px;
        height: auto;
    }

    .news-card-description {
        font-size: 15px;
        line-height: 22px;
        height: auto;
    }

    .read-more-btn {
        font-size: 16px;
    }
}

/* Mobile - max-width: 500px */
@media (max-width: 500px) {
    .container {
        padding: 0 16px;
    }
.body-base-layout{
    padding-top: 80px;
}
    .news-main {
        padding: 24px 0;
    }

    .news-grid {
        flex-direction: column;
        gap: 24px;
    }

    .article {
        flex: 1;
        width: 100%;
        gap: 24px;
    }

    .sidebar {
        flex: 1;
        width: 100%;
        min-width: auto;
        gap: 20px;
    }

    /* Breadcrumb */
    .breadcrumb {
        width: auto;
        font-size: 12px;
        gap: 4px;
        flex-wrap: wrap;
    }

    .breadcrumb-link {
        font-size: 12px;
        line-height: 16px;
    }

    .breadcrumb>span {
        font-size: 12px;
        line-height: 16px;
    }

    /* Article Header */
    .article-header {
        gap: 6px;
    }

    .article-title {
        font-size: 22px;
        line-height: 26.4px;
        padding-bottom: 12px;
    }

    /* Article Text */
    .article-description {
        font-size: 14px;
        line-height: 21px;
    }

    .article-body {
        font-size: 14px;
        line-height: 21px;
        text-align: left;
    }

    /* Images */
    .image-section {
        width: 100%;
        gap: 10px;
    }

    .image-caption {
        font-size: 13px;
        line-height: 18px;
    }

    /* Article Conclusion */
    .article-conclusion {
        gap: 12px;
    }

    .article-conclusion p {
        font-size: 14px;
        line-height: 21px;
        text-align: left;
    }

    /* Share Section */
    .share-section {
        width: 100%;
        gap: 16px;
        margin-top: 24px;
        flex-wrap: wrap;
    }

    .share-label {
        font-size: 14px;
        line-height: 18px;
        width: 100%;
    }

    .social-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }


    /* Sidebar */
    .sidebar-title {
        font-size: 20px;
        line-height: 26px;
    }

    /* News Card */
    .news-card {
        gap: 20px;
        padding: 16px;
        border-radius: 16px;
    }

    .news-card-image {
        border-radius: 16px;
        aspect-ratio: 16 / 9;
    }

    .news-card-image img {
        border-radius: 16px;
    }

    .news-card-content {
        height: auto;
        justify-content: flex-start;
    }

    .news-card-logo {
        width: 80px;
        height: 35px;
        padding: 6px;
    }

    .news-card-logo img {
        width: 110px;
        height: 75px;
    }

    .news-card-body {
        gap: 6px;
    }

    .news-card-title {
        font-size: 16px;
        line-height: 22px;
        height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .news-card-description {
        font-size: 13px;
        line-height: 19px;
        height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .news-card-footer {
        margin-top: 8px;
    }

    .read-more-btn {
        font-size: 14px;
        line-height: 20px;
        gap: 6px;
    }

    .arrow-icon {
        font-size: 16px;
    }
}