/* ==========================================================================
   MacBlash News — Isolated Stylesheet (News Index + Article Detail)
   rusty create | 2026-09-09 15:10
   Action: Creating macblash-news.css — dark-glass news UI adapted from Google
           Stitch screens "Macblash News Index" + "Macblash News Detail".
           Namespaced .mac-news- and scoped under .mac-news-page / .mac-news-article-page
           so the legacy .event-item / .index-item / .page-single-* rules in style.css
           stay intact for their other consumers (events, services, live ...).
   ========================================================================== */

/* --- Design Tokens (mirror macblash-forums.css / macblash-chat.css) --- */
:root {
    --mn-bg: #0a0a0f;
    --mn-surface: rgba(18, 18, 26, 0.75);
    --mn-surface-solid: #12121a;
    --mn-glass-border: rgba(6, 182, 212, 0.12);
    --mn-glass-border-hover: rgba(6, 182, 212, 0.45);
    --mn-gold: #e4c59e;
    --mn-cyan: #06b6d4;
    --mn-purple: #8b5cf6;
    --mn-text: #e2e8f0;
    --mn-text-muted: #94a3b8;
    --mn-radius: 16px;
    --mn-radius-sm: 10px;
    --mn-radius-xs: 6px;
}

/* ==========================================================================
   1. NEWS INDEX  (route: /news)
   ========================================================================== */

.mac-news-page {
    background: transparent !important;
    position: relative;
    z-index: 2;
}

/* --- Featured hero banner (also a slide inside .mac-news-hero-slider) --- */
.mac-news-hero {
    position: relative;
    display: block;
    border-radius: var(--mn-radius);
    overflow: hidden;
    min-height: 420px;
    border: 1px solid var(--mn-glass-border);
    margin-bottom: 40px;
    text-decoration: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.mac-news-hero:hover {
    border-color: var(--mn-glass-border-hover);
    box-shadow: 0 0 34px rgba(6, 182, 212, 0.18);
    text-decoration: none;
}

/* --- Hero slider (Swiper 8, loaded globally) --- */
.mac-news-hero-slider {
    position: relative;
    border-radius: var(--mn-radius);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--mn-glass-border);
}

.mac-news-hero-slider .mac-news-hero {
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    height: auto;
}

.mac-news-hero-slider .swiper-slide { height: auto; }

.mac-news-hero-slider .swiper-pagination {
    bottom: 16px !important;
}

.mac-news-hero-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: width 0.25s ease, background 0.25s ease;
}

.mac-news-hero-slider .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 6px;
    background: var(--mn-cyan);
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.mac-news-hero-slider .swiper-button-prev,
.mac-news-hero-slider .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--mn-cyan);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.mac-news-hero-slider .swiper-button-prev:hover,
.mac-news-hero-slider .swiper-button-next:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.7);
}

.mac-news-hero-slider .swiper-button-prev::after,
.mac-news-hero-slider .swiper-button-next::after { font-size: 15px; font-weight: 800; }

@media (max-width: 575px) {
    .mac-news-hero-slider .swiper-button-prev,
    .mac-news-hero-slider .swiper-button-next { display: none; }
}

.mac-news-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.mac-news-hero:hover .mac-news-hero-img { transform: scale(1.05); }

.mac-news-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.97) 5%, rgba(10, 10, 15, 0.55) 45%, transparent 100%);
}

.mac-news-hero-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    padding: 32px clamp(20px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.mac-news-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mn-cyan);
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.35);
    backdrop-filter: blur(4px);
}

