/*
Theme Name: KickoffFinder Child
Theme URI: https://www.kickofffinder.com/
Description: Astra child theme for KickoffFinder.
Author: OpenAI
Template: astra
Version: 2.0.0
Text Domain: kickofffinder-child
*/

:root {
  --kf-primary: #00c853;
  --kf-primary-dark: #009624;
  --kf-secondary: #1a1a2e;
  --kf-surface: #f5f5f5;
  --kf-text-primary: #212121;
  --kf-text-secondary: #757575;
  --kf-white: #ffffff;
  --kf-shadow: 0 24px 60px rgba(14, 18, 34, 0.12);
}

.site-header .custom-logo-link img,
.site-header .site-logo-img {
  width: auto;
  height: 45px;
  max-height: 45px;
}

.site-header .site-branding .site-title,
.site-header .site-branding .site-description,
.site-header .ast-site-title-wrap,
.site-header .ast-site-identity .site-title,
.site-header .ast-site-identity .site-description {
  display: none !important;
}

.site-footer .ast-footer-copyright {
  display: none;
}

#ast-scroll-top,
.ast-scroll-top-icon {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  left: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--kf-primary) !important;
  color: var(--kf-white) !important;
  font-size: 0;
  line-height: 1;
  box-shadow: 0 14px 32px rgba(0, 150, 36, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus,
.ast-scroll-top-icon:hover,
.ast-scroll-top-icon:focus {
  background: var(--kf-primary-dark) !important;
  color: var(--kf-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 150, 36, 0.34);
}

#ast-scroll-top .ast-icon,
#ast-scroll-top svg,
.ast-scroll-top-icon .ast-icon,
.ast-scroll-top-icon svg {
  display: none !important;
}

#ast-scroll-top::before,
.ast-scroll-top-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 14px;
  height: 14px;
  margin: 0 !important;
  border-top: 4px solid currentColor;
  border-left: 4px solid currentColor;
  transform: translate(-50%, -35%) rotate(45deg);
}

.kf-custom-footer {
  background: #101426;
}

.kf-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(160px, 0.7fr));
  gap: 36px;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 10px;
  text-align: left;
}

.kf-footer__logo {
  display: block;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kf-footer__brand p {
  max-width: 260px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.kf-footer__column h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kf-footer__column ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kf-footer__column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-decoration: none;
}

.kf-footer__column a:hover {
  color: #ffffff;
}

.kf-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0 32px 40px;
  overflow-y: auto;
  background: #0b2e1f;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.kf-mobile-menu.is-open {
  transform: translateX(0);
}

.kf-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  flex-shrink: 0;
}

.kf-mobile-menu__logo {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.kf-mobile-menu__logo img {
  width: auto;
  height: 36px;
  max-width: 180px;
  object-fit: contain;
}

.kf-mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.kf-mobile-menu__nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.kf-mobile-menu__item {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.kf-mobile-menu__item:last-child {
  border-bottom: 0;
}

.kf-mobile-menu__item:hover,
.kf-mobile-menu__item:focus,
.kf-mobile-menu__item:active {
  color: rgba(255, 255, 255, 0.6);
}

.kf-mobile-menu__footer {
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  text-align: center;
}

.kf-mobile-menu__overlay {
  display: none;
}

body.kf-mobile-menu-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .kf-mobile-menu,
  .kf-mobile-menu__overlay {
    display: none !important;
  }
}

.kf-footer__bottom {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 720px) {
  .kf-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .kf-footer__brand p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   Ticket popup (StubHub / Viagogo chooser)
   Shared across homepage and inner pages; previously duplicated
   in assets/css/{homepage,inner-pages}.css.
   ============================================================ */

.kf-ticket-popup {
  position: absolute;
  z-index: 1000;
  width: min(240px, calc(100vw - 32px));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.kf-ticket-popup.is-open {
  opacity: 1;
  transform: translateY(0);
}

.kf-ticket-popup__sheet {
  padding: 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.kf-ticket-popup__title {
  margin: 0 0 12px;
  color: var(--kf-text-primary);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.kf-ticket-popup__options {
  display: grid;
  gap: 10px;
}

.kf-ticket-popup__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.kf-ticket-popup__option--stubhub {
  background: #3f1d74;
}

.kf-ticket-popup__option--viagogo {
  background: #00c853;
}

.kf-ticket-popup__disclosure {
  margin: 10px 0 0;
  color: #94a3b8;
  font-size: 10px;
  text-align: center;
}

.kf-ticket-popup__handle {
  display: none;
  width: 44px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.8);
}

@media (max-width: 640px) {
  .kf-ticket-popup {
    position: fixed;
    inset: 0;
    width: 100vw;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    padding: 0;
    background: rgba(15, 23, 42, 0.28);
    transform: none;
  }

  .kf-ticket-popup.is-open {
    transform: none;
  }

  .kf-ticket-popup__sheet {
    width: 100%;
    min-height: 30vh;
    padding: 18px 16px 24px;
    border-radius: 18px 18px 0 0;
  }

  .kf-ticket-popup__handle {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kf-ticket-popup {
    transition: none;
  }
}
