:root {
    --primary-color: #C21F61;
    --primary-color-rgb: 194, 31, 97;
    --okai-red: #C21F61;
    --okai-grey: #f8f9fa;
    --okai-white: #ffffff;
    --okai-dark: #1a1a1a;
}

.news-detail-content {
    --news-green: #28a745;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-detail-content .container {
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-detail-content section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.main-content-area {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.main-content-area .e-con-inner {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

.article-hero {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    background-color: #000;
}

.article-hero-badges {
    position: absolute;
    top: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 24px;
    z-index: 3;
    pointer-events: none;
}

.article-hero .d-tagline {
    background-color: rgba(194, 31, 97, 0.92);
    color: var(--okai-white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(194, 31, 97, 0.3);
    pointer-events: auto;
}

.article-hero .d-tagline span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
}

.article-hero .d-tagline span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--okai-white);
}

.article-hero .date-badge {
    background-color: rgba(194, 31, 97, 0.92);
    color: var(--okai-white);
    text-align: center;
    border-radius: 10px;
    padding: 8px 12px;
    min-width: 64px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
}

.article-hero .date-badge .day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.article-hero .date-badge .month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.article-hero-badges .d-tagline,
.article-hero-badges .date-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-hero-badges .d-tagline:hover,
.article-hero-badges .date-badge:hover {
    transform: translateY(-2px);
}

.article-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.article-hero-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    z-index: 2;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.2;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
}

.language-mismatch-notice {
    margin-top: 80px !important;
    padding: 1.5rem 0 !important;
    background-color: transparent;
}

.language-notice-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border-left: 4px solid var(--okai-red);
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(194, 31, 97, 0.1);
}

.language-notice-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--okai-red);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.25rem;
}

.language-notice-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.language-notice-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    font-weight: 400;
}

.custom-btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    animation: none !important;
}

.custom-btn:hover,
.custom-btn:focus,
.custom-btn:active,
.custom-btn:active:focus {
    text-decoration: none;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    animation: none !important;
}

.share-btn-facebook {
    background-color: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.share-btn-facebook:hover,
.share-btn-facebook:focus,
.share-btn-facebook:active {
    background-color: #145dbf;
    border-color: #145dbf;
    color: #ffffff;
}

.share-btn-twitter {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: #ffffff;
}

.share-btn-twitter:hover,
.share-btn-twitter:focus,
.share-btn-twitter:active {
    background-color: #0c85d0;
    border-color: #0c85d0;
    color: #ffffff;
}

.share-btn-linkedin {
    background-color: #0077b5;
    border-color: #0077b5;
    color: #ffffff;
}

.share-btn-linkedin:hover,
.share-btn-linkedin:focus,
.share-btn-linkedin:active {
    background-color: #005582;
    border-color: #005582;
    color: #ffffff;
}

.share-btn-email {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
}

.share-btn-email:hover,
.share-btn-email:focus,
.share-btn-email:active {
    background-color: #545b62;
    border-color: #545b62;
    color: #ffffff;
}

.share-btn-whatsapp {
    background-color: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.share-btn-whatsapp:hover,
.share-btn-whatsapp:focus,
.share-btn-whatsapp:active {
    background-color: #1ea952;
    border-color: #1ea952;
    color: #ffffff;
}

.share-btn-telegram {
    background-color: #0088cc;
    border-color: #0088cc;
    color: #ffffff;
}

.share-btn-telegram:hover,
.share-btn-telegram:focus,
.share-btn-telegram:active {
    background-color: #006699;
    border-color: #006699;
    color: #ffffff;
}

.news-detail-content .post-meta {
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-detail-content .post-meta .id-color {
    color: var(--okai-red) !important;
}

.news-detail-content .post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--okai-dark);
}

.news-detail-content .post-content > *:first-child {
    margin-top: 0;
}

.news-detail-content .post-content p {
    margin-bottom: 1rem;
}

.news-detail-content .post-content .lead {
    margin-bottom: 1rem;
    margin-top: 0;
}

.news-detail-content .post-content h2,
.news-detail-content .post-content h3,
.news-detail-content .post-content h4 {
    color: var(--okai-dark);
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

.news-detail-content .post-content h2:first-child,
.news-detail-content .post-content h3:first-child,
.news-detail-content .post-content h4:first-child {
    margin-top: 0.3rem;
}

.news-detail-content .post-content a {
    color: var(--okai-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-detail-content .post-content a:hover {
    color: #a01a50;
    text-decoration: underline;
}

.news-detail-content .post-content blockquote {
    border-left: 4px solid var(--okai-red);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.news-detail-content .post-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--okai-grey);
}

.news-detail-content .post-tags strong {
    color: var(--okai-red);
    font-weight: 700;
    margin-bottom: 1rem;
}

.news-detail-content .post-tags .btn-tag {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px;
    background-color: var(--okai-grey);
    color: var(--okai-dark);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-detail-content .post-tags .btn-tag:hover {
    background-color: var(--okai-red);
    color: var(--okai-white);
    transform: translateY(-2px);
}

.news-detail-content .widget {
    background-color: var(--okai-grey);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.news-detail-content .widget h5 {
    color: var(--okai-red);
    font-weight: 700;
    margin-bottom: 15px;
}

.news-detail-content .small-border {
    width: 50px;
    height: 3px;
    background-color: var(--okai-red);
    margin-bottom: 20px;
}

.back-to-news-btn {
    display: inline-block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    background-color: var(--okai-red);
    color: #ffffff;
    border: 1px solid var(--okai-red);
    border-radius: 0.375rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
}

.back-to-news-btn:hover {
    background-color: #a01a50;
    border-color: #a01a50;
    color: #ffffff;
    text-decoration: none;
}

.news-detail-content .toc-navigation {
    max-height: 500px;
    overflow-y: auto;
}

.news-detail-content .toc-navigation::-webkit-scrollbar {
    width: 6px;
}

.news-detail-content .toc-navigation::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.news-detail-content .toc-navigation::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.news-detail-content .toc-navigation::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.news-detail-content .toc-link {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
    text-decoration: none;
}

.news-detail-content .toc-link:hover {
    color: var(--okai-red);
    padding-left: 8px;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .news-detail-content .post-content {
        font-size: 15px;
    }
    
    .article-hero-badges {
        top: 16px;
        padding: 0 18px;
    }

    .article-hero .d-tagline {
        font-size: 12px;
        padding: 6px 12px;
    }

    .article-hero .date-badge {
        min-width: 58px;
        padding: 7px 10px;
    }

    .news-detail-content .widget {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .language-mismatch-notice {
        margin-top: 70px !important;
        padding: 1rem 0 !important;
    }
}

@media (max-width: 576px) {
    .news-detail-content .post-content {
        font-size: 14px;
    }

    .article-hero-badges {
        top: 14px;
        padding: 0 14px;
    }

    .article-hero .d-tagline {
        font-size: 11px;
        padding: 5px 10px;
    }

    .article-hero .date-badge .day {
        font-size: 20px;
    }

    .article-hero .date-badge {
        min-width: 54px;
        padding: 6px 10px;
    }
}