.mac-news-hero-title {
    font-size: clamp(24px, 3.4vw, 42px);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0;
    max-width: 46ch;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.mac-news-hero-excerpt {
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.7;
    color: var(--mn-text-muted);
    margin: 0;
    max-width: 60ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mac-news-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 12px 24px;
    border-radius: var(--mn-radius-sm);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #001014;
    background: linear-gradient(135deg, var(--mn-cyan), #22d3ee);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mac-news-hero:hover .mac-news-cta { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(6, 182, 212, 0.5); }
.mac-news-cta i { transition: transform 0.2s ease; }
.mac-news-hero:hover .mac-news-cta i { transform: translateX(-3px); }
[dir="ltr"] .mac-news-hero:hover .mac-news-cta i { transform: translateX(3px); }

/* --- Index layout: main grid + trending aside --- */
.mac-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

@media (max-width: 991px) {
    .mac-news-layout { grid-template-columns: 1fr; }
}

.mac-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

@media (max-width: 575px) {
    .mac-news-grid { grid-template-columns: 1fr; gap: 16px; }
    .mac-news-card { will-change: auto !important; }
}

/* --- News card --- */
.mac-news-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--mn-radius);
    background: var(--mn-surface-solid);
    border: 1px solid var(--mn-glass-border);
    overflow: hidden;
    text-decoration: none;
    color: var(--mn-text);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease, box-shadow 0.3s ease;
}

.mac-news-card:hover {
    transform: translateY(-4px);
    border-color: var(--mn-glass-border-hover);
    box-shadow: 0 0 26px rgba(6, 182, 212, 0.15);
    color: var(--mn-text);
    text-decoration: none;
}

.mac-news-card-media {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #0d0d14;
}

.mac-news-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mac-news-card:hover .mac-news-card-img { transform: scale(1.06); }

.mac-news-badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 2;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #001014;
    background: var(--mn-cyan);
}

.mac-news-badge.is-pinned { background: var(--mn-gold); }

.mac-news-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
    flex: 1;
}

.mac-news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--mn-text-muted);
}

.mac-news-card-meta .date { color: var(--mn-cyan); letter-spacing: 0.04em; }
.mac-news-card-meta .read { display: inline-flex; align-items: center; gap: 4px; }

.mac-news-card-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mac-news-card-excerpt {
    font-size: 13px;
    line-height: 1.6;
    color: var(--mn-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.mac-news-card-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 800;
    color: var(--mn-cyan);
    transition: gap 0.25s ease;
}

.mac-news-card:hover .mac-news-card-more { gap: 9px; }

/* --- Trending / pinned aside --- */
.mac-news-aside {
    position: sticky;
    top: 100px;
}

.mac-news-panel {
    background: var(--mn-surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--mn-glass-border);
    border-top: 2px solid var(--mn-cyan);
    border-radius: var(--mn-radius);
    padding: 20px;
}

.mac-news-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.mac-news-panel-title i { color: #f59e0b; }

.mac-news-trend {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.mac-news-trend:last-child { border-bottom: 0; padding-bottom: 0; }
.mac-news-trend:first-child { padding-top: 0; }

.mac-news-trend-rank {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--mn-cyan);
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

.mac-news-trend-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--mn-text);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.mac-news-trend:hover .mac-news-trend-title { color: var(--mn-cyan); }

/* --- Pagination + empty (scoped) --- */
.mac-news-page .pagination { justify-content: center; margin-top: 36px; }
.mac-news-page .pagination .page-link {
    background: var(--mn-surface);
    border-color: var(--mn-glass-border);
    color: var(--mn-text-muted);
    border-radius: var(--mn-radius-xs);
    margin: 0 3px;
}
.mac-news-page .pagination .page-item.active .page-link {
    background: var(--mn-cyan);
    border-color: var(--mn-cyan);
    color: #001014;
}

.mac-news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--mn-text-muted);
    border: 1px dashed var(--mn-glass-border);
    border-radius: var(--mn-radius);
}
.mac-news-empty i { font-size: 40px; color: var(--mn-cyan); display: block; margin-bottom: 12px; }

