html,
body {
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background: var(--light-colour); /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #5b9452, #468944);
  background: linear-gradient(to right, #5b9452, #468944);
  overflow: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.custom-dialog {
  /* width: 90% !important;
  max-width: 800px !important; */
  width: fit-content !important;
  max-width: 90% !important;
}

.football-button {
  padding: 1vmin 2vmin;
  border-radius: 1vmin;
  border: 0;
  background-color: var(--pink-colour);
  font-size: 2.5vmin;
  font-weight: 200;
  transition: all 0.1s ease;
  box-shadow: #bf465f 0px 0.5vmin 0px 0px;
  color: var(--white-colour);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1vmin;
  width: fit-content;
  min-width: 25vmin;
  user-select: none;
}

.football-button.blue {
  background-color: var(--blue-colour);
  box-shadow: #0062a3 0px 0.5vmin 0px 0px;
}

.football-button.green {
  background-color: var(--green-colour);
  box-shadow: #019660 0px 0.5vmin 0px 0px;
}

.football-button img {
  width: 4vmin;
  height: 4vmin;
  margin-right: 1vmin;
}

.football-button:hover {
  filter: brightness(1.1);
}

/* Screen Management */
.screen {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Lobby Screen */

.bckImage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.tripticoName {
  font-size: 3vmin !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  margin-bottom: -2.5vmin !important;
  color: var(--blue-colour) !important;
}

.game-title {
  font-size: 10vmin !important;
  color: var(--black-colour);
  font-weight: 900;
}

.lobby-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lobby-btn {
  padding: 20px 40px;
  border: none;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lobby-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.lobby-btn:active {
  transform: translateY(0);
}

.create-btn {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
}

.join-btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
}

.btn-icon {
  font-size: 28px;
}

.divider {
  text-align: center;
  color: #999;
  font-size: 14px;
  font-weight: 600;
  position: relative;
}

.tagline {
  font-size: 2vmin !important;
  line-height: 1.5;
  max-width: 80%;
}

/* Setup Screen */
.setup-container {
  background: var(--white-colour);
  border-radius: 1vmin;
  padding: 2vmin;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
}

.setup-container h2 {
  margin: 0 0 2vmin 0;
  color: var(--grey-colour);
  font-size: 4vmin;
}

#setup-title {
  margin-bottom: 2vmin !important;
}

.form-group {
  margin-bottom: 2vmin;
}

.form-group label {
  display: block;
  color: var(--grey-colour);
  font-weight: 300;
  font-size: 1.5vmin !important;
  margin-bottom: 0.75vmin;
  background-color: #fff;
  width: fit-content;
  padding: 0vmin 1vmin;
  border-radius: 0.5vmin;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.text-input {
  width: 100%;
  padding: 1vmin 1.5vmin;
  border: 1px solid #e0e0e0;
  border-radius: 1vmin;
  font-size: 2.5vmin;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.text-input:focus {
  outline: none;
  border-color: var(--grey-colour);
}

.code-input {
  text-transform: uppercase;
  text-align: center;
  font-size: 5vmin;
  letter-spacing: 1.5vmin;
  font-weight: 900;
}

.match-code-input-container {
  display: flex;
  justify-content: center;
  gap: 1vmin;
  margin-top: 1vmin;
}

.match-code-tile-input {
  width: 12vmin;
  height: 12vmin;
  background-color: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 1vmin;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #fff;
  text-align: center;
  font-size: 6vmin;
  font-weight: 900;
  color: var(--black-colour);
  text-transform: uppercase;
  transition: all 0.2s;
  box-sizing: border-box;
}

.match-code-tile-input:focus {
  outline: none;
  background-color: var(--white-colour);
  border-bottom: 2px solid var(--yellow-colour);
  transform: translateY(-0.5vmin);
}

/* Center the cancel button when continue button is hidden (join flow) */
#setup-buttons-container {
  justify-content: center;
}

#setup-buttons-container > * {
  margin: 0 1.5vmin;
}

.color-picker-group {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1vmin;
  align-items: end;
}

.color-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5vmin;
}

.color-input-wrapper input[type='color'] {
  width: 6vmin;
  height: 6vmin;
  border: 0;
  outline: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border-radius: 1vmin;
  cursor: pointer;
  background: transparent;
}

/* Remove focus ring too (optional; consider accessibility) */
.color-input-wrapper input[type='color']:focus,
.color-input-wrapper input[type='color']:focus-visible {
  outline: 0;
  box-shadow: none;
}

/* WebKit (Chrome/Safari) inner swatch */
.color-input-wrapper input[type='color']::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-input-wrapper input[type='color']::-webkit-color-swatch {
  border: none;
  border-radius: 1vmin;
}

/* Firefox inner swatch */
.color-input-wrapper input[type='color']::-moz-color-swatch {
  border: none;
  border-radius: 1vmin;
}

.color-preview {
  height: 6vmin;
  border-radius: 1vmin;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 2.5vmin !important;
  transition: all 0.3s;
}

.button-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.primary-btn {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
}

.secondary-btn {
  background: #f0f0f0;
  color: #333;
}

/* Waiting Screen */
.waiting-container {
  background: var(--white-colour);
  border-radius: 1vmin;
  padding: 2vmin;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.waiting-container h2 {
  margin: 0 0 2vmin 0;
  color: var(--grey-colour);
  font-size: 3vmin;
}

.match-code-display {
  background: rgba(0, 0, 0, 0.025);
  width: 100%;
  border-radius: 1vmin;
  padding: 2vmin;
  margin-top: 5vmin;
  margin-bottom: 3vmin;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #fff;
}

.match-code-label {
  font-size: 1.75vmin;
  color: var(--grey-colour);
  text-transform: uppercase;
}

.match-code-value {
  font-size: 6vmin;
  font-weight: 900;
  color: var(--black-colour);
}

.tile {
  background-color: var(--light-colour);
  padding: 1vmin 3vmin;
  text-align: center;
  margin: 1vmin;
  border-radius: 1vmin;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 1px solid #fff;
}

.waiting-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1vmin;
  color: var(--black-colour);
  text-transform: uppercase;
  margin-top: 4vmin;
}

.spinner {
  width: 5vmin;
  height: 5vmin;
  border: 0.5vmin solid #f3f3f3;
  border-top: 0.5vmin solid var(--dark-colour);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1vmin;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Game Screen */
#game-screen {
  flex-direction: column;
  padding: 2vmin;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1vmin;
}

.team-headers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2vmin;
  align-items: center;
  align-self: center;
  background-color: rgba(0, 0, 0, 0.2);
  user-select: none;
  border-radius: 1.5vmin;
  padding: 1vmin;
  width: min(99vw, 120vh);
  max-width: 100%;
  box-shadow:
    inset 0 2px 2px rgba(0, 0, 0, 0.4),
    0 1px rgba(255, 255, 255, 0.4);
}

