/*
Theme Name: PNMD New
Theme URI: https://example.com
Author: DUC
Description: Custom theme styling
Version: 1.0.0
*/

@import url("assets/css/main.css");
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

#main {
    margin-top: 0;
}

@font-face {
    font-family: Quick;
    src: url("libs/fonts/Roboto-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Quick;
    src: url("libs/fonts/Roboto-Bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: Quick;
    src: url("libs/fonts/Roboto-Medium.woff") format("woff");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Quick;
    src: url("libs/fonts/Roboto-Light.woff") format("woff");
    font-weight: 300;
    font-display: swap;
}

:root {
    --heading-font: "Quick", sans-serif;
    --body-font: "Quick", sans-serif;
    --small-shadow: 0 10px 50px 0 rgb(231 230 236 / 53%);
    --medium-shadow: 0 5px 20px 0 rgb(39 40 40 / 15%);
    --primary: #8ea065;
    --secondary: #061c24;
}

body {
    font-family: var(--body-font) !important;
    font-weight: 400 !important;
    color: var(--gray-dark) !important;
    background: none !important;
    background-color: transparent !important;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

ul,
li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--large {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

#header,
#header .main-header,
#footer {
    background: none;
    background-color: transparent;
}

#header .main-header {
    padding: 32px 0;
}

#header .logo img {
    max-width: 200px;
    height: auto;
}

footer#footer .logo img {
    max-width: 200px;
    height: auto;
}

footer#footer {
    padding: 40px 0;
}

footer#footer .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    footer#footer {
        padding: 24px 0;
    }

    footer#footer .container {
        padding: 0;
        max-width: 100%;
    }

    footer#footer .logo img {
        max-width: 140px;
    }

    footer#footer .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    footer#footer .footer-menu {
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
    }
}

.btn-link {
    color: #4D4D4D;
    text-decoration: unset;
}


.btn-primary {
    display: flex;
    height: 48px;
    gap: 8px;
    padding: 5px 21px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 60px;
    border: 1px solid #FFE23F;
    background: #FFD900;
    color: black;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #fff;
    color: #FFD900;
    transform: translateY(-2px);
}

.btn-primary:hover svg path {
    stroke: #FFD900;
}

.header-top {
    margin: 32px 0;
}

.nav-menu {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 40px;
    position: relative;
}

.main-navigation {
    position: relative;
}

.nav-item a {
    color: #606060;
    leading-trim: both;
    text-edge: cap;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    /* 180% */
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.nav-item a,
.nav-link {
    display: inline-block;
    padding: 8px 0;
}

.nav-item a::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #606060;
    transition: width 0.3s ease;
}

.nav-item a:hover::after,
.nav-item.active a::after,
.nav-link:hover::after,
.nav-item.active .nav-link::after {
    width: 100%;
}

/* Focus header nav links */
.focus-header .nav-link {
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.focus-header .nav-link::after {
    background-color: #ffffff;
}

.focus-header .nav-item.active .nav-link::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.nav-item.has-dropdown {
    position: relative;
}

/* Desktop dropdown - hover to show */
@media (min-width: 992px) {
    .nav-item.has-dropdown .dropdown-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        min-width: 200px;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        padding: 8px 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        list-style: none;
        display: block !important;
    }

    .nav-item.has-dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

/* Hide desktop dropdown on mobile */
@media (max-width: 991px) {
    .nav-item.has-dropdown .dropdown-menu {
        display: none !important;
        visibility: hidden !important;
    }
}

.dropdown-item {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: unset !important;
}

.dropdown-item a {
    display: block;
    padding: 10px 20px;
    color: #606060;
    text-decoration: none;
    background-color: unset !important;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
}

.dropdown-item a:hover {
    color: #000000;
}

.dropdown-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #606060;
    transition: width 0.3s ease;
}

.dropdown-item a:hover::after,
.dropdown-item.active a::after {
    width: 100%;
}


