/* ZKS Newsletter Layout
   This file is designed for /news/ pages only.
   Main website styling still comes from /comp/assets/css/style.css
*/

:root {
  --zks-navy: #111111;
  --zks-blue: #171717;
  --zks-red: #c50000;
  --zks-red-dark: #9f0000;
  --zks-gold: #f4c542;
  --zks-soft: #f5f5f5;
  --zks-text: #282828;
  --zks-muted: #6b7280;
  --zks-border: #e4e4e4;
  --zks-shadow: 0 14px 35px rgba(0, 0, 0, 0.09);
}

html {
  scroll-behavior: smooth;
}

body.newsletter-page {
  background: #f6f7fd;
  color: var(--zks-text);
}

body.newsletter-page main {
  padding-top: 70px;
}

body.newsletter-page p {
  margin-bottom: 16px;
  line-height: 1.65;
}

.newsletter-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.news-topline {
  background: linear-gradient(135deg, #111 0%, #252525 68%, #5b0000 100%);
  color: #fff;
  padding: 24px 0;
}

.news-topline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.news-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.news-section-label i {
  color: var(--zks-red);
  font-size: 22px;
}

.news-topline-note {
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.newsletter-jumpbar {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--zks-border);
  box-shadow: 0 5px 20px rgba(6,12,34,.06);
}

.newsletter-jumpbar-inner {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--zks-red) #eeeeee;
}

.newsletter-jumpbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--zks-blue);
  background: #f7f8fc;
  border: 1px solid var(--zks-border);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.newsletter-jumpbar a:hover,
.newsletter-jumpbar .jump-members,
.newsletter-jumpbar a.is-current {
  background: var(--zks-red);
  border-color: var(--zks-red);
  color: #fff;
}

.newsletter-jumpbar a:focus-visible,
.year-btn:focus-visible,
.red-button:focus-visible,
.outline-button:focus-visible,
.outline-dark-button:focus-visible,
.new-reader-guide a:focus-visible {
  outline: 3px solid var(--zks-gold);
  outline-offset: 3px;
}

.mobile-scroll-cue {
  display: none;
}

.year-panel,
.news-hero-card,
.action-panel,
.quick-access,
.news-card,
.sensei-note,
.bottom-cta {
  background: #fff;
  border: 1px solid var(--zks-border);
  border-radius: 22px;
  box-shadow: var(--zks-shadow);
}

.year-panel {
  margin: 30px 0 22px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.year-title {
  display: flex;
  gap: 12px;
  align-items: center;
}

.year-title i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff0f3;
  color: var(--zks-red);
  border-radius: 14px;
  font-size: 20px;
}

.year-title strong,
.quick-access-head strong {
  display: block;
  color: var(--zks-blue);
  font-family: "Raleway", sans-serif;
  font-weight: 800;
}

.year-title span,
.quick-access-head span {
  color: var(--zks-muted);
  font-size: 13px;
}

.year-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.year-btn {
  border: 1px solid var(--zks-border);
  color: var(--zks-blue);
  background: #f7f8fc;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
}

.year-btn.active,
.year-btn:hover {
  background: var(--zks-red);
  border-color: var(--zks-red);
  color: #fff;
}

.news-hero-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  margin-bottom: 24px;
}

.hero-image-panel {
  min-height: 330px;
  background: var(--zks-blue);
}

.news-feature-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-copy-panel {
  padding: 42px;
  align-self: center;
}

.news-kicker {
  color: var(--zks-red);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .1em;
  font-size: 13px;
  margin-bottom: 10px;
}

.news-main-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  margin-bottom: 14px;
  color: var(--zks-blue);
}

.gold-line,
.gold-line-small {
  height: 4px;
  background: linear-gradient(90deg, var(--zks-red), var(--zks-gold));
  border-radius: 999px;
}

.gold-line {
  width: 110px;
  margin-bottom: 20px;
}

.gold-line-small {
  width: 74px;
  margin-top: -10px;
}

