.ss-news {
  --news-rust: #b9512a;
  --news-gold: #e0aa55;
  --news-mint: #dcece7;
  --news-blush: #efd9cf;
  --news-ink-soft: rgba(9, 25, 35, .67);
}

.ss-news .ss-page::before {
  display: none;
}

.ss-news .ss-nav-links a.is-active { color: var(--ss-copper); }
.ss-news .ss-nav-links a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--ss-copper);
}

.news-masthead {
  position: relative;
  width: min(calc(100% - 48px), var(--ss-max));
  margin: clamp(54px, 7vw, 96px) auto 0;
  padding: 0 0 clamp(58px, 7vw, 92px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(9, 25, 35, .18);
}
.news-masthead::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 38px;
  right: 0;
  width: clamp(90px, 13vw, 190px);
  height: calc(100% - 38px);
  opacity: .18;
  background: url("assets/ankara-tech-band-v2.jpg") center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 78%);
}
.news-masthead-rule {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--news-ink-soft);
  border-top: 1px solid rgba(9, 25, 35, .18);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.news-masthead-grid {
  padding-top: clamp(52px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr);
  gap: clamp(38px, 7vw, 110px);
  align-items: end;
}
.news-masthead h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(3.9rem, 7.4vw, 7.7rem);
  font-weight: 600;
  letter-spacing: -.073em;
  line-height: .87;
  text-wrap: balance;
}
.news-masthead-image {
  width: 1.2em;
  height: .42em;
  margin: 0 .08em;
  display: inline-block;
  vertical-align: .1em;
  border-radius: 999px;
  background: url("assets/ankara-tech-band-v2.jpg") center 48% / 240% auto no-repeat;
  box-shadow: inset 0 0 0 2px rgba(9, 25, 35, .12);
}
.news-masthead-intro { padding: 0 0 8px; }
.news-masthead-intro p { max-width: 410px; margin: 0; color: var(--news-ink-soft); font-size: 16px; line-height: 1.65; }
.news-masthead-intro a { margin-top: 28px; display: inline-flex; align-items: center; gap: 12px; color: var(--ss-copper); border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.news-masthead-intro a span { font-size: 17px; transition: transform 350ms var(--ss-ease); }
.news-masthead-intro a:hover span { transform: translateY(4px); }

.news-kicker {
  margin: 0 0 20px;
  color: var(--ss-copper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.news-chapter {
  width: min(calc(100% - 48px), var(--ss-max));
  margin: 0 auto;
  padding-block: clamp(120px, 14vw, 210px);
}
.news-kicker { color: var(--ss-copper); }
.news-section-head,
.news-feed-head {
  margin-bottom: clamp(48px, 7vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr);
  gap: 48px;
  align-items: end;
}
.news-section-head h2,
.news-lens-head h2,
.news-feed-head h2,
.news-reader-carousel h2,
.news-action h2 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(3.4rem, 7.4vw, 7.4rem);
  font-weight: 600;
  letter-spacing: -.072em;
  line-height: .87;
}
.news-section-head > p,
.news-feed-head > p {
  max-width: 430px;
  margin: 0 0 4px;
  color: var(--news-ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.news-lead-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(250px, 1fr));
  grid-auto-flow: dense;
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--ss-navy);
  box-shadow: 0 30px 90px rgba(9, 25, 35, .13);
}
.news-lead-card { position: relative; min-height: 250px; display: block; overflow: hidden; isolation: isolate; color: var(--ss-paper) !important; }
.news-lead-card::after { content: ""; position: absolute; z-index: 3; inset: 0; border: 1px solid rgba(255, 255, 255, .13); pointer-events: none; }
.news-lead-primary { grid-column: span 8; grid-row: span 2; min-height: 570px; }
.news-lead-secondary { grid-column: span 4; grid-row: span 1; }
.news-card-media,
.news-card-media img,
.news-card-shade { position: absolute; inset: 0; }
.news-card-media { z-index: -2; overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 900ms var(--ss-ease), filter 700ms ease; }
.news-card-shade { z-index: -1; background: linear-gradient(180deg, transparent 18%, rgba(9, 25, 35, .2) 48%, rgba(9, 25, 35, .93) 100%); }
.news-lead-card:hover .news-card-media img { transform: scale(1.06); filter: saturate(1.08) contrast(1.04); }
.news-card-copy { position: absolute; right: 0; bottom: 0; left: 0; padding: clamp(24px, 4vw, 56px); display: grid; justify-items: start; }
.news-card-meta { margin-bottom: 12px; color: #f4bd69; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.news-card-copy > strong { max-width: 820px; font-size: clamp(2rem, 4vw, 4.7rem); font-weight: 600; letter-spacing: -.055em; line-height: .94; }
.news-card-copy > small { max-width: 650px; margin-top: 18px; color: rgba(255, 250, 243, .72); font-size: 14px; line-height: 1.55; }
.news-read-link { margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid rgba(255, 250, 243, .55); font-size: 12px; font-weight: 700; }
.news-read-link b { margin-left: 8px; transition: margin 300ms var(--ss-ease); }
.news-lead-card:hover .news-read-link b { margin-left: 14px; }
.news-lead-secondary .news-card-copy { padding: 25px; }
.news-lead-secondary .news-card-copy > strong { font-size: clamp(1.45rem, 2.1vw, 2.25rem); line-height: 1; }
.news-lead-secondary .news-card-copy > small { display: none; }
.news-lead-secondary .news-read-link { margin-top: 14px; }

.news-lens {
  position: relative;
  padding: clamp(80px, 9vw, 140px) clamp(24px, 4vw, 64px) clamp(100px, 11vw, 170px);
  overflow: hidden;
  isolation: isolate;
  color: var(--ss-paper);
  border-radius: 34px;
  background: radial-gradient(circle at 12% 18%, rgba(15, 109, 104, .52), transparent 32%), var(--ss-navy);
  box-shadow: 0 32px 90px rgba(9, 25, 35, .16);
}
.news-lens::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -8%;
  width: 58%;
  height: 100%;
  opacity: .09;
  background: url("assets/ankara-tech-band-v2.jpg") center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
  mix-blend-mode: luminosity;
}
.news-lens-head { max-width: 1080px; margin-bottom: clamp(52px, 7vw, 88px); }
.news-lens-head .news-kicker { color: #f4bd69; }
.news-lens-accordion { height: 520px; display: flex; overflow: hidden; border-radius: 30px; background: rgba(255, 255, 255, .1); }
.news-lens-panel {
  position: relative;
  min-width: 110px;
  padding: 34px;
  flex: 1 1 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  color: var(--ss-ink) !important;
  border-right: 1px solid rgba(9, 25, 35, .18);
  background: var(--ss-sand);
  transition: flex 800ms var(--ss-ease), background 500ms ease;
}
.news-lens-panel:nth-child(2) { background: var(--news-mint); }
.news-lens-panel:nth-child(3) { background: var(--news-blush); }
.news-lens-panel:nth-child(4) { border-right: 0; background: #e7d9b6; }
.news-lens-panel.is-active,
.news-lens-panel:hover,
.news-lens-panel:focus-visible { flex: 3.6 1 0; }
.news-lens-number { font-size: 12px; font-weight: 800; }
.news-lens-copy { align-self: end; display: grid; gap: 13px; }
.news-lens-copy strong { width: 430px; max-width: calc(100vw - 120px); font-size: clamp(2rem, 4.5vw, 5rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; }
.news-lens-copy small { width: 360px; max-width: calc(100vw - 120px); color: var(--news-ink-soft); font-size: 14px; line-height: 1.55; opacity: 0; transform: translateY(14px); transition: opacity 350ms ease 100ms, transform 550ms var(--ss-ease) 100ms; }
.news-lens-panel.is-active .news-lens-copy small,
.news-lens-panel:hover .news-lens-copy small,
.news-lens-panel:focus-visible .news-lens-copy small { opacity: 1; transform: none; }
.news-lens-arrow { justify-self: end; font-size: 24px; }

.news-feed { padding-top: clamp(170px, 19vw, 280px); }
.news-feed-head > p { text-align: right; }
.news-category-rail {
  margin-bottom: 46px;
  padding-bottom: 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.news-category-rail::-webkit-scrollbar { display: none; }
.news-category {
  min-height: 42px;
  padding: 0 17px;
  flex: 0 0 auto;
  color: var(--news-ink-soft);
  border: 1px solid rgba(9, 25, 35, .16);
  border-radius: 999px;
  background: rgba(255, 250, 243, .5);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  scroll-snap-align: start;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease, transform 350ms var(--ss-ease);
}
.news-category:hover { color: var(--ss-copper); border-color: var(--ss-copper); transform: translateY(-2px); }
.news-category.is-active { color: var(--ss-paper); border-color: var(--ss-teal-deep); background: var(--ss-teal-deep); }

.news-feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 18px; }
.news-feed-grid.is-sparse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-feed-grid.is-single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.news-feed-card { min-height: 560px; overflow: hidden; border: 1px solid rgba(9, 25, 35, .12); border-radius: 24px; background: rgba(255, 250, 243, .72); transition: transform 600ms var(--ss-ease), box-shadow 500ms ease; }
.news-feed-card:nth-child(6n + 1) { grid-column: span 2; }
.news-feed-grid.is-sparse .news-feed-card:nth-child(6n + 1),
.news-feed-grid.is-single .news-feed-card:nth-child(6n + 1) { grid-column: span 1; }
.news-feed-card:hover { transform: translateY(-8px); box-shadow: 0 28px 70px rgba(9, 25, 35, .12); }
.news-feed-card > a { height: 100%; display: grid; grid-template-rows: minmax(280px, 1fr) auto; }
.news-feed-media { min-height: 280px; overflow: hidden; background: var(--ss-sand); }
.news-feed-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ss-ease); }
.news-feed-card:hover .news-feed-media img { transform: scale(1.055); }
.news-feed-copy { min-height: 250px; padding: 27px; display: flex; flex-direction: column; align-items: flex-start; }
.news-feed-copy > span { color: var(--ss-copper); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.news-feed-copy h3 { margin: 14px 0 13px; font-size: clamp(1.55rem, 2.15vw, 2.45rem); font-weight: 650; letter-spacing: -.05em; line-height: 1; }
.news-feed-copy p { margin: 0; color: var(--news-ink-soft); font-size: 13px; line-height: 1.6; }
.news-feed-copy small { width: 100%; margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; color: var(--news-ink-soft); font-size: 11px; font-weight: 650; }
.news-feed-copy small b { color: var(--ss-ink); font-size: 17px; }
.news-feed-card:nth-child(6n + 1) > a { grid-template-columns: 1.3fr .7fr; grid-template-rows: 1fr; }
.news-feed-card:nth-child(6n + 1) .news-feed-copy { min-height: 0; }
.news-feed-grid.is-sparse .news-feed-card:nth-child(6n + 1) > a,
.news-feed-grid.is-single .news-feed-card:nth-child(6n + 1) > a { grid-template-columns: 1fr; grid-template-rows: minmax(280px, 1fr) auto; }
.news-loading,
.news-empty { grid-column: 1 / -1; min-height: 320px; padding: 60px; display: grid; place-items: center; text-align: center; border: 1px dashed rgba(9, 25, 35, .2); border-radius: 24px; }
.news-empty p { max-width: 520px; color: var(--news-ink-soft); font-size: 16px; line-height: 1.6; }

.news-reader-notes { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(50px, 8vw, 120px); align-items: stretch; }
.news-reader-visual { position: relative; min-height: 650px; padding: 46px; display: flex; align-items: end; overflow: hidden; color: var(--ss-paper); border-radius: 30px; background: var(--ss-teal-deep); }
.news-reader-pattern { position: absolute; inset: 0; opacity: .66; background: linear-gradient(180deg, transparent, rgba(9, 25, 35, .76)), url("assets/ankara-tech-band-v2.jpg") center / cover no-repeat; }
.news-reader-visual p { position: relative; z-index: 1; max-width: 430px; margin: 0; font-size: clamp(2.5rem, 5vw, 5.2rem); font-weight: 600; letter-spacing: -.065em; line-height: .9; }
.news-reader-carousel { padding: 40px 0; align-self: center; }
.news-reader-carousel h2 { max-width: 680px; font-size: clamp(3.6rem, 6vw, 6.6rem); }
.news-reader-track { position: relative; min-height: 290px; margin-top: 52px; }
.news-reader-slide { position: absolute; inset: 0; margin: 0; display: grid; align-content: start; opacity: 0; transform: translateY(28px); pointer-events: none; transition: opacity 450ms ease, transform 650ms var(--ss-ease); }
.news-reader-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.news-reader-slide p { max-width: 720px; margin: 0; font-size: clamp(1.8rem, 3.5vw, 3.8rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.news-reader-slide footer { margin-top: 24px; color: var(--ss-copper); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-reader-controls { display: grid; grid-template-columns: 48px auto 48px; gap: 16px; align-items: center; justify-content: start; }
.news-reader-controls button { width: 48px; height: 48px; display: grid; place-items: center; color: var(--ss-paper); border: 0; border-radius: 50%; background: var(--ss-navy); cursor: pointer; transition: transform 350ms var(--ss-ease), background 250ms ease; }
.news-reader-controls button:hover { background: var(--ss-copper); transform: scale(1.06); }
.news-reader-controls span { color: var(--news-ink-soft); font-size: 11px; }
.news-reader-controls b { color: var(--ss-ink); }

.news-action {
  position: relative;
  width: min(calc(100% - 48px), var(--ss-max));
  min-height: 460px;
  margin: 0 auto clamp(100px, 12vw, 170px);
  padding: clamp(42px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  overflow: hidden;
  color: var(--ss-paper);
  border-radius: 32px;
  background: var(--ss-navy);
}
.news-action > * { position: relative; z-index: 1; }
.news-action-pattern { position: absolute; z-index: 0; inset: 0; opacity: .38; background: linear-gradient(90deg, rgba(9, 25, 35, .98), rgba(9, 25, 35, .76) 55%, rgba(9, 25, 35, .28)), url("assets/ankara-tech-band-v2.jpg") center / cover no-repeat; }
.news-action h2 { max-width: 950px; font-size: clamp(3.6rem, 6.8vw, 7rem); }
.news-action p { max-width: 680px; margin: 25px 0 0; color: rgba(255, 250, 243, .72); font-size: 16px; line-height: 1.6; }
.news-action-buttons { display: grid; gap: 10px; }

.ss-news.ss-motion-ready [data-news-reveal] { opacity: 0; transform: translateY(36px); }
.ss-news.ss-motion-ready [data-news-reveal].is-visible { opacity: 1; transform: none; transition: opacity 850ms ease, transform 950ms var(--ss-ease); }

@media (max-width: 1100px) {
  .news-section-head,
  .news-feed-head { grid-template-columns: 1fr; }
  .news-section-head > p,
  .news-feed-head > p { text-align: left; }
  .news-lead-primary { grid-column: span 12; grid-row: span 1; min-height: 560px; }
  .news-lead-secondary { grid-column: span 6; }
  .news-lead-grid { grid-template-rows: minmax(480px, auto) minmax(300px, auto); }
  .news-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-feed-card:nth-child(6n + 1) { grid-column: span 2; }
  .news-reader-notes { grid-template-columns: 1fr; }
  .news-reader-visual { min-height: 500px; }
  .news-action { grid-template-columns: 1fr; }
  .news-action-buttons { display: flex; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .news-masthead-grid { grid-template-columns: 1fr; }
  .news-masthead-intro { max-width: 620px; }
  .news-lens-accordion { height: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .news-lens-panel,
  .news-lens-panel.is-active,
  .news-lens-panel:hover { min-height: 330px; min-width: 0; padding: 26px; }
  .news-lens-copy strong { width: auto; font-size: clamp(2rem, 6vw, 3.4rem); }
  .news-lens-copy small { width: auto; max-width: 300px; opacity: 1; transform: none; }
}

@media (max-width: 620px) {
  .news-masthead { width: calc(100% - 30px); margin-top: 44px; padding-bottom: 58px; }
  .news-masthead::after { width: 42%; opacity: .1; }
  .news-masthead-rule { align-items: flex-start; font-size: 8px; line-height: 1.45; }
  .news-masthead-rule span:first-child { max-width: 210px; }
  .news-masthead-grid { padding-top: 46px; gap: 36px; }
  .news-masthead h1 { max-width: 520px; font-size: clamp(3.15rem, 14.6vw, 5rem); line-height: .88; }
  .news-masthead-intro p { font-size: 14px; }
  .news-chapter { width: calc(100% - 30px); padding-block: 112px; }
  .news-section-head h2,
  .news-lens-head h2,
  .news-feed-head h2,
  .news-reader-carousel h2 { font-size: clamp(3.1rem, 14vw, 4.9rem); }
  .news-lead-grid { display: block; border-radius: 23px; background: transparent; box-shadow: none; }
  .news-lead-card,
  .news-lead-primary,
  .news-lead-secondary { min-height: 470px; margin-bottom: 12px; border-radius: 22px; }
  .news-lead-primary .news-card-copy > strong,
  .news-lead-secondary .news-card-copy > strong { font-size: clamp(2rem, 9vw, 3.1rem); }
  .news-card-copy,
  .news-lead-secondary .news-card-copy { padding: 26px; }
  .news-card-copy > small { display: none; }
  .news-lens { padding-inline: 15px; border-radius: 24px; }
  .news-lens-accordion { grid-template-columns: 1fr; border-radius: 23px; }
  .news-lens-panel { min-height: 310px !important; border-right: 0; border-bottom: 1px solid rgba(9, 25, 35, .18); }
  .news-feed { padding-top: 150px; }
  .news-feed-grid,
  .news-feed-grid.is-sparse,
  .news-feed-grid.is-single { grid-template-columns: 1fr; }
  .news-feed-card,
  .news-feed-card:nth-child(6n + 1) { grid-column: span 1; min-height: 530px; }
  .news-feed-card:nth-child(6n + 1) > a { grid-template-columns: 1fr; grid-template-rows: minmax(280px, 1fr) auto; }
  .news-reader-visual { min-height: 520px; padding: 28px; border-radius: 23px; }
  .news-reader-carousel { padding-bottom: 0; }
  .news-reader-track { min-height: 350px; }
  .news-reader-slide p { font-size: clamp(2rem, 9vw, 3.2rem); }
  .news-action { width: calc(100% - 30px); min-height: 590px; padding: 30px; align-content: end; border-radius: 24px; }
  .news-action h2 { font-size: clamp(3.2rem, 14vw, 5rem); }
  .news-action-buttons { display: grid; }
  .news-action-buttons .ss-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ss-news.ss-motion-ready [data-news-reveal] { opacity: 1; transform: none; }
}