.mac-news-suggest-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--mn-radius-sm);
    background: linear-gradient(135deg, var(--mn-purple), var(--mn-cyan));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 22px;
}
.mac-news-suggest-btn:hover { transform: scale(1.04); color: #fff; box-shadow: 0 0 24px rgba(6, 182, 212, 0.5); }

/* ==========================================================================
   2. ARTICLE DETAIL  (route: /show_news/{id})
   ========================================================================== */

.mac-news-article-page {
    background: transparent !important;
    position: relative;
    z-index: 2;
}

/* --- Cinematic hero --- */
.mac-news-detail-hero {
    position: relative;
    border-radius: var(--mn-radius);
    overflow: hidden;
    border: 1px solid var(--mn-glass-border);
    min-height: 440px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 28px;
}

.mac-news-detail-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mac-news-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.98) 8%, rgba(10, 10, 15, 0.7) 40%, rgba(10, 10, 15, 0.25) 100%);
}

.mac-news-detail-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(20px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mac-news-detail-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--mn-text-muted);
}

.mac-news-detail-meta-top .read { display: inline-flex; align-items: center; gap: 5px; }

.mac-news-detail-title {
    font-size: clamp(24px, 3.6vw, 44px);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0;
    max-width: 30ch;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.mac-news-detail-authorbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 18px;
    margin-top: 6px;
}

.mac-news-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mac-news-author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(6, 182, 212, 0.4);
    background: #0d0d14;
}

.mac-news-author-name {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.mac-news-author-sub {
    font-size: 12px;
    color: var(--mn-text-muted);
    margin: 0;
}

/* --- Action bar (favorite / share / rating badge) --- */
.mac-news-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mac-news-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--mn-surface);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--mn-text);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mac-news-action-btn:hover {
    color: var(--mn-cyan);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}

.mac-news-action-btn.is-fav { color: #ef4444; border-color: rgba(239, 68, 68, 0.45); }
.mac-news-action-btn.is-fav i { font-weight: 900; }

.mac-news-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #f59e0b;
    font-size: 13px;
    font-weight: 800;
}

/* rusty change | 2026-09-09 17:05
   Action: the X / WhatsApp / Telegram / copy popover was removed — the share button
   now opens the native Web Share sheet (see show_news.blade.php @section('script'),
   same pattern as the chat room). Nothing to style here beyond .mac-news-action-btn. */

/* --- Article body wrapper --- */
.mac-news-article {
    max-width: 820px;
    margin-inline: auto;
    padding: 8px 0 20px;
}

.mac-news-body {
    color: var(--mn-text);
    font-size: 17px;
    line-height: 1.9;
    word-break: break-word;
}

.mac-news-body > *:first-child { margin-top: 0; }
.mac-news-body p { margin: 0 0 20px; }
.mac-news-body a { color: var(--mn-cyan); text-decoration: underline; text-underline-offset: 3px; }
.mac-news-body a:hover { color: #22d3ee; }

.mac-news-body h1,
.mac-news-body h2,
.mac-news-body h3,
.mac-news-body h4 {
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
    margin: 40px 0 16px;
}
.mac-news-body h2 { font-size: 26px; }
.mac-news-body h3 { font-size: 21px; }
.mac-news-body h4 { font-size: 18px; }

.mac-news-body ul,
.mac-news-body ol {
    margin: 0 0 20px;
    padding-inline-start: 24px;
}
.mac-news-body li { margin-bottom: 10px; }
.mac-news-body ul { list-style: none; padding-inline-start: 8px; }
.mac-news-body ul > li {
    position: relative;
    padding-inline-start: 22px;
}
.mac-news-body ul > li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mn-cyan);
    box-shadow: 0 0 6px var(--mn-cyan);
}
.mac-news-body ol { list-style: decimal; }

