/* Explain: CSS for forum topic image previews and general component styles. */
/* ---- Brand and navigation ---- */
.site-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 1rem;
    background: var(--primary-color);
    color: var(--on-primary);
    font-size: 1.15rem;
    flex: none;
    box-shadow: var(--shadow-soft);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.85rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-color);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* ---- Buttons ---- */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    background: var(--brand-gradient);
    color: var(--on-primary);
    border: 1px solid transparent;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-brand:hover {
    background: var(--brand-gradient);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-brand--sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.87rem;
}

.btn-round {
    padding: 0.85rem;
    border-radius: 999px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: var(--on-primary);
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 1.5px solid var(--on-dark-soft);
    color: var(--on-dark);
    background: transparent;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-outline-light:hover {
    background: var(--on-dark-veil);
}

/* ---- Labels and pills ---- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
}

.eyebrow--accent {
    background: var(--accent-color);
    color: var(--on-primary);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.pill--primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.pill--accent {
    background: var(--accent-light);
    color: var(--accent-color);
}

/* ---- Cards ---- */
.card-soft {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.card-soft:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-strong);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-soft:hover .card-media img {
    transform: scale(1.05);
}

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

.card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.card-text {
    font-size: 0.94rem;
    color: var(--text-muted);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    transition: gap 0.25s ease;
}

.card-link:hover {
    gap: 0.7rem;
}

.fact-box {
    height: 100%;
    padding: 1.4rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 1.05rem;
    flex: none;
}

/* ---- Weather ---- */
.weather-widget {
    padding: 1.35rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.weather-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
}

.weather-icon-set i {
    font-size: 1.7rem;
    color: var(--accent-color);
}

.weather-chip .weather-icon-set i {
    font-size: 0.9rem;
}

.weather-icon-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: var(--primary-light);
    flex: none;
}

.weather-icon-hero i {
    font-size: 1.9rem;
}

.weather-temp {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-color);
}

.weather-metric {
    padding: 0.85rem 0.5rem;
    text-align: center;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.weather-metric-value {
    font-family: var(--font-heading);
    font-weight: 800;
}

.weather-metric-label {
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* ---- Gallery ---- */
.gallery-tile {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    overflow: hidden;
    background: var(--surface-strong);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-tile:hover img {
    transform: scale(1.07);
}

.gallery-tile-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 0.85rem;
    text-align: start;
    color: var(--on-dark);
    background: linear-gradient(to top, rgba(var(--scrim-rgb), 0.88), rgba(var(--scrim-rgb), 0));
}

.gallery-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-play span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: var(--on-dark-soft);
    color: var(--primary-color);
    font-size: 1.05rem;
}

.lightbox-panel {
    display: flex;
    flex-direction: column;
    width: min(56rem, 94vw);
    max-height: 90vh;
    overflow: hidden;
    background: var(--background-color);
    border-radius: var(--radius-lg);
}

.lightbox-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    max-height: 74vh;
    overflow: hidden;
    background: #000000;
}

.lightbox-media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 74vh;
    object-fit: contain;
}

.lightbox-media video {
    display: block;
    width: 100%;
    max-height: 74vh;
    background: #000000;
}

.lightbox-message {
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--on-dark);
}

/* ---- Forum ---- */
.topic-card {
    display: block;
    padding: 1.25rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
}

.topic-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.reply-card {
    padding: 1.1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--brand-gradient);
    color: var(--on-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    flex: none;
}