.team-header {
  display: grid;
  grid-template-columns: 90% 10%;
  align-items: center;
  justify-items: start;
  border-radius: 1vmin;
  transition: all 0.3s;
  box-shadow: 0 1.5vmin 0 -1vmin rgba(0, 0, 0, 0.2);
  padding: 1.5vmin 3vmin;
}

.team-name {
  font-weight: 600;
  font-size: 4vmin;
}

.team-score {
  font-size: 5vmin;
  font-weight: 900;
  width: 100%;
  height: 100%;
  text-align: center;
}

.game-info {
  text-align: center;
  padding: 1vmin 2vmin;
}

#half-indicator {
  font-weight: 600;
  color: var(--yellow-colour);
  font-size: 2vmin;
  margin-bottom: 0.5vmin;
  text-transform: uppercase;
}

#turn-indicator {
  font-size: 1.8vmin;
  color: var(--white-colour);
  font-weight: 300;
  text-transform: uppercase;
}

/* Game Board */
.game-board {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.cards-grid {
  width: min(
    99vw,
    120vh
  ); /* grow as wide as possible, but stop if height would exceed viewport */
  padding: 1vmin;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, auto); /* 4 rows that auto-fit card height */
  gap: 0.5vmin;
  background-color: rgba(0, 0, 0, 0.2);
  user-select: none;
  border-radius: 1.5vmin;
  perspective: 1000px;
  box-shadow:
    inset 0 2px 2px rgba(0, 0, 0, 0.4),
    0 1px rgba(255, 255, 255, 0.4);
}

.card {
  width: 100%; /* fill the column */
  aspect-ratio: 3/2; /* maintain 3:2 card ratio */
  background-color: var(--light-colour);
  border-radius: 1vmin;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-origin: center center;
  transform-style: preserve-3d; /* Enable 3D transforms */
  user-select: none;
  position: relative;
  box-shadow:
    rgba(0, 0, 0, 0.2) 0 0.1vmin 0.2vmin,
    rgba(0, 0, 0, 0.15) 0 0.35vmin 0.6vmin -0.15vmin,
    rgba(0, 0, 0, 0.1) 0 -0.3vmin 0 inset;
}

