/*
Theme Name: MinecraftRP Adventure
Theme URI: https://www.minecraftrp.co.uk/
Author: MinecraftRP
Description: A playful, fast and responsive custom theme for the MinecraftRP survival roleplay community.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: minecraftrp
*/

:root {
  --sky: #dff4ff;
  --sky-deep: #77c8f2;
  --cream: #fffaf0;
  --paper: #fffdf8;
  --ink: #33261e;
  --muted: #6f6259;
  --green: #69b63f;
  --green-dark: #377a2e;
  --green-deep: #245d28;
  --gold: #ffbd3d;
  --gold-dark: #dc7b1f;
  --wood: #704126;
  --wood-dark: #472719;
  --purple: #7851c8;
  --purple-dark: #51319c;
  --line: #eadcc8;
  --shadow: 0 18px 45px rgba(82, 55, 31, 0.14);
  --soft-shadow: 0 9px 24px rgba(82, 55, 31, 0.11);
  --radius: 26px;
  --radius-small: 16px;
  --content: 1180px;
  --heading: "Bungee", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
  top: 32px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-shell,
.section-inner {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 0;
  transition: padding 180ms ease, background-color 180ms ease;
}

.header-inner {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  position: relative;
  z-index: 52;
  width: 96px;
  height: 76px;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(26, 20, 13, 0.35));
}

.nav-toggle {
  position: relative;
  z-index: 52;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: rgba(45, 35, 25, 0.76);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 22px;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav {
  position: fixed;
  z-index: 51;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 28px 36px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.98);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.primary-nav.is-open {
  transform: translateX(0);
}

.primary-nav ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav a,
.primary-nav button {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 10px 14px;
  font-weight: 900;
  background: transparent;
  border: 0;
  border-radius: 12px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--green-deep);
  background: #edf7e5;
}