.news-intro {
  font-size: 17px;
  color: #465069;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f7f8fc;
  border: 1px solid var(--zks-border);
  color: var(--zks-blue);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.section-heading > i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff0f3;
  color: var(--zks-red);
  font-size: 22px;
  flex: 0 0 auto;
}

.section-heading h2 {
  color: var(--zks-blue);
  font-weight: 800;
  margin-bottom: 4px;
}

.section-heading p {
  color: var(--zks-muted);
  margin: 0;
}

.action-panel {
  padding: 28px;
  margin-bottom: 24px;
  border-left: 6px solid var(--zks-red);
}

.warning-heading > i {
  background: var(--zks-red);
  color: #fff;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.action-card {
  border: 1px solid var(--zks-border);
  background: #fbfcff;
  border-radius: 18px;
  padding: 20px;
}

.action-card.urgent {
  background: #fff6f7;
  border-color: #ffd1da;
}

.action-tag {
  display: inline-block;
  background: var(--zks-blue);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.action-card.urgent .action-tag {
  background: var(--zks-red);
}

.action-card h3,
.date-row h3,
.reader-box h3,
.coming-card h3 {
  color: var(--zks-blue);
  font-weight: 800;
  margin-bottom: 8px;
}

.action-card p {
  color: #4b5563;
  font-size: 14px;
}

.text-link {
  color: var(--zks-red);
  font-weight: 800;
}

.quick-access {
  padding: 18px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(6, 1fr);
  gap: 10px;
  align-items: stretch;
}

.quick-access-head,
.quick-item span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-access-head {
  padding: 10px;
}

.quick-access-head i {
  color: var(--zks-red);
  font-size: 26px;
}

.quick-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f7f8fc;
  border: 1px solid var(--zks-border);
  color: var(--zks-blue);
  border-radius: 16px;
  padding: 12px;
  font-size: 13px;
}

.quick-item:hover {
  background: var(--zks-red);
  color: #fff;
  border-color: var(--zks-red);
}

.content-grid.improved-grid {
  display: grid;
  grid-template-columns: 1.7fr .8fr;
  gap: 24px;
  margin-bottom: 24px;
}

.news-card {
  padding: 28px;
  margin-bottom: 24px;
}

.date-list {
  display: grid;
  gap: 14px;
}

.date-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  align-items: center;
  background: #fbfcff;
  border: 1px solid var(--zks-border);
  border-radius: 18px;
  padding: 14px;
}

.date-box {
  min-height: 74px;
  background: var(--zks-blue);
  color: #fff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.date-box strong {
  display: block;
  font-size: 21px;
  line-height: 1;
}

