:root {
  --color-bg: #ffffff;
  --color-text: #0b2b26;
  --color-muted: #43615c;
  --color-accent: #f2a900;
  --color-accent-dark: #b97700;
  --color-forest: #168f65;
  --max-width: 1100px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: var(--color-forest);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -100%);
  background: var(--color-accent);
  color: #041b16;
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  background: #0f3d33;
  color: #fff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.site-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #fff;
  font-weight: 500;
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  padding: 0.4rem 0.75rem;
}

.hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(22,143,101,0.1), rgba(242,169,0,0.1));
}

.featured-video {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(22, 143, 101, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.featured-video-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1rem;
}

.featured-video-text .eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-dark);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.featured-video-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
  color: #0f3d33;
}

.featured-video-text p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
}

.featured-video-player .responsive-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(12, 56, 44, 0.15);
  overflow: hidden;
  background: #000;
}

.featured-video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 720px) {
  .featured-video {
    padding: 2.5rem 0;
  }

  .featured-video-text h2 {
    font-size: clamp(1.8rem, 5vw, 2.3rem);
  }
}

.hero-content {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.2rem;
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--color-accent);
  color: #041b16;
  box-shadow: 0 12px 25px rgba(13, 92, 74, 0.25);
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(13, 92, 74, 0.25);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.video-card,
.category-card,
.related-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(12, 56, 44, 0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-card img,
.category-card img {
  border-radius: 12px;
}

.video-card h3,
.related-card h3 {
  font-size: 1.1rem;
  margin: 0.75rem 0 0.5rem;
}

.video-card time,
.video-card .meta {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.video-card .video-stats {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0.25rem 0 0.75rem;
}

.video-stats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0.75rem 0 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.video-stats-list li strong {
  color: var(--color-forest);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.page-header {
  margin: 3rem 0 2rem;
}

.filters {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filters input[type="search"] {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(13, 92, 74, 0.25);
  border-radius: 999px;
  font-size: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(22, 143, 101, 0.12);
  color: var(--color-forest);
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.chip[aria-selected="true"] {
  background: var(--color-forest);
  color: #fff;
  border-color: var(--color-forest);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.pagination button {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: var(--color-accent);
  color: #041b16;
  font-weight: 600;
  cursor: pointer;
}

.pagination button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.site-footer {
  background: #0f3d33;
  color: #fff;
  padding: 2.5rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-grid a {
  color: #f4f9f7;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.category-page-intro {
  margin-bottom: 2rem;
  color: var(--color-muted);
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.video-actions .btn {
  min-width: 180px;
}

.video-description {
  margin-bottom: 2rem;
}

.educational-list {
  padding-left: 1.25rem;
}

.breadcrumbs {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--color-muted);
}

.related-grid,
.more-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.more-links a {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(13, 92, 74, 0.08);
  border-radius: 12px;
  color: var(--color-text);
}

.backlink-block {
  background: rgba(242, 169, 0, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.blog-container {
  padding: 3rem 0;
}

.blog-header h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.blog-header p {
  color: var(--color-muted);
  max-width: 680px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(12, 56, 44, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card .btn {
  align-self: flex-start;
}

.blog-meta {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.blog-card p {
  margin: 0;
  color: #35524a;
}

.blog-article {
  padding: 3rem 0;
  max-width: 760px;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-header .lede {
  font-size: 1.15rem;
  color: #24443d;
}

.blog-article h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.blog-article h2 {
  margin-top: 2rem;
  font-size: 1.75rem;
}

.blog-article h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
}

.blog-article p {
  margin-bottom: 1rem;
}

.blog-article ul,
.blog-article ol {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tip-grid div {
  background: rgba(22, 143, 101, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
}

.tip-grid h3 {
  margin-top: 0;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  box-shadow: 0 12px 35px rgba(12, 56, 44, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.seo-table th,
.seo-table td {
  padding: 1rem;
  text-align: left;
  background: #fff;
}

.seo-table thead {
  background: rgba(242, 169, 0, 0.2);
}

.article-summary {
  background: linear-gradient(135deg, rgba(22, 143, 101, 0.08), rgba(242, 169, 0, 0.08));
  padding: 2rem;
  border-radius: 20px;
  margin-top: 2.5rem;
}

.article-summary ul {
  margin-bottom: 1.5rem;
}

.blog-highlight {
  background: linear-gradient(180deg, rgba(22, 143, 101, 0.08), rgba(242, 169, 0, 0.05));
  padding: 3rem 0;
}

.blog-highlight .blog-highlight-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.blog-highlight h2 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .blog-card {
    padding: 1.5rem;
  }

  .blog-article {
    padding: 2rem 0;
  }
}

@media (max-width: 768px) {
  .site-nav ul {
    flex-direction: column;
    padding: 1rem 0;
    display: none;
  }

  .site-nav.open ul {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.video-player .embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 35px rgba(12, 56, 44, 0.18);
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lyrics {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(22, 143, 101, 0.12), rgba(255, 255, 255, 0.9));
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(12, 56, 44, 0.15);
}

.video-lyrics h2 {
  margin-top: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: #0f3d33;
}

.video-lyrics .lyrics-text {
  display: grid;
  gap: 1.5rem;
}

.video-lyrics .lyrics-text p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
  white-space: pre-line;
}