.primary-nav .nav-play {
  justify-content: center;
  margin-top: 14px;
  color: #fff;
  background: linear-gradient(180deg, #79c94e, #4e9836);
  border: 0;
  box-shadow: 0 5px 0 #347127, var(--soft-shadow);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 760px;
  align-items: end;
  padding: 150px 0 72px;
  color: #fff;
  background-color: #547b42;
  background-image:
    linear-gradient(90deg, rgba(17, 25, 17, 0.88) 0%, rgba(22, 29, 19, 0.5) 54%, rgba(21, 25, 18, 0.12) 100%),
    linear-gradient(0deg, rgba(22, 19, 12, 0.58) 0%, transparent 50%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 18px;
  content: "";
  background:
    linear-gradient(90deg, #5e9c35 0 12.5%, #72b846 12.5% 25%, #5e9c35 25% 37.5%, #81c153 37.5% 50%, #5e9c35 50% 62.5%, #72b846 62.5% 75%, #5e9c35 75% 87.5%, #81c153 87.5%);
  background-size: 128px 18px;
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  color: #f8ffe9;
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(45, 101, 41, 0.82);
  border: 1px solid rgba(193, 239, 151, 0.5);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  content: "";
  background: #9df25b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(157, 242, 91, 0.18);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(3.1rem, 12vw, 6.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(64, 35, 16, 0.72), 0 10px 28px rgba(0, 0, 0, 0.42);
}

.hero h1 span {
  display: block;
  color: var(--gold);
  background: linear-gradient(180deg, #ffe374, #ffad28);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.03rem, 2.6vw, 1.22rem);
  font-weight: 700;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 20px;
  color: var(--ink);
  font-weight: 1000;
  letter-spacing: 0.025em;
  text-align: center;
  text-transform: uppercase;
  background: #fffaf0;
  border: 2px solid rgba(88, 57, 34, 0.14);
  border-radius: 13px;
  box-shadow: 0 5px 0 rgba(75, 46, 28, 0.23), var(--soft-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover,
.button:focus-visible {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(75, 46, 28, 0.2), 0 16px 30px rgba(39, 28, 18, 0.2);
}

.button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(75, 46, 28, 0.2);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #75c84b, #4c9634);
  border-color: #85d35b;
  box-shadow: 0 5px 0 #2f7029, var(--soft-shadow);
}

.button-purple {
  color: #fff;
  background: linear-gradient(180deg, #9564e5, #6a3cc4);
  border-color: #a77bec;
  box-shadow: 0 5px 0 #4a258d, var(--soft-shadow);
}

.button .button-detail {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0.86;
  text-transform: none;
}

.button-stack {
  display: block;
  line-height: 1.15;
}

.hero-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 26px;
  padding: 11px 16px;
  font-size: 0.85rem;
  font-weight: 900;
  background: rgba(29, 30, 24, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9ff9a;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #7ce745;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(124, 231, 69, 0.18);
}

.status-dot.is-offline {
  background: #e46652;
  box-shadow: 0 0 0 5px rgba(228, 102, 82, 0.18);
}

.section {
  position: relative;
  padding: 74px 0;
}

.section-cream {
  background:
    radial-gradient(circle at 5% 20%, rgba(255, 196, 75, 0.08), transparent 18%),
    radial-gradient(circle at 95% 78%, rgba(105, 182, 63, 0.1), transparent 20%),
    var(--cream);
}

.section-sky {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent),
    repeating-linear-gradient(90deg, transparent 0 63px, rgba(255, 255, 255, 0.08) 63px 64px),
    var(--sky);
}

.section-purple {
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(135deg, #f2eaff, #eee7ff 48%, #e7f1ff);
}

.section-heading {
  max-width: 1040px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2,
.content-page h1,
.content-page h2,
.content-page h3,
.cta-card h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
}

.section-heading p {
  max-width: 650px;
  margin: 10px auto 0;
  color: var(--muted);
}

.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.leaf-divider::before,
.leaf-divider::after {
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  content: "❧";
}

.card-grid {
  display: grid;
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 26px 22px 24px;
  text-align: center;
  background: rgba(255, 253, 248, 0.92);
  border: 2px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 40px;
  height: 5px;
  content: "";
  background: var(--card-accent, var(--green));
  border-radius: 4px 4px 0 0;
  transform: translateX(50%);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon,
.journey-icon,
.stat-icon {
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: var(--card-accent, var(--green-dark));
  background: var(--card-tint, #eef9e8);
  border: 2px solid rgba(75, 51, 31, 0.12);
  box-shadow: inset 0 -5px 0 rgba(75, 51, 31, 0.07);
}

.feature-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  border-radius: 20px;
}

.feature-icon svg {
  width: 60px;
  height: 60px;
}

.feature-card h3,
.location-card h3,
.journey-step h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: 1.08rem;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.journey {
  display: grid;
  gap: 12px;
}

.journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px;
  text-align: left;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(78, 123, 146, 0.16);
  border-radius: 18px;
}

.journey-icon {
  width: 66px;
  height: 66px;
  margin: 0;
  color: var(--journey-accent, var(--green-dark));
  background: rgba(255, 252, 239, 0.9);
  border-radius: 15px;
}

.journey-icon svg {
  width: 42px;
  height: 42px;
}

.journey-step h3 {
  font-size: 0.98rem;
}

.journey-step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.locations-scroller {
  display: grid;
  grid-auto-columns: minmax(260px, 84%);
  grid-auto-flow: column;
  gap: 16px;
  padding: 4px 4px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.location-card {
  scroll-snap-align: start;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.location-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cfe7ef;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.location-card:hover img {
  transform: scale(1.045);
}

.location-copy {
  padding: 18px 18px 20px;
  text-align: center;
}

.location-card h3 {
  font-size: 1rem;
}

.location-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.stats-wrap {
  position: relative;
  padding: 54px 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(48, 111, 39, 0.05), rgba(35, 92, 34, 0.2)),
    repeating-linear-gradient(0deg, #62a73d 0 18px, #5a9e37 18px 36px);
  border-top: 12px solid #83c84f;
  border-bottom: 12px solid #3e7e31;
}

.stats-title {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 10px 24px;
  font-family: var(--heading);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(#a76c32, #77451f);
  border: 3px solid #c58a4b;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 5px 0 rgba(61, 34, 18, 0.35);
  transform: translateX(-50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 14px;
  color: var(--ink);
  background: #fffdf7;
  border: 2px solid rgba(63, 100, 45, 0.18);
  border-radius: 16px;
  box-shadow: 0 5px 0 rgba(48, 94, 38, 0.28);
}

.stat-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  color: var(--green-dark);
  background: #edf6e5;
  border-radius: 11px;
  box-shadow: none;
}

.stat-icon svg {
  width: 27px;
  height: 27px;
}

.stat-value {
  display: block;
  overflow: hidden;
  font-family: var(--heading);
  font-size: clamp(1rem, 4.5vw, 1.45rem);
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.2;
}

.testimonial-grid {
  display: grid;
  gap: 16px;
}

.quote-card {
  position: relative;
  padding: 24px 22px 22px 28px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 19px;
  box-shadow: var(--soft-shadow);
}

.quote-card::before {
  position: absolute;
  top: 13px;
  left: 15px;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
  content: "“";
  opacity: 0.9;
}

.quote-card blockquote {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #44372f;
  font-weight: 700;
}

.quote-person {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-left: 20px;
}

.pixel-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-family: var(--heading);
  font-size: 0.85rem;
  background:
    linear-gradient(90deg, transparent 25%, rgba(255, 255, 255, 0.18) 25% 50%, transparent 50% 75%, rgba(0, 0, 0, 0.12) 75%),
    var(--avatar, var(--green));
  border: 3px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--line);
}

.quote-person strong,
.quote-person span {
  display: block;
}

.quote-person span {
  color: var(--muted);
  font-size: 0.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #7eb5cf;
  border: 3px solid rgba(255, 255, 255, 0.76);
  border-radius: 13px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.gallery-item:nth-child(3) {
  grid-column: span 2;
  aspect-ratio: 16 / 8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.12);
  transform: scale(1.04);
}

.gallery-action {
  margin-top: 28px;
  text-align: center;
}

.faq-list {
  display: grid;
  max-width: 850px;
  gap: 12px;
  margin-inline: auto;
}

.faq-list details {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(67, 44, 26, 0.07);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  font-weight: 1000;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  content: "+";
  background: var(--green);
  border-radius: 8px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 19px 18px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.final-cta {
  position: relative;
  isolation: isolate;
  padding: 80px 0;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(32, 42, 23, 0.78), rgba(53, 38, 25, 0.38)),
    var(--cta-image);
  background-position: center;
  background-size: cover;
}

.cta-card {
  max-width: 760px;
  margin-inline: auto;
  padding: 30px 22px;
  color: var(--ink);
  text-align: center;
  background: rgba(255, 250, 240, 0.94);
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 0 14px 0 rgba(73, 44, 26, 0.22), var(--shadow);
  backdrop-filter: blur(7px);
}

.cta-card h2 {
  font-size: clamp(1.75rem, 6vw, 2.7rem);
}

.cta-card p {
  max-width: 520px;
  margin: 10px auto 0;
  color: var(--muted);
}

.site-footer {
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(rgba(47, 27, 17, 0.96), rgba(38, 22, 14, 0.98)),
    repeating-linear-gradient(90deg, #6f452a 0 32px, #59341e 32px 64px);
}

.footer-inner {
  display: grid;
  gap: 18px;
  padding-block: 28px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 900;
  list-style: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #d8ffb9;
}

.copyright {
  margin: 0;
  font-size: 0.74rem;
  opacity: 0.72;
}

.copy-toast {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  color: #fff;
  font-weight: 900;
  background: #286f32;
  border: 2px solid #76c955;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-page {
  min-height: 60vh;
  padding: 150px 0 80px;
}

.content-page article,
.content-page .archive-content {
  max-width: 900px;
  padding: clamp(22px, 5vw, 50px);
  margin-inline: auto;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.content-page h1 {
  font-size: clamp(2rem, 7vw, 3.5rem);
}

.content-page h2 {
  margin-top: 1.5em;
  font-size: 1.8rem;
}

.content-page h3 {
  margin-top: 1.4em;
  font-size: 1.3rem;
}

.content-page a:not(.button) {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-list {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
}

.post-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.post-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (min-width: 600px) {
  .hero-actions,
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    min-width: 180px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-item,
  .gallery-item:nth-child(3) {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: span 2;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    text-align: left;
  }

  .copyright {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (min-width: 782px) {
  .header-inner {
    grid-template-columns: 120px 1fr 136px;
  }

  .site-logo {
    width: 118px;
    height: 92px;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: block;
    justify-self: center;
    width: auto;
    padding: 7px 10px;
    background: rgba(255, 252, 244, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: var(--soft-shadow);
    transform: none;
    backdrop-filter: blur(10px);
  }

  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .primary-nav a {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 0.78rem;
  }

  .header-play {
    display: inline-flex;
  }

  .primary-nav .nav-play {
    display: none;
  }

  .hero {
    min-height: 790px;
    padding-top: 180px;
    padding-bottom: 90px;
    background-position: center 45%;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(4rem, 6vw, 5rem);
  }

  .section {
    padding: 92px 0;
  }

  .journey {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .journey-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 14px;
    text-align: center;
  }

  .journey-step::after {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -16px;
    width: 14px;
    height: 14px;
    content: "";
    border-top: 4px solid var(--journey-accent, var(--green));
    border-right: 4px solid var(--journey-accent, var(--green));
    transform: rotate(45deg) translateY(-50%);
  }

  .journey-step:nth-child(3)::after,
  .journey-step:last-child::after {
    display: none;
  }

  .journey-icon {
    width: 78px;
    height: 78px;
    margin-inline: auto;
  }

  .locations-scroller {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: initial;
    padding-bottom: 8px;
    overflow: visible;
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .stat-card {
    padding: 15px 13px;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .journey {
    grid-template-columns: repeat(6, 1fr);
  }

  .journey-step:nth-child(3)::after {
    display: block;
  }

  .header-inner {
    grid-template-columns: 150px 1fr 150px;
  }

  .primary-nav a {
    padding-inline: 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 781px) {
  body.nav-open {
    overflow: hidden;
  }

  .header-play {
    display: none;
  }

  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Inner pages: Features, Play and Blog */

.primary-nav a.is-active,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--green-deep);
  background: #edf7e5;
}

.header-play.is-active {
  outline: 3px solid rgba(255, 218, 87, 0.7);
  outline-offset: 3px;
}

.inner-page {
  background: var(--cream);
}

.inner-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 560px;
  align-items: end;
  padding: 145px 0 56px;
  color: #fff;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(22, 33, 20, 0.1), rgba(25, 30, 18, 0.7)),
    var(--inner-hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.inner-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 16px;
  content: "";
  background:
    linear-gradient(135deg, transparent 8px, var(--cream) 0) 0 0 / 16px 16px repeat-x;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
}

.inner-hero h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.8rem, 10vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 5px 0 rgba(64, 35, 16, 0.65), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.inner-hero h1 span {
  color: var(--gold);
}

.inner-hero-content > p:not(.section-kicker) {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.inner-hero .section-kicker {
  color: #d9ffbf;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.inner-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 820px;
  margin: 30px auto 0;
}

.inner-stat {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 0 10px;
  min-width: 0;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 253, 248, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  box-shadow: 0 5px 0 rgba(58, 39, 25, 0.18), var(--soft-shadow);
}

.inner-stat svg {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
}

.inner-stat strong {
  overflow: hidden;
  font-family: var(--heading);
  font-size: clamp(1rem, 4vw, 1.45rem);
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inner-stat span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 900;
}

.filter-tabs,
.blog-tabs {
  display: flex;
  gap: 10px;
  padding: 4px 2px 18px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-tab,
.blog-tabs a,
.blog-tabs button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(74, 48, 28, 0.08);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.filter-tab:hover,
.filter-tab:focus-visible,
.blog-tabs a:hover,
.blog-tabs a:focus-visible,
.blog-tabs button:hover,
.blog-tabs button:focus-visible {
  transform: translateY(-2px);
}

.filter-tab.is-active,
.blog-tabs a.is-active,
.blog-tabs button.is-active {
  color: #fff;
  background: linear-gradient(180deg, #72bc4d, #468d35);
  border-color: #70b94b;
  box-shadow: 0 4px 0 #327029, var(--soft-shadow);
}

.all-features-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.all-feature-card {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.all-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.all-feature-card[hidden] {
  display: none;
}

.all-feature-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #d8ecf3;
  overflow: hidden;
}

.all-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.all-feature-card:hover .all-feature-image img {
  transform: scale(1.04);
}

.feature-badge {
  position: absolute;
  bottom: -3px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  background: var(--feature-accent);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 13px 13px 0 0;
  box-shadow: var(--soft-shadow);
}

.all-feature-copy {
  padding: 20px;
}

.all-feature-copy h2,
.why-panel h2,
.join-step h2,
.versions-panel h2,
.issue-card h2,
.play-cta-content h2,
.blog-card h2,
.sidebar-card h2,
.story-cta h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.all-feature-copy h2 {
  font-size: 1.08rem;
}

.all-feature-copy p {
  min-height: 4.5em;
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.all-feature-copy ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 14px 0 18px;
  color: #51463e;
  font-size: 0.82rem;
  list-style: none;
}

.all-feature-copy li::before {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  color: #fff;
  font-size: 0.62rem;
  content: "✓";
  background: var(--green);
  border-radius: 50%;
}

.text-link {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-dark);
}

.why-panel {
  margin-top: 28px;
  padding: 28px 20px;
  background:
    linear-gradient(135deg, rgba(113, 184, 73, 0.12), rgba(255, 195, 67, 0.08)),
    var(--paper);
  border: 2px solid #dce4c5;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.why-panel > h2 {
  text-align: center;
  font-size: clamp(1.4rem, 5vw, 2rem);
}

.why-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.why-grid > div {
  position: relative;
  padding-left: 62px;
}

.why-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--gold-dark);
  font-size: 1.5rem;
  background: #fff8da;
  border: 2px solid #ead697;
  border-radius: 13px;
}

.why-grid h3 {
  margin: 0;
  font-size: 0.95rem;
}

.why-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.inner-final-cta,
.play-final-cta {
  position: relative;
  isolation: isolate;
  padding: 70px 0;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(37, 45, 24, 0.74), rgba(42, 33, 24, 0.38)),
    var(--inner-cta-image);
  background-position: center;
  background-size: cover;
}

.inner-cta-card {
  max-width: 760px;
  padding: 28px;
  color: var(--ink);
  text-align: center;
  background: rgba(255, 250, 240, 0.94);
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.inner-cta-card h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(1.65rem, 6vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.inner-cta-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Play */

.play-hero {
  min-height: 520px;
  background-position: center 40%;
}

.compact-heading {
  margin-bottom: 28px;
}

.join-steps {
  display: grid;
  gap: 28px;
}

.join-step {
  position: relative;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px 28px;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

.join-step-green {
  background: linear-gradient(180deg, #fbfff8, #eff8e8);
}

.join-step-gold {
  background: linear-gradient(180deg, #fffdf7, #fff6df);
}

.join-step-purple {
  background: linear-gradient(180deg, #fdfbff, #f4ecff);
}

.step-number {
  position: absolute;
  top: -17px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-family: var(--heading);
  font-size: 1.15rem;
  background: var(--green);
  border-radius: 10px;
  box-shadow: 0 5px 0 #35792c;
  transform: translateX(-50%);
}

.join-step-gold .step-number {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 5px 0 #d5891b;
}

.join-step-purple .step-number {
  background: var(--purple);
  box-shadow: 0 5px 0 var(--purple-dark);
}

.step-art {
  width: 108px;
  height: 108px;
  margin-bottom: 18px;
}

.step-art svg {
  width: 100%;
  height: 100%;
}

.step-sword {
  display: grid;
  place-items: center;
  color: #24a8b5;
  font-size: 5rem;
  text-shadow: 3px 3px 0 #1c3b45;
}

.join-step h2 {
  font-size: 1.15rem;
}

.join-step p {
  margin: 12px 0 5px;
  color: #443b35;
}

.join-step small {
  color: var(--muted);
}

.server-sign {
  position: relative;
  display: grid;
  place-items: center;
  min-width: min(100%, 250px);
  min-height: 78px;
  padding: 16px;
  margin-bottom: 24px;
  color: #fff7dd;
  font-weight: 900;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 6px, transparent 6px 12px),
    #815124;
  border: 5px solid #5c3517;
  border-radius: 7px;
  box-shadow: 0 6px 0 #3d2412;
}

.server-sign::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 18px;
  height: 30px;
  content: "";
  background: #70431e;
  border: 3px solid #4c2b13;
  transform: translateX(-50%);
}

.copy-field {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  color: var(--ink);
  background: #fff3c9;
  border: 2px solid #f0d583;
  border-radius: 10px;
}

.copy-field strong {
  overflow-wrap: anywhere;
}

.versions-panel {
  margin-top: 32px;
  padding: 28px 18px;
  text-align: center;
  background: linear-gradient(180deg, #e9f8ff, #dff2fb);
  border: 2px solid #c6e3f1;
  border-radius: 20px;
}

.versions-panel h2 {
  font-size: clamp(1.35rem, 5vw, 2rem);
}

.versions-panel p {
  color: #4c5c62;
}

.version-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.version-block {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 62px;
  padding-top: 9px;
  color: #fff;
  font-family: var(--heading);
  font-size: 0.72rem;
  font-weight: 400;
  background:
    linear-gradient(90deg, rgba(255,255,255,.07) 50%, transparent 50%) 0 0 / 18px 18px,
    #76502e;
  border: 2px solid #5a3d23;
  border-radius: 4px 4px 9px 9px;
  box-shadow: inset 0 -7px 0 rgba(49, 29, 17, 0.22);
}

.grass-cap {
  position: absolute;
  top: -7px;
  right: -2px;
  left: -2px;
  height: 19px;
  background:
    linear-gradient(90deg, #62a43e 0 25%, #78b84d 25% 50%, #589638 50% 75%, #78b84d 75%);
  border: 2px solid #4a8231;
  border-radius: 5px 5px 0 0;
}

.issues-heading {
  margin-top: 42px;
}

.issue-grid {
  display: grid;
  gap: 16px;
}

.issue-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 20px;
  text-align: center;
  border: 2px solid var(--line);
  border-radius: 18px;
}

.issue-green {
  background: #f0f8e9;
}

.issue-gold {
  background: #fff8e8;
}

.issue-purple {
  background: #f4edff;
}

.issue-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--heading);
  font-size: 2.3rem;
  background: var(--green);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 5px 0 rgba(43, 82, 32, 0.25);
}

.issue-gold .issue-icon {
  background: #e8a72b;
}

.issue-purple .issue-icon {
  background: var(--purple);
}

.issue-card h2 {
  font-size: 1.05rem;
}

.issue-card p {
  margin: 12px 0 20px;
  color: var(--muted);
}

.issue-card .button {
  width: 100%;
  margin-top: auto;
}

.button-gold {
  color: #4a3216;
  background: linear-gradient(180deg, #ffd75c, #f2b522);
  border-color: #f0b522;
  box-shadow: 0 5px 0 #c78916, var(--soft-shadow);
}

.play-final-cta {
  background-position: center;
}

.play-cta-content {
  max-width: 660px;
  margin-inline: auto;
  padding: 30px;
  color: var(--ink);
  text-align: center;
  background: rgba(226, 246, 255, 0.92);
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.play-cta-content h2 {
  font-size: clamp(1.5rem, 6vw, 2.4rem);
}

.play-cta-content p {
  margin: 10px 0 0;
  color: #42555d;
}

/* Blog */

.blog-hero {
  min-height: 500px;
  background-position: center 58%;
}

.blog-shell {
  position: relative;
  padding: 0 0 70px;
}

.blog-panel {
  position: relative;
  z-index: 3;
  padding: 18px;
  margin-top: -36px;
  background: rgba(255, 252, 245, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.blog-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.blog-tabs {
  padding-bottom: 4px;
}

.blog-search {
  position: relative;
}

.blog-search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 50px 12px 16px;
  color: var(--ink);
  background: #fffdfa;
  border: 2px solid var(--line);
  border-radius: 12px;
  outline: 0;
}

.blog-search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(105, 182, 63, 0.13);
}

.blog-search button {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--wood);
  font-size: 1.4rem;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.blog-layout {
  display: grid;
  gap: 20px;
}

.blog-posts,
.blog-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
}

.blog-posts {
  transition: opacity 160ms ease, transform 160ms ease;
}

.blog-posts.is-loading {
  opacity: 0.48;
  transform: translateY(5px);
  pointer-events: none;
}

.blog-card {
  display: grid;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.035);
}

.featured-ribbon {
  position: absolute;
  top: 14px;
  left: 0;
  padding: 7px 13px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--purple), #9d5ddb);
  border-radius: 0 8px 8px 0;
}

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

.blog-card h2 {
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  text-transform: none;
}

.blog-card h2 a:hover,
.blog-card h2 a:focus-visible {
  color: var(--green-dark);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.blog-card-copy > p {
  margin: 12px 0 16px;
  color: #54483f;
  font-size: 0.9rem;
}

.sidebar-card {
  padding: 20px;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--soft-shadow);
}

.sidebar-card h2 {
  font-size: 1.05rem;
  text-transform: none;
}

.sidebar-card > p {
  color: var(--muted);
  font-size: 0.86rem;
}

.sidebar-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  font-size: 1.7rem;
  background: #eef6d9;
  border: 2px solid #dbe8ad;
  border-radius: 15px;
}

.newsletter-card form {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

.newsletter-card input {
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 10px;
}

.newsletter-card small {
  color: var(--green-dark);
  font-weight: 800;
}

.popular-list,
.category-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.popular-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.popular-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.popular-list img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 9px;
}

.popular-list a {
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
}

.popular-list small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.65rem;
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 800;
}

.category-list span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 7px;
  color: var(--muted);
  font-size: 0.7rem;
  background: #f2ece2;
  border-radius: 999px;
}

.discord-card {
  background: linear-gradient(145deg, #fff, #f2edff);
}

.discord-card .button {
  width: 100%;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.blog-pagination .page-numbers,
.blog-pagination button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
  color: var(--ink);
  font-weight: 900;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 9px;
}

.blog-pagination .current {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.blog-pagination button {
  cursor: pointer;
}

.empty-posts {
  padding: 40px 20px;
  text-align: center;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 17px;
}

.story-cta {
  padding: 28px 0;
  background:
    linear-gradient(180deg, #d9f1ff, #bee6fa);
  border-top: 8px solid #78bd4d;
}

.story-cta-inner {
  display: grid;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.story-cta h2 {
  font-size: clamp(1.45rem, 6vw, 2.25rem);
}

.story-cta p {
  margin: 6px 0 0;
  color: #475861;
}

@media (min-width: 600px) {
  .inner-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .all-features-grid,
  .why-grid,
  .issue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .version-list {
    grid-template-columns: repeat(8, 1fr);
  }

  .blog-card {
    grid-template-columns: minmax(220px, 42%) 1fr;
  }

  .blog-card-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .story-cta-inner {
    grid-template-columns: 1fr auto;
    text-align: left;
  }
}

@media (min-width: 782px) {
  .inner-hero {
    min-height: 590px;
    padding-top: 170px;
  }

  .all-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid > div {
    padding: 0 18px 0 62px;
    border-right: 1px dashed #a7be8c;
  }

  .why-grid > div:last-child {
    border-right: 0;
  }

  .join-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
  }

  .join-step:not(:last-child)::after {
    position: absolute;
    top: 50%;
    left: calc(100% + 18px);
    color: var(--green);
    font-size: 2.5rem;
    font-weight: 1000;
    content: "→";
    transform: translateY(-50%);
  }

  .issue-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-toolbar {
    grid-template-columns: 1fr minmax(260px, 340px);
    align-items: center;
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .blog-panel {
    padding: 26px;
  }
}

@media (min-width: 1100px) {
  .all-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 599px) {
  .inner-hero {
    min-height: 530px;
  }

  .features-hero {
    min-height: 650px;
  }

  .blog-panel {
    width: min(calc(100% - 20px), var(--content));
  }

  .blog-shell .section-inner {
    width: 100%;
  }
}