.dropdown-icon {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.header-nav-wrapper {
    border-radius: var(--Corner-Extra-large, 28px);
    border: .5px solid #000;
}

.nav-wrapper {
    display: flex;
    padding: .5rem 0;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.btn-warranty {
    display: inline-flex;
    padding: 4px 35px;
    color: #606060;
    font-size: 16px;
    border-radius: 999px;
    border: .5px solid #000;
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding-left: 32px;
}

.banner-wrapper {
    position: relative;
}

/* Bỏ lớp phủ mờ cho banner ở trang tin tức */
.category .banner-wrapper::before,
.archive .banner-wrapper::before {
    content: none !important;
    display: none !important;
}

.banner-right {
    height: 100%;
}

.banner-right img {
    width: auto;
    height: 105%;
    bottom: 5%;
    position: relative;
}

.banner-left {
    height: 100%;
    display: flex;
    padding: 2rem 0;
    flex-direction: column;
}

.banner-description {
    margin-top: 16px;
    color: #B8B8B8;
}

.header-cta {
    position: relative;
    z-index: 2;
}

/* Homepage header: mobile-only behavior (keep desktop unchanged) */
.header-mobile-toggle {
    display: none;
}

/* Focus Header Desktop Styles */
.focus-header .header-focus-section {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.focus-header .header-focus-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.focus-header .header-focus-logo img {
    max-width: 140px;
    height: auto;
    display: block;
}

.focus-header .header-focus-nav {
    display: block;
}

.focus-header .header-focus-nav .menu-close-btn {
    display: none;
}

/* Remove nested container spacing from menu renderer in focus header */
.focus-header .header-focus-nav .header-nav-section .container--large {
    padding-left: 0;
    padding-right: 0;
    max-width: none;
}

.focus-header .header-focus-nav .nav-wrapper {
    justify-content: flex-end;
    gap: 40px;
    padding: 0;
}

.menu-close-btn {
    display: none;
}

@media (max-width: 991px) {
    .container--large {
        padding: 0 20px !important;
    }

    .section-detail-items .container--large {
        padding: 0 20px !important;
    }

    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 16px 0;
    }

    .header-logo img {
        max-width: 220px;
        height: auto;
        display: block;
    }

    .header-mobile-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 0;
        padding: 0;
        cursor: pointer;
    }

    .header-mobile-toggle__bar {
        width: 24px;
        height: 2px;
        background: #000;
        border-radius: 2px;
        display: block;
        transition: transform .2s ease, opacity .2s ease;
    }

    /* Mobile drawer menu */
    .pikdy-main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .menu-close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .menu-close-btn svg {
        width: 24px;
        height: 24px;
    }

    .pikdy-header.is-menu-open .pikdy-main-nav {
        right: 0;
    }

    /* Overlay when menu is open */
    .pikdy-header.is-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    /* Hamburger animation */
    .pikdy-header.is-menu-open .header-mobile-toggle__bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .pikdy-header.is-menu-open .header-mobile-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    .pikdy-header.is-menu-open .header-mobile-toggle__bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Focus Header Mobile Styles */
    .focus-header .header-mobile-toggle {
        display: inline-flex;
    }

    .focus-header .header-mobile-toggle__bar {
        background: #fff;
    }

    .focus-header .header-focus-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .focus-header .header-focus-logo img {
        max-width: 220px;
        height: auto;
    }

    .focus-header .header-focus-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .focus-header.is-menu-open .header-focus-nav {
        right: 0;
    }

    .focus-header.is-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }

    .focus-header.is-menu-open .header-mobile-toggle__bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .focus-header.is-menu-open .header-mobile-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    .focus-header.is-menu-open .header-mobile-toggle__bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .focus-header .header-focus-nav .menu-close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }

    .focus-header .header-focus-nav .menu-close-btn svg {
        width: 24px;
        height: 24px;
    }

    /* Remove nested container spacing from menu renderer in focus header */
    .focus-header .header-focus-nav .header-nav-section .container--large {
        padding-left: 0;
        padding-right: 0;
    }

    .focus-header .header-focus-nav .nav-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .focus-header .header-focus-nav .main-navigation {
        width: 100%;
    }

    .focus-header .header-focus-nav .nav-menu {
        width: 100%;
    }

    /* remove nested container spacing from menu renderer inside the homepage header wrapper */
    .pikdy-main-nav .header-nav-section .container--large {
        padding-left: 0;
        padding-right: 0;
    }

    .nav-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 6px;
    }

    .pikdy-main-nav .nav-item,
    .focus-header .header-focus-nav .nav-item {
        width: 100%;
    }

    .pikdy-main-nav .nav-item a,
    .focus-header .header-focus-nav .nav-item a {
        color: #000 !important;
        text-align: left;
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #e0e0e0;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        position: relative;
    }

    /* Mobile dropdown styles - hidden by default, show only when clicked */
    .pikdy-main-nav .nav-item.has-dropdown .dropdown-menu,
    .focus-header .header-focus-nav .nav-item.has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: hidden !important;
        transform: none;
        display: none !important;
        background: transparent;
        box-shadow: none;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        border-radius: 0;
        min-width: auto;
        width: 100%;
    }

    .pikdy-main-nav .nav-item.has-dropdown.dropdown-open .dropdown-menu,
    .focus-header .header-focus-nav .nav-item.has-dropdown.dropdown-open .dropdown-menu {
        display: block !important;
        visibility: visible !important;
    }

    .pikdy-main-nav .nav-item.has-dropdown .dropdown-item,
    .focus-header .header-focus-nav .nav-item.has-dropdown .dropdown-item {
        padding-left: 0;
        margin: 0 !important;
        background: unset !important;
    }

    .pikdy-main-nav .nav-item.has-dropdown .dropdown-item a,
    .focus-header .header-focus-nav .nav-item.has-dropdown .dropdown-item a {
        padding: 10px 20px 10px 40px;
        color: #666 !important;
        font-size: 14px;
        margin: 0 !important;
        position: relative;
    }

    .pikdy-main-nav .nav-item.has-dropdown .dropdown-item a::after,
    .focus-header .header-focus-nav .nav-item.has-dropdown .dropdown-item a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 40px;
        width: 0;
        height: 2px;
        background-color: #606060;
        transition: width 0.3s ease;
    }

    .pikdy-main-nav .nav-item.has-dropdown .dropdown-item a:hover::after,
    .focus-header .header-focus-nav .nav-item.has-dropdown .dropdown-item a:hover::after,
    .pikdy-main-nav .nav-item.has-dropdown .dropdown-item.active a::after,
    .focus-header .header-focus-nav .nav-item.has-dropdown .dropdown-item.active a::after {
        width: calc(100% - 40px);
    }

    .focus-header .header-focus-nav .nav-item.has-dropdown .dropdown-item a::after {
        background-color: #ffffff;
    }


    .pikdy-main-nav .nav-item.has-dropdown .dropdown-icon,
    .focus-header .header-focus-nav .nav-item.has-dropdown .dropdown-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .pikdy-main-nav .nav-item.has-dropdown.dropdown-open .dropdown-icon,
    .focus-header .header-focus-nav .nav-item.has-dropdown.dropdown-open .dropdown-icon {
        transform: translateY(-50%) rotate(180deg);
    }

    .pikdy-main-nav .nav-item:last-child a,
    .focus-header .header-focus-nav .nav-item:last-child a {
        border-bottom: none;
    }

    .header-cta {
        width: 100%;
        margin-top: 12px;
    }

    .btn-warranty {
        width: 100%;
        justify-content: center;
        color: #000 !important;
        border: 1px solid #000 !important;
    }

    /* Banner responsiveness: image is background, content is relative */
    .banner-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .banner-wrapper>img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    .banner-content {
        position: relative;
        z-index: 1;
        padding: 16px;
        padding-bottom: 0;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 12px;
        flex-direction: column;
    }

    .banner-left {
        padding: 0;
    }

    .banner-right {
        width: 100%;
    }

    .banner-right img {
        height: auto;
        width: 100%;
        bottom: 0;
    }
}