.date-box span {
  color: var(--zks-gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  margin-top: 4px;
}

.date-row p {
  margin-bottom: 0;
  color: var(--zks-muted);
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.clean-list li {
  border-bottom: 1px solid var(--zks-border);
  padding: 12px 0;
  color: #4b5563;
}

.dont-miss {
  background: linear-gradient(135deg, #0e1b4d, #182f85);
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  margin-top: 20px;
}

.dont-miss p {
  color: rgba(255,255,255,.82);
}

.dont-miss-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dont-miss-head i {
  color: var(--zks-gold);
}

.story-stack {
  display: grid;
  gap: 0;
}

.reader-box {
  background: #fbfcff;
  border: 1px solid var(--zks-border);
  border-radius: 18px;
  padding: 24px;
}

.two-column-box {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}

.tick-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding: 9px 0 9px 30px;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--zks-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.callout-box {
  background: #fff;
  border-left: 5px solid var(--zks-red);
  border-radius: 16px;
  padding: 18px;
}

.callout-box strong {
  color: var(--zks-blue);
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.alert-box {
  border-color: #ffd1da;
  background: #fff6f7;
}

.light-callout {
  border-left-color: var(--zks-gold);
}

.red-button,
.outline-dark-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  padding: 11px 20px;
  margin-top: 6px;
}

.red-button {
  background: var(--zks-red);
  color: #fff;
}

.red-button:hover {
  background: var(--zks-red-dark);
  color: #fff;
}

.outline-dark-button {
  color: var(--zks-blue);
  border: 2px solid var(--zks-blue);
  background: transparent;
}

.outline-dark-button:hover {
  background: var(--zks-blue);
  color: #fff;
}

.sensei-note {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 28px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #fff8e7 100%);
}

.sensei-icon {
  width: 70px;
  height: 70px;
  background: var(--zks-red);
  color: #fff;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.sensei-note h2 {
  color: var(--zks-blue);
  font-weight: 800;
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.coming-card {
  background: #fbfcff;
  border: 1px solid var(--zks-border);
  border-radius: 18px;
  padding: 20px;
}

.bottom-cta {
  margin: 0 0 42px;
  padding: 26px;
  background: linear-gradient(135deg, #191919, #090909);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Shared orientation block for families who are new to ZKS. */
.new-reader-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 0 0 24px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #fff9df, #fff);
  border: 1px solid #ead27b;
  border-left: 7px solid var(--zks-gold);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.new-reader-guide h2 {
  margin: 0 0 6px;
  color: #171717;
  font-size: 1.25rem;
  font-weight: 800;
}

.new-reader-guide p {
  margin: 0!important;
  color: #444;
}

.new-reader-guide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 999px;
  background: #171717;
  color: #fff!important;
  font-weight: 800;
  text-decoration: none!important;
  white-space: nowrap;
}

.plain-language {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f6f6f6;
  border-left: 5px solid var(--zks-red);
}

.plain-language strong {
  color: #171717;
}

.newsletter-page [id] {
  scroll-margin-top: 145px;
}

.bottom-cta-copy {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bottom-cta-copy i {
  color: var(--zks-gold);
  font-size: 34px;
}

.bottom-cta h3 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 5px;
}

.bottom-cta p {
  margin-bottom: 0;
  color: rgba(255,255,255,.82);
}

.outline-button {
  border: 2px solid #fff;
  color: #fff;
  flex: 0 0 auto;
}

.outline-button:hover {
  background: #fff;
  color: var(--zks-blue);
}

@media (max-width: 1100px) {
  .action-grid,
  .quick-access {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-access-head {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .news-topline-inner,
  .year-panel,
  .bottom-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .news-hero-card,
  .content-grid.improved-grid,
  .two-column-box,
  .coming-grid,
  .new-reader-guide {
    grid-template-columns: 1fr;
  }
  .hero-image-panel {
    min-height: 240px;
  }
  .hero-copy-panel {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  body.newsletter-page main {
    padding-top: 70px;
  }
  .newsletter-wrap {
    width: min(100% - 22px, 1180px);
  }
  .newsletter-jumpbar {
    top: 70px;
  }
  .newsletter-jumpbar::before {
    content: "On this page — swipe for more";
    display: block;
    padding: 8px 11px 0;
    color: #5e5e5e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .newsletter-jumpbar-inner {
    width: 100%;
    padding: 8px 11px 10px;
  }
  .newsletter-jumpbar a {
    min-height: 44px;
    padding: 10px 14px;
  }
  .news-topline {
    padding: 16px 0;
  }
  .news-topline-note {
    display: none;
  }
  .news-hero-card {
    margin-top: 14px;
  }
  .hero-image-panel {
    min-height: 190px;
    max-height: 230px;
  }
  .hero-copy-panel {
    padding: 24px 20px;
  }
  .news-main-title {
    font-size: clamp(30px, 10vw, 42px);
  }
  .news-intro {
    font-size: 16px;
  }
  .new-reader-guide {
    padding: 19px;
  }
  .new-reader-guide a,
  .bottom-cta .outline-button {
    width: 100%;
  }
  .action-grid,
  .quick-access {
    grid-template-columns: 1fr;
  }
  .date-row {
    grid-template-columns: 1fr;
  }
  .date-box {
    min-height: 58px;
    flex-direction: row;
    gap: 8px;
  }
  .sensei-note {
    grid-template-columns: 1fr;
  }
  .news-card,
  .action-panel,
  .sensei-note,
  .bottom-cta {
    padding: 20px;
  }
}
