/* Todds Fun 1.1 — light sage, same layout, tighter professional finish. */

:root {
  --tf-paper: #eaf5ec;
  --tf-card: #ffffff;
  --tf-ink: #1c2a1e;
  --tf-muted: #4d6352;
  --tf-red: #d94838;
  --tf-sun: #ffe58a;
  --tf-sage: #cfe6d4;
  --tf-sage-2: #b7d8bf;
  --tf-line: #c3dcc9;
  --tf-max: 1080px;
  --tf-shadow: 0 8px 22px rgba(40, 90, 50, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body.todds-fun,
body {
  margin: 0;
  background:
    radial-gradient(1200px 400px at 50% -80px, #f7fff8 0%, transparent 70%),
    var(--tf-paper);
  color: var(--tf-ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}

a {
  color: #2f6b3c;
}

a:hover {
  color: var(--tf-ink);
}

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

.tf-skip {
  position: absolute;
  left: -999px;
}

.tf-skip:focus {
  left: 8px;
  top: 8px;
  background: var(--tf-sun);
  padding: 8px;
  z-index: 20;
}

.tf-wrap {
  width: min(var(--tf-max), calc(100% - 32px));
  margin-inline: auto;
}

.tf-head {
  background: #f4fbf5;
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--tf-line);
}

.tf-head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 12px 0;
}

.tf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tf-ink);
  text-decoration: none;
  font-weight: 700;
}

.tf-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff;
  box-shadow: var(--tf-shadow);
}

.tf-brand strong {
  display: block;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}

.tf-brand em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--tf-muted);
}

.tf-burger {
  margin-left: auto;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--tf-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--tf-shadow);
}

.tf-nav {
  display: none;
  width: 100%;
}

.tf-nav.is-open {
  display: block;
}

@media (min-width: 900px) {
  .tf-burger {
    display: none;
  }
  .tf-nav,
  .tf-nav.is-open {
    display: flex;
    flex: 1;
    width: auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }
}

.tf-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tf-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tf-ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
}

.tf-nav a:hover,
.tf-nav .current-menu-item a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tf-search {
  display: flex;
  gap: 6px;
}

.tf-search input {
  min-height: 44px;
  border: 1px solid var(--tf-line);
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
  color: var(--tf-ink);
}

.tf-btn,
body .tf-btn,
.tf-form button,
input[type="submit"],
.comment-form input[type="submit"] {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--tf-ink);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--tf-shadow);
}

.tf-btn:hover,
.comment-form input[type="submit"]:hover {
  transform: translateY(-1px);
}

.tf-btn-loud,
.comment-form input[type="submit"] {
  background: #3e8f55;
  color: #fff;
}

.tf-ticker {
  background: var(--tf-sage);
  color: var(--tf-ink);
  overflow: hidden;
  border-top: 1px solid var(--tf-line);
  border-bottom: 1px solid var(--tf-line);
}

.tf-ticker-track {
  display: flex;
  width: max-content;
  animation: tf-marquee 48s linear infinite;
}

.tf-ticker:hover .tf-ticker-track {
  animation-play-state: paused;
}

.tf-ticker-run {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 24px;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
}

.tf-ticker-run a {
  color: var(--tf-ink);
  text-decoration: none;
}

.tf-ticker-run a:hover {
  text-decoration: underline;
}

.tf-dot {
  opacity: 0.45;
}

@keyframes tf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tf-hero {
  padding: 36px 0 12px;
}

.tf-kicker {
  margin: 0 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2f6b3c;
}

h1, h2, h3 {
  text-wrap: balance;
  line-height: 1.2;
  font-family: Georgia, "Times New Roman", serif;
}

.tf-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.tf-lede {
  color: var(--tf-muted);
  font-size: 1.08rem;
}

.tf-jotd {
  background: #fff;
  border-block: 1px solid var(--tf-line);
  padding: 32px 0;
  margin: 12px 0 28px;
}

.tf-jotd blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
}

.tf-jotd cite {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--tf-muted);
  font-style: normal;
}

.tf-jotd-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tf-desks {
  display: grid;
  gap: 22px;
  padding-bottom: 40px;
}

@media (min-width: 800px) {
  .tf-desks {
    grid-template-columns: 1fr 1fr;
  }
}

.tf-desk {
  background: var(--tf-card);
  border: 1px solid var(--tf-line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(40, 90, 50, 0.08);
}

.tf-desk h2 {
  margin: 0;
  font-size: 1.35rem;
}

.tf-desk h2 a {
  color: var(--tf-ink);
  text-decoration: none;
}

.tf-desk header p {
  margin: 6px 0 14px;
  color: var(--tf-muted);
}

.tf-desk ul,
.tf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.tf-card a {
  color: var(--tf-ink);
  text-decoration: none;
}

.tf-card h3 {
  margin: 8px 0 4px;
  font-size: 1.12rem;
}

.tf-card p {
  margin: 0;
  color: var(--tf-muted);
}

.tf-empty,
.tf-notice {
  background: var(--tf-sun);
  padding: 10px 14px;
  border-radius: 12px;
}

.tf-article {
  padding: 28px 0 48px;
}

.tf-body {
  font-size: 1.08rem;
}

.tf-body p {
  text-wrap: pretty;
}

.tf-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
}

.tf-form input[type="text"],
.tf-form input[type="email"],
.tf-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--tf-line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--tf-ink);
}

.tf-hp {
  position: absolute;
  left: -9999px;
}

.tf-side {
  padding-bottom: 40px;
}

.tf-widget {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--tf-line);
  border-radius: 16px;
  background: #fff;
}

.tf-widget-title {
  margin: 0 0 8px;
}

.tf-foot {
  background: linear-gradient(180deg, #d7eadb, #c5dfcb);
  border-top: 0;
  padding: 32px 0 40px;
  color: var(--tf-ink);
}

.tf-foot a {
  color: #215530;
}

.tf-foot-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 800px) {
  .tf-foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.tf-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 650;
}

.tf-copy {
  margin-top: 12px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.tf-embed {
  margin-top: 16px;
}

.tf-tally {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .tf-ticker-track {
    animation: none;
  }
}
