/* ==========================================================================
   PREMIUM EDITORIAL NEWS DETAIL PAGE STYLES
   ========================================================================== */

.news-detay-page-wrapper {
    background-color: #FFFFFF;
    overflow-x: hidden;
    width: 100%;
}

/* 1. HERO SECTION (DEEP CORPORATE HEADER) */
.news-hero-section {
    background-color: var(--color-primary);
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M26 1 L51 26 L26 51 L1 26 Z' fill='none' stroke='rgba(191%2C162%2C118%2C0.12)' stroke-width='0.6'/%3E%3C/svg%3E");
    background-size: 52px 52px;
    padding: 7rem 0 5rem 0;
    position: relative;
    overflow: visible;
    /* Prevent clipping of overlapping image card */
}

.news-hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

/* Back Link (Light version inside Hero) */
.news-hero-section .back-nav-wrapper {
    margin-bottom: 3rem;
}

.news-hero-section .back-to-grid {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-hero-section .back-to-grid:hover {
    color: var(--color-accent);
}

.news-hero-section .back-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-hero-section .back-to-grid:hover .back-arrow {
    transform: translateX(-5px);
}

/* News Hero Grid */
.news-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.news-hero-text {
    display: flex;
    flex-direction: column;
}

.news-meta-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.news-category-tag {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
}

.news-meta-separator {
    color: rgba(255, 255, 255, 0.35);
    font-size: 9px;
}

.news-meta-date {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.news-hero-line {
    width: 45px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 1.5rem 0;
}

.news-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 1.8vw + 1.8rem, 3.8rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.18;
    margin: 0 0 1.5rem 0;
}

.news-subtitle-desc {
    font-family: var(--font-body);
    font-size: clamp(14px, 13px + 0.2vw, 16px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    max-width: 600px;
    margin: 0;
}

/* Overlapping Visual Element */
.news-hero-visual {
    position: relative;
    z-index: 10;
    margin-top: -4.5rem; /* Shift visual upwards on desktop viewports */
    margin-bottom: -5.5rem; /* Rebalanced downward overlap */
    /* Shorter overlap for compactness */
}

.news-image-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(17, 37, 44, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-image-gold-border {
    position: absolute;
    inset: 1.25rem;
    border: 1px solid rgba(191, 162, 118, 0.35);
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

.news-main-image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    text-decoration: none;
}

.news-main-image-link:hover .news-hero-img {
    transform: scale(1.03);
}

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

/* 2. CONTENT SECTION (EDITORIAL LAYOUT) */
.news-content-section {
    background-color: #FFFFFF;
    padding: 2rem 0 2rem 0;
    /* Starts below overlapping hero image */
    position: relative;
}

.news-content-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Editorial Asymmetrical Layout */
.news-editorial-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 6rem;
    align-items: start;
}

.news-editorial-left {
    display: flex;
    flex-direction: column;
}

.news-editorial-right {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(40, 86, 101, 0.05);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 45px rgba(17, 37, 44, 0.02);
}

.news-article-body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    color: var(--color-primary-medium);
    line-height: 1.9;
}

.news-article-body p {
    margin: 0 0 2rem 0;
    text-align: justify;
}

.news-article-body p:last-child {
    margin-bottom: 0;
}

.news-article-body img,
.news-article-body iframe,
.news-article-body table,
.news-article-body video {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.news-editorial-signature {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(40, 86, 101, 0.1);
}

.signature-line {
    width: 60px;
    height: 1px;
    background-color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.signature-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--color-primary);
    line-height: 1.6;
    margin: 0;
}

/* Sidebar Details styling */
.news-sidebar-box {
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(40, 86, 101, 0.08);
    padding-bottom: 1rem;
}

.sidebar-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(40, 86, 101, 0.05);
    font-family: var(--font-body);
}

.sidebar-info-row:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Social Share Block */
.sidebar-share-section {
    border-top: 1px solid rgba(40, 86, 101, 0.08);
    padding-top: 2rem;
    margin-top: 1rem;
}

.share-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary-medium);
    text-transform: uppercase;
    margin: 0 0 1.25rem 0;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(40, 86, 101, 0.12);
    color: var(--color-primary);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: transparent;
    text-decoration: none;
}

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

