:root { --news-shell: 1180px; }
body { min-height: 100vh; background: #fff; }
.news-shell { width: min(var(--news-shell), calc(100% - 40px)); margin-inline: auto; }
.news-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(20,20,20,.08); background: rgba(255,255,255,.96); backdrop-filter: blur(16px); }
.news-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.news-header nav { display: flex; align-items: center; gap: 28px; }
.news-header nav a { position: relative; color: #3c3c3c; font-size: 12px; font-weight: 600; }
.news-header nav a.is-active { color: var(--orange); }
.news-header nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 2px; background: var(--orange); }
.news-header nav .news-header__cta { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 10px 10px 10px 3px; color: #fff; background: var(--orange); }

.news-hero { overflow: hidden; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(238,0,51,.42), transparent 28%), linear-gradient(125deg, #161027, #25143e 60%, #4a173d); }
.news-hero__inner { min-height: 330px; display: grid; grid-template-columns: 1fr minmax(320px, .65fr); align-items: center; gap: 70px; }
.news-hero p, .news-list-heading p { margin: 0 0 11px; color: #ff6686; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.news-hero h1 { margin: 0 0 15px; font-size: clamp(38px, 5vw, 63px); line-height: 1.03; letter-spacing: -.055em; }
.news-hero span { max-width: 650px; display: block; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.75; }
.news-search { padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px 18px 18px 5px; background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.news-search label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.75); font-size: 9px; font-weight: 700; }
.news-search > div { display: grid; grid-template-columns: 1fr 48px; overflow: hidden; border-radius: 10px; background: #fff; }
.news-search input { min-width: 0; height: 50px; padding: 0 15px; border: 0; outline: 0; font-size: 11px; }
.news-search button { border: 0; color: #fff; background: var(--orange); font-size: 22px; cursor: pointer; }

.news-main { padding-top: 56px; padding-bottom: 85px; }
.news-categories { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
.news-categories::-webkit-scrollbar { display: none; }
.news-categories a, .news-categories span { min-height: 39px; flex: 0 0 auto; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: #555; background: #fff; font-size: 9px; font-weight: 700; }
.news-categories a:hover { border-color: #f092a6; color: var(--orange); }
.news-categories a.is-active { border-color: var(--orange); color: #fff; background: var(--orange); }

.news-featured { margin-top: 36px; }
.news-featured__card { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 26px 26px 26px 7px; color: #fff; background: #22142f; }
.news-featured__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-featured__card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,8,18,.94), rgba(12,8,18,.45) 62%, rgba(12,8,18,.12)), linear-gradient(0deg, rgba(12,8,18,.7), transparent 65%); }
.news-featured__content { position: relative; z-index: 2; max-width: 720px; padding: 45px; }
.news-badge { width: fit-content; min-height: 25px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; color: #fff; background: var(--orange); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-featured h2 { margin: 17px 0 12px; font-size: clamp(27px, 4vw, 46px); line-height: 1.16; letter-spacing: -.045em; }
.news-featured p { margin: 0 0 22px; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.7; }
.news-meta { display: flex; flex-wrap: wrap; gap: 13px; color: rgba(255,255,255,.62); font-size: 8px; }
.news-featured__link { position: absolute; inset: 0; z-index: 3; }

.news-list-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 54px 0 24px; }
.news-list-heading p { color: var(--orange); }
.news-list-heading h2 { margin: 0; font-size: 29px; letter-spacing: -.04em; }
.news-list-heading > span { color: var(--muted); font-size: 9px; }
.news-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.news-page-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px 18px 18px 5px; background: #fff; transition: transform .25s, box-shadow .25s; }
.news-page-card:hover { transform: translateY(-5px); box-shadow: 0 17px 38px rgba(28,20,22,.1); }
.news-page-card__image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #ffccd7, #b51d43); }
.news-page-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-page-card:hover img { transform: scale(1.045); }
.news-page-card__image .news-badge { position: absolute; left: 14px; top: 14px; z-index: 1; }
.news-page-card__body { padding: 20px; }
.news-page-card__body .news-meta { color: var(--orange); }
.news-page-card h3 { margin: 11px 0 9px; font-size: 15px; line-height: 1.45; }
.news-page-card p { display: -webkit-box; min-height: 47px; overflow: hidden; margin: 0 0 17px; color: var(--muted); font-size: 9px; line-height: 1.7; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.news-page-card__more { color: var(--orange); font-size: 9px; font-weight: 800; }
.news-page-state { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed #ddd; border-radius: 16px; color: var(--muted); text-align: center; font-size: 11px; }

.news-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 38px; }
.news-pagination a, .news-pagination span { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: #555; background: #fff; font-size: 9px; font-weight: 700; }
.news-pagination a:hover, .news-pagination a.is-active { border-color: var(--orange); color: #fff; background: var(--orange); }
.news-pagination span { opacity: .45; }

.article-main { min-height: 75vh; padding: 42px 0 85px; background: #fbfaf9; }
.article-back { display: inline-flex; margin-bottom: 28px; color: var(--orange); font-size: 10px; font-weight: 800; }
.article-card { max-width: 900px; margin: 0 auto; padding: 48px 62px 60px; border: 1px solid var(--line); border-radius: 24px 24px 24px 7px; background: #fff; box-shadow: 0 18px 55px rgba(24,18,20,.06); }
.article-header { text-align: center; }
.article-header__categories { display: flex; justify-content: center; gap: 7px; }
.article-header h1 { margin: 18px auto 17px; font-size: clamp(31px, 5vw, 54px); line-height: 1.17; letter-spacing: -.052em; }
.article-header .news-meta { justify-content: center; color: var(--muted); }
.article-lead { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.article-cover { width: 100%; max-height: 520px; margin: 34px 0; border-radius: 17px 17px 17px 5px; object-fit: cover; }
.article-content { color: #373737; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.article-content h2 { margin: 42px 0 15px; color: var(--ink); font-size: 26px; line-height: 1.3; letter-spacing: -.035em; }
.article-content h3 { margin: 32px 0 12px; color: var(--ink); font-size: 20px; }
.article-content p { margin: 0 0 19px; }
.article-content img { height: auto; margin: 26px auto; border-radius: 14px; }
.article-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--orange-soft); }
.article-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { min-width: 130px; padding: 11px; border: 1px solid var(--line); text-align: left; }
.article-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-tags span { padding: 6px 9px; border-radius: 999px; color: #666; background: var(--soft); font-size: 8px; }
.article-share { min-height: 38px; padding: 0 14px; border: 1px solid var(--orange); border-radius: 9px; color: var(--orange); background: #fff; font-size: 9px; font-weight: 800; cursor: pointer; }
.related-news { margin-top: 70px; }
.reading-progress { position: fixed; left: 0; top: 0; z-index: 200; width: 0; height: 3px; background: var(--orange); }

.news-footer { padding: 34px 0; color: #aaa; background: #111; }
.news-footer .news-shell { display: flex; align-items: center; gap: 24px; }
.news-footer .brand__name { color: #fff; }
.news-footer p { flex: 1; margin: 0; font-size: 9px; }
.news-footer > div > a:last-child { color: #fff; font-size: 9px; font-weight: 700; }

@media (max-width: 900px) {
  .news-header nav a:not(.news-header__cta, .is-active) { display: none; }
  .news-hero__inner { min-height: 380px; grid-template-columns: 1fr; align-content: center; gap: 30px; padding-block: 48px; }
  .news-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-card { padding: 38px 35px 48px; }
}
@media (max-width: 600px) {
  .news-shell { width: min(100% - 28px, var(--news-shell)); }
  .news-header__inner { min-height: 66px; }
  .news-header nav { gap: 14px; }
  .news-header nav .is-active { display: none; }
  .news-hero__inner { min-height: 360px; }
  .news-search { padding: 16px; }
  .news-main { padding-top: 36px; padding-bottom: 60px; }
  .news-featured__card { min-height: 390px; }
  .news-featured__content { padding: 27px; }
  .news-page-grid { grid-template-columns: 1fr; }
  .news-list-heading { margin-top: 42px; }
  .article-main { padding-top: 26px; }
  .article-card { padding: 28px 20px 38px; border-radius: 18px 18px 18px 5px; }
  .article-content { font-size: 13px; }
  .article-footer, .news-footer .news-shell { align-items: flex-start; flex-direction: column; }
}
