/* ═══════════════════════════════════════════════════════════════
 24TUNING. Alientech News Page
 ═══════════════════════════════════════════════════════════════ */

.news-hero {
 position: relative;
 padding: clamp(56px, 10vw, 100px) 0 clamp(40px, 6vw, 64px);
 background: linear-gradient(160deg, rgba(8, 146, 212, 0.08) 0%, var(--dark-bg) 45%, var(--dark-bg) 100%);
 border-bottom: 1px solid var(--border-subtle);
 overflow: hidden;
}

.news-hero-inner {
 position: relative;
 z-index: 1;
 max-width: 820px;
}

.news-hero h1 {
 font-size: clamp(2rem, 5vw, 3rem);
 margin-bottom: 16px;
}

.news-hero-lead {
 color: var(--text-muted);
 line-height: 1.75;
 font-size: clamp(15px, 2vw, 17px);
 margin-bottom: 28px;
}

.news-hero-lead a {
 color: var(--bright-cyan);
 text-decoration: underline;
 text-underline-offset: 3px;
}

.news-supplier-strip {
 padding: 28px 0 0;
}

.news-supplier-strip .news-supplier-badge {
 display: inline-flex;
 align-items: center;
 gap: 16px;
 padding: 16px 20px;
 background: rgba(10, 14, 20, 0.8);
 border: 1px solid var(--border-accent);
 border-radius: var(--radius-sm);
 backdrop-filter: blur(12px);
}

.news-supplier-badge img {
 width: 100px;
 height: auto;
 border-radius: var(--radius-sharp);
 object-fit: cover;
}

.news-supplier-badge strong {
 display: block;
 font-family: var(--font-display);
 font-size: 14px;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--text);
 margin-bottom: 4px;
}

.news-supplier-badge span {
 font-size: 13px;
 color: var(--text-muted);
}

.news-toolbar-section {
 position: sticky;
 top: 0;
 z-index: 50;
 background: rgba(3, 5, 8, 0.92);
 backdrop-filter: blur(16px);
 border-bottom: 1px solid var(--border-subtle);
 padding: 16px 0;
}

.news-toolbar {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 16px;
}

.news-filters {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 flex: 1;
}

.news-filter-btn {
 padding: 8px 16px;
 background: rgba(255, 255, 255, 0.04);
 border: 1px solid var(--border-subtle);
 border-radius: 100px;
 font-family: var(--font-display);
 font-size: 11px;
 font-weight: 700;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--text-muted);
 cursor: pointer;
 transition: all 0.2s ease;
}

.news-filter-btn:hover,
.news-filter-btn.is-active {
 color: var(--text);
 border-color: var(--brand-blue);
 background: rgba(8, 146, 212, 0.12);
}

.news-filter-btn.is-active {
 box-shadow: 0 0 0 1px var(--brand-blue);
}

.news-search-wrap {
 flex: 0 1 280px;
 min-width: 200px;
}

.news-search-wrap input {
 width: 100%;
 padding: 10px 16px;
 background: var(--dark-surface);
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-sharp);
 color: var(--text);
 font-family: var(--font-body);
 font-size: 14px;
}

.news-search-wrap input:focus {
 outline: none;
 border-color: var(--brand-blue);
 box-shadow: 0 0 0 3px var(--glow-blue);
}

.news-status {
 width: 100%;
 font-size: 12px;
 color: var(--text-muted);
 font-family: var(--font-display);
 letter-spacing: 0.06em;
 text-transform: uppercase;
 margin: 0;
}

.news-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 24px;
}

.news-card {
 background: var(--dark-surface);
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-sm);
 overflow: hidden;
 transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.35s;
}

.news-card:hover {
 transform: translateY(-4px);
 border-color: var(--border-accent);
 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.news-card-link {
 display: block;
 color: inherit;
 text-decoration: none;
 height: 100%;
}

.news-card-image {
 aspect-ratio: 16 / 10;
 background: linear-gradient(135deg, var(--carbon), var(--dark-surface));
 background-size: cover;
 background-position: center;
 position: relative;
 overflow: hidden;
}

.news-card-image img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
 transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-card:hover .news-card-image img {
 transform: scale(1.06);
}

.news-card-image::after {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(to top, rgba(3, 5, 8, 0.7), transparent 50%);
}

.news-card-cat {
 position: absolute;
 top: 12px;
 left: 12px;
 z-index: 1;
 padding: 4px 10px;
 background: rgba(8, 146, 212, 0.85);
 font-family: var(--font-display);
 font-size: 10px;
 font-weight: 700;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 border-radius: var(--radius-sharp);
}

.news-card-body {
 padding: 20px;
}

.news-card-body time {
 font-family: var(--font-display);
 font-size: 11px;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--brand-blue);
}

