/* =============================================
   ECEL NEWS – eSports Premium Styling
   ============================================= */

/* ── Hero Banner ── */
.news-hero {
    position: relative;
    padding: 6rem 2rem 3rem;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15,15,15,0) 0%, rgba(15,15,15,1) 100%),
                linear-gradient(135deg, rgba(255, 31, 31,0.15) 0%, rgba(255, 106, 0,0.08) 50%, rgba(15,15,15,1) 100%);
}

.news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/Images/ECEL.png') center/200px no-repeat;
    opacity: 0.03;
    pointer-events: none;
}

.news-hero-title {
    font-family: 'Bebas Neue', 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 0%, var(--hellraiser-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.news-hero-sub {
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    color: var(--text-gray);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.news-hero-admin-actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Category Filter Bar ── */
.news-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-filter-btn {
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255, 31, 31,0.3);
    border-radius: 20px;
    background: transparent;
    color: var(--text-gray);
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.news-filter-btn:hover,
.news-filter-btn.active {
    background: var(--hellraiser-red);
    border-color: var(--hellraiser-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 31, 31,0.4);
}

/* ── Featured Article ── */
.news-featured {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.featured-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    border-radius: 12px;
    overflow: hidden;
    background: var(--hellraiser-dark);
    border: 1px solid rgba(255, 31, 31,0.2);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.featured-card:hover {
    border-color: var(--hellraiser-red);
    box-shadow: 0 0 30px rgba(255, 31, 31,0.2);
    transform: translateY(-2px);
}

.featured-card-img {
    position: relative;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    background-color: #111;
}

.featured-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, var(--hellraiser-dark) 100%);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--hellraiser-red);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.featured-card-body {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card-category {
    font-family: 'Barlow', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--hellraiser-gold);
    margin-bottom: 0.75rem;
}

.featured-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 1rem;
}

.featured-card-excerpt {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.featured-card-meta i {
    color: var(--hellraiser-red);
    margin-right: 0.3rem;
}

/* ── Article Grid ── */
.news-grid-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.news-grid-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.news-grid-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.news-grid-header .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--hellraiser-red), transparent);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: var(--hellraiser-dark);
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    border-color: var(--hellraiser-red);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 31, 31,0.15);
}

.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #111;
    display: block;
}

.news-card-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.2rem 0.65rem;
    background: rgba(255, 31, 31,0.9);
    backdrop-filter: blur(4px);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

.news-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 0.6rem;
}

.news-card:hover .news-card-title {
    color: var(--hellraiser-gold);
}

.news-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-gray);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 0.75rem;
}

.news-card-footer i {
    color: var(--hellraiser-red);
    margin-right: 0.25rem;
}

.news-card-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ── Empty State ── */
.news-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.news-empty i {
    font-size: 3rem;
    color: var(--hellraiser-red);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.news-empty h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

/* ── Pagination ── */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.news-page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 31, 31,0.3);
    background: transparent;
    color: var(--text-gray);
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.news-page-btn:hover,
.news-page-btn.active {
    background: var(--hellraiser-red);
    border-color: var(--hellraiser-red);
    color: #fff;
}

/* =============================================
   ARTICLE DETAIL PAGE
   ============================================= */

.article-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin-top: -1rem;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,15,15,0.2) 0%, rgba(15,15,15,0.95) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.article-category-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--hellraiser-red);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.article-meta i {
    color: var(--hellraiser-red);
    margin-right: 0.3rem;
}

/* Article Content */
.article-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.article-content {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin: 2rem 0 1rem;
}

.article-content h2 { font-size: 1.6rem; }
.article-content h3 { font-size: 1.3rem; }

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 3px solid var(--hellraiser-red);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(255, 31, 31,0.05);
    border-radius: 0 8px 8px 0;
    color: var(--text-gray);
    font-style: italic;
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--hellraiser-gold);
    text-decoration: underline;
    transition: all 0.2s ease;
    font-weight: 500;
}

.article-content a:hover {
    color: var(--hellraiser-red);
    text-decoration: underline wavy;
    opacity: 0.9;
}