.card:hover:not(.flipped):not(.disabled) p {
  color: var(--yellow-colour);
}

.card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.card.flipped {
  opacity: 0.9;
  background-color: white;
  transform-style: flat; /* Fix blurry text after flip */
}

.card.flipped .card-back {
  backface-visibility: visible;
}

.card.no-pointer-events {
  pointer-events: none;
}

.card-back,
.card-front {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  backface-visibility: hidden;
}

.card-back {
  background-color: var(--white-colour);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
}

.card-back.hidden-face {
  display: none;
}

.card-back p {
  width: 12vmin;
  aspect-ratio: 1 / 1; /* perfect circle */
  display: grid; /* easy centring */
  place-items: center;
  font-size: 7vmin;
  font-weight: 900;
  color: var(--light-colour);
  text-align: center;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.8);
}

.card-front {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-direction: column;
  gap: 1vmin;
  display: none;
  justify-content: flex-end;
  position: relative;
}

.card-front.visible-face {
  display: flex;
}

.card-color-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.card-type {
  font-size: 2.5vmin;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white-colour);
  text-align: center;
  margin: 0;
  background: rgba(0, 0, 0, 0.6);
  padding: 1vmin;
  width: 100%;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Penalty Panel */
.penalty-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.3s;
}

.penalty-content {
  background: white;
  border-radius: 1vmin;
  padding: 4vmin;
  max-width: 700px;
  width: 90%;
  text-align: center;
}

.penalty-content h3 {
  font-size: 4vmin;
  margin: 0 0 1vmin 0;
  color: var(--black-colour);
}

.penalty-content p {
  color: var(--grey-colour);
  text-transform: uppercase;
  font-size: 1.75vmin;
  margin-bottom: 2vmin;
}

.waiting-message p {
  margin-bottom: 0;
  margin-top: 1vmin;
  font-size: 1.5vmin;
}

.penalty-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1vmin;
}

.penalty-choice {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 1vmin;
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: rgba(0, 0, 0, 0.25) 0 1.25vmin 0.1vmin -0.75vmin;
}

.penalty-choice:hover,
.penalty-choice:focus-visible {
  transform: translateY(-0.3vmin);
  filter: brightness(1.25);
}

.penalty-choice.no-pointer-events {
  pointer-events: none;
}

.penalty-choice img {
  display: block;
  width: 100%;
  height: auto;
}

.penalty-result-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Result Message */
.result-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  border-radius: 1vmin;
  padding: 3vmin;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 200;
  transition: transform 0.3s ease;
}

.result-message:not(.hidden) {
  transform: translate(-50%, -50%) scale(1);
}

.result-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

.result-text {
  font-size: 3vmin;
  font-weight: 700;
  color: var(--black-colour);
}

/* Game Over Screen */

.final-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2vmin;
  align-items: center;
  margin-bottom: 2vmin;
  padding: 2vmin;
  background: #f8f9fa;
  border-radius: 1vmin;
}

.final-team {
  text-align: center;
}

.final-team-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #666;
}

.final-team-score {
  font-size: 64px;
  font-weight: 700;
  color: #333;
}

.final-divider {
  font-size: 48px;
  color: #ccc;
  font-weight: 300;
}

.gameover-result {
  font-size: 24px;
  font-weight: 600;
  color: #2ecc71;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cards-grid {
    width: min(99vw, 100vh);
    gap: 0.4vmin;
  }

  .team-headers {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 15px;
  }

  .game-info {
    order: -1;
  }

  .answers-grid {
    grid-template-columns: 1fr;
  }

  .penalty-choices {
    grid-template-columns: 1fr;
  }

  .card-type {
    font-size: 3vmin;
  }
}

/* Summary Screens (Half-time and Full-time) */

.summary-scores {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
}

.summary-team {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
}

.summary-team-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.summary-team-score {
  font-size: 48px;
  font-weight: 700;
}

.summary-divider {
  font-size: 36px;
  color: #ccc;
  font-weight: 300;
}

.summary-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.team-events {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.8;
  max-height: 300px;
  overflow-y: auto;
}

.team-events h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 16px;
  text-align: center;
}