.share-btn:hover {
    color: #FFFFFF;
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(191, 162, 118, 0.25);
}

/* 3. OTHER NEWS SECTION (BOTTOM CARD SHOWCASE) */
.news-others-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid rgba(40, 86, 101, 0.05);
    padding: 2rem 0;
    position: relative;
}

.news-others-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 4rem;
}

.others-header-block {
    margin-bottom: 4rem;
    text-align: left;
}

.others-eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.others-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 2vw + 1.2rem, 2.6rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.others-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.other-card-wrapper {
    width: 100%;
}

.other-news-card {
    display: flex;
    gap: 2rem;
    text-decoration: none;
    background-color: #FFFFFF;
    border: 1px solid rgba(40, 86, 101, 0.06);
    border-radius: 8px;
    overflow: hidden;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(17, 37, 44, 0.02);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: center;
}

.other-news-img-wrap {
    position: relative;
    width: 150px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.other-news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-news-overlay {
    position: absolute;
    inset: 0;
    background: rgba(191, 162, 118, 0.85);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-arrow {
    width: 20px;
    height: 20px;
    color: #FFFFFF;
    transform: translateY(10px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-news-card:hover .other-news-overlay {
    opacity: 1;
}

.other-news-card:hover .overlay-arrow {
    transform: translateY(0);
}

.other-news-card:hover .other-news-img {
    transform: scale(1.05);
}

.other-news-content {
    display: flex;
    flex-direction: column;
}

.other-news-date {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.other-news-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
    margin: 0 0 0.5rem 0;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-news-card:hover .other-news-title {
    color: var(--color-accent-dark);
}

.other-news-desc {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.other-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(17, 37, 44, 0.06);
    border-color: rgba(191, 162, 118, 0.25);
}

/* 4. RESPONSIVE LAYOUTS & FLUID SCALING */
@media (max-width: 1200px) {

    .news-hero-container,
    .news-content-container,
    .news-others-container {
        padding: 0 3rem;
    }
}

@media (max-width: 992px) {
    .news-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .news-hero-visual {
        margin-top: 0; /* Reset desktop shift on single-column viewports */
        margin-bottom: -8rem;
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .news-content-section {
        padding: 11rem 0 5rem 0;
    }

    .news-editorial-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .news-editorial-right {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .others-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .news-hero-line {
        margin: 0.5rem 0;
    }

    .news-main-title {
        margin: 0 0 0 0;
    }

    .news-editorial-right {
        padding: 0rem 0rem;
    }

    .news-hero-container,
    .news-content-container,
    .news-others-container {
        padding: 0 1.5rem;
    }

    .news-hero-section {
        padding: 6rem 0 7rem 0 !important;
        /* Increased top padding to push content down away from fixed mobile header */
        overflow: visible !important;
    }

    .news-hero-container {
        margin-top: 2rem !important;
        /* Spacing below mobile header */
    }

    .news-hero-section .back-nav-wrapper {
        margin-bottom: 2rem;
    }

    .news-main-title {
        font-size: clamp(1.75rem, 4vw + 1rem, 3.2rem) !important;
        /* Fluid title clamp to prevent extreme scaling on narrow screens */
    }

    .news-hero-visual {
        margin-bottom: -6rem;
    }

    .news-content-section {
        padding: 2rem 0 2rem 0;
    }

    .news-article-body p {
        text-align: left !important;
        /* Prevent awkward word spacing/hyphenation gaps on narrow screens */
    }

    .news-editorial-signature {
        margin-top: 2rem !important;
        /* Tighter spacing consistent with mobile aesthetics */
    }

    .news-sidebar-box {
        padding: 2rem 1.5rem !important;
        /* Reduced padding for comfortable width fit on phone viewports */
    }

    .news-others-section {
        padding: 2rem 0 !important;
        /* Tighter padding for mobile consistency */
    }

    .others-header-block {
        margin-bottom: 2.5rem;
    }

    .other-news-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .other-news-img-wrap {
        width: 100%;
        aspect-ratio: 16 / 10;
        height: auto;
    }
}