/* Tigule News — premium public pages */

.tigule-news-page {
    --tn-accent: #c8102e;
    --tn-accent-mid: #e02040;
    --tn-accent-dark: #8b0a20;
    --tn-ink: #0f172a;
    --tn-muted: #64748b;
    --tn-border: #e8edf2;
    --tn-bg: #f4f7fb;
    background: var(--tn-bg);
    min-height: 0;
    padding-bottom: 0;
}

/* ── Hero ── */
.tigule-news-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem 0 2.25rem;
    color: #fff !important;
    text-align: center;
    background: linear-gradient(135deg, #c8102e 0%, #e02040 22%, #a00d25 52%, #8b0a20 78%, #c8102e 100%);
}

.tigule-news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 25% 15%, rgba(255,255,255,0.16) 0%, transparent 52%),
        radial-gradient(ellipse 55% 40% at 78% 82%, rgba(255,255,255,0.08) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

.tigule-news-hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.tigule-news-hero-deco--1 {
    width: 220px;
    height: 220px;
    top: -90px;
    right: -60px;
    background: rgba(255, 255, 255, 0.06);
}

.tigule-news-hero-deco--2 {
    width: 120px;
    height: 120px;
    bottom: 10px;
    left: 8%;
    background: rgba(255, 255, 255, 0.05);
}

.tigule-news-hero-deco--3 {
    width: 70px;
    height: 70px;
    top: 30%;
    left: 18%;
    background: rgba(255, 255, 255, 0.04);
}

.tigule-news-page .tigule-news-hero > .container,
.tigule-news-page .tigule-news-detail-hero > .container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    text-align: center;
}

.tigule-news-hero-inner,
.tigule-news-detail-header {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tigule-news-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    color: #fff !important;
    backdrop-filter: blur(6px);
}

.tigule-news-hero h1 {
    font-size: clamp(1.65rem, 3.5vw, 2.25rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: #fff !important;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.2);
    text-align: center !important;
}

.tigule-news-hero-lead {
    font-size: 0.98rem;
    max-width: 34rem;
    margin: 0 auto 1.1rem;
    opacity: 0.96 !important;
    line-height: 1.55;
    color: #fff !important;
    text-align: center;
}

.tigule-news-hero-stats {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.tigule-news-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 88px;
    padding: 0.5rem 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.tigule-news-stat strong {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff !important;
}

.tigule-news-stat span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.88;
    margin-top: 0.15rem;
    color: #fff !important;
}

.tigule-news-shell {
    padding: 1.25rem 0 1rem;
    position: relative;
    z-index: 3;
}

.tigule-news-toolbar {
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--tn-border);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.25rem;
}

.tigule-news-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.tigule-news-search-wrap {
    position: relative;
    flex: 1 1 auto;
    min-width: 220px;
}

.tigule-news-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.tigule-news-search-input {
    padding: 0.5rem 0.85rem 0.5rem 2.65rem !important;
    border-radius: 12px !important;
    border: 1px solid var(--tn-border) !important;
    min-height: 0;
    height: 42px;
    line-height: 1.4;
}

.tigule-news-search-input:focus {
    border-color: rgba(200, 16, 46, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12) !important;
}

.tigule-news-select {
    flex: 0 1 auto;
    min-width: 190px;
    border-radius: 12px !important;
    height: 42px;
    min-height: 0;
    padding: 0.5rem 2rem 0.5rem 0.85rem !important;
    border: 1px solid var(--tn-border) !important;
}

.tigule-news-btn-filter {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--tn-accent) 0%, var(--tn-accent-dark) 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700;
    height: 42px;
    min-height: 0;
    padding: 0 1.25rem !important;
    line-height: 1.2;
    box-shadow: 0 6px 18px rgba(200, 16, 46, 0.28);
}

.tigule-news-sidebar-card--accent .tigule-news-btn-filter {
    width: 100%;
    margin: 0;
}

.tigule-news-btn-filter:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

.tigule-news-btn-clear {
    border-radius: 12px !important;
    height: 42px;
    min-height: 0;
    font-weight: 600;
    color: var(--tn-muted) !important;
    border: 1px solid var(--tn-border) !important;
    background: #fff !important;
}

.tigule-news-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tigule-news-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--tn-muted);
    background: #f8fafc;
    border: 1px solid var(--tn-border);
    transition: all 0.15s ease;
}

.tigule-news-pill:hover {
    color: var(--tn-accent);
    border-color: rgba(200, 16, 46, 0.3);
    background: #fff5f7;
}

.tigule-news-pill.is-active {
    background: linear-gradient(135deg, var(--tn-accent) 0%, var(--tn-accent-dark) 100%);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.25);
}