.article-content a:visited {
    color: #d4a574;
}

.article-content pre {
    background: #111;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

/* Tags */
.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.article-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 106, 0,0.1);
    border: 1px solid rgba(255, 106, 0,0.2);
    border-radius: 20px;
    color: var(--hellraiser-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Social */
.article-social {
    margin-top: 2.2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1.4rem;
}

.article-social__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-social__top h2 {
    margin: 0;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
}

.article-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: transparent;
    color: #d1d5db;
    border-radius: 999px;
    padding: 0.2rem 0.35rem;
    cursor: pointer;
    font-weight: 600;
}

.article-like-btn strong {
    color: #d1d5db;
    font-size: 0.82rem;
}

.article-like-btn.is-active {
    color: #ff1f1f;
}

.article-like-btn.is-active strong {
    color: #ff1f1f;
}

.article-like-btn i {
    font-size: 1rem;
}

.article-like-btn span {
    display: none;
}

.article-like-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.article-social__login-note {
    margin-bottom: 1rem;
    border: 1px dashed rgba(255, 106, 0,0.28);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-social__login-note i {
    color: var(--hellraiser-gold);
}

.article-social__login-note a {
    color: #fff;
    text-decoration: underline;
}

.article-comment-form {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 0.9rem;
    margin-bottom: 1.15rem;
}

.article-comment-form label {
    display: block;
    color: #fff;
    font-size: 0.82rem;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.article-comment-form textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    padding: 0.65rem 0.75rem;
    font-family: 'Inter', sans-serif;
    resize: vertical;
}

.article-comment-form textarea:focus {
    outline: none;
    border-color: rgba(255, 31, 31,0.45);
}

.article-comment-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.6rem;
    gap: 0.5rem;
}

.article-comment-form__footer span {
    color: var(--text-gray);
    font-size: 0.78rem;
}

.article-comments__title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.article-comments__title i {
    color: var(--hellraiser-red);
}

.article-comments__list {
    display: grid;
    gap: 0.75rem;
}

.article-comment {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0.5rem;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    padding: 0.58rem;
}

.article-comment__avatar {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    overflow: hidden;
    background: rgba(255, 31, 31,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
}

.article-comment__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-comment__meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.25rem;
}

.article-comment__meta-right {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.12rem;
}

.article-comment__meta strong {
    color: #fff;
    font-size: 0.83rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
    flex-wrap: wrap;
    line-height: 1.25;
    word-break: break-word;
}

.article-comment__meta small {
    color: var(--text-gray);
    font-size: 0.68rem;
    white-space: nowrap;
}

.article-comment__body p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.84rem;
    white-space: pre-wrap;
}

.article-comment__actions {
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
}

.article-comment-like {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border: none;
    background: transparent;
    color: #9ca3af;
    border-radius: 999px;
    padding: 0.1rem 0.2rem;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.article-comment-like strong {
    color: #9ca3af;
}

.article-comment-like:hover {
    color: #ff1f1f;
}

.article-comment-like.is-active {
    color: #ff1f1f;
}

.article-comment-like.is-active strong {
    color: #ff1f1f;
}

.article-comment-like span {
    display: none;
}

.article-player-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 0.56rem;
}

.article-player-badge--vip {
    background: rgba(255, 106, 0, 0.2);
    color: #facc15;
    border: 1px solid rgba(255, 106, 0, 0.45);
}

.article-player-badge--verified {
    background: rgba(255, 106, 0, 0.2);
    color: #ff8a33;
}

.article-player-badge-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 0 2px rgba(255, 138, 51, 0.45));
}

.article-comment-like:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.article-comments__empty {
    color: var(--text-gray);
    font-style: italic;
    margin: 0.25rem 0 0;
}

/* Related Articles */
.related-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.related-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.related-section h2 .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--hellraiser-red), transparent);
}

/* Back button */
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(255, 31, 31,0.3);
    border-radius: 6px;
    color: var(--text-gray);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 2rem;
}