/* Section Intro Styles - Match Figma Design */
.section-intro {
    padding: 0;
    background: #ffffff;
}

.section-intro .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-intro .intro-content {
    max-width: 100%;
    text-align: left;
}


.section-intro .intro-description {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    max-width: 100%;
}

.section-intro .intro-description p {
    margin: 0 0 24px 0;
    color: #1a1a1a;
    padding: 0;
}

.section-intro .intro-description p:last-child {
    margin-bottom: 0;
}


@media (max-width: 992px) {
    .section-intro .container {
        padding: 50px 20px;
    }


    .section-intro .intro-description {
        font-size: 15px;
    }

    /* Intro layout */
    .intro-content {
        flex-direction: column;
        gap: 24px;
    }

    .intro-left,
    .intro-right {
        width: 100%;
    }

    /* Ensure all intro blocks stretch full width on mobile/tablet */
    .intro-left,
    .intro-title,
    .intro-description,
    .intro-number,
    .intro-number-image,
    .intro-number-text,
    .intro-subtitle,
    .intro-icon,
    .intro-icon-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Disable sticky image on smaller screens */
    .intro-right {
        position: relative;
        top: auto;
    }

    .intro-right img {
        width: 100%;
        height: auto;
        display: block;
    }

    .intro-number {
        margin-top: 64px;
        flex-direction: column;
        gap: 20px;
    }

    .intro-number-image {
        width: 100%;
    }

    .intro-number-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .intro-number-text {
        width: 100%;
        height: auto;
        align-items: flex-start;
        text-align: left;
    }

    /* Make icon items full width on mobile/tablet */
    .intro-icon {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-top: 32px;
    }

    .intro-icon-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-intro .container {
        padding: 40px 20px;
    }

    .section-intro .intro-left {
        width: 100%;
    }

    .section-intro .intro-right {
        width: 100% !important;
    }

    .section-intro .intro-title {
        font-size: 28px;
        margin-bottom: 24px;
        letter-spacing: -1px;
    }

    .section-intro .intro-icon-content {
        width: 100%;
    }

    .section-intro .intro-icon-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .section-intro .intro-number-text {
        width: 100%;
        height: max-content;
        align-items: flex-start;
        text-align: left;
    }

    .section-intro .intro-number-text p:first-child {
        font-size: 40px;
    }

    .section-intro .intro-subtitle {
        font-size: 24px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        margin-top: 24px !important;
        width: 100% !important;
    }

    .section-intro .intro-number {
        margin-top: 24px;
    }

    .section-intro .intro-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .section-intro .intro-description p {
        margin-bottom: 20px;
    }

    .intro-number {
        margin-top: 32px;
    }

    .intro-number-text p:first-child {
        font-size: 56px;
    }

    .intro-subtitle {
        font-size: 22px;
        margin-top: 32px;
    }

    .intro-icon {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-top: 32px;
    }

    .intro-icon-content {
        width: 100%;
    }

    .intro-icon-content img {
        width: 52px;
        height: 52px;
    }
}

