@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  background: #fff;
  color: #000;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, menu {
  list-style: none;
}

/* ===== TOKENS ===== */
:root {
  --blue: #3bb1ff;
  --red: #ff5252;
  --black: #000;
  --white: #fff;
  --yellow: #ffe44d;
  --border: 3px solid #000;
  --shadow: 5px 5px 0 #000;
  --shadow-sm: 3px 3px 0 #000;
  --shadow-lg: 8px 8px 0 #000;
  --radius: 0px;
  --max-w: 1200px;
  --gap: 1.5rem;
}

/* ===== SITE WRAPPER ===== */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: var(--border);
}

.brand-bar {
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.5rem;
}

.brand-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-bar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-bar__name {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.contact-tag {
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border: 2px solid var(--white);
}

.nav-bar {
  background: var(--blue);
  border-top: var(--border);
}

.nav-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
}

/* ===== DETAILS NAV (structural requirement) ===== */
.nav-details {
  position: relative;
}

.nav-details__toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  cursor: pointer;
  white-space: nowrap;
  min-height: 40px;
  user-select: none;
  list-style: none;
}

.nav-details__toggle::-webkit-details-marker { display: none; }

.nav-details[open] .nav-details__toggle {
  background: var(--red);
}

.nav-details > menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow);
  min-width: 240px;
  z-index: 200;
  padding: 0.5rem 0;
}

.nav-details > menu > li > a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
  transition: background 0.15s;
  min-height: 40px;
  line-height: 1.4;
}

.nav-details > menu > li:last-child > a {
  border-bottom: none;
}

.nav-details > menu > li > a:hover {
  background: var(--blue);
  color: var(--white);
}

/* Inline nav */
.nav-inline {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  flex: 1;
}

.nav-inline__link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--black);
  white-space: nowrap;
  border-right: 2px solid var(--black);
  min-height: 48px;
  transition: background 0.15s, color 0.15s;
}

.nav-inline__link:hover,
.nav-inline__link--active {
  background: var(--black);
  color: var(--white);
}

/* ===== HERO (home) ===== */
.hero {
  min-height: 100vh;
  background: var(--white);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3rem;
  width: 100%;
}

.hero__icon-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 3.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.hero__icon {
  display: block;
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 0.4rem 0.6rem;
  background: var(--yellow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero__icon:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.hero__copy {
  text-align: right;
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border: 2px solid var(--black);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero__h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--black);
}

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: var(--border);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  min-height: 44px;
  text-decoration: none;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  background: var(--blue);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

/* ===== MAIN LAYOUT ===== */
main {
  flex: 1;
  display: flex;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 2rem 1.5rem;
  gap: 2rem;
  align-items: flex-start;
}

.wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ===== STRUCTURAL: main > article.wrap > section > div ===== */
.wrap > section {
  display: block;
}

.wrap > section > div {
  display: block;
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: var(--border);
}

.section-heading > span {
  display: inline-block;
  background: var(--blue);
  padding: 0.1rem 0.5rem;
}

/* ===== CHANNELS GRID ===== */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ch-card {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ch-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.ch-card__tag {
  display: inline-block;
  background: var(--blue);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border: 2px solid var(--black);
  text-transform: uppercase;
  width: fit-content;
}

.ch-card__title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

.ch-card__title > span { display: inline; }

.ch-card__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #333;
  flex: 1;
}

.ch-card__meta {
  font-size: 0.8rem;
  font-weight: 500;
  color: #666;
  border-top: 2px solid #000;
  padding-top: 0.5rem;
}

.ch-card__link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: letter-spacing 0.15s;
}

.ch-card__link:hover {
  letter-spacing: 0.05em;
}

/* ===== LATEST GRID ===== */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.latest-item {
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.latest-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.latest-item__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--red);
  color: var(--white);
  padding: 0.15rem 0.4rem;
  display: inline-block;
  width: fit-content;
  text-transform: uppercase;
}

.latest-item__title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
}

.latest-item__title > span { display: inline; }

.latest-item__title a:hover {
  text-decoration: underline;
}

.latest-item__date {
  font-size: 0.78rem;
  color: #666;
  font-weight: 500;
}

.latest-item__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #444;
}

/* ===== PAGE BODY ===== */
.page-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #111;
}