.tigule-news-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    font-size: 0.68rem;
    background: rgba(15, 23, 42, 0.08);
}

.tigule-news-pill.is-active .tigule-news-pill-count {
    background: rgba(255, 255, 255, 0.22);
}

/* ── Sections ── */
.tigule-news-section {
    margin-bottom: 1.25rem;
}

.tigule-news-section-head {
    margin-bottom: 1.25rem;
}

.tigule-news-section-head h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tn-ink);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tigule-news-section-head h2 i {
    color: var(--tn-accent);
    font-size: 1rem;
}

.tigule-news-section-head p {
    margin: 0;
    color: var(--tn-muted);
    font-size: 0.9rem;
}

.tigule-news-featured {
    padding-bottom: 0.5rem;
}

/* ── Cards ── */
.tigule-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--tn-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.tigule-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(200, 16, 46, 0.22);
    color: inherit;
}

.tigule-news-card--featured {
    border-color: rgba(200, 16, 46, 0.28);
    box-shadow: 0 8px 28px rgba(200, 16, 46, 0.1);
}

.tigule-news-card-media {
    position: relative;
}

.tigule-news-card-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: #eef1f4;
}

.tigule-news-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--tn-accent);
    background: linear-gradient(145deg, #fff0f3 0%, #f4f7fb 55%, #eef1f4 100%);
}

.tigule-news-card--update .tigule-news-card-img--placeholder { color: #2563eb; background: linear-gradient(145deg, #eff6ff, #f4f7fb); }
.tigule-news-card--event .tigule-news-card-img--placeholder { color: #7c3aed; background: linear-gradient(145deg, #f5f3ff, #f4f7fb); }
.tigule-news-card--policy .tigule-news-card-img--placeholder { color: #059669; background: linear-gradient(145deg, #ecfdf5, #f4f7fb); }

.tigule-news-card-badge {
    position: absolute;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.tigule-news-card-badge--cat {
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--tn-accent);
    backdrop-filter: blur(4px);
}

.tigule-news-card-badge--featured {
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.tigule-news-card-body {
    padding: 1.15rem 1.2rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tigule-news-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.55rem;
}

.tigule-news-card-meta i {
    margin-right: 0.2rem;
}

.tigule-news-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
    line-height: 1.35;
    color: var(--tn-ink);
    transition: color 0.15s ease;
}

.tigule-news-card:hover h3 {
    color: var(--tn-accent);
}

.tigule-news-card p {
    font-size: 0.88rem;
    color: var(--tn-muted);
    margin-bottom: 0.85rem;
    flex: 1;
    line-height: 1.55;
}

.tigule-news-card-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tn-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tigule-news-card-link i {
    transition: transform 0.15s ease;
}

.tigule-news-card:hover .tigule-news-card-link i {
    transform: translateX(4px);
}

/* ── Empty state ── */
.tigule-news-empty {
    text-align: center;
    padding: 3.5rem 2rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--tn-border);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.tigule-news-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--tn-accent);
    background: linear-gradient(135deg, #fff0f3 0%, #fde8ec 100%);
}

.tigule-news-empty h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tn-ink);
    margin-bottom: 0.5rem;
}

.tigule-news-empty p {
    color: var(--tn-muted);
    max-width: 420px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
}

.tigule-news-empty-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tigule-news-empty-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--tn-muted);
    background: #f8fafc;
    border: 1px solid var(--tn-border);
}

/* ── Pagination ── */
.tigule-news-pagination {
    margin-top: 1rem;
}

.tigule-news-pagination .page-link {
    border-radius: 10px !important;
    margin: 0 0.2rem;
    font-weight: 600;
    color: var(--tn-accent);
    border-color: var(--tn-border);
}

.tigule-news-pagination .page-item.active .page-link {
    background: var(--tn-accent);
    border-color: var(--tn-accent);
}

/* ── Detail page ── */
.tigule-news-detail-page {
    background: var(--tn-bg);
    padding-bottom: 0;
}

.tigule-news-detail-hero {
    position: relative;
    padding: 1.35rem 0 1.75rem;
    background: linear-gradient(135deg, #c8102e 0%, #e02040 22%, #a00d25 52%, #8b0a20 100%);
    color: #fff !important;
    overflow: hidden;
    text-align: center;
}

.tigule-news-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 25% 15%, rgba(255,255,255,0.14) 0%, transparent 52%),
        radial-gradient(ellipse 55% 40% at 78% 82%, rgba(255,255,255,0.08) 0%, transparent 48%);
    pointer-events: none;
}

.tigule-news-detail-hero .container {
    position: relative;
    z-index: 1;
}