.intro-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 32px;
}

.intro-right {
    width: 45%;
}

.intro-left {
    width: 55%;
}

.intro-title {
    font-size: 32px;
    margin-bottom: 32px;
}

.intro-number {
    margin-top: 150px;
    display: flex;
    gap: 32px;
}

.intro-number-text {
    width: 215px;
    height: 215px;
    border-radius: 28px;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.intro-number-text p:first-child {
    font-size: 75px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1;
}

.intro-number-text p:last-child {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.5;
}

.intro-subtitle {
    color: #4D4D4D;
    font-size: 32px;
    font-style: normal;
    font-weight: 711;
    line-height: normal;
    text-transform: uppercase;
    margin-top: 64px;
}


.intro-number-image {
    flex: 1;
    border-radius: 28px;
    overflow: hidden;
}

.intro-number-image img {
    height: 100%;
}

.intro-right {
    position: sticky;
    top: 0;
}

.intro-icon {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    margin-top: 64px;
}

.intro-icon-content img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 16px;
}

.intro-icon-content p {

    color: #4D4D4D;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.intro-icon-content {
    width: 50%;
}

/* Section Image Styles */
.section-image {
    padding: 60px 0;
    background: #F3F2EC;
    margin: 0;
}

.section-image .image-wrapper {
    width: 100%;
    overflow: hidden;
}

.section-image .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Section About Chart Styles */
.section-about-chart {
    padding: 60px 0;
    background: #F3F2EC;
}

.section-about-chart .about-chart-content {
    width: 100%;
}

.section-about-chart .chart-wrapper {
    width: 100%;
}

.section-about-chart .chart-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 32px;
    text-align: left;
    color: #4D4D4D;
    font-size: 28px;
    font-style: normal;
    font-weight: 711;
    text-transform: uppercase;
}


.section-about-chart .chart-description {
    color: #4D4D4D;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

@media (max-width: 768px) {
    .section-about-chart {
        padding: 0;
    }

    .section-about-chart .about-chart-content {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .section-about-chart .chart-wrapper {
        width: 100% !important;
    }

    .section-about-chart .chart-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .section-about-chart .chart-description {
        font-size: 14px;
    }

    .section-about-chart .btn-wrapper {
        gap: 12px;
        margin-top: 16px;

    }

    .section-about-chart .btn-wrapper a {
        font-size: 12px;
        padding: 8px 12px;
    }
}



.about-chart-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
}

.about-chart-content .chart-wrapper {
    width: 50%;
}


.btn-wrapper {
    display: flex;
    gap: 32px;
    margin-top: 64px;
    align-items: center;
}

/* Section Multi Column Styles */
.section-multi-column {
    padding: 60px 0;
    background: #F3F2EC;
}

.section-multi-column .multi-column-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.section-multi-column .column-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
}

.section-multi-column .item-image {
    width: 100%;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 8px;
}

.section-multi-column .item-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.section-multi-column .item-title {
    font-family: var(--heading-font);
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    color: #1a1a1a;
}

.section-multi-column .item-description {
    font-family: var(--body-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #4D4D4D;
    text-align: center;
}

.section-multi-column .item-description p {
    margin: 0 0 12px 0;
}

.section-multi-column .item-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .section-multi-column .multi-column-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section-multi-column {
        padding: 40px 0;
    }

    .section-multi-column .multi-column-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .share-icons {
        display: flex;
        flex-direction: column;
        margin-bottom: 16px;
    }

    .section-multi-column .item-title {
        font-size: 20px;
    }

    .section-multi-column .item-description {
        font-size: 14px;
    }
}

/* Section Gallery Slider Styles */
.section-gallery-slider {
    padding: 80px 0;
    position: relative;
    background: #F3F2EC;
    overflow: hidden;
}

.section-gallery-slider .gallery-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    font-weight: 700;
    color: rgba(77, 77, 77, 0.05);
    text-transform: uppercase;
    letter-spacing: 20px;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.section-gallery-slider .container {
    position: relative;
    z-index: 1;
}

.section-gallery-slider .gallery-slider-wrapper {
    position: relative;
    width: 100%;
}

.section-gallery-slider .gallery-slider {
    margin: 0 -15px;
    padding: 20px 0 60px;
}

.section-gallery-slider .gallery-slider .slick-track {
    display: flex;
    align-items: flex-start;
}

.section-gallery-slider .gallery-slider .slick-slide {
    height: auto;
}

.section-gallery-slider .gallery-slide {
    padding: 0 15px;
    outline: none;
}

.section-gallery-slider .slide-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.section-gallery-slider .slide-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

/* Slick Dots Customization */
.section-gallery-slider .gallery-pagination {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
    width: 100%;
}

.section-gallery-slider .gallery-pagination li {
    display: inline-block !important;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 4px;
    float: none !important;
    vertical-align: middle;
}

.section-gallery-slider .gallery-pagination li.slick-active {
    background: #FFD900;
    width: 32px;
    border-radius: 6px;
}

