/* Fonts are loaded via assets/css/fonts.css which is enqueued separately. */

:root {
    --primary: #feee16;
    --secondary-blue: #137cbe;
    --accent-blue: #22a2dc;
    --background-light: #f8f8f5;
    --background-dark: #000000;
    --football-blue: #137cbe;
    --football-light-blue: #22a2dc;
}

body {
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
.font-playful,
.headline-font {
    font-family: 'Love Ya Like a Sister', cursive;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-secondary-blue {
    background-color: var(--secondary-blue) !important;
}

.text-secondary-blue {
    color: var(--secondary-blue) !important;
}

.bg-background-light {
    background-color: var(--background-light) !important;
}

.bg-background-dark {
    background-color: var(--background-dark) !important;
}

.text-football-blue {
    color: var(--football-blue) !important;
}

.bg-football-blue {
    background-color: var(--football-blue) !important;
}

.text-football-light-blue {
    color: var(--football-light-blue) !important;
}

.bg-football-light-blue {
    background-color: var(--football-light-blue) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.program-hero-img {
    background-size: cover;
    background-position: center;
}

.text-background-dark {
    color: var(--background-dark) !important;
}

.site-name-text {
    font-weight: 800;
    letter-spacing: -0.02em;
}

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: white;
    border: 2px solid #feee16;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
}

#back-to-top span {
    color: #0f172a;
    font-size: 2rem;
}

.translate-x-full {
    transform: translateX(100%);
}

.opacity-0 {
    opacity: 0;
}

.pointer-events-none {
    pointer-events: none;
}

.screen-reader-text {
    position: absolute;
    left: -10000px;
}

/* ── Link reset: navigation & footer links ────────────────────────────────
 * Tailwind's preflight sets `a { color: inherit; text-decoration: inherit; }`
 * These rules provide the same guarantee even before Tailwind loads and
 * override any WordPress default link styles. */
nav a,
nav a:visited,
nav a:hover,
nav a:focus,
.site-nav a,
.site-nav a:visited,
header a:not(.cs-cta-btn, button),
footer a,
footer a:visited {
    color: inherit;
    text-decoration: none;
}

/* WordPress nav_menu renders <a> inside <li class="menu-item"> */
.menu-item a,
.menu-item a:visited {
    color: inherit;
    text-decoration: none;
}

/* Mobile nav links */
#mobile-menu nav a,
#mobile-menu nav a:visited {
    color: inherit;
    text-decoration: none;
}

/* Avatar dropdown links */
#cs-avatar-dropdown a,
#cs-avatar-dropdown a:visited {
    text-decoration: none;
}

.cubssport-ui-lock {
    overflow: hidden;
}

#cubssport-ui-modal-root {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.cubssport-ui-hidden {
    display: none !important;
}

.cubssport-ui-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(10px);
}

.cubssport-ui-modal-panel {
    position: relative;
    width: min(100%, 34rem);
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.25);
    padding: 1.5rem;
    z-index: 1;
}

.cubssport-ui-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 0;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
}

.cubssport-ui-modal-title {
    margin: 0 2rem 1rem 0;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #0f172a;
}

.cubssport-ui-modal-message {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cubssport-ui-modal-message p {
    margin: 0;
}

.cubssport-ui-modal-actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cubssport-ui-btn {
    border: 0;
    border-radius: 9999px;
    padding: 0.85rem 1.25rem;
    background: #137cbe;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.cubssport-ui-btn-muted {
    background: #e2e8f0;
    color: #1e293b;
}

#cubssport-ui-toast-root {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.cubssport-ui-toast {
    min-width: 16rem;
    max-width: 24rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
    transform: translateY(8px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cubssport-ui-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cubssport-ui-toast-success {
    background: linear-gradient(135deg, #059669, #10b981);
}

.cubssport-ui-toast-error {
    background: linear-gradient(135deg, #dc2626, #f87171);
}

.cubssport-ui-toast-info {
    background: linear-gradient(135deg, #137cbe, #22a2dc);
}

.mcb-calendar-event {
    border: 0 !important;
    border-radius: 0.75rem !important;
    padding: 0.2rem 0.45rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
