.article-detail-page { min-height: 100vh; background: #f3f6f3; }
.article-detail-page main { padding-bottom: 74px; }
.news-detail-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 405px; display: flex; align-items: flex-end; padding: 48px 0 58px; color: #fff; background: #073d2d var(--news-cover) center 43%/cover no-repeat; }
.news-detail-hero::before { position: absolute; z-index: -2; inset: 0; content: ''; background: var(--news-cover) center 43%/cover no-repeat; filter: blur(2px); transform: scale(1.02); }
.news-detail-hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#04291ff0 0%,#063b2de0 54%,#05281f8c 100%),linear-gradient(0deg,#031d17ad,transparent 75%); }
.news-detail-hero-inner { position: relative; }
.news-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 24px; color: #d7e9dc; font-size: 11px; }
.news-breadcrumb a { color: #fff; }
.news-breadcrumb a:hover { color: #f4d66d; }
.news-breadcrumb > i { color: #e8c550; font-size: 8px; }
.news-detail-heading { max-width: 900px; }
.news-detail-category { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 8px 12px; border: 1px solid #f1d16967; border-radius: 999px; color: #f4d66d; background: #fff1b012; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.news-detail-heading h1 { max-width: 880px; margin: 0; color: #fff; font: 850 clamp(30px,4.3vw,52px)/1.13 var(--font-display); letter-spacing: -.045em; text-wrap: balance; }
.news-detail-heading > p { max-width: 760px; margin: 15px 0 0; color: #dbe8df; font-size: 15px; line-height: 1.75; }
.news-detail-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; color: #e2ece5; font-size: 11px; }
.news-detail-meta span { display: inline-flex; align-items: center; gap: 7px; }
.news-detail-meta i { color: #f1d166; }
.news-detail-meta b { color: #fff; }
.news-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 28px; margin-top: -28px; position: relative; z-index: 1; }
.news-detail-article, .news-sidebar-card { border: 1px solid #e2eae3; border-radius: 18px; background: #fff; box-shadow: 0 18px 45px #143c250d; }
.news-detail-article { min-width: 0; overflow: hidden; padding: 22px; }
.news-detail-cover { position: relative; overflow: hidden; height: clamp(260px, 42vw, 520px); margin: 0; border-radius: 14px; background: #e1ebe3; }
.news-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-detail-cover::after { position: absolute; inset: 50% 0 0; content: ''; background: linear-gradient(0deg,#092a20a8,transparent); pointer-events: none; }
.news-detail-cover figcaption { position: absolute; z-index: 1; bottom: 16px; left: 18px; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 10px; font-weight: 700; text-shadow: 0 1px 8px #0009; }
.news-detail-cover figcaption i { color: #f2d365; }
.news-detail-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 6px; padding-bottom: 16px; border-bottom: 1px solid #edf1ed; color: #728278; font-size: 10px; }
.news-detail-tools > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; }
.news-detail-tools > span i { color: #10805a; }
.news-copy-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #dce9de; border-radius: 9px; color: #147452; background: #f7fbf7; font: 750 10px var(--font-body); cursor: pointer; transition: .2s; }
.news-copy-link:hover { border-color: #0d7954; color: #fff; background: #0d7954; }
.news-article-body { max-width: 780px; margin: 20px auto 28px; color: #40564a; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.news-article-body > :first-child { margin-top: 0; }
.news-article-body h2, .news-article-body h3, .news-article-body h4 { margin: 30px 0 12px; color: #183d2d; font-family: var(--font-display); font-weight: 800; line-height: 1.3; }
.news-article-body h2 { font-size: 27px; }
.news-article-body h3 { font-size: 21px; }
.news-article-body p { margin: 0 0 17px; color: inherit; }
.news-article-body a { color: #0b8058; text-decoration: underline; text-underline-offset: 3px; }
.news-article-body blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid #d7b53f; border-radius: 0 12px 12px 0; color: #395d47; background: #f4f8f3; font-size: 17px; font-weight: 650; }
.news-article-body ul, .news-article-body ol { margin: 0 0 20px; padding-left: 24px; }
.news-article-body li { margin: 6px 0; }
.news-article-body figure { margin: 24px 0; }
.news-article-body figure img { display: block; width: 100%; height: auto; border-radius: 13px; }
.news-article-body figcaption { margin-top: 7px; color: #819087; font-size: 11px; text-align: center; }
.news-article-body table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 13px; }
.news-article-body th, .news-article-body td { padding: 10px 12px; border: 1px solid #e2eae3; text-align: left; }
.news-article-body th { color: #194832; background: #f0f6f1; }
.news-tag-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid #edf1ed; }
.news-tag-list > span:first-child { display: inline-flex; align-items: center; gap: 6px; margin-right: 3px; color: #718177; font-size: 10px; font-weight: 800; }
.news-tag-list > span:first-child i { color: #be9a32; }
.news-tag { padding: 6px 10px; border: 1px solid #e2ebe3; border-radius: 999px; color: #49745b; background: #f7faf7; font-size: 10px; }
.news-share-card { margin-top: 14px; padding: 20px; border: 1px solid #dbe9dd; border-radius: 15px; background: linear-gradient(125deg,#f7fbf7,#edf6ef); }
.news-share-card > div:first-child { display: flex; align-items: center; gap: 11px; }
.news-share-icon { width: 40px; height: 40px; display: grid; flex: 0 0 40px; place-items: center; border-radius: 13px; color: #0a7955; background: #e0f1e5; font-size: 16px; }
.news-share-card small { color: #a4832d; font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.news-share-card h2 { margin: 3px 0 0; color: #183d2c; font: 800 17px var(--font-display); }
.news-share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.news-share-button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; border: 1px solid #dce7de; border-radius: 10px; color: #345343; background: #fff; font: 750 10px var(--font-body); text-decoration: none; cursor: pointer; transition: transform .18s,border-color .18s,box-shadow .18s; }
.news-share-button:hover { transform: translateY(-2px); border-color: #b7d0bd; box-shadow: 0 7px 18px #153b250f; }
.news-share-button i { font-size: 15px; }
.share-whatsapp i { color: #1b9b62; }
.share-facebook i { color: #1877f2; }
.share-instagram i { color: #d24680; }
.share-copy i { color: #b3902d; }
.news-share-feedback { min-height: 14px; margin: 9px 0 0; color: #62806c; font-size: 10px; }
.news-detail-sidebar { display: grid; gap: 16px; }
.news-sidebar-card { overflow: hidden; padding: 18px; }
.news-sidebar-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #edf1ed; }
.news-sidebar-heading > span { width: 37px; height: 37px; display: grid; flex: 0 0 37px; place-items: center; border-radius: 12px; color: #0d8058; background: #e8f4eb; }
.news-popular-card .news-sidebar-heading > span { color: #b58421; background: #faf2dc; }
.news-sidebar-heading small, .news-sidebar-heading h2 { display: block; }
.news-sidebar-heading small { color: #a38430; font-size: 8px; font-weight: 850; letter-spacing: .11em; }
.news-sidebar-heading h2 { margin: 3px 0 0; color: #1b402f; font: 800 16px var(--font-display); }
.news-sidebar-list { display: grid; }
.news-sidebar-item { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px 0; border-bottom: 1px solid #eff2ef; color: inherit; text-decoration: none; }
.news-sidebar-item:last-child { padding-bottom: 0; border-bottom: 0; }
.news-sidebar-item:hover .news-sidebar-copy b { color: #0c8058; }
.news-sidebar-thumb { overflow: hidden; width: 68px; height: 58px; flex: 0 0 68px; border-radius: 10px; background: #e6eee7; }
.news-sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-sidebar-item:hover .news-sidebar-thumb img { transform: scale(1.08); }
.news-sidebar-copy { display: grid; gap: 4px; min-width: 0; }
.news-sidebar-copy small { overflow: hidden; color: #89948d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.news-sidebar-copy small i { color: #b38e2d; }
.news-sidebar-copy b { display: -webkit-box; overflow: hidden; color: #294535; font: 750 11px/1.45 var(--font-display); -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color .2s; }
.news-sidebar-item > .fa-arrow-up-right-from-square { margin-left: auto; color: #a2873a; font-size: 10px; }
.news-popular-rank { width: 26px; flex: 0 0 26px; color: #b08a2a; font: 850 13px var(--font-display); }
.news-popular-list .news-sidebar-thumb { width: 54px; height: 50px; flex-basis: 54px; }
.news-sidebar-empty { margin: 15px 0 3px; color: #849187; font-size: 11px; line-height: 1.6; }
.news-back-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 13px; border: 1px solid #dce8de; border-radius: 11px; color: #147452; background: #fff; font-size: 11px; font-weight: 800; text-decoration: none; transition: .2s; }
.news-back-link:hover { border-color: #0d7954; color: #fff; background: #0d7954; }
:root[data-theme="dark"] .article-detail-page { background: #101a14; }
:root[data-theme="dark"] .news-detail-hero-shade { background: linear-gradient(90deg,#020d09f5 0%,#071b12e8 54%,#06140fd9 100%),linear-gradient(0deg,#020d09bd,transparent 75%); }
:root[data-theme="dark"] .news-detail-article, :root[data-theme="dark"] .news-sidebar-card { border-color: #30483a; background: #17251d; box-shadow: 0 18px 45px #0003; }
:root[data-theme="dark"] .news-detail-tools, :root[data-theme="dark"] .news-sidebar-heading, :root[data-theme="dark"] .news-sidebar-item { border-color: #30483a; }
:root[data-theme="dark"] .news-detail-tools, :root[data-theme="dark"] .news-sidebar-empty { color: #b3c3b8; }
:root[data-theme="dark"] .news-article-body { color: #c6d4ca; }
:root[data-theme="dark"] .news-article-body h2, :root[data-theme="dark"] .news-article-body h3, :root[data-theme="dark"] .news-article-body h4 { color: #e6f0e9; }
:root[data-theme="dark"] .news-article-body blockquote { border-color: #bd9d3d; color: #d2e0d6; background: #203128; }
:root[data-theme="dark"] .news-article-body th, :root[data-theme="dark"] .news-article-body td { border-color: #3a5143; }
:root[data-theme="dark"] .news-article-body th { color: #e1ede5; background: #203128; }
:root[data-theme="dark"] .news-tag-list { border-color: #30483a; }
:root[data-theme="dark"] .news-tag { border-color: #3a5143; color: #b9d8c4; background: #1c2b22; }
:root[data-theme="dark"] .news-share-card { border-color: #365342; background: linear-gradient(125deg,#1d3024,#17261e); }
:root[data-theme="dark"] .news-share-card h2, :root[data-theme="dark"] .news-sidebar-heading h2, :root[data-theme="dark"] .news-sidebar-copy b { color: #e4eee7; }
:root[data-theme="dark"] .news-share-icon, :root[data-theme="dark"] .news-sidebar-heading > span { color: #80d9a9; background: #203b2c; }
:root[data-theme="dark"] .news-popular-card .news-sidebar-heading > span { color: #f0d578; background: #3b3320; }
:root[data-theme="dark"] .news-share-button, :root[data-theme="dark"] .news-copy-link, :root[data-theme="dark"] .news-back-link { border-color: #3a5143; color: #d6e3da; background: #1b2a21; }
:root[data-theme="dark"] .news-copy-link:hover, :root[data-theme="dark"] .news-back-link:hover { border-color: #12805a; color: #fff; background: #0d7954; }
:root[data-theme="dark"] .news-share-feedback { color: #a7c3b0; }
@media (max-width: 1000px) {
    .news-detail-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 18px; }
    .news-sidebar-card { padding: 15px; }
}
@media (max-width: 760px) {
    .news-detail-hero { min-height: 365px; padding: 34px 0 52px; }
    .news-detail-layout { grid-template-columns: minmax(0,1fr); margin-top: -20px; }
    .news-detail-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
    .news-back-link { grid-column: 1/-1; }
    .news-detail-article { padding: 15px; }
    .news-detail-cover { height: clamp(230px,55vw,400px); }
    .news-article-body { font-size: 14px; }
}
@media (max-width: 560px) {
    .news-detail-hero { min-height: 0; padding: 26px 0 40px; }
    .news-breadcrumb { gap: 6px; margin-bottom: 18px; font-size: 9px; }
    .news-detail-category { margin-bottom: 11px; font-size: 8px; }
    .news-detail-heading h1 { font-size: clamp(27px,8vw,38px); }
    .news-detail-heading > p { margin-top: 11px; font-size: 13px; }
    .news-detail-meta { gap: 9px 14px; margin-top: 16px; font-size: 9px; }
    .news-detail-layout { gap: 14px; }
    .news-detail-article { padding: 11px; border-radius: 14px; }
    .news-detail-cover { height: 230px; border-radius: 10px; }
    .news-detail-tools { align-items: flex-start; font-size: 9px; }
    .news-copy-link { padding: 7px 8px; font-size: 9px; }
    .news-article-body { margin: 17px auto 22px; font-size: 13px; line-height: 1.85; }
    .news-article-body h2 { font-size: 23px; }
    .news-article-body h3 { font-size: 19px; }
    .news-share-card { padding: 15px; }
    .news-share-card h2 { font-size: 15px; }
    .news-share-actions { gap: 6px; }
    .news-share-button { flex: 1 1 calc(50% - 6px); padding: 0 8px; font-size: 9px; }
    .news-detail-sidebar { grid-template-columns: minmax(0,1fr); }
}


/* ==========================================================================
   NEWS COMMENTS & STAR RATING SECTION (ENHANCED)
   ========================================================================== */
.news-comments-section {
    margin-top: 38px;
    padding-top: 32px;
    border-top: 2px dashed #dbe8e0;
}
.news-comments-header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.comments-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
}
.comments-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f5ed 0%, #d4ede0 100%);
    color: #0c8059;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(12, 128, 89, 0.14);
}
.comments-header-title small {
    display: block;
    color: #a4832d;
    font-size: 9.5px;
    font-weight: 850;
    letter-spacing: .12em;
}
.comments-header-title h2 {
    margin: 3px 0 0;
    color: #183d2c;
    font: 800 21px var(--font-display);
}

/* Rating Overview Card */
.comments-rating-summary {
    display: flex;
    align-items: center;
    gap: 14px;
}
.rating-overview-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fefbf2 0%, #fdf6e2 100%);
    border: 1.5px solid #f6dd98;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.1);
}
.rating-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-right: 16px;
    border-right: 1px solid #ebd493;
}
.rating-big-num {
    font: 900 32px/1 var(--font-display);
    color: #946808;
    letter-spacing: -0.02em;
}
.rating-stars-row {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 4px 0 2px;
}
.rating-stars-row i.is-filled {
    color: #f59e0b;
    font-size: 13px;
}
.rating-stars-row i.is-empty {
    color: #cbd5e1;
    font-size: 13px;
}
.rating-count-label {
    font-size: 10.5px;
    font-weight: 750;
    color: #7d6323;
    white-space: nowrap;
}
.rating-breakdown-bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 130px;
}
.breakdown-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #635022;
}
.breakdown-row .star-label {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    width: 24px;
    font-weight: 750;
}
.breakdown-row .star-label i {
    color: #f59e0b;
    font-size: 8.5px;
}
.breakdown-bar {
    flex: 1;
    height: 6px;
    border-radius: 4px;
    background: #e8d9b5;
    overflow: hidden;
}
.breakdown-fill {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    transition: width 0.4s ease;
}
.breakdown-row .star-qty {
    width: 14px;
    text-align: right;
    font-weight: 700;
    color: #8c732c;
}

/* Comment Form Card */
.news-comment-form-card {
    padding: 24px 26px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fbf9 0%, #edf7f1 100%);
    border: 1.5px solid #d4e7da;
    box-shadow: 0 8px 26px rgba(10, 80, 55, 0.05);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.news-comment-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #075f45 0%, #15b984 50%, #f59e0b 100%);
}
.comment-form-header {
    margin-bottom: 20px;
}
.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 8px;
    background: #def0e4;
    color: #065f46;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}
.comment-form-header p {
    margin: 0;
    color: #4f6a5b;
    font-size: 12.5px;
    line-height: 1.6;
}

/* Star Rating Picker (Default Belum Dipilih) */
.comment-rating-picker {
    margin-bottom: 18px;
    transition: all 0.25s ease;
}
.rating-picker-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.comment-field-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 750;
    color: #173d2a;
    margin-bottom: 0;
}
.comment-field-label i {
    color: #0c9167;
}
.comment-field-label .required {
    color: #dc2626;
    font-size: 14px;
}
.btn-clear-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #d3e2d7;
    background: #ffffff;
    color: #5d7568;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-clear-rating:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}
.star-rating-interactive {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid #cfe0d4;
    box-shadow: 0 2px 8px rgba(10, 80, 55, 0.03);
    transition: all 0.25s ease;
}
.star-rating-interactive:focus-within {
    border-color: #0c9167;
    box-shadow: 0 0 0 3.5px rgba(12, 145, 103, 0.16);
}
.star-rating-interactive.is-unselected {
    border-style: dashed;
    border-color: #b9d8c3;
    background: #ffffff;
}
.star-rating-interactive.is-invalid {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18) !important;
    animation: ratingShake 0.4s ease;
}
@keyframes ratingShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.star-btn {
    background: none;
    border: none;
    padding: 3px 5px;
    font-size: 26px;
    color: #cbd5e1;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s;
}
.star-btn:hover {
    transform: scale(1.25) translateY(-2px);
}
.star-btn.is-active, .star-btn.is-hover {
    color: #f59e0b;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.35));
}
.star-rating-text {
    margin-left: 14px;
    font-size: 12.5px;
    font-weight: 750;
    color: #0c8059;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.star-rating-text.is-empty {
    color: #799587;
    font-weight: 600;
}
.star-rating-text .selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 8px;
    background: #fef8e7;
    border: 1px solid #f6dd98;
    color: #946808;
    font-weight: 800;
}
.rating-error-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #dc2626;
}

/* Fields Grid & Controls */
.comment-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 640px) {
    .comment-fields-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
.comment-field {
    display: flex;
    flex-direction: column;
}
.comment-field input, .comment-field textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid #cfe0d4;
    background: #ffffff;
    font-size: 13.5px;
    color: #1a382b;
    transition: all 0.22s ease;
    box-sizing: border-box;
}
.comment-field input:focus, .comment-field textarea:focus {
    border-color: #0c9167;
    box-shadow: 0 0 0 4px rgba(12, 145, 103, 0.16);
    outline: none;
    background: #ffffff;
}
.comment-field textarea {
    resize: vertical;
    min-height: 95px;
    line-height: 1.6;
}
.comment-textarea-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}
.char-count {
    font-size: 11px;
    color: #7b9487;
    font-weight: 600;
    margin-left: auto;
}
.comment-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.btn-submit-comment {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px;
    border-radius: 12px;
    background: linear-gradient(135deg, #075f45 0%, #0d966d 100%);
    border: 1px solid #075f45;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(7, 95, 69, 0.24);
    transition: all 0.25s ease;
}
.btn-submit-comment:hover {
    background: linear-gradient(135deg, #097453 0%, #10a87a 100%);
    border-color: #097453;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(7, 95, 69, 0.35);
}
.btn-submit-comment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.comment-privacy-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #5a7767;
}
.comment-privacy-notice i {
    color: #0c9167;
}

/* Comments Filter Toolbar */
.comments-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #dce8e0;
}
.comment-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #4b6657;
    font-size: 11.5px;
    font-weight: 750;
    cursor: pointer;
    transition: all 0.2s ease;
}
.comment-filter-chip:hover {
    background: #eef7f1;
    color: #086649;
}
.comment-filter-chip.is-active {
    background: #086649;
    color: #ffffff;
    border-color: #086649;
}
.comment-filter-chip.is-active i {
    color: #fde68a;
}

/* Comments List */
.news-comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.comment-card {
    padding: 20px 22px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #dce8df;
    box-shadow: 0 4px 14px rgba(10, 80, 55, 0.04);
    transition: all 0.25s ease;
    position: relative;
}
.comment-card.is-just-added {
    animation: newCommentGlow 2.5s ease forwards;
}
@keyframes newCommentGlow {
    0% { background: #fef8e7; border-color: #f6dd98; transform: translateY(-4px); }
    100% { background: #ffffff; border-color: #dce8df; transform: translateY(0); }
}
.comment-card:hover {
    border-color: #b5dac0;
    box-shadow: 0 8px 24px rgba(10, 80, 55, 0.09);
}
.comment-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}
.comment-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #075f45 0%, #0d966d 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 850;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(7, 95, 69, 0.2);
    flex-shrink: 0;
    letter-spacing: 0.05em;
}
.author-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.comment-author-name {
    margin: 0;
    color: #173b2a;
    font-size: 14px;
    font-weight: 800;
}
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    background: #eaf5ee;
    color: #086649;
    font-size: 9.5px;
    font-weight: 800;
}
.comment-time {
    display: block;
    color: #798f82;
    font-size: 11px;
    margin-top: 2px;
}
.comment-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fef8e7;
    border: 1px solid #f6dd98;
}
.comment-rating-badge i.is-filled {
    color: #f59e0b;
    font-size: 12px;
}
.comment-rating-badge i.is-empty {
    color: #cbd5e1;
    font-size: 12px;
}
.comment-text {
    margin: 0;
    color: #385245;
    font-size: 13.5px;
    line-height: 1.72;
    white-space: pre-line;
}
.comment-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #e8f0eb;
}
.btn-comment-helpful {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 8px;
    border: 1px solid #dce8df;
    background: #fbfdfc;
    color: #557263;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-comment-helpful:hover {
    background: #eaf5ee;
    color: #086649;
    border-color: #a7dfbd;
    transform: translateY(-1px);
}
.btn-comment-helpful.is-helpful {
    background: #eaf5ee;
    color: #086649;
    border-color: #0c8059;
    font-weight: 800;
}
.btn-comment-helpful.is-helpful i {
    color: #0c8059;
}

/* Empty State */
.comments-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    border: 2px dashed #cfe0d5;
    border-radius: 18px;
    background: #fbfdfc;
}
.comments-empty-state i {
    font-size: 40px;
    color: #92ab9d;
    margin-bottom: 12px;
}
.comments-empty-state h4 {
    margin: 0 0 6px 0;
    font-size: 15.5px;
    color: #1a4231;
    font-weight: 750;
}
.comments-empty-state p {
    margin: 0;
    font-size: 12.5px;
    color: #627b6f;
    max-width: 440px;
}

/* Dark Mode Overrides for Comments */
:root[data-theme="dark"] .news-comments-section {
    border-top-color: #244133;
}
:root[data-theme="dark"] .comments-icon {
    background: #193327;
    color: #6ee7b7;
}
:root[data-theme="dark"] .comments-header-title h2 {
    color: #e5f3eb;
}
:root[data-theme="dark"] .rating-overview-card {
    background: #1e1d0f;
    border-color: #524219;
}
:root[data-theme="dark"] .rating-score-box {
    border-right-color: #443717;
}
:root[data-theme="dark"] .rating-big-num {
    color: #fde68a;
}
:root[data-theme="dark"] .rating-count-label {
    color: #fde68a;
}
:root[data-theme="dark"] .breakdown-row {
    color: #d1b87a;
}
:root[data-theme="dark"] .breakdown-bar {
    background: #3b3218;
}
:root[data-theme="dark"] .news-comment-form-card {
    background: linear-gradient(135deg, #13241b 0%, #101e17 100%);
    border-color: #223e30;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}
:root[data-theme="dark"] .form-badge {
    background: #1a382b;
    color: #6ee7b7;
}
:root[data-theme="dark"] .comment-form-header p {
    color: #9cb5a6;
}
:root[data-theme="dark"] .comment-field-label {
    color: #d1fae5;
}
:root[data-theme="dark"] .star-rating-interactive {
    background: #172b21;
    border-color: #284c3b;
}
:root[data-theme="dark"] .star-rating-interactive.is-unselected {
    border-color: #345c48;
}
:root[data-theme="dark"] .star-btn {
    color: #4b6657;
}
:root[data-theme="dark"] .star-btn.is-active, :root[data-theme="dark"] .star-btn.is-hover {
    color: #fbbf24;
}
:root[data-theme="dark"] .star-rating-text {
    color: #7ee2b2;
}
:root[data-theme="dark"] .star-rating-text.is-empty {
    color: #8da698;
}
:root[data-theme="dark"] .star-rating-text .selected-badge {
    background: #2a220d;
    border-color: #594719;
    color: #fde68a;
}
:root[data-theme="dark"] .comment-field input, :root[data-theme="dark"] .comment-field textarea {
    background: #172b21;
    border-color: #284c3b;
    color: #e5f3eb;
}
:root[data-theme="dark"] .comment-field input:focus, :root[data-theme="dark"] .comment-field textarea:focus {
    border-color: #15b984;
    background: #1a3227;
}
:root[data-theme="dark"] .comments-filter-bar {
    background: #14251d;
    border-color: #244133;
}
:root[data-theme="dark"] .comment-filter-chip {
    color: #a4bea9;
}
:root[data-theme="dark"] .comment-filter-chip:hover {
    background: #1b3326;
    color: #fde68a;
}
:root[data-theme="dark"] .comment-filter-chip.is-active {
    background: #107e5c;
    border-color: #107e5c;
    color: #ffffff;
}
:root[data-theme="dark"] .comment-card {
    background: #14251d;
    border-color: #244133;
}
:root[data-theme="dark"] .comment-card:hover {
    border-color: #15b984;
}
:root[data-theme="dark"] .comment-author-name {
    color: #e5f3eb;
}
:root[data-theme="dark"] .verified-badge {
    background: #1c3d2e;
    color: #6ee7b7;
}
:root[data-theme="dark"] .comment-time {
    color: #8fa89b;
}
:root[data-theme="dark"] .comment-rating-badge {
    background: #2a220d;
    border-color: #594719;
}
:root[data-theme="dark"] .comment-text {
    color: #c2d6ca;
}
:root[data-theme="dark"] .comment-card-foot {
    border-top-color: #203a2c;
}
:root[data-theme="dark"] .btn-comment-helpful {
    background: #182e23;
    border-color: #284c3b;
    color: #9cb5a6;
}
:root[data-theme="dark"] .btn-comment-helpful:hover {
    background: #203c2e;
    color: #fde68a;
    border-color: #345e4a;
}
:root[data-theme="dark"] .btn-comment-helpful.is-helpful {
    background: #193829;
    border-color: #15b984;
    color: #7ee2b2;
}
:root[data-theme="dark"] .btn-comment-helpful.is-helpful i {
    color: #7ee2b2;
}
:root[data-theme="dark"] .comments-empty-state {
    background: #112019;
    border-color: #223e30;
}
:root[data-theme="dark"] .comments-empty-state h4 {
    color: #e5f3eb;
}
:root[data-theme="dark"] .comments-empty-state p {
    color: #8fa89b;
}