.article-back:hover {
    background: var(--hellraiser-red);
    border-color: var(--hellraiser-red);
    color: #fff;
}

/* =============================================
   ADMIN NEWS EDITOR
   ============================================= */

.news-admin-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.news-admin-form .form-group {
    margin-bottom: 1.5rem;
}

.news-form-hint {
    display: block;
    margin-top: 0.42rem;
    color: #8892a6;
    font-size: 0.78rem;
    line-height: 1.4;
}

.news-editor-hint-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
}

.news-editor-hint-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #cbd5e1;
    border-radius: 999px;
    padding: 0.26rem 0.62rem;
    font-size: 0.74rem;
    letter-spacing: 0.03em;
}

.news-editor-hint-row i {
    color: var(--hellraiser-gold);
}

.news-admin-form label {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.news-admin-form input[type="text"],
.news-admin-form select,
.news-admin-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, rgba(12,16,26,0.96), rgba(10,12,18,0.96));
    border: 1px solid rgba(255, 138, 51,0.14);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    transition: var(--transition);
}

.news-admin-form input[type="text"]::placeholder,
.news-admin-form textarea::placeholder {
    color: #7c8798;
}

.news-admin-form input[type="text"]:hover,
.news-admin-form select:hover,
.news-admin-form textarea:hover {
    border-color: rgba(255, 106, 0,0.28);
}

.news-admin-form input:focus,
.news-admin-form select:focus,
.news-admin-form textarea:focus {
    outline: none;
    border-color: #ff6a00;
    box-shadow: 0 0 0 3px rgba(255, 106, 0,0.14);
}

.news-admin-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.65;
}

/* Quill Editor */
.news-editor-wrapper {
    border: 1px solid rgba(255, 138, 51,0.16);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11,14,22,0.98), rgba(8,10,16,0.98));
    box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}

.news-editor-wrapper .ql-toolbar {
    background: linear-gradient(180deg, rgba(18,22,32,0.98), rgba(12,15,24,0.98));
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem;
}

.news-editor-wrapper .ql-toolbar .ql-formats {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    margin-right: 0.15rem;
    padding: 0.3rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.news-editor-wrapper .ql-toolbar .ql-formats:nth-child(1) {
    background: rgba(255, 138, 51,0.08);
    border-color: rgba(255, 138, 51,0.14);
}

.news-editor-wrapper .ql-toolbar .ql-formats:nth-child(2) {
    background: rgba(255, 31, 31,0.08);
    border-color: rgba(255, 31, 31,0.14);
}

.news-editor-wrapper .ql-toolbar .ql-formats:nth-child(3) {
    background: rgba(255, 106, 0,0.08);
    border-color: rgba(255, 106, 0,0.14);
}

.news-editor-wrapper .ql-toolbar .ql-formats:nth-child(4) {
    background: rgba(255, 106, 0,0.08);
    border-color: rgba(255, 106, 0,0.14);
}

.news-editor-wrapper .ql-toolbar .ql-formats:nth-child(5),
.news-editor-wrapper .ql-toolbar .ql-formats:nth-child(6),
.news-editor-wrapper .ql-toolbar .ql-formats:nth-child(7) {
    background: rgba(148,163,184,0.07);
    border-color: rgba(148,163,184,0.14);
}

.news-editor-wrapper .ql-toolbar button {
    width: 32px;
    height: 30px;
    padding: 5px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid transparent;
}

.news-editor-wrapper .ql-toolbar svg {
    width: 18px;
    height: 18px;
    max-width: none;
    display: block;
}

.news-editor-wrapper .ql-toolbar .ql-picker {
    color: #d1d5db;
}

.news-editor-wrapper .ql-toolbar .ql-picker-options {
    background: #121722;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.25rem 0;
}

.news-editor-wrapper .ql-toolbar .ql-picker-item {
    color: #d1d5db;
}

.news-editor-wrapper .ql-toolbar .ql-picker-item:hover,
.news-editor-wrapper .ql-toolbar .ql-picker-item.ql-selected,
.news-editor-wrapper .ql-toolbar .ql-picker-label:hover,
.news-editor-wrapper .ql-toolbar .ql-picker-label.ql-active {
    color: var(--hellraiser-gold);
}

.news-editor-wrapper .ql-toolbar .ql-picker-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 0.65rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid transparent;
    color: #d1d5db;
}