.section-gallery-slider .gallery-pagination li button {
    display: none;
}

@media (max-width: 1200px) {
    .section-gallery-slider .gallery-background-text {
        font-size: 150px;
        letter-spacing: 15px;
    }
}

@media (max-width: 768px) {
    .section-gallery-slider {
        padding: 60px 0;
    }

    .section-gallery-slider .gallery-background-text {
        font-size: 100px;
        letter-spacing: 10px;
    }

    .section-gallery-slider .gallery-slider {
        margin: 0 -10px;
        padding: 20px 0 50px;
    }

    .section-gallery-slider .gallery-slide {
        padding: 0 10px;
    }

    .section-gallery-slider .slide-image {
        border-radius: 12px;
    }

    .section-gallery-slider .slide-image img {
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .section-gallery-slider .gallery-background-text {
        font-size: 60px;
        letter-spacing: 5px;
    }
}

/* Section What We Like Styles */
.section-what-we-like {
    padding: 80px 0;
    background: #ffffff;
}

.section-what-we-like .what-we-like-content {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
}

.section-what-we-like .what-we-like-left {
    width: 50%;
    flex-shrink: 0;
}

.section-what-we-like .what-we-like-right {
    width: 50%;
    flex: 1;
}

/* Image Frame */
.section-what-we-like .image-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #F3F2EC;
    padding: 20px;
}