.mac-news-body img,
.mac-news-body video,
.mac-news-body iframe {
    max-width: 100%;
    height: auto;
    border-radius: var(--mn-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 12px 0 24px;
    display: block;
}

.mac-news-body blockquote {
    margin: 32px 0;
    padding: 22px 26px;
    border: 1px solid var(--mn-glass-border);
    border-inline-start: 4px solid var(--mn-cyan);
    border-radius: var(--mn-radius-sm);
    background: var(--mn-surface);
    backdrop-filter: blur(12px);
    color: var(--mn-cyan);
    font-size: 19px;
    font-style: italic;
    line-height: 1.7;
}
.mac-news-body blockquote p:last-child { margin-bottom: 0; }
.mac-news-body blockquote cite,
.mac-news-body blockquote footer {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mn-text-muted);
}

.mac-news-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 14px;
    overflow: hidden;
    border-radius: var(--mn-radius-sm);
}
.mac-news-body th,
.mac-news-body td {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: start;
}
.mac-news-body th { background: rgba(6, 182, 212, 0.12); color: #fff; font-weight: 800; }
.mac-news-body tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }

.mac-news-body hr {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 32px 0;
}

/* Table overflow guard */
.mac-news-body .table-scroll,
.mac-news-body figure.table { overflow-x: auto; }

/* --- Video / media embed card --- */
.mac-news-video {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: var(--mn-radius);
    overflow: hidden;
    border: 1px solid var(--mn-glass-border);
    margin: 28px 0;
    background: #0d0d14;
    cursor: pointer;
}

.mac-news-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.mac-news-video:hover img { opacity: 1; transform: scale(1.03); }

.mac-news-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mac-news-video-play span {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(6, 182, 212, 0.5);
    color: var(--mn-cyan);
    font-size: 26px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mac-news-video:hover .mac-news-video-play span {
    transform: scale(1.1);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.45);
}

/* --- Gallery --- */
.mac-news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.mac-news-gallery-item {
    border-radius: var(--mn-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 4 / 3;
    background: #0d0d14;
}

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

.mac-news-gallery-item:hover img { transform: scale(1.06); }

/* --- Source / attribution --- */
.mac-news-source {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 28px 0;
    padding: 16px 18px;
    border-radius: var(--mn-radius-sm);
    background: var(--mn-surface);
    border: 1px solid var(--mn-glass-border);
    font-size: 13px;
    color: var(--mn-text-muted);
}

.mac-news-source i { color: var(--mn-cyan); }

.mac-news-source a {
    color: var(--mn-cyan);
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}
.mac-news-source a:hover { text-decoration: underline; }

/* --- Tags --- */
.mac-news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mac-news-tag {
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--mn-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: var(--mn-text-muted);
}

/* --- Reviews / rating --- */
.mac-news-reviews {
    max-width: 820px;
    margin: 40px auto 0;
}

.mac-news-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.mac-news-section-title i { color: var(--mn-cyan); }
.mac-news-section-title .count {
    font-size: 12px;
    font-weight: 700;
    color: var(--mn-cyan);
    background: rgba(6, 182, 212, 0.14);
    border-radius: 999px;
    padding: 2px 10px;
}

/* rusty change | 2026-09-09 19:20
   Action: the rating widget uses the shared show_event markup — .live-rating-section /
   .live-avg-rating / .live-comment-* / .mac-forum-star-rating, all styled by
   macblash-training.css (global). It is left COMPLETELY unstyled here so it renders
   byte-identical to the Event page's glass card (the earlier transparent/padding:0
   override that flattened it is removed). Submit-button alignment for every rating
   widget lives in macblash-training.css (.live-rating-section .live-submit-btn). */

/* --- Related articles --- */
.mac-news-related {
    max-width: 1100px;
    margin: 56px auto 0;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 900px) { .mac-news-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .mac-news-related-grid { grid-template-columns: 1fr; } }

/* --- GSAP entrance: cards visible by default; scripts animate gsap.from() --- */

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .mac-news-card,
    .mac-news-card-img,
    .mac-news-hero-img,
    .mac-news-video img { transition: none !important; animation: none !important; }
}