.page-body h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  padding-left: 0.6rem;
  border-left: 5px solid var(--blue);
}

.page-body h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.page-body p { margin-bottom: 1rem; }
.page-body ul, .page-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.page-body li { margin-bottom: 0.4rem; }
.page-body a {
  color: var(--red);
  font-weight: 500;
  text-decoration: underline;
}
.page-body a:hover { color: var(--blue); }
.page-body strong { font-weight: 700; }
.page-body blockquote {
  border-left: 5px solid var(--red);
  padding: 0.8rem 1.2rem;
  background: #fff8f8;
  margin: 1.5rem 0;
  font-style: italic;
}

/* ===== ASIDE ===== */
.global-aside {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.aside-block {
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem;
  background: var(--white);
  border-radius: 4px;
}

.aside-block--blue {
  background: var(--blue);
}

.aside-block--red {
  background: var(--red);
  color: var(--white);
}

.aside-block--red a { color: var(--white); text-decoration: underline; }

.aside-heading {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--black);
}

.aside-heading > span { display: inline; }

.aside-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.aside-links li a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 1px solid #eee;
  transition: color 0.15s, padding-left 0.15s;
}

.aside-links li:last-child a { border-bottom: none; }

.aside-links li a:hover {
  color: var(--red);
  padding-left: 0.3rem;
}

.aside-block__sub {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.aside-block__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--black);
  transition: background 0.15s;
  min-height: 40px;
}

.aside-block__btn:hover {
  background: var(--blue);
  color: var(--black);
}

/* ===== CHANNEL HERO ===== */
.ch-hero {
  background: var(--blue);
  border-bottom: var(--border);
  padding: 3rem 1.5rem;
}

.ch-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.ch-hero__breadcrumb {
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.ch-hero__breadcrumb a { font-weight: 700; text-decoration: underline; }

.ch-hero__h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.ch-hero__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 1rem;
}

.ch-hero__stat {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--black);
}

/* ===== CHANNEL CHILD CARDS ===== */
.ch-list-section {
  display: flex;
  flex-direction: column;
}

.ch-list-section > div {
  display: block;
}

.child-card {
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.child-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.child-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.child-card__type {
  background: var(--blue);
  color: var(--black);
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.child-card__title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}

.child-card__title > span { display: inline; }
.child-card__title a:hover { text-decoration: underline; }

.child-card__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
}

.child-card__cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red);
  margin-top: 0.25rem;
  transition: letter-spacing 0.15s;
}

.child-card__cta:hover { letter-spacing: 0.05em; }

/* ===== ARTICLE LAYOUT ===== */
.art-breadcrumb-bar {
  background: #f5f5f5;
  border-bottom: 2px solid var(--black);
  padding: 0.6rem 1.5rem;
}

.art-breadcrumb-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.art-breadcrumb-bar__inner a { font-weight: 600; text-decoration: underline; }
.art-breadcrumb-bar__current { font-weight: 500; color: #555; }

.art-article {
  display: flex;
  flex-direction: column;
}

.art-article__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: var(--border);
}

.art-article__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.art-article__cat {
  background: var(--blue);
  color: var(--black);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 2px solid var(--black);
}

.art-article__date {
  font-size: 0.82rem;
  font-weight: 500;
  color: #555;
}

.art-article__modified {
  font-size: 0.78rem;
  color: #888;
}

.art-article__h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.art-article__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
  font-style: italic;
}

.art-article__hero-img {
  margin-top: 1rem;
  border: var(--border);
  box-shadow: var(--shadow);
}

.art-article__body {
  font-size: 1rem;
  line-height: 1.75;
  color: #111;
}

.art-article__body h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  padding-left: 0.6rem;
  border-left: 5px solid var(--blue);
}

.art-article__body h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.art-article__body p { margin-bottom: 1rem; }
.art-article__body ul, .art-article__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.art-article__body li { margin-bottom: 0.4rem; }
.art-article__body a { color: var(--red); font-weight: 500; text-decoration: underline; }
.art-article__body a:hover { color: var(--blue); }
.art-article__body strong { font-weight: 700; }
.art-article__body blockquote {
  border-left: 5px solid var(--red);
  padding: 0.8rem 1.2rem;
  background: #fff8f8;
  margin: 1.5rem 0;
  font-style: italic;
}