.news-editor-wrapper .ql-container {
    background: linear-gradient(180deg, #0d1017 0%, #0b0e14 100%);
    border: none;
    min-height: 340px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #fff;
}

.news-editor-wrapper .ql-editor {
    padding: 1.15rem 1.2rem;
    line-height: 1.8;
}

.news-editor-wrapper .ql-editor.ql-blank::before {
    color: #7c8798;
    font-style: normal;
}

.news-editor-wrapper .ql-toolbar .ql-stroke {
    stroke: #cbd5e1;
}

.news-editor-wrapper .ql-toolbar .ql-fill {
    fill: #cbd5e1;
}

.news-editor-wrapper .ql-toolbar button:hover,
.news-editor-wrapper .ql-toolbar .ql-picker-label:hover {
    background: rgba(255, 106, 0,0.12);
    border-color: rgba(255, 106, 0,0.2);
}

.news-editor-wrapper .ql-toolbar button.ql-active,
.news-editor-wrapper .ql-toolbar .ql-picker-label.ql-active {
    background: linear-gradient(135deg, rgba(255, 31, 31,0.18), rgba(255, 106, 0,0.16));
    border-color: rgba(255, 106, 0,0.22);
}

.news-editor-wrapper .ql-toolbar button:hover .ql-stroke,
.news-editor-wrapper .ql-toolbar .ql-active .ql-stroke {
    stroke: var(--hellraiser-red);
}

.news-editor-wrapper .ql-toolbar button:hover .ql-fill,
.news-editor-wrapper .ql-toolbar .ql-active .ql-fill {
    fill: var(--hellraiser-red);
}

.news-editor-wrapper .ql-snow .ql-tooltip {
    left: 50% !important;
    transform: translateX(-50%);
    background: #161616;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    color: #f3f4f6;
    z-index: 20;
}

.news-editor-wrapper .ql-snow .ql-tooltip input[type='text'] {
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.news-editor-wrapper .ql-snow .ql-tooltip a.ql-action,
.news-editor-wrapper .ql-snow .ql-tooltip a.ql-remove {
    color: var(--hellraiser-gold);
}

.news-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.news-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.news-btn-primary {
    background: var(--hellraiser-red);
    color: #fff;
}

.news-btn-primary:hover {
    background: var(--hellraiser-red-light);
    box-shadow: 0 0 20px rgba(255, 31, 31,0.3);
}

.news-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-gray);
}

.news-btn-secondary:hover {
    border-color: var(--hellraiser-gold);
    color: var(--hellraiser-gold);
}

.news-btn-danger {
    background: transparent;
    border: 1px solid rgba(255, 31, 31,0.4);
    color: var(--hellraiser-red-light);
}

.news-btn-danger:hover {
    background: rgba(255, 31, 31,0.15);
}

/* Thumbnail preview */
.thumbnail-preview {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 0.5rem;
}

.news-thumb-dropzone {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(255, 31, 31,0.3);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 31, 31,0.08), rgba(0,0,0,0.14));
    color: inherit;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.news-thumb-dropzone:hover,
.news-thumb-dropzone.is-dragover {
    border-color: rgba(255, 106, 0,0.7);
    background: linear-gradient(180deg, rgba(255, 106, 0,0.14), rgba(0,0,0,0.2));
    transform: translateY(-1px);
}

.news-thumb-dropzone:focus-visible {
    outline: 2px solid rgba(255, 106, 0,0.75);
    outline-offset: 2px;
}

.news-thumb-dropzone__icon {
    font-size: 1.6rem;
    color: var(--hellraiser-gold);
    margin-bottom: 0.4rem;
}

