:root {
    --primary: #b91c1c;
    --primary-dark: #7f1d1d;
    --secondary: #1e3a8a;
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --container: 1200px;
    --shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.public-container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.website-topbar {
    padding: 9px 0;
    background: #0f172a;
    color: #cbd5e1;
    font-size: 12px;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.website-header {
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(15, 23, 42, 0.06);
}

.header-main {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.website-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.website-brand-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    font-size: 27px;
}

.website-brand-text strong {
    display: block;
    color: #991b1b;
    font-size: 24px;
}

.website-brand-text span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.header-search-form {
    width: min(100%, 440px);
    display: flex;
}

.header-search-input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 14px;
}

.header-search-input:focus {
    border-color: var(--primary);
}

.header-search-button {
    min-width: 88px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.website-navigation {
    background: var(--primary);
}

.navigation-content {
    display: flex;
    align-items: center;
    overflow-x: auto;
}

.public-navigation-link {
    min-height: 47px;
    padding: 14px 17px;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.public-navigation-link:hover,
.public-navigation-link.active {
    background: rgba(0, 0, 0, 0.18);
}

.breaking-news-section {
    border-bottom: 1px solid #fecaca;
    background: #fff1f2;
}

.breaking-news-content {
    min-height: 45px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.breaking-label {
    align-self: stretch;
    padding: 0 16px;
    display: flex;
    align-items: center;
    background: #dc2626;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.breaking-items {
    min-width: 0;
    flex: 1;
    display: flex;
    overflow: hidden;
}

.breaking-items-track {
    display: flex;
    align-items: center;
    gap: 38px;
    padding-left: 22px;
    white-space: nowrap;
    animation: breaking-scroll 28s linear infinite;
}

.breaking-items-track:hover {
    animation-play-state: paused;
}

.breaking-link {
    color: #991b1b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.breaking-link::before {
    margin-right: 8px;
    content: "●";
    color: #dc2626;
    font-size: 9px;
}

@keyframes breaking-scroll {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

.public-main {
    padding: 28px 0 45px;
}

.page-result-message {
    margin-bottom: 22px;
    padding: 14px 17px;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    background: #eff6ff;
    color: #1e40af;
    line-height: 1.5;
}

.section-heading {
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 2px solid var(--primary);
}

.section-heading h2 {
    margin: 0;
    padding: 10px 15px;
    background: var(--primary);
    color: #ffffff;
    font-size: 17px;
}

.section-heading a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.featured-news-grid {
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    gap: 18px;
}

.featured-primary,
.featured-secondary-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 12px;
    background: #1e293b;
    box-shadow: var(--shadow);
}

.featured-primary {
    min-height: 480px;
}

.featured-primary img,
.featured-secondary-card img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.featured-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #334155, #0f172a);
    color: #64748b;
    font-size: 80px;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.96),
        rgba(15, 23, 42, 0.1) 75%
    );
}

.featured-content {
    width: 100%;
    padding: 25px;
    color: #ffffff;
}

.featured-category {
    margin-bottom: 10px;
    padding: 5px 9px;
    display: inline-flex;
    border-radius: 5px;
    background: var(--primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-content h2,
.featured-content h3 {
    margin: 0 0 10px;
    line-height: 1.35;
}

.featured-content h2 {
    font-size: 28px;
}

.featured-content h3 {
    font-size: 18px;
}

.featured-content a {
    color: #ffffff;
    text-decoration: none;
}

.featured-content p {
    margin: 0 0 11px;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.55;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
    color: #cbd5e1;
    font-size: 11px;
}

.featured-secondary {
    display: grid;
    gap: 18px;
}

.news-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(270px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.news-list-grid {
    display: grid;
    gap: 17px;
}

.public-news-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.public-news-image {
    min-height: 175px;
    background: #e2e8f0;
}

.public-news-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.public-news-placeholder {
    width: 100%;
    height: 100%;
    min-height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #94a3b8;
    font-size: 45px;
}

.public-news-body {
    padding: 18px;
}

.public-news-category {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.public-news-body h3 {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.4;
}

.public-news-body h3 a {
    color: var(--text);
    text-decoration: none;
}

.public-news-body h3 a:hover {
    color: var(--primary);
}

.public-news-excerpt {
    margin: 0 0 13px;
    color: #475569;
    font-size: 13px;
    line-height: 1.65;
}

.public-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 15px;
    color: var(--muted);
    font-size: 10px;
}

.public-sidebar {
    display: grid;
    gap: 20px;
}

.sidebar-public-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.sidebar-public-title {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 2px solid var(--primary);
    font-size: 15px;
}

.category-public-list {
    margin: 0;
    padding: 7px 16px;
    list-style: none;
}

.category-public-list li {
    border-bottom: 1px solid var(--border);
}

.category-public-list li:last-child {
    border-bottom: 0;
}

.category-public-list a {
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #334155;
    font-size: 13px;
    text-decoration: none;
}

.category-public-list a:hover {
    color: var(--primary);
}

.category-count {
    min-width: 25px;
    padding: 3px 7px;
    border-radius: 15px;
    background: #f1f5f9;
    color: var(--muted);
    font-size: 10px;
    text-align: center;
}

.popular-news-list {
    padding: 14px;
    display: grid;
    gap: 14px;
}

.popular-news-item {
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 10px;
}

.popular-news-thumbnail {
    width: 75px;
    height: 58px;
    border-radius: 6px;
    background: #e2e8f0;
    object-fit: cover;
}

.popular-news-placeholder {
    width: 75px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #e2e8f0;
}

.popular-news-item h4 {
    margin: 0 0 5px;
    font-size: 12px;
    line-height: 1.4;
}

.popular-news-item h4 a {
    text-decoration: none;
}

.popular-news-item h4 a:hover {
    color: var(--primary);
}

.popular-news-item span {
    color: var(--muted);
    font-size: 9px;
}

.public-pagination {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.public-pagination a,
.public-pagination span {
    min-width: 38px;
    min-height: 38px;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.public-pagination a:hover,
.public-pagination span.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

.public-empty-state {
    padding: 50px 20px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #ffffff;
    color: var(--muted);
    text-align: center;
}

.public-empty-state div {
    margin-bottom: 12px;
    font-size: 50px;
}

.public-empty-state h3 {
    margin: 0 0 8px;
    color: var(--text);
}

.public-empty-state p {
    margin: 0;
}

.website-footer {
    padding: 35px 0 20px;
    background: #0f172a;
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
}

.footer-column h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 16px;
}

.footer-column p {
    margin: 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.7;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 13px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 11px;
}

@media (max-width: 950px) {
    .featured-news-grid,
    .news-content-layout {
        grid-template-columns: 1fr;
    }

    .featured-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .header-main {
        padding: 17px 0;
        align-items: stretch;
        flex-direction: column;
    }

    .header-search-form {
        width: 100%;
    }

    .website-brand-text strong {
        font-size: 20px;
    }

    .featured-primary {
        min-height: 380px;
    }

    .featured-secondary {
        grid-template-columns: 1fr;
    }

    .public-news-card {
        grid-template-columns: 1fr;
    }

    .public-news-image {
        min-height: 210px;
        max-height: 250px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .topbar-content {
        justify-content: center;
    }

    .topbar-content span:last-child {
        display: none;
    }
}



.article-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(270px, 0.75fr);
    gap: 25px;
    align-items: start;
}

.article-content-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.article-header {
    padding: 28px 28px 20px;
}

.article-category-label {
    margin-bottom: 13px;
    padding: 6px 10px;
    display: inline-flex;
    border-radius: 5px;
    background: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.article-main-title {
    margin: 0 0 16px;
    color: var(--text);
    font-size: clamp(27px, 4vw, 43px);
    line-height: 1.2;
}

.article-excerpt {
    margin: 0 0 18px;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.article-meta {
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
}

.article-featured-image {
    width: 100%;
    max-height: 650px;
    display: block;
    object-fit: cover;
}

.article-featured-placeholder {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #94a3b8;
    font-size: 90px;
}

.article-share-bar {
    padding: 14px 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    background: #f8fafc;
}

.article-share-label {
    margin-right: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.share-button {
    min-height: 35px;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.share-facebook {
    background: #1877f2;
}

.share-twitter {
    background: #111827;
}

.share-whatsapp {
    background: #16a34a;
}

.share-copy,
.share-print {
    background: #475569;
}

.article-body {
    padding: 30px;
    color: #1e293b;
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.article-body h2 {
    margin: 32px 0 13px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    color: #0f172a;
    font-size: 25px;
    line-height: 1.35;
}

.article-body h3 {
    margin: 27px 0 12px;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.4;
}

.article-body h4 {
    margin: 22px 0 10px;
    color: #0f172a;
    font-size: 18px;
}

.article-body p {
    margin: 0 0 19px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 20px;
    padding-left: 27px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 23px 0;
    padding: 18px 20px;
    border-left: 5px solid var(--primary);
    border-radius: 0 8px 8px 0;
    background: #f8fafc;
    color: #475569;
    font-style: italic;
}

.article-body a {
    color: #1d4ed8;
}

.article-body img {
    height: auto;
    margin: 18px auto;
    display: block;
    border-radius: 8px;
}

.article-body table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
}

.article-body th,
.article-body td {
    padding: 11px;
    border: 1px solid #cbd5e1;
    text-align: left;
}

.article-body th {
    background: #f1f5f9;
}

.article-tags {
    padding: 5px 30px 27px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.article-tag {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #f8fafc;
    color: #475569;
    font-size: 10px;
    text-decoration: none;
}

.article-tag:hover {
    border-color: #fecaca;
    color: var(--primary);
}

.article-special-labels {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.article-breaking-label,
.article-featured-label {
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
}

.article-breaking-label {
    background: #fee2e2;
    color: #991b1b;
}

.article-featured-label {
    background: #fef3c7;
    color: #92400e;
}

.related-news-section {
    margin-top: 25px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-news-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.related-news-image {
    width: 100%;
    height: 155px;
    display: block;
    background: #e2e8f0;
    object-fit: cover;
}

.related-news-placeholder {
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 38px;
}

.related-news-body {
    padding: 14px;
}

.related-news-body h3 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.45;
}

.related-news-body h3 a {
    text-decoration: none;
}

.related-news-body h3 a:hover {
    color: var(--primary);
}

.related-news-date {
    color: var(--muted);
    font-size: 10px;
}

.copy-notification {
    position: fixed;
    z-index: 2000;
    right: 20px;
    bottom: 20px;
    padding: 12px 17px;
    display: none;
    border-radius: 7px;
    background: #166534;
    color: #ffffff;
    font-size: 12px;
    box-shadow: var(--shadow);
}

.article-not-found {
    max-width: 700px;
    margin: 45px auto;
    padding: 60px 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    box-shadow: var(--shadow);
}

.article-not-found-icon {
    margin-bottom: 15px;
    font-size: 65px;
}

.article-not-found h1 {
    margin: 0 0 10px;
}

.article-not-found p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.6;
}

.public-primary-button {
    padding: 11px 17px;
    display: inline-flex;
    border-radius: 7px;
    background: var(--primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 950px) {
    .article-page-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 750px) {
    .article-header {
        padding: 22px 18px 17px;
    }

    .article-body {
        padding: 22px 18px;
        font-size: 15px;
    }

    .article-share-bar {
        padding: 13px 18px;
    }

    .article-tags {
        padding: 3px 18px 22px;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .related-news-image,
    .related-news-placeholder {
        height: 210px;
    }

    .article-featured-placeholder {
        min-height: 250px;
    }
}

@media print {
    .website-topbar,
    .website-navigation,
    .breaking-news-section,
    .header-search-form,
    .article-share-bar,
    .public-sidebar,
    .related-news-section,
    .website-footer {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .article-page-layout {
        display: block;
    }

    .article-content-card {
        border: 0;
        box-shadow: none;
    }

    .article-body {
        padding: 20px 0;
    }
}


.comments-section {
    margin-top: 25px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.comments-title {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    font-size: 20px;
}

.public-comment-list {
    display: grid;
    gap: 14px;
    margin-bottom: 25px;
}

.public-comment {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #f8fafc;
}

.public-comment-header {
    margin-bottom: 9px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.public-comment-header strong {
    color: #334155;
    font-size: 13px;
}

.public-comment-header span {
    color: var(--muted);
    font-size: 10px;
}

.public-comment p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre-wrap;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.public-form-group {
    margin-bottom: 15px;
}

.public-form-label {
    margin-bottom: 7px;
    display: block;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.public-form-control {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    outline: none;
    font: inherit;
}

textarea.public-form-control {
    min-height: 140px;
    resize: vertical;
}

.public-form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.08);
}

.comment-message {
    margin-bottom: 17px;
    padding: 13px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
}

.comment-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.comment-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.comment-honeypot {
    position: absolute;
    left: -10000px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 650px) {
    .comments-section {
        padding: 19px 15px;
    }

    .comment-form-grid {
        grid-template-columns: 1fr;
    }
}