.tigule-news-breadcrumb {
    margin-bottom: 0.85rem;
    text-align: center;
}

.tigule-news-breadcrumb a {
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.tigule-news-breadcrumb a:hover {
    color: #fff !important;
}

.tigule-news-detail-page .tigule-news-hero-deco--1 {
    width: 200px;
    height: 200px;
    top: -70px;
    right: -40px;
}

.tigule-news-detail-page .tigule-news-hero-deco--2 {
    width: 110px;
    height: 110px;
    bottom: -20px;
    left: 6%;
}

.tigule-news-detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.tigule-news-detail-header h1 {
    font-size: clamp(1.55rem, 3.2vw, 2.15rem) !important;
    font-weight: 800 !important;
    margin: 0 auto 0.75rem;
    color: #fff !important;
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-align: center !important;
}

.tigule-news-detail-header .tigule-news-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff !important;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tigule-news-official-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ecfdf5 !important;
}

.tigule-news-pin {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    color: #fde68a !important;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tigule-news-detail-hero .tigule-news-meta,
.tigule-news-hero .tigule-news-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1.25rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.84rem;
}

.tigule-news-detail-layout {
    max-width: 1080px;
    padding-top: 1.25rem;
    padding-bottom: 1rem;
}

.tigule-news-article-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--tn-border);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.tigule-news-detail-cover {
    margin: 0;
    position: relative;
}

.tigule-news-detail-cover--clickable {
    cursor: zoom-in;
}

.tigule-news-detail-cover--clickable:focus {
    outline: none;
}

.tigule-news-detail-cover--clickable:focus-visible {
    outline: 3px solid var(--tn-primary, #C41E3A);
    outline-offset: -3px;
}

.tigule-news-cover-expand-hint {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tigule-news-detail-cover--clickable:hover .tigule-news-cover-expand-hint,
.tigule-news-detail-cover--clickable:focus-visible .tigule-news-cover-expand-hint {
    opacity: 1;
    transform: translateY(0);
}

.tigule-news-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    animation: tiguleNewsLightboxFade 0.2s ease;
}

.tigule-news-image-lightbox.is-open {
    display: flex;
}

@keyframes tiguleNewsLightboxFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tigule-news-image-lightbox img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    cursor: default;
}

.tigule-news-image-lightbox-close {
    position: absolute;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.2s ease;
    z-index: 1;
}

.tigule-news-image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.32);
}

.tigule-news-detail-cover img {
    width: 100%;
    display: block;
    max-height: 460px;
    object-fit: cover;
}

.tigule-news-detail-cover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
    pointer-events: none;
}

.tigule-news-article-card .tigule-news-detail-lead,
.tigule-news-article-card .tigule-news-detail-body,
.tigule-news-article-card .tigule-news-article-footer {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.tigule-news-article-card .tigule-news-detail-lead {
    padding-top: 1.5rem;
}

.tigule-news-article-card:not(:has(.tigule-news-detail-cover)) .tigule-news-detail-lead {
    padding-top: 1.75rem;
}

.tigule-news-article-card:not(:has(.tigule-news-detail-lead)) .tigule-news-detail-body {
    padding-top: 1.75rem;
}

.tigule-news-detail-lead {
    margin-bottom: 1.5rem;
    padding: 1.15rem 1.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff5f7 0%, #f8fafc 100%);
    border: 1px solid rgba(200, 16, 46, 0.12);
}

.tigule-news-detail-lead-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tn-accent);
    margin-bottom: 0.45rem;
}

.tigule-news-detail-lead p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
    color: #334155;
    font-weight: 500;
}

.tigule-news-detail-body {
    padding-top: 0.25rem;
    padding-bottom: 1.5rem;
}

.tigule-news-prose {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #1e293b;
    word-wrap: break-word;
}

.tigule-news-prose p {
    margin-bottom: 1.15rem;
}

.tigule-news-prose p:last-child {
    margin-bottom: 0;
}

.tigule-news-prose br {
    display: block;
    content: '';
    margin-top: 0.35rem;
}

.tigule-news-prose a {
    color: var(--tn-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tigule-news-prose strong {
    color: var(--tn-ink);
    font-weight: 700;
}

.tigule-news-prose ul,
.tigule-news-prose ol {
    margin: 0 0 1.15rem;
    padding-left: 1.35rem;
}

.tigule-news-prose li {
    margin-bottom: 0.45rem;
}

.tigule-news-prose li::marker {
    color: var(--tn-accent);
}

.tigule-news-prose blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--tn-accent);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    color: #475569;
    font-style: italic;
}

.tigule-news-article-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem !important;
    padding-bottom: 1.5rem !important;
    border-top: 1px solid var(--tn-border);
    margin-top: 0.5rem;
}