.news-thumb-dropzone__text {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.news-thumb-dropzone__text span {
    color: var(--hellraiser-gold);
}

.news-thumb-dropzone__hint {
    margin-top: 0.28rem;
    color: var(--text-gray);
    font-size: 0.78rem;
}

/* Styled link dialog for editor toolbar */
.news-link-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
}

.news-link-modal[aria-hidden='false'] {
    display: block;
}

.news-link-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 14, 0.72);
    backdrop-filter: blur(3px);
}

.news-link-modal__panel {
    position: relative;
    width: min(520px, calc(100vw - 2rem));
    margin: 12vh auto 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 106, 0, 0.35);
    background: radial-gradient(circle at top right, rgba(255, 31, 31, 0.16), rgba(15, 20, 32, 0.96) 45%);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.news-link-modal__header {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-link-modal__header h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-link-modal__header h3 i {
    color: var(--hellraiser-gold);
}

.news-link-modal__close {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: #f3f4f6;
    cursor: pointer;
}

.news-link-modal__close:hover {
    border-color: rgba(255, 31, 31, 0.48);
    color: var(--hellraiser-red-light);
}

.news-link-modal__body {
    padding: 1rem;
    display: grid;
    gap: 0.45rem;
}

.news-link-modal__body label {
    color: #e5e7eb;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.news-link-modal__body input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 106, 0, 0.28);
    background: rgba(10, 14, 24, 0.92);
    color: #fff;
    padding: 0.72rem 0.78rem;
    font-size: 0.92rem;
}

.news-link-modal__body input:focus {
    outline: none;
    border-color: rgba(255, 106, 0, 0.82);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

.news-link-modal__body small {
    color: #a9b0be;
    font-size: 0.8rem;
}

.news-link-modal__actions {
    padding: 0.95rem 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
}

/* Admin article list */
.admin-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-article-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--hellraiser-dark);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    transition: var(--transition);
}

.admin-article-row:hover {
    border-color: rgba(255, 31, 31,0.3);
}

.admin-article-thumb {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    background: #111;
    flex-shrink: 0;
}

.admin-article-info {
    flex: 1;
    min-width: 0;
}

.admin-article-info h4 {
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-article-info .meta {
    font-size: 0.75rem;
    color: var(--text-gray);
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.admin-article-status {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-article-status.published {
    background: rgba(34,197,94,0.15);
    color: #22c55e;
}

.admin-article-status.draft {
    background: rgba(255, 106, 0,0.15);
    color: var(--hellraiser-gold);
}

.admin-article-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.admin-article-actions a,
.admin-article-actions button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    text-decoration: none;
}

.admin-article-actions a:hover,
.admin-article-actions button:hover {
    border-color: var(--hellraiser-red);
    color: var(--hellraiser-red);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .news-hero-title {
        font-size: 2.2rem;
    }

    /* Hide category filter chips on small screens to reduce clutter */
    .news-filter-bar {
        display: none;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-card-img {
        min-height: 200px;
    }

    .featured-card-img::after {
        background: linear-gradient(180deg, transparent 40%, var(--hellraiser-dark) 100%);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-hero {
        min-height: 280px;
    }

    .admin-article-row {
        flex-wrap: wrap;
    }

    .admin-article-thumb {
        width: 60px;
        height: 40px;
    }

    .article-social__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-comment {
        grid-template-columns: 34px 1fr;
        gap: 0.45rem;
        padding: 0.5rem;
    }

    .article-comment__avatar {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .article-comment__body {
        min-width: 0;
    }

    .article-comment__meta {
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.35rem;
        margin-bottom: 0.2rem;
    }

    .article-comment__meta strong {
        font-size: 0.8rem;
    }

    .article-comment__meta-right {
        align-items: flex-end;
        flex-shrink: 0;
    }

    .article-comment__meta small {
        text-align: right;
        font-size: 0.66rem;
    }

    .article-comment__actions {
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 5rem 1rem 2rem;
    }

    .news-filter-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .featured-card-body {
        padding: 1.5rem 1rem;
    }

    .featured-card-title {
        font-size: 1.2rem;
    }
}
