/* Hero Image Section */

.featured-content {
    background: url('../images/bg-features-section.svg') no-repeat center center;
    background-size: cover;
    padding: 70px 0;
    width: 100vw;
    position: relative
}

.hero-static {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: visible;
}

.hero-static .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 0 24px 24px;
}

.hero-static .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-static .hero-overlay .hero-title {
    color: white;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    text-align: center;
    font-weight: 700;
    font-size: 50px;
    line-height: 60px;
}

.hero-static .hero-caption {
    position: absolute;
    bottom: -12%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1290px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 20px 65px 5px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    text-align: justify;
    box-shadow: 0px 40px 70px 0px #1C261E14;
    backdrop-filter: blur(30px);
    border: 2px solid white;
    text-align: center;
    min-height: 110px;
    display: flex;
    align-items: center
}


/* Stories Section */

.stories-section .container {
    max-width: 1296px;
    font-family: "Montserrat", sans-serif;
}

.stories-filterbar {
    margin-bottom: 50px;
    margin-top: -10px;
    padding-right: 1%;
}

.stories-filterbar .flex-grow-1 {
    flex: 1;
}

.stories-filterbar .dropdown {
    flex-shrink: 0;
}

.filter-chip {
    border: 1px solid #D4D2E3;
    background: #fff;
    color: #6B6A78;
    padding: 10px 14px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
}

.filter-chip.active,
.filter-chip:hover {
    background: #F2EFE8;
    color: var(--dark-brown);
}

.filter-btn {
    background: #fff;
    border: 1px solid #D4D2E3;
    font-weight: 500;
    border-radius: 30px;
    color: #3E3D40;
}

.stories-pagination .pagination {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stories-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #D4D2E3;
    background: white;
    font-weight: 600;
    font-size: 16px;
    color: #3E3D40;
    text-decoration: none;
}

.stories-pagination .page-item.active .page-link {
    border: none;
    background: var(--primary-gold);
    color: white;
}

.stories-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    pointer-events: none;
}

.stories-pagination .page-item .page-link:hover {
    border-color: #E3E2ED;
    background: #D4D2E3;
}

.stories-pagination .dots {
    pointer-events: none;
    background: none !important;
    border: none !important;
}


/* Media Center Section */

.media-center {
    padding: 20px 0 48px;
    font-family: "Montserrat", sans-serif;
}

.media-center .container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 0;
}

.media-center .media-title {
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    color: var(--dark-brown);
    margin: 0 0 8px;
}

.media-center .media-intro {
    text-align: center;
    margin: 20px auto 35px;
    color: #3E3D40;
    font-size: 16px;
    font-weight: 500;
}

.media-center .mc-row {
    --gap: 24px;
    display: flex;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 10px;
}

.media-center .mc-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.media-center .mc-col.col-big .media-item.stretch {
    flex: 1;
    height: auto;
    aspect-ratio: auto;
}

.media-center .split-60-40 .media-item,
.media-center .split-40-60 .media-item {
    min-height: 0;
    aspect-ratio: auto;
}

.media-center .split-60-40 .media-item:nth-child(1) {
    height: calc((100% - var(--gap)) * 0.60);
}

.media-center .split-60-40 .media-item:nth-child(2) {
    height: calc((100% - var(--gap)) * 0.40);
}

.media-center .split-40-60 .media-item:nth-child(1) {
    height: calc((100% - var(--gap)) * 0.40);
}

.media-center .split-40-60 .media-item:nth-child(2) {
    height: calc((100% - var(--gap)) * 0.60);
}

.media-center .media-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

.media-center .media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-center .mc-row-2 {
    display: flex;
    align-items: stretch;
    height: 300px;
}

.media-center .mc-row-2>.media-item {
    flex: 1 1 0;
    height: 100%;
}

.media-center .mc-row-2>.media-item.wide {
    flex: 2.05 1 0;
}

.media-center .mc-row-2.split-75-25 .media-item.large {
    flex: 0 0 66%;
}

.media-center .mc-row-2.split-75-25 .media-item.small {
    flex: 0 0 calc(34% - 24px);
}

.media-center .media-item.video .play-badge {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.media-center .media-item.video .play-badge::before {
    content: url("../images/media-play.svg");
    width: 115px;
    height: 115px;
}

.media-center .btn-more {
    display: inline-block;
    margin-top: 35px;
    padding: 10px 28px;
    border-radius: 999px;
    background: var(--primary-gold);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(168, 134, 26, 0.5);
}


/* Storie */

.article {
    padding: 24px 0 0;
}

.article .container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0;
}

.article .article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.article .badge-pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #F6F2E7;
    color: #6E6D7A;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #D4D2E3;
    background-color: white;
}