/* ===== ABOUT ===== */
.about-masthead {
  background: var(--black);
  color: var(--white);
  padding: 3rem 1.5rem;
  border-bottom: var(--border);
}

.about-masthead__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-masthead__label {
  display: inline-block;
  background: var(--blue);
  color: var(--black);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 2px solid var(--blue);
  margin-bottom: 1rem;
}

.about-masthead__h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.about-masthead__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ccc;
  max-width: 600px;
}

.about-body {
  max-width: 740px;
}

.about-channels-section {
  border-top: var(--border);
  padding-top: 2rem;
}

.about-ch-item {
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-ch-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.about-ch-item__title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.about-ch-item__title > span { display: inline; }
.about-ch-item__title a:hover { text-decoration: underline; color: var(--red); }

.about-ch-item__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
}

/* ===== PRIVACY ===== */
.privacy-masthead {
  background: var(--red);
  color: var(--white);
  padding: 3rem 1.5rem;
  border-bottom: var(--border);
}

.privacy-masthead__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.privacy-masthead__label {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}

.privacy-masthead__h1 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.privacy-masthead__date {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.25rem;
}

.privacy-body {
  max-width: 740px;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: var(--border);
  background: var(--white);
  margin-top: auto;
}

.footer-form-block {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem 1.5rem;
  border-bottom: var(--border);
}

.footer-form-block__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-form-block__title {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.footer-form-block__title > span { display: inline; }

.footer-form-block__desc {
  font-size: 0.9rem;
  color: #ccc;
  flex: 1;
  min-width: 200px;
}

.footer-form {
  display: flex;
  gap: 0;
  border: var(--border);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.footer-form__input {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  border: none;
  outline: none;
  font-family: inherit;
  min-width: 200px;
  min-height: 44px;
}

.footer-form__btn {
  padding: 0.65rem 1.2rem;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-left: var(--border);
  cursor: pointer;
  font-family: inherit;
  min-height: 44px;
  transition: background 0.15s;
}

.footer-form__btn:hover {
  background: var(--blue);
  color: var(--black);
}

.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.footer-about {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #444;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-nav__link {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 1px solid #eee;
  transition: color 0.15s, padding-left 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.footer-nav__link:hover {
  color: var(--red);
  padding-left: 0.4rem;
}

.footer-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  border-top: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bar__copy {
  font-size: 0.8rem;
  color: #555;
  font-weight: 500;
}

.footer-bar__links {
  display: flex;
  gap: 1rem;
}

.footer-bar__links a {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.footer-bar__links a:hover { color: var(--red); }

/* ===== h2 > span structural ===== */
h2 > span, h3 > span {
  display: inline;
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .ch-card,
  .latest-item,
  .child-card,
  .about-ch-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .hero__icon {
    animation: float 3s ease-in-out infinite;
  }

  .hero__icon:nth-child(2) { animation-delay: 0.5s; }
  .hero__icon:nth-child(3) { animation-delay: 1s; }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  .btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  main {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }

  .global-aside {
    width: 100%;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .aside-block {
    flex: 1;
    min-width: 240px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem 1rem;
  }

  .footer-form-block__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-form {
    width: 100%;
  }

  .footer-form__input {
    min-width: 0;
    flex: 1;
  }

  .hero__inner {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-start;
    min-height: auto;
    padding: 3rem 1rem;
  }

  .hero__copy {
    text-align: left;
    max-width: 100%;
  }

  .hero__sub {
    margin-left: 0;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__icon-wrap {
    flex-direction: row;
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .brand-bar__name {
    font-size: 1rem;
  }

  .nav-inline {
    display: none;
  }

  .nav-bar__inner {
    padding: 0 0.75rem;
  }

  .channels-grid {
    grid-template-columns: 1fr;
  }

  .latest-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
  }

  main {
    padding: 1rem 0.75rem;
  }

  .ch-hero {
    padding: 2rem 1rem;
  }

  .about-masthead,
  .privacy-masthead {
    padding: 2rem 1rem;
  }

  .brand-bar {
    padding: 0.6rem 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 2rem 0.75rem;
  }

  .hero__icon-wrap {
    font-size: 2rem;
  }

  .global-aside {
    flex-direction: column;
  }
}

/* ===== UTILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