/* ---- Footer ---- */
.footer-link {
    display: inline-block;
    padding-block: 0.2rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

/* ---- Live chat ---- */
.chat-shell {
    padding: 1.25rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.chat-gate {
    padding-block: 0.25rem;
}

.chat-stream {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    direction: rtl;
    gap: 0.85rem;
    height: 22rem;
    margin-top: 1rem;
    padding: 0.6rem;
    overflow-y: auto;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.chat-msg {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 94%;
}

.chat-msg--own {
    align-self: flex-start;
}

.chat-bubble {
    direction: rtl;
    text-align: start;
    max-width: 100%;
    padding: 0.6rem 0.9rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 0.94rem;
    line-height: 1.65;
    white-space: pre-line;
    overflow-wrap: break-word;
    word-break: normal;
}

.chat-msg--own .chat-bubble {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

@media (max-width: 480px) {
    .chat-msg {
        max-width: 100%;
        gap: 0.4rem;
    }

    .chat-msg .avatar-initial {
        width: 2rem;
        height: 2rem;
    }

    .chat-bubble {
        padding: 0.5rem 0.7rem;
    }
}

.chat-msg-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.chat-name {
    font-weight: 700;
    color: var(--text-color);
}

.chat-empty {
    margin-top: 1rem;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

/* ---- Homepage showcase blocks ---- */
.dir-show-card {
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 1rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.dir-show-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.dir-show-thumb {
    width: 7rem;
    height: 7rem;
    flex: none;
    overflow: hidden;
    background: var(--surface-strong);
    border-radius: var(--radius-sm);
}

.dir-show-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dir-show-card:hover .dir-show-thumb img {
    transform: scale(1.06);
}

.blog-show-row {
    display: flex;
    gap: 0.9rem;
    padding: 0.75rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.blog-show-row:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.blog-show-thumb {
    width: 6rem;
    height: 5rem;
    flex: none;
    overflow: hidden;
    background: var(--surface-strong);
    border-radius: var(--radius-sm);
}

.blog-show-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.forum-show-thumb {
    display: block;
    width: 6rem;
    height: 6rem;
    flex: none;
    overflow: hidden;
    background: var(--surface-strong);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

@media (min-width: 640px) {
    .forum-show-thumb {
        width: 8rem;
        height: 8rem;
    }
}

.forum-show-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.topic-card:hover .forum-show-thumb img {
    transform: scale(1.06);
}

/* ---- Directory Ticker ---- */
.dir-ticker-bar {
    background: var(--accent-color);
    color: var(--on-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.dir-ticker-label {
    background: var(--accent-color);
    padding: 0.6rem 1.25rem;
    font-weight: 800;
    z-index: 10;
    position: relative;
    box-shadow: 12px 0 15px -5px var(--accent-color);
    white-space: nowrap;
}
.dir-ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}
.dir-ticker-content {
    display: flex;
    width: max-content;
    animation: ticker-scroll 25s linear infinite;
}
.dir-ticker-content:hover {
    animation-play-state: paused;
}
.dir-ticker-group {
    display: flex;
    flex: none;
}
.dir-ticker-item {
    display: inline-block;
    margin-inline: 1.25rem;
    white-space: nowrap;
}
.dir-ticker-sep {
    white-space: nowrap;
}
@keyframes ticker-scroll {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ---- Homepage sidebar ---- */
.side-block {
    padding: 1.25rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.side-block--accent {
    background: var(--brand-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-strong);
}

/* ---- Currency rates ---- */
.rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.rate-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.rate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    flex: none;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
}

.rate-value {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
}

.rate-value [data-rate-value] {
    font-size: 1.05rem;
}

.rate-unit {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---- Social links ---- */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.25s ease;
}

.social-btn:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: var(--on-primary);
    transform: translateY(-2px);
}

/* ---- Video cards and video modal ---- */
.video-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    text-align: start;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.video-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-strong);
}

.video-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-card-media img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    font-size: 1.15rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease;
}

.video-card:hover .video-play i {
    transform: scale(1.08);
}

.video-card-body {
    display: grid;
    gap: 0.5rem;
    padding: 1rem 1.1rem 1.2rem;
}

.video-card-title {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.6;
    color: var(--text-color);
}

.video-card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(var(--scrim-rgb), 0.88);
}

.video-modal.is-open {
    display: flex;
}

.video-modal-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: min(64rem, 96vw);
    max-height: 92vh;
}

.video-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.video-modal-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.6;
    color: var(--on-dark);
}

.video-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    flex: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--on-dark);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-modal-source {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--on-dark);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.video-modal-source:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-frame-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000000;
    border-radius: var(--radius-lg);
}

.video-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- Mourning memorial section (martyrs tabs) ---- */
.section-block--mourning {
    background: var(--mourning-bg);
    border-top: 3px solid var(--secondary-color);
    border-bottom: 1px solid var(--mourning-border);
}

/* ---- Martyrs ---- */
.avatar-initial--media {
    background: transparent;
    overflow: hidden;
    padding: 0;
}

.avatar-initial--stars {
    width: auto;
    padding-inline: 0.75rem;
    gap: 0.3rem;
}

.avatar-initial--stars i {
    color: #b3261e;
    font-size: 0.7rem;
}

.martyrs-tabs-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    border: 1px solid var(--border-color);
}