.article .actions {
    margin-left: auto;
    display: flex;
    gap: 20px;
}

.article .btn,
.article .btn:hover {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #D4D2E3;
    background: #fff;
    color: #3E3D40;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.article .btn-gold,
.article .btn-gold:hover {
    border: 0;
    color: #fff;
    background: var(--primary-gold)
}

.article .btn-light {
    background: #fff;
}

.article .btn.small {
    padding: 8px 12px;
    font-size: 14px;
}

.share-popover {
    position: absolute;
    top: 56px;
    right: 0;
    width: 350px;
    border-radius: 18px;
    padding: 16px 16px 14px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    box-shadow: 0px 7px 30px 0px #1C261E1C;
    display: none;
    z-index: 30;
    opacity: 0;
    transform: translateY(8px) scale(.98);
    transition: opacity .18s ease, transform .18s ease;
    border: 2px solid white
}

#shareToggle:checked~.share-popover {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.share-popover::before {
    content: "";
    position: absolute;
    top: -5px;
    right: 220px;
    width: 16px;
    height: 16px;
    background: inherit;
    transform: rotate(45deg);
    backdrop-filter: inherit;
    -webkit-backdrop-filter: inherit;
    box-shadow: -2px -2px 6px rgba(0, 0, 0, .03);
}

.share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.share-header strong {
    font-size: 16px;
    font-weight: 600;
    color: #3E3D40;
}

.share-header .close {
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    padding: 0 6px;
    border-radius: 8px;
}

.share-header .close:hover {
    background: rgba(0, 0, 0, .05);
}

.share-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.share-pill {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #3E3D40 !important;
    font-weight: 500;
    font-size: 10px;
    text-decoration: none;
    gap: 7px
}

.copy-field {
    position: relative;
    width: 100%;
    margin: 15px 0 0;
}

.copy-field input {
    width: 100%;
    padding: 12px 108px 12px 18px;
    border-radius: 999px;
    border: 2px solid #E0E0E0;
    background: rgba(255, 255, 255, .9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 500px;
    line-height: 1.2;
    color: #0F0F0F;
}

.copy-field .copy-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    height: calc(100% - 8px);
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #2EA7E0;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.copy-field .copy-btn:hover {
    filter: brightness(.96);
}

.article .article-title {
    margin: 18px 0 4px;
    font-weight: 700;
    font-size: 28px;
    color: var(--dark-brown);
    letter-spacing: .2px;
    line-height: 1.2;
}

.article .article-date {
    color: #3E3D40;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.article .article-body p {
    color: #3E3D40;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 14px;
    text-align: justify;
}

.article .hero {
    margin: 30px 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(28, 38, 30, .12);
}

.article .hero img {
    width: 100%;
    height: 387px;
    display: block;
    object-fit: cover;
}

.article .nice-list {
    padding-left: 20px;
    margin: 0;
    color: #3E3D40;
}

.article .nice-list>li {
    margin: 10px 0;
    font-weight: 500;
}

.article .nice-list>li::marker {
    font-weight: 700;
}

.article .nice-list ul {
    margin: 5px 0 0;
    list-style: disc;
}

.article .nice-list li strong {
    font-weight: 700;
}

.article .table-wrap {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px #1C261E14;
    border: 1px solid #D4D2E3;
    background: transparent;
    margin: 30px 0;
}

.article .nice-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-size: 16px;
}

.article .nice-table thead th {
    background: rgb(174, 153, 78, 0.2);
    color: #AE994E;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    padding: 10px 14px;
    border-right: 1px solid #D4D2E3;
}

.article .nice-table thead th:last-child {
    border-right: 0;
}

.article .nice-table td {
    padding: 5px 16px;
    color: #424142;
    vertical-align: middle;
    border-top: 1px solid #D4D2E3;
    border-right: 1px solid #D4D2E3;
    font-size: 16px;
    font-weight: 500;
}

.article .nice-table td:last-child {
    border-right: 0;
}

.article .nice-table tbody tr:last-child td {
    /* soften bottom edge like screenshot */
    border-bottom: 0;
}

.article .nice-table .center {
    text-align: center;
}

.article .nice-table thead th:first-child {
    border-top-left-radius: 22px;
}

.article .nice-table thead th:last-child {
    border-top-right-radius: 22px;
}

.article .para {
    margin: 18px 0;
    color: #3E3D40;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
}

@media (min-width: 1280px) and (max-width: 1400px) {
    .stories-section .container {
        max-width: 1200px;
    }
    .media-center .container {
        max-width: 1200px;
    }
    .article .container {
        max-width: 1200px;
    }
}

