/* Editorial article layout for /fishing-a-new-lake, /compare,
   /fall-turnover-fishing, /omnia-fishing-alternative,
   /omnia-export-waypoints, /fishing-after-a-cold-front, and
   /fishing-after-rain. Keeps the marketing header/footer; the post
   itself is a centered reading column. */

.mfn-article-main {
  padding: 8px 20px 72px;
}

.mfn-article {
  max-width: 42rem;
  margin: 0 auto;
  padding: 36px 8px 8px;
}

.mfn-article-header {
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.mfn-article-kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.mfn-article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.4vw, 2.55rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 16px;
}

.mfn-article-dek {
  margin: 0 0 20px;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.mfn-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.mfn-article-meta > span,
.mfn-article-meta > time {
  display: inline-flex;
  align-items: center;
}

.mfn-article-meta > span + span::before,
.mfn-article-meta > time + span::before,
.mfn-article-meta > span + time::before {
  content: "·";
  margin-right: 14px;
  color: var(--text-dim);
}

.mfn-article-hero {
  margin: 22px 0 0;
}

.mfn-article-hero img,
.mfn-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--bg-elevated);
}

.mfn-article-hero img {
  border: 1px solid var(--border);
  object-fit: cover;
}

.mfn-article-figure {
  margin: 2em 0;
}

.mfn-article-figure img {
  border: 1px solid var(--border);
}

.mfn-article-figure--phone {
  text-align: center;
}

.mfn-article-figure--phone img {
  width: min(100%, 280px);
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.mfn-article-hero figcaption,
.mfn-article-figure figcaption {
  margin: 10px 2px 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.mfn-article-body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
}

.mfn-article-body > p,
.mfn-article-body > ul,
.mfn-article-body > ol {
  margin: 0 0 1.25em;
}

.mfn-article-body > p:last-child,
.mfn-article-body > ul:last-child,
.mfn-article-body > ol:last-child {
  margin-bottom: 0;
}

.mfn-article-body ul,
.mfn-article-body ol {
  padding-left: 1.35em;
}

.mfn-article-body li {
  margin: 0 0 0.55em;
}

.mfn-article-body li:last-child {
  margin-bottom: 0;
}

.mfn-article-body a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.mfn-article-body h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 2.4em 0 0.7em;
  color: var(--text);
}

.mfn-article-body h2:first-child {
  margin-top: 0.4em;
}

.mfn-article-pull {
  margin: 1.8em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.5;
  font-style: italic;
}

.mfn-article-pull p {
  margin: 0;
}

.mfn-example-card {
  margin: 1.8em 0 2em;
  padding: 22px 22px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow);
}

.mfn-example-label {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.mfn-example-label strong {
  display: inline-block;
  margin-right: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}

.mfn-example-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.mfn-example-row {
  display: grid;
  grid-template-columns: minmax(132px, 170px) 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.mfn-example-row:last-of-type {
  border-bottom: none;
}

.mfn-example-row dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
}

.mfn-example-row dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.mfn-example-footnote {
  margin: 14px 0 0;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-dim);
}

.mfn-faq {
  margin-top: 2.6em;
}

.mfn-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mfn-faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}

.mfn-faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.mfn-faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text);
  padding-right: 28px;
  position: relative;
}

.mfn-faq-item summary::-webkit-details-marker {
  display: none;
}

.mfn-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--text-dim);
}

.mfn-faq-item[open] summary::after {
  content: "−";
}

.mfn-faq-item p {
  margin: 10px 0 4px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.mfn-article-cta {
  margin: 2.8em 0 1.4em;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(10, 132, 255, 0.04));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: var(--radius-lg, 16px);
}

.mfn-article-cta h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.mfn-article-cta p {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--text-muted);
}

/* .mfn-article-body a { color: var(--accent) } is more specific than
   .landing-btn-primary, so without this override the CTA label is blue on blue. */
.mfn-article-cta a.landing-btn-primary,
.mfn-article-cta a.landing-btn-primary:link,
.mfn-article-cta a.landing-btn-primary:visited,
.mfn-article-cta a.landing-btn-primary:hover,
.mfn-article-cta a.landing-btn-primary:active {
  color: var(--on-accent);
}

.mfn-article-related {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.mfn-article-related a {
  color: var(--accent);
}

.mfn-article-note {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dim);
}

.mfn-article-note + .mfn-article-note {
  margin-top: 8px;
}

.mfn-pick-list {
  margin: 0 0 1.25em;
  padding-left: 1.2em;
}

.mfn-pick-list li {
  margin: 0 0 0.85em;
}

.mfn-pick-list li:last-child {
  margin-bottom: 0;
}

.mfn-sources {
  margin-top: 2.2em;
  padding-top: 8px;
}

.mfn-sources-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  word-break: break-word;
}

.mfn-sources-list a {
  color: var(--accent);
}

.mfn-src {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 650;
  margin-left: 2px;
  text-decoration: none;
}

.mfn-src:hover,
.mfn-src:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* Editorial comparison table: wider than the prose column, scroll on small screens. */
.mfn-table-scroll {
  width: min(calc(100vw - 2rem), 960px);
  margin: 0.4em 0 0.6em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .mfn-table-scroll {
    margin-left: calc(50% - min(480px, 50vw - 1rem));
    margin-right: calc(50% - min(480px, 50vw - 1rem));
  }
}

.mfn-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
}

.mfn-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.mfn-table th,
.mfn-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.mfn-table thead th {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-elevated);
  position: sticky;
  top: 0;
  z-index: 1;
}

.mfn-table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 148px;
  max-width: 200px;
  background: var(--bg-elevated);
  font-weight: 650;
  box-shadow: 1px 0 0 var(--border);
}

.mfn-table tbody tr:nth-child(even) td,
.mfn-table tbody tr:nth-child(even) th[scope="row"] {
  background: color-mix(in srgb, var(--accent) 5%, var(--bg-elevated));
}

.mfn-table tbody tr:nth-child(odd) td {
  background: var(--bg-elevated);
}

.mfn-table .mfn-table-us {
  font-weight: 650;
}

.mfn-table tbody tr:last-child th,
.mfn-table tbody tr:last-child td {
  border-bottom: none;
}

/* Compact 3-column clarity table on /fishing-after-rain. */
.mfn-clarity-table-wrap {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.mfn-clarity-table {
  min-width: 0;
}

@media (max-width: 640px) {
  .mfn-article {
    padding: 24px 0 8px;
  }

  .mfn-article-body {
    font-size: 1.06rem;
  }

  .mfn-example-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .mfn-example-row dt {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
  }

  .mfn-article-figure--phone img {
    width: min(100%, 240px);
  }
}