.martyrs-tab {
    display: inline-flex;
    flex: 1 1 14rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.martyrs-tab:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.martyrs-tab.is-active {
    background: var(--brand-gradient);
    color: var(--on-primary);
    box-shadow: var(--shadow-soft);
}

.martyrs-tab-panel {
    margin-top: 1.5rem;
}

/* ---- Gallery groups, lightbox navigation and loading state ---- */
.gallery-count {
    position: absolute;
    top: 0.5rem;
    inset-inline-start: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(var(--scrim-rgb), 0.76);
    color: var(--on-dark);
    font-size: 0.72rem;
    font-weight: 700;
}

.gallery-tile:hover .gallery-count {
    background: rgba(var(--scrim-rgb), 0.92);
}

.lightbox-media img.is-loading {
    opacity: 0;
}

.lightbox-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-dark);
    font-size: 1.6rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--on-dark-soft);
    border-radius: 999px;
    background: rgba(var(--scrim-rgb), 0.62);
    color: var(--on-dark);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(var(--scrim-rgb), 0.92);
}

.lightbox-nav--prev {
    inset-inline-start: 0.75rem;
}

.lightbox-nav--next {
    inset-inline-end: 0.75rem;
}

/* ---- Media gallery main tabs ---- */
.media-main-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.9rem;
    border: 2px solid var(--border-color);
    border-radius: 999px;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.media-main-tab:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.media-main-tab.is-active {
    background: var(--brand-gradient);
    color: var(--on-primary);
    border-color: transparent;
    box-shadow: var(--shadow-soft);
}

/* ---- Video gallery tabs ---- */
.video-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-tab:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.video-tab.is-active {
    background: var(--brand-gradient);
    color: var(--on-primary);
    border-color: transparent;
    box-shadow: var(--shadow-soft);
}

.video-subtab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.video-subtab:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.video-subtab.is-active {
    background: var(--brand-gradient);
    color: var(--on-primary);
    border-color: transparent;
    box-shadow: var(--shadow-soft);
}

/* ---- Chat presence, system notices and moderation ---- */
.chat-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.chat-system {
    align-self: center;
    max-width: 92%;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--text-muted);
    font-size: 0.72rem;
    text-align: center;
}

.chat-msg-actions {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.chat-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.chat-action-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.chat-action-btn--danger:hover {
    border-color: #b3261e;
    background: #fbeeec;
    color: #b3261e;
}

/* ---- Chat online roster dropdown ---- */
.chat-roster-anchor {
    position: relative;
}

.chat-roster-toggle {
    cursor: pointer;
    user-select: none;
}

.chat-roster-toggle:hover {
    background: var(--surface-strong);
}

.chat-roster-dropdown {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 0.45rem);
    z-index: 40;
    max-height: 15rem;
    overflow-y: auto;
    padding: 0.6rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-strong);
    text-align: start;
}

.chat-roster-title {
    margin-bottom: 0.45rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-color);
}

.chat-roster-list {
    display: grid;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat-roster-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.45rem;
    border-radius: 0.5rem;
    font-size: 0.83rem;
    color: var(--text-color);
    overflow-wrap: anywhere;
}

.chat-roster-item::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    flex: none;
    border-radius: 999px;
    background: var(--primary-color);
}

.chat-roster-item--self {
    font-weight: 700;
    background: var(--primary-light);
}

.chat-roster-foot {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.74rem;
    color: var(--text-muted);
}

/* ---- Author line and author archive ---- */
.author-line {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: fit-content;
    max-width: 100%;
    margin-top: 1.1rem;
    padding: 0.75rem 0.9rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
}

.author-line:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.author-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex: none;
    overflow: hidden;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--on-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar--lg {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.7rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-color);
}

.author-line:hover .author-name {
    color: var(--primary-color);
}

.author-bio {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.author-go {
    margin-inline-start: auto;
    flex: none;
    color: var(--primary-color);
}

/* ---- Share toolbar ---- */
.share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.share-bar-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-color);
}

.share-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--background-color);
    color: var(--primary-color);
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.share-btn:hover {
    background: var(--brand-gradient);
    border-color: transparent;
    color: var(--on-primary);
    transform: translateY(-2px);
}

.share-btn.is-done {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--on-primary);
}

