:root {
  --blog-reading-width: 780px;
}

.blog-index-hero,
.article-hero {
  border-bottom: 6px solid var(--ffo-gold);
  background:
    linear-gradient(100deg, rgba(5, 45, 39, 0.95), rgba(11, 68, 55, 0.83)),
    url("assets/beginner-fishing-basics-1536.webp") center 52% / cover no-repeat;
  color: var(--ffo-paper-light);
}

.blog-index-hero .wrap,
.article-hero .wrap {
  padding: clamp(52px, 8vw, 92px) 20px;
}

.blog-index-hero h1,
.article-hero h1 {
  max-width: 880px;
  margin: 8px 0 16px;
  color: var(--ffo-paper-light);
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 1.02;
}

.blog-index-hero p,
.article-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 253, 243, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.blog-kicker,
.article-kicker {
  display: block;
  color: var(--ffo-gold);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-index-main {
  padding: 42px 20px 70px;
}

.blog-index-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.blog-index-intro h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 24px;
}

.blog-card {
  width: 100%;
  max-width: 760px;
  overflow: hidden;
  border: 1px solid var(--ffo-line);
  background: var(--ffo-paper-light);
  box-shadow: var(--ffo-shadow);
}

.blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-copy {
  padding: 24px;
}

.blog-card time,
.article-byline {
  color: var(--ffo-muted);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}

.blog-card h2 a {
  color: var(--ffo-ink);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--ffo-gold);
  text-underline-offset: 4px;
}

.blog-card p {
  margin: 0 0 18px;
}

.blog-read-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid var(--ffo-night);
  background: var(--ffo-night);
  color: var(--ffo-paper-light);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-read-link:hover {
  background: var(--ffo-gold);
  color: var(--ffo-night);
}

.blog-start-points {
  margin-top: 38px;
  padding: 25px;
  border-left: 5px solid var(--ffo-gold);
  background: rgba(255, 253, 243, 0.62);
}

.blog-start-points h2 {
  margin-top: 0;
}

.blog-start-points ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 0;
}

/* Article pages live in /blog/, so the hero image path changes. */
.article-hero {
  background-image:
    linear-gradient(100deg, rgba(5, 45, 39, 0.96), rgba(11, 68, 55, 0.8)),
    url("assets/beginner-fishing-basics-1536.webp");
}

.article-hero .wrap {
  padding-bottom: clamp(58px, 8vw, 88px);
}

.article-hero .article-byline {
  margin-top: 20px;
  color: rgba(255, 253, 243, 0.82);
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--blog-reading-width)) minmax(220px, 300px);
  gap: clamp(34px, 6vw, 70px);
  align-items: start;
  padding: 44px 20px 74px;
}

.blog-article {
  min-width: 0;
  font-family: "Bitter", Georgia, serif;
  font-size: clamp(1.02rem, 1.8vw, 1.12rem);
  line-height: 1.78;
}

.blog-article > p:first-of-type {
  font-size: clamp(1.12rem, 2vw, 1.28rem);
}

.blog-article h2 {
  margin: 2.5em 0 0.55em;
  padding-top: 0.15em;
  border-top: 2px solid rgba(7, 52, 43, 0.16);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.15;
}

.blog-article h3 {
  margin: 1.8em 0 0.4em;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.2;
}

.blog-article p,
.blog-article ul,
.blog-article ol {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.blog-article li + li {
  margin-top: 0.45em;
}

.blog-article a {
  color: #075f4c;
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.blog-article a:hover {
  color: #8f5f00;
}

.affiliate-disclosure {
  margin: 28px 0;
  padding: 16px 18px;
  border: 1px solid rgba(143, 95, 0, 0.34);
  border-left: 5px solid var(--ffo-gold);
  background: #fff7d9;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.93rem;
  line-height: 1.55;
}

.article-toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--ffo-line);
  background: rgba(255, 253, 243, 0.78);
  box-shadow: 0 10px 26px rgba(4, 39, 32, 0.08);
}

.article-toc h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.article-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc li {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(7, 52, 43, 0.12);
}

.article-toc li + li {
  margin-top: 7px;
}

.article-toc li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-toc a {
  color: var(--ffo-ink);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.article-table-wrap {
  width: 100%;
  margin: 1.7em 0;
  overflow-x: auto;
  box-shadow: 0 8px 20px rgba(4, 39, 32, 0.07);
}

.blog-article table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: var(--ffo-paper-light);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.48;
}

.blog-article th,
.blog-article td {
  padding: 13px 14px;
  border: 1px solid var(--ffo-line);
  text-align: left;
  vertical-align: top;
}

.blog-article th {
  background: var(--ffo-night);
  color: var(--ffo-paper-light);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0.035em;
}

.blog-article tbody tr:nth-child(even) {
  background: rgba(240, 234, 210, 0.58);
}

.article-sources {
  margin-top: 48px;
  padding: 22px;
  border: 1px solid var(--ffo-line);
  background: rgba(255, 253, 243, 0.64);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
}

.article-sources h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 1.55rem;
}

.article-next-step {
  margin-top: 34px;
  padding: 26px;
  background: var(--ffo-night);
  color: var(--ffo-paper-light);
  font-family: "Inter", Arial, sans-serif;
}

.article-next-step h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  color: var(--ffo-paper-light);
}

.article-next-step p {
  margin-bottom: 16px;
}

.article-next-step .blog-read-link {
  border-color: var(--ffo-gold);
  background: var(--ffo-gold);
  color: var(--ffo-night);
}

@media (max-width: 940px) {
  .blog-article-layout {
    grid-template-columns: minmax(0, var(--blog-reading-width));
    justify-content: center;
  }

  .article-toc {
    position: static;
    grid-row: 1;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .blog-index-hero .wrap,
  .article-hero .wrap {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .blog-index-main,
  .blog-article-layout {
    padding-right: 15px;
    padding-left: 15px;
  }

  .blog-card-copy,
  .article-toc,
  .article-next-step {
    padding: 19px;
  }
}