.section-what-we-like .image-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.section-what-we-like .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Overlay Text */
.section-what-we-like .overlay-top {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.section-what-we-like .role-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-what-we-like .overlay-bottom {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.section-what-we-like .name-text {
    display: flex;
    flex-direction: column;
}

.section-what-we-like .name-large {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.section-what-we-like .name-small {
    color: #E0E0E0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    margin-top: 4px;
}

/* Play Button */
.section-what-we-like .play-button {
    position: absolute;
    bottom: 40px;
    right: 40px;
    cursor: pointer;
    pointer-events: all;
    transition: transform 0.3s ease;
}

.section-what-we-like .play-button:hover {
    transform: scale(1.1);
}

/* Badge 200% */
.section-what-we-like .badge-200 {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(139, 195, 74, 0.9);
    border-radius: 16px;
    padding: 16px 20px;
    text-align: center;
    min-width: 180px;
}

.section-what-we-like .badge-number {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.section-what-we-like .badge-text {
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 4px;
}

.section-what-we-like .badge-emoji {
    font-size: 20px;
}

/* Right Column Content */
.section-what-we-like .quote-text {
    margin-bottom: 24px;
}

.section-what-we-like .quote-text p {
    color: #B8B8B8;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin: 0;
}

.section-what-we-like .main-heading {
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    width: 70%;
    display: block;
    margin: 0 auto;
    margin-bottom: 16px;
    color: #1a1a1a;
    line-height: 1.2;
}

.section-what-we-like .description-text {
    margin-bottom: 64px;
    text-align: center;
}

.section-what-we-like .description-text p {
    color: #4D4D4D;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.section-what-we-like .viewpoint-text {
    margin-bottom: 24px;
    position: relative;
    color: #4D4D4D;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.section-what-we-like .viewpoint-text-icon-left {
    margin-bottom: -32px;
}

.section-what-we-like .viewpoint-text-icon-right {
    margin-bottom: -32px;
}

.section-what-we-like .viewpoint-text p {
    color: #4D4D4D;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

/* Feature Cards */
.section-what-we-like .feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.section-what-we-like .feature-card {
    background: #D9D9D9;
    border-radius: 16px;
    padding: 24px;
}

.section-what-we-like .card-icon {
    margin-bottom: 16px;
    width: 41px;
    height: 41px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-what-we-like .card-text h4 {
    color: #4D4D4D;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.section-what-we-like .card-text p {
    color: #4D4D4D;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .section-what-we-like {
        padding: 60px 0;
    }

    .section-what-we-like .what-we-like-content {
        flex-direction: column;
        gap: 40px;
    }

    .section-what-we-like .what-we-like-left,
    .section-what-we-like .what-we-like-right {
        width: 100%;
    }

    .section-what-we-like .main-heading {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .section-what-we-like {
        padding: 40px 0;
    }

    .section-what-we-like .main-heading {
        font-size: 28px;
    }

    .section-what-we-like .name-large {
        font-size: 36px;
    }

    .section-what-we-like .name-small {
        font-size: 24px;
    }

    .section-what-we-like .badge-200 {
        min-width: 150px;
        padding: 12px 16px;
    }

    .section-what-we-like .badge-number {
        font-size: 36px;
    }

    .section-what-we-like .feature-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

:root {
    --direction-multiplier: 1
}

body.rtl,
html[dir=rtl] {
    --direction-multiplier: -1
}


/* ==================== New Optimized Footer Styles - Figma Design ==================== */
.site-footer {
    background: #0e1a2c;
    color: #fff;
    border-radius: 58px;
    margin: 20px;
    overflow: hidden;
}

/* Footer wrapper - black background on focus page, transparent otherwise */
.footer-wrapper-focus {
    background: #000000;
    padding: 20px;
}

.footer-wrapper-focus .site-footer {
    /* Keep original footer background and border */
    background: #0e1a2c;
    border-radius: 58px;
    margin: 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 500px 1fr;
    min-height: 700px;
}

/* Footer CTA - Left Column */
.footer-cta {
    position: relative;
    background: url('https://images.unsplash.com/photo-1554068865-24cecd4e34b8?w=600') center/cover no-repeat;
    border-radius: 41px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    min-height: 660px;
}

.footer-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.66);
    border-radius: 41px;
}

.footer-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.footer-cta-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-badge {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #fff;
    border-radius: 100px;
    font-size: 14px;
    color: #fff;
    width: fit-content;
}

.footer-cta-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

.btn-policy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #ffdf28;
    color: #000;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-policy:hover {
    background: #fff;
    color: #ffdf28;
    transform: translateY(-2px);
}

.btn-policy:hover svg path {
    stroke: #ffdf28;
}

.btn-policy svg {
    width: 16px;
    height: 14px;
}

/* Footer Info - Right Column */
.footer-info {
    padding: 40px 60px 40px 40px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 40px;
    padding-left: calc(180px + 3rem);
}

.footer-logo-img {
    width: 500px;
}

.footer-logo svg {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 8px;
    color: #fff;
}

/* Contact Rows */
.footer-contact-rows {
    display: flex;
    flex-direction: column;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row:first-child {
    border-top: none;
}


.contact-label {
    font-size: 14px;
    color: #8f8f8f;
    text-transform: uppercase;
    min-width: 180px;
}

.contact-value {
    flex: 1;
    max-width: 500px;
}

.contact-value p {
    font-size: 36px;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

/* Social Icons */
.contact-row-social {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row-social .social-icons {
    display: flex;
    gap: 18px;
    flex: 1;
    max-width: 500px;
}

.social-icons a {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
}

.social-icons a.social-muted {
    opacity: 0.19;
}

.social-icons a:hover {
    opacity: 1;
    color: #ffdf28;
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Footer Bottom Row */
.footer-bottom-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 30px;
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-nav a {
    color: #797979;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.copyright {
    font-size: 14px;
    color: #797979;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-inner {
        grid-template-columns: 320px 1fr;
    }

    .contact-value p {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .site-footer {
        border-radius: 28px;
        margin: 10px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-cta {
        min-height: 400px;
        margin: 15px;
    }

    .footer-cta-title {
        font-size: 32px;
    }

    .footer-info {
        padding: 30px 20px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-row {
        flex-direction: column;
        gap: 8px;
    }

    .contact-value p {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .footer-wrapper-focus {
        padding: 0;
    }

    .site-footer {
        border-radius: 0;
        margin: 0;
    }

    .footer-wrapper-focus .site-footer {
        border-radius: 0;
        margin: 0;
    }

    .footer-cta {
        min-height: 350px;
        border-radius: 20px;
        margin: 10px;
        padding: 20px;
    }

    .footer-cta-overlay {
        border-radius: 20px;
    }

    .footer-cta-title {
        font-size: 24px;
    }

    .footer-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .btn-policy {
        padding: 10px 20px;
        font-size: 14px;
    }

    .footer-logo {
        margin-bottom: 30px;
        padding-left: 0;
        justify-content: flex-start;
    }

    .footer-logo-img {
        width: 250px;
    }

    .logo-text {
        font-size: 24px;
        letter-spacing: 4px;
    }

    .contact-value p {
        font-size: 20px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-nav {
        gap: 40px;
    }

    .social-icons {
        flex-wrap: wrap;
    }
}

/* --- PNMD NEWS & SEARCH ORIGIN STYLES --- */
.news-archive-wrapper {
    background: #fff;
    font-family: 'Google Sans', sans-serif;
}

.news-hero {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    color: #fff;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.news-hero.no-overlay::before {
    display: none;
}

.news-hero .container {
    position: relative;
    z-index: 2;
}

.news-breadcrumbs {
    font-size: 14px;
    color: #E0E0E0;
}

.news-breadcrumbs a {
    color: #E0E0E0;
    text-decoration: none;
}

.news-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #FFD600;
    letter-spacing: 2px;
}

.tag-link {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #fff;
    border-radius: 30px;
    color: #fff;
    margin: 5px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.tag-link:hover {
    background: #fff;
    color: #000;
}

.search-input-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-field {
    width: 100%;
    padding: 15px 60px 15px 25px;
    border: 1px solid #ddd;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.search-submit {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.news-section-header {
    border-bottom: 1px solid #000;
    margin-bottom: 30px;
    display: block;
}

.news-section-title {
    font-family: 'Cooper Hewitt', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid #14313A;
    color: #14313A;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: -1px;
    text-transform: none;
}

.highlight-query {
    color: #22D3EE;
    font-style: italic;
}

/* Content Cards */
.rounded-15 {
    border-radius: 15px !important;
}

.rounded-20 {
    border-radius: 20px !important;
}

.featured-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 15px;
}

.featured-title a {
    color: #14313A;
    text-decoration: none;
}

.news-item-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
}

.news-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-feed-banner {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.news-feed-banner img {
    width: 100%;
    height: auto;
}

.news-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.news-item.has-divider {
    border-bottom: 1px solid #000;
    padding-bottom: 10px;
    margin-bottom: 0;
}

.news-item-title a {
    color: #14313A;
    text-decoration: none;
}

.news-item-meta {
    font-size: 13px;
    color: #999;
}

/* Pagination */
.news-pagination-wrapper {
    color: #999;
}

.pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #999;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-arrow:hover:not(.disabled) {
    border-color: #000;
    color: #000;
}

.pagination-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.pagination-number {
    font-size: 1.1rem;
    font-weight: 500;
}

.pagination-number .current {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.pagination-number .total {
    font-size: 0.9rem;
}

/* Footer text */
.news-archive-footer-text p {
    line-height: 1.8;
    color: #262626;
    font-size: 23px;
    margin-bottom: 0;
}

/* Sidebar Styles */
.block-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #14313A;
}

.highlight-cyan {
    background: #CFFafe;
    padding: 2px 6px;
    border-radius: 4px;
    position: relative;
    color: #14313A;
    display: inline-block;
}

.checkmark-icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
    background: #22D3EE;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -7px;
}

.checkmark-icon::after {
    content: '';
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 2px;
    left: 5px;
}

/* Sidebar Header Decor */
.block-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.diamond-star {
    width: 24px;
    height: 24px;
    color: #4ADE80;
    flex-shrink: 0;
}

.block-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #14313A;
    margin: 0;
}

.highlight-cyan {
    background: #CFFafe;
    padding: 2px 10px 2px 6px;
    border-radius: 4px;
    color: #14313A;
    position: relative;
    display: inline-block;
}

.highlight-cyan::after {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 18px;
    height: 18px;
    background: #22D3EE;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

/* Popular Cards */
.popular-card {
    border-radius: 20px;
    border: 1.5px solid #FFE4E6;
    padding: 20px;
    position: relative;
    background: #fff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.popular-card:hover {
    border: 1px solid #00FFA3 !important;
    box-shadow: 0px 4px 27px 0px #00FFA342;
    transform: translateY(-2px);
}

.popular-card-inner {
    display: flex;
    align-items: flex-start;
    /* Nằm ở trên cùng */
    width: 100%;
    position: relative;
}

.rank-number {
    font-size: 2.8rem;
    font-weight: 100;
    line-height: 1;
    background: linear-gradient(180deg, rgba(98, 32, 32, 0.65) 0%, rgba(255, 172, 172, 0.65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-right: 15px;
    font-family: 'Google Sans', sans-serif;
    min-width: 50px;
}

.card-content {
    flex-grow: 1;
}

.popular-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.popular-card-title a {
    color: #14313A;
    text-decoration: none;
}

.view-detail {
    font-size: 12px;
    color: #BBB;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.view-detail svg {
    width: 24px;
    height: 14px;
}

/* Beginner Guide Card */
.beginner-guide-card {
    border: 1px solid #22D3EE;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    margin-top: 30px;
}

.beginner-header {
    background: #DCF7F9;
    /* Xanh nhạt chuẩn */
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.flag-icon-circle {
    width: 58px;
    height: 58px;
    background: #1C338E;
    /* Đã đổi sang #1C338E */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flag-icon-circle i {
    color: #A5F3FC !important;
    /* Cờ màu xanh nhạt */
}

.beginner-title {
    font-size: 1.15rem;
    /* Đã tăng size lên */
    font-weight: 700;
    color: #1C338E;
    margin: 0;
}

.beginner-body {
    padding: 20px;
}

.beginner-topic-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1C338E;
    /* Đã đổi sang #1C338E */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.beginner-list {
    list-style: none;
    padding-left: 20px;
    margin: 0;
}

.beginner-list li {
    position: relative;
    font-size: 14px;
    color: #64748B;
    margin-bottom: 10px;
    font-weight: 500;
}

.beginner-list li::before {
    content: "•";
    position: absolute;
    left: -15px;
    color: #64748B;
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 991px) {
    .news-hero-title {
        font-size: 3rem;
    }
}

/* Single Post Hero */
.post-hero {
    position: relative;
    padding: 100px 0 !important;
    overflow: hidden;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Light dark overlay */
    z-index: 1;
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12vw;
    font-weight: 900;
    line-height: 0.9;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    text-align: center;
    z-index: 1;
    pointer-events: none;
    text-transform: uppercase;
}

.post-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFD700;
    /* Yellow as in screenshot */
    margin-top: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.news-breadcrumbs a,
.news-breadcrumbs span {
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
}

.post-meta-top {
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.news-detail-article .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.news-detail-article .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.tag-label {
    font-weight: 700;
    margin-bottom: 5px;
}

.tags-list a {
    display: inline-block;
    padding: 5px 15px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.tags-list a:hover {
    background: #14313A;
    color: #fff;
}

@media (max-width: 768px) {
    .post-hero-title {
        font-size: 2rem;
    }

    .hero-bg-text {
        font-size: 15vw;
    }
}

/* Single Post Layout (No Sidebar) */
.post-side-meta {
    padding-top: 20px;
    border-right: none;
    text-align: center;
    /* Center text content */
}

.side-date {
    text-align: center;
    margin-bottom: 40px;
}

.side-date .month {
    font-size: 1.25rem;
    color: #14313A;
    font-weight: 400;
    margin-bottom: 0;
    white-space: nowrap;
}

.side-date .day {
    font-size: 4rem;
    line-height: 0.8;
    font-weight: 600;
    color: #14313A;
}

.side-author .label,
.side-share .label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0px;
    display: block;
}

.side-author .name {
    font-weight: 400;
    color: #333;
    font-size: 1rem;
}

.side-share {
    margin-top: 40px;
}

.share-icons {
    padding-top: 8px;
    /* Tighten gap */
    align-items: center;
    /* Center align icons */
}

.share-icons a {
    color: #555;
    font-size: 1.4rem;
    transition: color 0.3s;
    line-height: 1;
    margin-bottom: 15px;
    /* Reduced gap based on user feedback */
}

.share-icons a:last-child {
    margin-bottom: 0;
}

.share-icons a:hover {
    color: #14313A;
}

.post-main-content {
    background: #fff;
    padding: 0 40px;
}

.entry-title-main {
    font-size: 3rem;
    font-weight: 700;
    color: #14313A;
    line-height: 1.2;
}

.post-author-bio .author-avatar img {
    border-radius: 50%;
    border: 2px solid #f0f0f0;
}

.post-author-bio .bio-text .name {
    font-weight: 700;
    font-size: 0.9rem;
}

.post-author-bio .bio-text .date {
    color: #999;
    font-size: 0.9rem;
}

/* Table of Contents */
.post-toc-wrapper {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.toc-header {
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    color: #333;
    border-bottom: 1px solid #eee;
}

.toc-list li {
    padding: 5px 0;
    color: #555;
    font-size: 0.95rem;
}

.toc-list li i {
    color: #999;
    font-size: 0.8rem;
}

.news-article-full .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 991px) {
    .post-main-content {
        padding: 0;
    }

    .entry-title-main {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {

    /* Sidebar Mobile Drawer */
    .news-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        padding: 60px 20px 30px !important;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        box-shadow: none;
    }

    .news-sidebar.drawer-open {
        transform: translateX(0);
    }

    .sidebar-drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(4px);
    }

    .sidebar-drawer-overlay.active {
        opacity: 1;
        visibility: visible;
    }
	.sidebar-drawer-toggle{
		display: none !important;
	}
	
	@media screen and (max-width: 768px){
		.sidebar-drawer-toggle{
			display: block !important;
		}
	
	}

    .sidebar-drawer-toggle {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background: #14313A;
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        border: none;
        cursor: pointer;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.8);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .sidebar-drawer-toggle.visible {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .sidebar-drawer-toggle i,
    .sidebar-drawer-toggle svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
    }

    .drawer-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f5f5f5;
        border-radius: 50%;
        border: none;
        color: #14313A;
        cursor: pointer;
        z-index: 10001;
    }
}

/* --- Post Content Styling (Match Image) --- */
#postContentArea {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    font-family: var(--body-font);
}

#postContentArea p {
    margin-bottom: 25px;
}

#postContentArea h2,
#postContentArea h3,
#postContentArea h4 {
    color: #333;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 15px;
    line-height: 1.3;
}

#postContentArea h2 {
    font-size: 1.5rem;
}

#postContentArea h3 {
    font-size: 1.3rem;
}

#postContentArea .wp-caption,
#postContentArea figure.wp-block-image,
#postContentArea .wp-block-image,
#postContentArea figure {
    width: 80% !important;
    max-width: 80% !important;
    margin: 35px auto !important;
    display: block !important;
}

.wp-caption img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    border-radius: 4px;
    display: block;
}

#postContentArea .wp-caption-text,
#postContentArea figcaption {
    font-style: italic;
    color: #888;
    font-size: 14px;
    margin-top: 4px; /* Giảm khoảng cách cho sát ảnh hơn */
    line-height: 1.5;
    text-align: left !important;
    /* Căn trái chú thích */
}

#postContentArea strong,
#postContentArea b {
    font-weight: 700;
    color: #222;
}

#postContentArea a {
    color: #333;
    text-decoration: underline;
    transition: color 0.3s;
}

#postContentArea a:hover {
    color: #22D3EE;
}

#postContentArea ul,
#postContentArea ol {
    margin: 20px 0 25px;
    padding-left: 25px;
}

#postContentArea ul li {
    list-style-type: disc !important;
    margin-bottom: 10px;
}

#postContentArea ol li {
    list-style-type: decimal !important;
    margin-bottom: 10px;
}