.tigule-news-article-footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.82rem;
    color: var(--tn-muted);
}

.tigule-news-article-footer-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.tigule-news-article-footer-meta i {
    color: var(--tn-accent);
}

.tigule-news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--tn-accent) 0%, var(--tn-accent-dark) 100%);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(200, 16, 46, 0.22);
}

.tigule-news-back-link:hover {
    filter: brightness(1.05);
    color: #fff !important;
}

/* Detail sidebar */
.tigule-news-detail-sidebar {
    position: sticky;
    top: calc(var(--navbar-height, 72px) + 1rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tigule-news-sidebar-card {
    background: #fff;
    border: 1px solid var(--tn-border);
    border-radius: 18px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.tigule-news-sidebar-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--tn-ink);
    margin-bottom: 0.85rem;
}

.tigule-news-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tigule-news-sidebar-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.84rem;
}

.tigule-news-sidebar-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tigule-news-sidebar-list span {
    color: var(--tn-muted);
}

.tigule-news-sidebar-list strong {
    color: var(--tn-ink);
    font-weight: 700;
    text-align: right;
}

.tigule-news-sidebar-card--accent {
    background: linear-gradient(145deg, #fff5f7 0%, #fff 100%);
    border-color: rgba(200, 16, 46, 0.15);
    text-align: center;
}

.tigule-news-sidebar-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.65rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tn-accent) 0%, var(--tn-accent-dark) 100%);
    color: #fff;
    font-size: 1rem;
}

.tigule-news-sidebar-card--accent p {
    font-size: 0.86rem;
    color: var(--tn-muted);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.tigule-news-related-section {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--tn-border);
}

.tigule-news-related-section .tigule-news-card-img {
    height: 140px;
}

.tigule-news-related-section .tigule-news-card h3 {
    font-size: 0.98rem;
}

.tigule-news-related h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--tn-ink);
}

.tigule-news-related-item {
    display: block;
    padding: 1rem 1.1rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--tn-border);
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

.tigule-news-related-item:hover {
    border-color: rgba(200, 16, 46, 0.3);
    color: var(--tn-accent);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.tigule-news-related-item strong {
    display: block;
    font-size: 0.95rem;
}

.tigule-news-related-item small {
    display: block;
    color: #94a3b8;
    margin-top: 0.3rem;
}

/* Sidebar CTA */
.mobile-sidebar-cta-news,
.desktop-sidebar-cta-news {
    background: linear-gradient(135deg, #fff 0%, #fff5f7 100%);
    color: #0f172a;
    border: 1px solid rgba(200, 16, 46, 0.22);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.mobile-sidebar-cta-news:hover,
.mobile-sidebar-cta-news:focus,
.desktop-sidebar-cta-news:hover,
.desktop-sidebar-cta-news:focus {
    color: #c8102e;
    border-color: rgba(200, 16, 46, 0.45);
    filter: none;
}

.mobile-sidebar-cta-news i,
.desktop-sidebar-cta-news i {
    color: #c8102e;
}

/* Tigule News sidebar badge (same style as inbox/community) */
.sidebar-news-cta {
    position: relative;
    overflow: visible;
}

.sidebar-news-badge {
    top: 4px;
    right: 8px;
}

.desktop-main-column:has(.tigule-news-page) .site-footer {
    margin-top: 0.75rem !important;
}

@media (max-width: 767px) {
    .tigule-news-shell {
        padding-bottom: 0.75rem;
    }

    .desktop-main-column:has(.tigule-news-page) .site-footer {
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 767px) {
    .tigule-news-hero {
        padding: 1.5rem 0 1.75rem;
    }

    .tigule-news-hero-stats {
        width: 100%;
    }

    .tigule-news-stat {
        flex: 1 1 calc(33% - 0.5rem);
        min-width: 0;
        padding: 0.55rem 0.5rem;
    }

    .tigule-news-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        margin-bottom: 0.85rem;
    }

    .tigule-news-search-wrap {
        flex: 0 0 auto;
        min-width: 0;
        width: 100%;
    }

    .tigule-news-toolbar {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .tigule-news-select,
    .tigule-news-btn-filter,
    .tigule-news-btn-clear {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    .tigule-news-article-card {
        padding: 0;
    }

    .tigule-news-article-card .tigule-news-detail-lead,
    .tigule-news-article-card .tigule-news-detail-body,
    .tigule-news-article-card .tigule-news-article-footer {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .tigule-news-detail-sidebar {
        position: static;
    }

    .tigule-news-article-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .tigule-news-back-link {
        justify-content: center;
    }

    .tigule-news-prose {
        font-size: 1rem;
    }
}