.news-card-body h2 {
 font-family: var(--font-display);
 font-size: 16px;
 font-weight: 700;
 line-height: 1.35;
 margin: 8px 0 10px;
 color: var(--text);
 font-style: normal;
 letter-spacing: 0.02em;
 display: -webkit-box;
 -webkit-line-clamp: 3;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

.news-card-body p {
 font-size: 13px;
 color: var(--text-muted);
 line-height: 1.6;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
 margin-bottom: 12px;
}

.news-card-read {
 font-family: var(--font-display);
 font-size: 11px;
 font-weight: 700;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--bright-cyan);
}

.news-pagination {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 20px;
 margin-top: 48px;
 padding-top: 32px;
 border-top: 1px solid var(--border-subtle);
}

.news-page-btn {
 padding: 10px 20px;
 background: rgba(8, 146, 212, 0.1);
 border: 1px solid var(--border-accent);
 border-radius: var(--radius-sharp);
 font-family: var(--font-display);
 font-size: 12px;
 font-weight: 700;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--text);
 cursor: pointer;
 transition: background 0.2s;
}

.news-page-btn:hover {
 background: rgba(8, 146, 212, 0.2);
}

.news-page-info {
 font-family: var(--font-display);
 font-size: 13px;
 color: var(--text-muted);
 letter-spacing: 0.06em;
}

.news-empty {
 grid-column: 1 / -1;
 text-align: center;
 padding: 60px 20px;
 color: var(--text-muted);
}

/* ── Article page ── */
.news-article { padding-bottom: 0; }

.article-hero {
 padding: 56px 0 48px;
 background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-bg) 60%);
 border-bottom: 1px solid rgba(8, 146, 212, 0.1);
 position: relative;
 overflow: hidden;
}

.article-hero.has-image::before {
 display: none;
}

.article-hero-inner {
 position: relative;
 z-index: 1;
 width: 100%;
}

.article-hero h1 {
 font-size: clamp(1.75rem, 4vw, 2.75rem);
 line-height: 1.15;
 margin: 12px 0 16px;
}

.article-excerpt {
 color: var(--text-muted);
 font-size: 17px;
 line-height: 1.7;
 margin-bottom: 12px;
}

.article-date {
 font-family: var(--font-display);
 font-size: 12px;
 font-weight: 600;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--brand-blue);
}

.article-layout {
 max-width: 820px;
 padding: 40px var(--site-gutter) 60px;
}

.article-featured {
 margin: 0 0 32px;
 border-radius: var(--radius-sm);
 overflow: hidden;
 border: 1px solid var(--border-subtle);
}

.article-featured img {
 width: 100%;
 height: auto;
 display: block;
}

.prose-news {
 color: var(--text-muted);
 line-height: 1.8;
 font-size: 16px;
}

.prose-news h2,
.prose-news h3 {
 font-family: var(--font-display);
 color: var(--text);
 font-style: normal;
 letter-spacing: 0.04em;
 text-transform: uppercase;
 margin: 32px 0 12px;
 font-size: 1.25rem;
}

.prose-news p { margin-bottom: 16px; }

.prose-news ul,
.prose-news ol {
 margin: 0 0 16px 1.25rem;
}

.prose-news li { margin-bottom: 8px; }

.prose-news a {
 color: var(--bright-cyan);
 text-decoration: underline;
 text-underline-offset: 3px;
}

.prose-news img {
 max-width: 100%;
 height: auto;
 border-radius: var(--radius-sharp);
 margin: 16px 0;
}

.prose-news table {
 width: 100%;
 border-collapse: collapse;
 margin: 20px 0;
 font-size: 14px;
}

.prose-news th,
.prose-news td {
 border: 1px solid var(--border-subtle);
 padding: 10px 12px;
 text-align: left;
}

.article-footer {
 margin-top: 48px;
 padding-top: 32px;
 border-top: 1px solid var(--border-subtle);
}

.article-footer p {
 color: var(--text-muted);
 line-height: 1.7;
 margin-bottom: 20px;
}

.news-grid-related {
 grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
 .news-grid-related { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
 .news-grid-related { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
 .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
 .news-grid { grid-template-columns: 1fr; }
 .news-toolbar { flex-direction: column; align-items: stretch; }
 .news-search-wrap { flex: 1; width: 100%; }
}