@media (min-width: 1025px) and (max-width: 1279px) {
    .stories-section .container {
        max-width: 950px;
    }
    .media-center .container {
        max-width: 950px;
    }
    .article .container {
        max-width: 950px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hero-static .hero-caption {
        max-width: 700px;
    }
    .stories-section .container {
        max-width: 700px;
    }
    .media-center .container {
        max-width: 700px;
    }
    .stories-section .story-cards {
        width: 710px;
        height: unset;
        justify-content: start;
    }
    .stories-section .story-cards {
        overflow: visible;
    }
    .story-cards .swiper-wrapper {
        display: contents;
    }
    .story-cards .swiper-slide {
        width: unset !important;
    }
    .story-cards .swiper-pagination {
        display: none;
    }
    .stories-section .filter-btn {
        display: none !important;
    }
    .article .container {
        max-width: 700px;
    }
}

@media (max-width: 767px) {
    .featured-content {
        position: relative;
        padding: 50px 0 0;
        width: 100vw;
        z-index: 1;
        background: none;
    }
    .featured-content::before {
        content: "";
        position: absolute;
        top: -200px;
        left: 0;
        right: 0;
        height: calc(100% + 200px);
        background: url(../images/bg-features-section-mobile.svg) no-repeat center center;
        background-size: cover;
        z-index: -1;
    }
    .hero-static {
        height: 750px;
        margin-top: -60px;
        margin-bottom: 90px;
    }
    .hero-static .hero-caption {
        bottom: -15%;
        max-width: 90%;
        padding: 20px 16px;
        font-size: 16px;
        text-align: center;
    }
    .hero-static .hero-overlay .hero-title {
        font-size: 36px;
        line-height: 120%;
    }
    .media-center .mc-row {
        flex-direction: column;
    }
    .media-center .mc-row:first-of-type .mc-col {
        flex: 1 1 100%;
    }
    .media-center .mc-row-2 .media-item.wide,
    .media-center .mc-row-2>.media-item:not(.wide) {
        flex: 1 1 100%;
    }
    .media-center .media-item {
        aspect-ratio: 16/10;
    }
    .media-center .container {
        max-width: 90%;
    }
    .media-center .btn-more {
        margin: 0 0 20px;
    }
    .stories-section .story-cards {
        height: unset;
        padding-bottom: 0px;
        overflow: visible;
        margin-top: 0;
        padding-top: 0;
    }
    .story-cards .swiper-wrapper {
        display: contents;
    }
    .story-cards .swiper-slide {
        width: unset !important;
    }
    .story-cards .swiper-pagination {
        display: none;
    }
    .stories-section .filter-btn {
        display: none !important;
    }
    .filter-chip {
        padding: 8px 10px;
        font-size: 12px;
    }
    .stories-section .story-cards {
        gap: unset;
        width: 100%;
    }
    .stories-section .story-card {
        margin-bottom: 30px;
    }
    .stories-pagination {
        margin-top: 0!important;
    }
    .article .container {
        max-width: 90%;
    }
    .article .article-meta {
        flex-direction: column;
        align-items: start;
    }
    .article .actions {
        margin-left: 0;
    }
    .share-popover {
        top: 105px;
        background: white;
    }
    .share-popover::before {
        right: 275px;
    }
    .article .nice-table {
        display: block;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: auto;
        width: 100%;
        font-size: 15px;
    }
    .article .nice-table thead {
        position: absolute;
        left: -9999px;
        top: -9999px;
        visibility: hidden;
    }
    .article .nice-table tbody {
        display: grid;
        gap: 12px;
        padding: 12px;
    }
    .article .nice-table tbody tr {
        display: grid;
        grid-template-columns: 1fr;
        background: #fff;
        border: 1px solid #D4D2E3;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(28, 38, 30, .08);
    }
    .article .nice-table td {
        display: grid;
        grid-template-columns: 140px 1fr;
        gap: 8px;
        align-items: center;
        border: 0;
        padding: 10px 12px;
        position: relative;
    }
    .article .nice-table td+td {
        border-top: 1px solid #EEE;
    }
    .article .nice-table td::before {
        content: attr(data-label);
        color: #8E8C9A;
        font-weight: 600;
        font-size: 13px;
    }
    .article .nice-table td img {
        max-height: 20px;
        width: auto;
    }
    .article .nice-table td:last-child {
        align-items: start;
    }
    .article .table-wrap {
        border-radius: 16px;
        overflow: visible;
        box-shadow: none;
        border: 0;
        background: transparent;
        margin: 16px 0;
    }
    .article .nice-table .center {
        text-align: left !important;
    }
}