.match-summary {
  margin: 30px 0;
}

.match-summary h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  color: #333;
}

.wait-message {
  text-align: center;
  color: #666;
  margin-top: 20px;
}

.hidden-element {
  display: none;
}

@media (max-width: 768px) {
  .summary-events {
    grid-template-columns: 1fr;
  }

  .summary-scores {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .summary-divider {
    transform: rotate(90deg);
  }
}

/* -------------------------------------------------------------------------- */
/*                                   PUNDITS                                  */
/* -------------------------------------------------------------------------- */

.punditSpeaks {
  display: grid;
  grid-template-columns: 15% 70% 15%;
  grid-template-rows: 10vmin;
  column-gap: 1vmin;
  justify-items: start;
  align-items: center;
  margin-bottom: 2vmin;
}

.punditSpeaks.lastSpeaker {
  margin-bottom: 5vmin !important;
}

.punditSpeaks.right {
  justify-items: end;
}

.punditSpeaks p {
  font-weight: 100 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--black-colour);
  text-align: left;
  line-height: 1.5;
  text-wrap: wrap;
  font-size: 2vmin !important;
  background-color: var(--white-colour);
  border-radius: 1vmin;
  width: fit-content;
  height: fit-content;
  padding: 2vmin 5vmin !important;
  box-shadow: 0 2vmin 3px -1.5vmin rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Speech bubble triangle pointing left (before the text) */
.punditSpeaks p::before {
  content: '';
  position: absolute;
  left: -2vmin;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 1.5vmin solid transparent;
  border-bottom: 1.5vmin solid transparent;
  border-right: 2.5vmin solid var(--white-colour);
}

.punditSpeaks.right p {
  text-align: right;
}

/* Speech bubble triangle pointing right (after the text) */
.punditSpeaks.right p::before {
  display: none;
}

.punditSpeaks.right p::after {
  content: '';
  position: absolute;
  right: -2vmin;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 1.5vmin solid transparent;
  border-bottom: 1.5vmin solid transparent;
  border-left: 2.5vmin solid var(--white-colour);
}

.punditSpeaks img {
  width: auto;
  height: 100%;
  aspect-ratio: 1/1;
  justify-self: end;
}

.punditSpeaks.right img {
  justify-self: start;
}

.showResult_image {
  width: 100%;
  height: auto;
}

/* ============================ HOW TO PLAY GUIDE ============================ */
.guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 99000;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 97.5%;
  height: 97.5%;
  margin: auto;
  box-shadow:
    rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.guide-header {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5vmin;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.guide-header h2 {
  margin: 0;
  color: #111;
  font-size: 4vmin;
  font-weight: 800;
}

.guide-close {
  position: absolute;
  right: 2.5vmin;
  top: 50%;
  transform: translateY(-50%);
  width: 6vmin;
  height: 6vmin;
  border: 0;
  border-radius: 50%;
  background: var(--dark-colour);
  color: var(--light-colour);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-close:hover {
  background: var(--light-colour);
  color: var(--dark-colour);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.guide-close svg {
  width: 3vmin;
  height: 3vmin;
  fill: currentColor;
}

.guide-content {
  flex: 1 1 auto;
  overflow-y: auto;
  width: 100%;
  margin: 0 auto;
  padding: 6vmin 12vmin;
  color: #333;
  box-sizing: border-box;
}

.guide-intro {
  font-size: 2.4vmin;
  line-height: 1.6;
  margin: 0 0 4vmin;
}

.guide-section {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2vmin;
  padding: 3vmin;
  margin-bottom: 3vmin;
}

.guide-section h3 {
  margin: 0 0 2vmin;
  font-size: 3vmin;
  color: #111;
}

.guide-section p {
  font-size: 2.3vmin;
  line-height: 1.6;
  margin: 0;
}

.guide-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 3vmin;
  margin-bottom: 2.5vmin;
}

.guide-card {
  margin: 0;
  text-align: center;
}

.guide-card img {
  display: block;
  width: 35vmin;
  height: auto;
  border-radius: 1.5vmin;
  box-shadow: rgba(0, 0, 0, 0.25) 0 1vmin 2vmin -0.5vmin;
}

.guide-card figcaption {
  margin-top: 1vmin;
  font-size: 2vmin;
  font-weight: 600;
}

.guide-list {
  margin: 0;
  padding-left: 3vmin;
  font-size: 2.3vmin;
  line-height: 1.7;
}