/* ---- News comments ---- */
.comment-card {
    padding: 1.1rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

/* ---- Stable media frame for uploaded topic / reply images ---- */
.media-frame {
    display: block;
    width: 100%;
    max-width: 32rem;
    margin-top: 1.25rem;
    overflow: hidden;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.media-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 26rem;
    object-fit: contain;
}

.media-frame--sm {
    max-width: 28rem;
    margin-top: 0.85rem;
}

/* ---- Newsletter preview frame ---- */
.newsletter-preview-frame {
    width: 100%;
    height: 34rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

/* ---- On-duty pharmacies (green brand block + duty page) ---- */
.duty-block {
    background: linear-gradient(160deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
    color: var(--on-primary);
    box-shadow: var(--shadow-strong);
}

.duty-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.duty-block-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-inline: auto;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--on-primary);
    font-size: 0.95rem;
    font-weight: 800;
}

.duty-block-link {
    color: var(--on-primary);
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.9;
}

.duty-block-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.duty-today {
    margin-top: 1rem;
}

.duty-today-loading {
    font-size: 0.85rem;
    color: var(--on-primary);
    opacity: 0.85;
}

.duty-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.duty-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.75rem;
    font-weight: 700;
}

.duty-pharmacy-name {
    margin-top: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--on-primary);
}

.duty-pharmacy-link {
    color: var(--on-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.duty-pharmacy-link:hover {
    color: var(--accent-light);
}

.duty-pharmacy-address {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--on-primary);
    opacity: 0.9;
}

.duty-sep {
    opacity: 0.6;
}

.duty-empty {
    font-size: 0.85rem;
    color: var(--on-primary);
    opacity: 0.9;
}

.duty-block-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: var(--background-color);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
    transition: background-color 0.25s ease;
}

.duty-block-btn:hover {
    background: var(--primary-light);
}

.duty-page-hero {
    padding-block: 2.5rem;
}

@media (min-width: 768px) {
    .duty-page-hero {
        padding-block: 3.5rem;
    }
}

.duty-share-wrap {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .duty-share-wrap {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        align-items: center;
    }
}

.duty-post {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 20rem;
    overflow: hidden;
    padding: 2rem;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.16), transparent 45%),
        linear-gradient(150deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--on-primary);
    box-shadow: var(--shadow-strong);
}

.duty-post-body {
    display: grid;
    gap: 0.6rem;
    align-content: center;
}

.duty-post .duty-date-badge {
    background: rgba(255, 255, 255, 0.18);
}

.duty-post .duty-pharmacy-name {
    font-size: 2.1rem;
}

.duty-post .duty-pharmacy-address {
    font-size: 1rem;
}

.duty-post-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.duty-post-brand img {
    height: 2.75rem;
    width: auto;
    object-fit: contain;
}

.duty-post-brand span {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
}

.duty-post-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    opacity: 0.9;
}

.duty-post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--on-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.duty-post-link:hover {
    color: var(--accent-light);
}

.duty-share-side {
    display: grid;
    gap: 1rem;
    justify-items: start;
}

.duty-share-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.duty-table-wrap {
    overflow-x: auto;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.duty-table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
}

.duty-table th,
.duty-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
    text-align: start;
    white-space: nowrap;
}

.duty-table thead th {
    background: var(--surface-color);
    font-family: var(--font-heading);
    font-weight: 800;
}

.duty-table tbody tr:last-child td {
    border-bottom: 0;
}

.duty-table tbody tr.is-today {
    background: var(--primary-light);
}

.duty-table tbody tr.is-today td {
    font-weight: 800;
    color: var(--primary-color);
}

.duty-table a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---- Chat block accent (green brand gradient, matching site buttons) ---- */
.chat-block--accent {
    background: var(--brand-gradient);
    border-block-color: transparent;
}

.chat-block--accent .eyebrow,
.chat-block-eyebrow {
    background: rgba(255, 255, 255, 0.16);
    color: var(--on-primary);
}

/* ---- Expandable massacre details (martyrs page) ---- */
.massacre-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.massacre-details-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.05rem;
    border: 1.5px solid var(--primary-color);
    border-radius: 999px;
    background: var(--background-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.massacre-details-toggle::-webkit-details-marker {
    display: none;
}

.massacre-details-toggle:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.massacre-details-chevron {
    transition: transform 0.25s ease;
}

.massacre-details[open] .massacre-details-chevron {
    transform: rotate(180deg);
}

.massacre-details-close-text {
    display: none;
}

.massacre-details[open] .massacre-details-open-text {
    display: none;
}

.massacre-details[open] .massacre-details-close-text {
    display: inline;
}

.massacre-details-body .rich-text h3 {
    margin-top: 1.4rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.massacre-figure {
    margin-top: 1.25rem;
    overflow: hidden;
    background: var(--surface-strong);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.massacre-figure img {
    display: block;
    width: 100%;
    max-height: 30rem;
    object-fit: cover;
}

.massacre-figure figcaption {
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--background-color);
    font-size: 0.78rem;
    text-align: center;
    color: var(--text-muted);
}

/* ---- Martyr story CTA (green block below the stories) ---- */
.story-cta {
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-xl);
    background: var(--brand-gradient);
    color: var(--on-primary);
    box-shadow: var(--shadow-strong);
}

@media (min-width: 640px) {
    .story-cta {
        padding: 2.25rem 2rem;
    }
}

.story-cta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--on-primary);
    font-size: 0.82rem;
    font-weight: 800;
}

