:root {
  --green: #2f8f2f;
  --red: #DB353D;
  --light-bg: #fffdf9;
  --text-dark: #555;
  --white: #ffffff;
  --light-green: #EFF6EF;
}

body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.4;
  overflow-x: hidden;
}

/* Generic spacing and layout */

.mt-0 {
  margin-top: 0px !important;
}

.mt-5 {
  margin-top: 5px !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.mt-10 {
  margin-top: 10px !important;
}

.mt-15 {
  margin-top: 15px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-25 {
  margin-top: 25px !important;
}

.mt-30 {
  margin-top: 30px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-50 {
  margin-top: 50px !important;
}

.mt-60 {
  margin-top: 60px !important;
}

.mb-0 {
  margin-bottom: 0px !important;
}

.mb-5 {
  margin-bottom: 5px !important;
}

.mb-6 {
  margin-bottom: 6px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-25 {
  margin-bottom: 25px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.ml-10 {
  margin-left: 10px !important;
}

.w-100 {
  width: 100% !important;
}

.w-90 {
  width: 90% !important;
}

.pxy-10 {
  padding: 10px !important;
}

.pxy-20 {
  padding: 20px !important;
}

.px-15 {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.py-15 {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.py-25 {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

.py-50 {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}


.pb-5 {
  padding-bottom: 5px !important;
}

/* Generic coloring classes */

.green {
  color: var(--green) !important;
}

/* Centered container shared by header, main, and footer */

.container {
  max-width: 960px;
  margin: 0 auto;
}

/* Header */

.site-header {
  background-color: white;
  border-bottom: 2px solid #eee;
}

@media (max-width: 700px) {
  .site-header {
    padding: 5px 15px;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo-container {
  margin-left: 15px;
  padding-top: 5px;
}

.logo-container img {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.site-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--green);
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Hamburger menu */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.25rem;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--green);
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

#menu-checkbox {
  display: none;
}

/* Mobile menu */

.close-btn {
  display: none;
}

@media (max-width: 800px) {
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: height 0.4s ease;
    border-bottom: 2px solid #eee;
  }

  /* Close button */
  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    display: block;
  }

  .site-nav a {
    margin: 1rem 0;
    font-size: 1.2rem;
  }

  #menu-checkbox:checked + label + .site-nav {
    height: 100vh;
  }

  .menu-toggle {
    display: flex;
    margin-right: 15px;
  }

  #menu-checkbox:checked + label .bar1 {
    transform: rotate(45deg) translateY(8px);
  }
  #menu-checkbox:checked + label .bar2 {
    opacity: 0;
  }
  #menu-checkbox:checked + label .bar3 {
    transform: rotate(-45deg) translateY(-8px);
  }
}

/* Main content */

main.episodes {
  background-color: var(--white);
}

p {
  margin-bottom: 1rem;
}

/* Footer */

footer {
  background-color: var(--white);
  text-align: center;
}

.social-icons a {
  margin: 0 0.5rem;
  color: var(--green);
  text-decoration: none;
  font-size: 1.4rem;
}

.social-icons a:hover {
  color: var(--red);
}

/* Hero Section */

.hero {
  width: 100%;
  background-color: var(--green);
  color: white;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap; /* stack on small screens */
}

.hero-left img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-right {
  flex: 1;
}

.hero-right h1 {
  font-size: 2.5rem;
}

.hero-right p {
  font-size: 1.0rem;
  margin-bottom: 1.5rem;
}

.platform-icons a {
  display: inline-block;
  margin-right: 1rem;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

.platform-icons img {
  height: 42px;
  width: 42px;
}

/* Responsive: stack columns on small screens */

@media (max-width: 700px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .hero-left img {
    max-width: 80%;
    margin: 0 auto 2rem auto;
  }

  .hero-right p {
    text-align: left;
  }
}


/* Episodes grid (homepage) */

section.episodes h1 {
  color: var(--text-dark);
  width: 100%;
  text-align: center;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.ep-card {
  min-height: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ep-header {
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
}

/* Alternating colors */
.ep-header.red {
  background-color: var(--red);
}

.ep-header.green {
  background-color: var(--green);
  color: #fff !important;
}

.ep-content h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-dark);
}

.ep-content p {
  margin: 0;
  color: #333;
  line-height: 1.4;
}

.episodes-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons */

.button {
  display: inline-block;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.2rem;
  border: 0px;
}

.button.red {
  background-color: var(--red);
  color: #fff !important;
}

.button.green {
  background-color: var(--green);
  color: #fff !important;
}

.site-header.interior {
  background-color: white;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 8px rgba(0,0,0,0.1);
}

/* Interior pages (not yet redesigned): simple styles on the same palette */

.interior-content a { color: var(--green); }
.interior-content h1 { color: var(--green); }
.card { background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; padding: 14px 18px; margin: 0 0 16px; }
.card h2 { margin: 0 0 4px; font-size: 1.2rem; }
.meta { color: #777; font-size: 0.875rem; }
.badge { display: inline-block; font-size: 0.75rem; padding: 1px 8px; border-radius: 99px; background: var(--red); color: #fff; vertical-align: middle; }
.plain { list-style: none; margin: 0; padding: 0; }
.callout, .notice { padding: 10px 14px; border-radius: 8px; background: var(--light-green); border: 1px solid #c5dfc5; }
.notice { background: #fdecea; border-color: #f0b8b4; }
audio { width: 100%; margin: 8px 0; }
.notes p { margin: 0 0 8px; }
.filter { padding: 6px 10px; border: 1px solid #ddd; border-radius: 6px; margin: 0 0 12px; max-width: 100%; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e6e6e6; }
.jump { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 12px 0; font-size: 0.9rem; }
.battle .song { padding: 10px 0; border-top: 1px solid #e6e6e6; }
.battle .song:first-child { border-top: 0; }
.song.removed { color: #777; }
.song.winner .bar span { background: var(--red); }
.result { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; }
.bar { flex: 1 1 160px; height: 10px; background: #e7e5dc; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green); }
.count { font-size: 0.875rem; min-width: 110px; }
.battle button { font: inherit; padding: 5px 14px; border-radius: 6px; border: 1px solid var(--green); background: var(--green); color: #fff; cursor: pointer; font-weight: 400; }
.battle button[disabled] { background: #fff; color: var(--green); cursor: default; }
.archive li { padding: 4px 0; }

/* Open-battle banner (home page) */

.vote-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--light-green);
  border: 1px solid #c5dfc5;
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 1.5rem;
}

.vote-text {
  flex: 1;
}

.vote-eyebrow {
  color: var(--green);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.vote-message {
  color: #222;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
}

.vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 0 0 auto;
  padding: 14px 26px;
  font-size: 1.1rem;
  font-weight: 500;
}

@media (max-width: 700px) {
  .vote-banner {
    flex-wrap: wrap;
    padding: 16px;
  }

  .vote-text {
    flex: 1 1 60%;
  }

  .vote-message {
    font-size: 1.3rem;
  }

  .vote-button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Episode filter */

.episode-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1.5rem;
}

.episode-filter label {
  font-weight: 600;
  color: var(--text-dark);
}

.episode-filter select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  padding: 8px 36px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--text-dark);
}

/* Whole home-page card is clickable through its title link */

.ep-card {
  position: relative;
}

.ep-content h3 a {
  color: inherit;
  text-decoration: none;
}

.ep-content h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.ep-content p a,
.ep-content li a {
  position: relative;
  z-index: 1;
}

/* Episodes page: a tight list */

.episode-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.episode-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.35;
}

.episode-date {
  flex: 0 0 110px;
  color: #777;
  font-size: 0.9rem;
  padding-top: 1px;
}

.episode-list a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.episode-list a:hover {
  color: var(--red);
}

.episode-tag {
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 99px;
  background: var(--light-green);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .episode-list li {
    flex-direction: column;
    gap: 2px;
  }
}

/* Pagination */

.list-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.list-footer p {
  margin: 0;
}

.pager-boxes {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.pager-boxes a,
.pager-boxes span {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--text-dark);
  text-decoration: none;
}

.pager-boxes a:hover {
  background: var(--light-green);
}

.pager-boxes .current {
  background: var(--green);
  color: #fff;
  font-weight: 600;
}

.pager-boxes .disabled,
.pager-boxes .gap {
  color: #b5b5b5;
}

/* Songs page */

.page-lead {
  margin: -8px 0 24px;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.standings {
  background: var(--light-green);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  text-align: center;
}

.standings h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  color: #1f5a1f;
}

.standings-season {
  margin: 0 0 6px;
  font-weight: 600;
  color: #333;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 112px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
}

.tile-count {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: #1f4d1f;
}

.tile-name {
  font-size: 1rem;
  color: #333;
}

.standings-pending {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.standings-link {
  margin: 16px 0 0;
}

@media (max-width: 600px) {
  .standings {
    padding: 20px 16px;
  }

  .tiles {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .tile {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 4px;
  }

  .tile-count {
    font-size: 1.8rem;
  }

  .tile-name {
    font-size: 0.9rem;
  }
}

.battle-vote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 18px 0 0;
}

.vote-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 99px;
  background: var(--light-green);
  color: #3a7d36;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.vote-pill:hover {
  background: #e3f0e3;
}

.vote-closes-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.standings-link a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.standings-link a:hover {
  text-decoration: underline;
}

.song-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.search-box {
  position: relative;
  flex: 1;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.search-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px 14px 48px;
  font: inherit;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  background: var(--white);
}

.search-summary {
  margin: 0 0 16px;
  color: var(--text-dark);
}

.season-select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  padding: 14px 44px 14px 18px;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  color: var(--text-dark);
}

.battle-block {
  margin-bottom: 28px;
}

.battle-block.current {
  margin-bottom: 58px;
}

.battle-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.battle-head h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #1f5a1f;
}

.battle-head h2 a {
  color: inherit;
  text-decoration: none;
}

.battle-head h2 a:hover {
  text-decoration: underline;
}

.song-percent {
  color: #111;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
}

.song-rows {
  list-style: none;
  margin: 0;
  padding: 6px 20px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: var(--white);
}

.song-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

.song-row:first-child {
  border-top: 0;
}

.song-row.removed {
  color: #777;
}

.song-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--light-green);
  color: var(--green);
}

.song-info {
  flex: 1;
  min-width: 0;
}

.song-title {
  display: block;
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.song-artist {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.song-icon.winner {
  background: #fdf0c8;
  color: #b8860b;
}

.song-result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
  gap: 2px;
}

.pill {
  flex: 0 0 auto;
  min-width: 84px;
  padding: 6px 16px;
  box-sizing: border-box;
  border-radius: 99px;
  background: #eee;
  color: #555;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
}

.pill-scott {
  background: #e3f0e3;
  color: #1f5a1f;
}

.pill-bran {
  background: #fbe4e4;
  color: #a32020;
}

.pill-listener {
  background: #e3ecfb;
  color: #2a56b8;
}

.song-result .pill {
  min-width: 0;
  padding: 0;
  background: none;
  color: var(--text-dark);
  font-weight: 400;
}

@media (max-width: 700px) {
  .song-filters {
    flex-direction: column;
    gap: 12px;
  }

  .battle-head {
    flex-direction: column;
    gap: 2px;
  }

  .song-row {
    flex-wrap: wrap;
  }
}

/* Standings page */

.season-standings {
  margin-bottom: 36px;
}

.season-standings h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  color: #1f5a1f;
}

.season-name {
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
}

.winner-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  align-items: start;
}

.winner-group {
  padding: 16px 20px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: var(--white);
}

.winner-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wins {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1f4d1f;
}

.won-songs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.won-songs li {
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.won-songs .won-date {
  display: block;
  margin-top: 2px;
  color: #777;
  font-size: 0.85rem;
  text-decoration: none;
}

.won-songs .won-date:hover {
  text-decoration: underline;
}

/* Voting page */

.vote-battle {
  margin-bottom: 64px;
}

.vote-sub {
  margin: 0 0 22px;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.vote-closes {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--text-dark);
}

.vote-closes svg {
  flex: 0 0 auto;
}

.vote-row {
  margin: 0 -12px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
}

.vote-row .song-title {
  display: inline-block;
}

.vote-row:has(:checked),
.vote-row:has(:checked) + .vote-row {
  border-top-color: transparent;
}

.vote-row:has(:checked) {
  background: #e3f0e3;
}

.vote-row:has(:checked) .song-icon {
  background: var(--white);
}

.vote-radio {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 3px solid #999;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.vote-radio:hover {
  border-color: var(--green);
}

.vote-radio:checked {
  border-color: var(--green);
  background: radial-gradient(circle, var(--green) 0 42%, transparent 46%);
}

.vote-submit {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 18px 20px;
  font: inherit;
  font-size: 1.15rem;
  border: 0;
  border-radius: 99px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
}

.vote-submit[disabled] {
  background: #f0f0f0;
  color: #888;
  cursor: default;
}

.vote-submit[hidden],
.vote-thanks[hidden] {
  display: none;
}

.vote-thanks {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: 99px;
  background: #e3f0e3;
  color: #1f5a1f;
  font-size: 1.15rem;
  text-align: center;
}

.vote-note {
  margin: 16px 0 0;
  text-align: center;
  color: var(--text-dark);
}

/* News page */

.news-item {
  padding: 28px 0;
  border-top: 1px solid #eee;
}

.news-item:first-child {
  padding-top: 8px;
  border-top: 0;
}

.news-date {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.news-item h2 {
  margin: 14px 0 12px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.news-item h2 a {
  color: var(--green);
  text-decoration: none;
}

.news-item h2 a:hover {
  text-decoration: underline;
}

.news-item p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.news-item .link-blurb {
  margin-top: 14px;
}

.news-item .link-url {
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.news-item .link-url a {
  color: var(--green);
}

/* Contact page */

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin: 0 0 8px;
  color: #222;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text-dark);
  border: 1px solid #d5d5d5;
  border-radius: 12px;
  background: var(--white);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form ::placeholder {
  color: #888;
}

.contact-trap {
  display: none;
}

.contact-send {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font: inherit;
  font-size: 1.1rem;
  color: #fff;
  border: 0;
  border-radius: 99px;
  background: #347a36;
  cursor: pointer;
}

.contact-send[disabled] {
  opacity: 0.6;
  cursor: default;
}

.contact-status {
  margin: 0 0 20px;
  padding: 10px 14px;
  border: 1px solid #b9d9c4;
  border-radius: 6px;
  background: #e8f3ec;
  color: #1d2320;
}

.contact-status.error {
  border-color: #f0b8b4;
  background: #fdecea;
}

/* Jokes page */

.filter + .jokes {
  margin-top: 28px;
}

.jokes .joke {
  margin: 0 0 28px;
  color: var(--text-dark);
  line-height: 1.55;
}

.jokes .joke strong,
.jokes .joke em,
.jokes .joke span {
  display: block;
}

.jokes .joke strong {
  color: #222;
  font-weight: 700;
}

/* No focus outlines on any control. */
a:focus, a:focus-visible, button:focus, button:focus-visible, input:focus, input:focus-visible,
select:focus, select:focus-visible, textarea:focus, textarea:focus-visible, summary:focus, summary:focus-visible,
[tabindex]:focus, [contenteditable]:focus, .ql-editor:focus {
  outline: none;
  box-shadow: none;
}