.story-cta-title {
    margin-top: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--on-primary);
}

.story-cta-sub {
    margin-top: 0.5rem;
    max-width: 42rem;
    font-size: 0.94rem;
    line-height: 1.8;
    color: var(--on-primary);
    opacity: 0.9;
}

.story-cta-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.story-cta-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-primary);
}

.story-cta .input,
.story-cta .textarea,
.story-cta .file-input {
    background: var(--background-color);
    color: var(--text-color);
}

.story-cta-submit {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--background-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.story-cta-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.story-cta-submit:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}

.story-cta-msg {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--on-primary);
}

.story-cta-msg.is-error {
    color: var(--accent-light);
}

/* ---- Emergency contact numbers (homepage sidebar) ---- */
.emergency-row {
    padding: 0.85rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.emergency-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    flex: none;
    border-radius: 0.85rem;
    background: var(--accent-light);
    color: var(--accent-color);
    font-size: 1rem;
}

.emergency-name {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.6;
    color: var(--text-color);
}

.emergency-phone {
    display: inline-block;
    margin-top: 0.2rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.emergency-phone:hover {
    text-decoration: underline;
}

/* ---- Floating chat join button (Messenger style, bottom-left) ---- */
.chat-fab {
    position: fixed;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 0.41rem;
    min-height: 2.44rem;
    padding: 0.34rem 0.86rem 0.34rem 0.41rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--on-primary);
    box-shadow: 0 12px 24px -9px rgba(196, 105, 60, 0.8);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.chat-fab::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(196, 105, 60, 0.6);
    animation: chat-fab-pulse 3s ease-out infinite;
    pointer-events: none;
}

.chat-fab:hover,
.chat-fab:focus-visible {
    background: var(--accent-color);
    filter: brightness(1.1);
    transform: translateY(-3px);
    box-shadow: 0 20px 38px -12px rgba(196, 105, 60, 0.9);
}

.chat-fab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    flex: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.98rem;
}

.chat-fab-label {
    font-family: var(--font-heading);
    font-size: 0.71rem;
    font-weight: 800;
    white-space: nowrap;
}

@keyframes chat-fab-pulse {
    0% { box-shadow: 0 0 0 0 rgba(196, 105, 60, 0.55); }
    70% { box-shadow: 0 0 0 1rem rgba(196, 105, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(196, 105, 60, 0); }
}

.chat-flash {
    animation: chat-flash 1.6s ease;
}

@keyframes chat-flash {
    0%, 100% { box-shadow: none; }
    35% { box-shadow: 0 0 0 8px rgba(196, 105, 60, 0.25); }
}

@media (prefers-reduced-motion: reduce) {
    .chat-fab::after,
    .chat-flash {
        animation: none;
    }
}

@media (max-width: 480px) {
    .chat-fab {
        bottom: 1rem;
        left: 1rem;
        min-height: 2.25rem;
        padding: 0.3rem 0.71rem 0.3rem 0.34rem;
    }

    .chat-fab-icon {
        width: 1.58rem;
        height: 1.58rem;
        font-size: 0.86rem;
    }

    .chat-fab-label {
        font-size: 0.64rem;
    }
}

/* ---- Homepage news list (horizontal thumbnail rows) ---- */
.news-show-row {
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 0.85rem;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.news-show-row:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.news-show-thumb {
    display: block;
    width: 8.5rem;
    flex: none;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-strong);
    border-radius: var(--radius-sm);
}

@media (min-width: 640px) {
    .news-show-thumb {
        width: 11rem;
    }
}

.news-show-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-show-row:hover .news-show-thumb img {
    transform: scale(1.06);
}

.news-show-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.news-show-title {
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.55;
    color: var(--text-color);
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-show-row:hover .news-show-title {
    color: var(--primary-color);
}

.news-show-text {
    margin-top: 0.3rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}