/* ========================================
   ALL FUNDAMENTALS BASKETBALL CAMP
   WordPress.com Additional CSS — Full Theme
   ======================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Oswald:wght@400;600;700&display=swap');

/* ========================================
   ROOT VARIABLES
   ======================================== */
:root {
  --afbc-blue:   #0F449C;
  --afbc-orange: #FC3A01;
  --afbc-dark:   #111827;
  --afbc-light:  #f4f6f9;
  --afbc-gray:   #6b7280;
  --font-main:   'Montserrat', sans-serif;
  --font-display:'Oswald', 'Impact', sans-serif;
}

/* ========================================
   GLOBAL CONTAINER
   ======================================== */
.afbc-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.afbc-section {
  margin: 50px 0;
  padding: 20px 0;
}

.afbc-section-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: var(--afbc-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 40px 0;
  line-height: 1.1;
}

/* ========================================
   HERO SECTION
   ======================================== */
.afbc-hero {
  background: linear-gradient(150deg, var(--afbc-blue) 0%, #071f54 100%);
  padding: 60px 30px 50px;
  text-align: center;
  border-radius: 16px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.afbc-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(252, 58, 1, 0.12);
  pointer-events: none;
}

.afbc-hero::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.afbc-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.afbc-tagline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--afbc-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ========================================
   SCOREBOARD / CAMP CARDS
   ======================================== */
.afbc-scoreboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 10px 0 40px;
}

/* Force 3 equal columns on large screens when 3+ cards present */
@media (min-width: 1200px) {
  .afbc-scoreboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 2 columns on medium screens */
@media (min-width: 769px) and (max-width: 1199px) {
  .afbc-scoreboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.afbc-scoreboard-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 28px 28px;
  box-shadow: 0 4px 24px rgba(15, 68, 156, 0.10);
  position: relative;
  overflow: hidden;
  border: 2px solid #e8edf5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.afbc-scoreboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(252, 58, 1, 0.18);
}

/* Top accent bar */
.afbc-scoreboard-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--afbc-orange) 0%, var(--afbc-blue) 100%);
}

.afbc-scoreboard-header {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--afbc-light);
}

.afbc-scoreboard-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--afbc-blue);
  margin: 0 0 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.afbc-scoreboard-location {
  color: var(--afbc-gray);
  font-size: 0.9rem;
  margin: 4px 0 0;
  font-family: var(--font-main);
  font-weight: 600;
}

.afbc-scoreboard-date {
  text-align: center;
  color: var(--afbc-dark);
  font-size: 1.05rem;
  margin: 14px 0 0;
  font-weight: 700;
  font-family: var(--font-main);
}

/* ========================================
   COUNTDOWN TIMER — "Countdown Timer & Clock" plugin
   by Devplex (install from Plugins > Add New)
   Scoped inside .afbc-scoreboard-card so it only
   applies to timers placed inside the camp cards.
   ======================================== */

/* Strip all plugin default styling from the wrapper */
.afbc-scoreboard-card .ctc-container,
.afbc-scoreboard-card .ctc_widget_countdown,
.afbc-scoreboard-card [class*="ctc"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 18px 0 0 !important;
  text-align: center !important;
}

/* The 4-unit grid row */
.afbc-scoreboard-card .ctc-container .ctc-digits,
.afbc-scoreboard-card .ctc-digits {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Each individual time unit tile */
.afbc-scoreboard-card .ctc-digit-block,
.afbc-scoreboard-card .ctc_timer_block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--afbc-light) !important;
  border: 2px solid #dce5f3 !important;
  border-radius: 10px !important;
  padding: 12px 6px !important;
  min-height: 74px !important;
  transition: border-color 0.2s ease !important;
}

.afbc-scoreboard-card .ctc-digit-block:hover,
.afbc-scoreboard-card .ctc_timer_block:hover {
  border-color: var(--afbc-blue) !important;
}

/* The number */
.afbc-scoreboard-card .ctc-digit,
.afbc-scoreboard-card .ctc_timer_number,
.afbc-scoreboard-card .ctc-number {
  font-family: var(--font-display) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--afbc-orange) !important;
  line-height: 1 !important;
  display: block !important;
  margin: 0 0 4px !important;
  background: transparent !important;
  border: none !important;
}

/* The label */
.afbc-scoreboard-card .ctc-label,
.afbc-scoreboard-card .ctc_timer_label,
.afbc-scoreboard-card .ctc-unit {
  font-family: var(--font-main) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: var(--afbc-gray) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  display: block !important;
  background: transparent !important;
}

/* Hide any "expired" or heading text the plugin may show */
.afbc-scoreboard-card .ctc-heading,
.afbc-scoreboard-card .ctc-expired-text,
.afbc-scoreboard-card .ctc_timer_title {
  display: none !important;
}

/* -------------------------------------------------------
   FALLBACK: Jetpack Event Countdown
   If you prefer to keep using Jetpack, this block still
   works. Both sets of rules can coexist safely.
   ------------------------------------------------------- */
.afbc-scoreboard-card .wp-block-jetpack-event-countdown {
  margin: 18px 0 0;
  padding: 0;
  background: transparent;
  text-align: center;
}

.afbc-scoreboard-card .event-countdown__event-title,
.afbc-scoreboard-card .event-countdown__date {
  display: none !important;
}

.afbc-scoreboard-card .event-countdown__counter {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.afbc-scoreboard-card .event-countdown__counter p {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--afbc-light) !important;
  border: 2px solid #dce5f3 !important;
  border-radius: 10px !important;
  padding: 12px 6px !important;
  margin: 0 !important;
  min-height: 74px !important;
  transition: border-color 0.2s ease !important;
}

.afbc-scoreboard-card .event-countdown__counter p:hover {
  border-color: var(--afbc-blue) !important;
}

.afbc-scoreboard-card .event-countdown__counter strong,
.afbc-scoreboard-card .event-countdown__day,
.afbc-scoreboard-card .event-countdown__hour,
.afbc-scoreboard-card .event-countdown__minute,
.afbc-scoreboard-card .event-countdown__second {
  font-family: var(--font-display) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--afbc-orange) !important;
  line-height: 1 !important;
  display: block !important;
  margin: 0 0 4px !important;
}

.afbc-scoreboard-card .event-countdown__counter span,
.afbc-scoreboard-card .event-countdown__counter p > span {
  font-family: var(--font-main) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: var(--afbc-gray) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  display: block !important;
}

/* ========================================
   SMASH BALLOON INSTAGRAM FEED
   Scoped so it only affects the feed inside
   .afbc-instagram-wrapper
   ======================================== */

/* Override Smash Balloon's default header/follow button colors */
.afbc-instagram-wrapper #sb_instagram .sbi_header_text h3,
.afbc-instagram-wrapper #sb_instagram .sbi_header_text p {
  color: var(--afbc-dark) !important;
  font-family: var(--font-main) !important;
}

.afbc-instagram-wrapper #sb_instagram #sbi_load .sbi_load_btn,
.afbc-instagram-wrapper .sbi_follow_btn a {
  background: var(--afbc-blue) !important;
  border-color: var(--afbc-blue) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  border-radius: 10px !important;
  transition: background 0.2s ease !important;
}

.afbc-instagram-wrapper #sb_instagram #sbi_load .sbi_load_btn:hover,
.afbc-instagram-wrapper .sbi_follow_btn a:hover {
  background: var(--afbc-orange) !important;
  border-color: var(--afbc-orange) !important;
}

/* ========================================
   BUTTONS
   ======================================== */
.afbc-btn {
  display: block;
  width: 100%;
  padding: 15px 30px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.06em;
  box-sizing: border-box;
  transition: all 0.25s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.afbc-btn-primary {
  background: var(--afbc-orange);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(252, 58, 1, 0.30);
}

.afbc-btn-primary:hover {
  background: #d93200;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(252, 58, 1, 0.45);
  color: #fff !important;
  text-decoration: none;
}

.afbc-btn-secondary {
  background: var(--afbc-blue);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(15, 68, 156, 0.28);
}

.afbc-btn-secondary:hover {
  background: #0b3280;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 68, 156, 0.42);
  color: #fff !important;
  text-decoration: none;
}

/* Download/Flier button variant - slightly smaller and subtler */
.afbc-btn-secondary + .afbc-btn-secondary,
.afbc-scoreboard-card a[download] {
  font-size: 0.95rem;
  padding: 12px 28px;
  opacity: 0.92;
}

.afbc-scoreboard-card a[download]:hover {
  opacity: 1;
}

/* Price badge inside button */
.afbc-btn-price {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 8px;
  font-size: 0.9em;
  vertical-align: middle;
}

/* ========================================
   WHAT TO WEAR & BRING SECTION
   ======================================== */
.afbc-wear-bring-card {
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 14px;
  padding: 36px 32px;
  margin: 10px 0;
  box-shadow: 0 4px 20px rgba(15, 68, 156, 0.08);
}

.afbc-wear-bring-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}

.afbc-wear-bring-column {
  background: var(--afbc-light);
  border-radius: 10px;
  padding: 24px 22px;
}

.afbc-wear-bring-subtitle {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--afbc-blue);
  margin: 0 0 16px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.afbc-wear-bring-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.afbc-wear-bring-list li {
  padding: 10px 0;
  color: #374151;
  font-size: 1rem;
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.5;
  border-bottom: 1px solid rgba(15, 68, 156, 0.08);
}

.afbc-wear-bring-list li:last-child {
  border-bottom: none;
}

.afbc-wear-bring-highlight {
  background: linear-gradient(135deg, var(--afbc-orange) 0%, #e33401 100%);
  border-radius: 10px;
  padding: 20px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(252, 58, 1, 0.25);
}

.afbc-wear-bring-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.afbc-wear-bring-highlight p {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: #fff;
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

.afbc-wear-bring-highlight strong {
  font-weight: 700;
}

/* ========================================
   WHAT TO EXPERIENCE & LEARN — BENTO GRID
   ======================================== */
.afbc-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 10px 0;
}

.afbc-bento-card {
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.afbc-bento-card:hover {
  border-color: var(--afbc-blue);
  box-shadow: 0 8px 28px rgba(15, 68, 156, 0.12);
  transform: translateY(-3px);
}

.afbc-bento-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 5px; height: 100%;
  background: var(--afbc-orange);
  border-radius: 14px 0 0 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.afbc-bento-card:hover::after {
  opacity: 1;
}

.afbc-bento-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--afbc-blue);
  margin: 0 0 20px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

.afbc-bento-list li {
  padding: 11px 0 11px 28px;
  color: #374151;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--afbc-light);
  position: relative;
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.4;
}

.afbc-bento-list li:last-child {
  border-bottom: none;
}

.afbc-bento-list li::before {
  content: '🏀';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ========================================
   BIO / ABOUT SECTION
   ======================================== */
.afbc-bio-section {
  background: var(--afbc-light);
  border-radius: 14px;
  padding: 40px;
  margin: 30px 0;
}

.afbc-bio-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--afbc-blue);
  margin: 0 0 18px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.afbc-bio-text {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 14px;
}

.afbc-bio-text:last-child {
  margin-bottom: 0;
}

.afbc-bio-highlight {
  background: #fff;
  border-left: 5px solid var(--afbc-orange);
  padding: 18px 22px;
  margin: 20px 0;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.afbc-bio-highlight p {
  margin: 0;
}

.afbc-founder-photo-wrapper {
  text-align: center;
  margin-bottom: 28px;
}

.afbc-founder-photo {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 5px solid var(--afbc-orange);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  margin: 0 auto;
}

.afbc-founder-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 40px rgba(252, 58, 1, 0.28);
}

/* ========================================
   DAN CROSS HIGHLIGHTS & PORTFOLIO
   ======================================== */

/* Portfolio link banner at top */
.afbc-portfolio-banner {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8edf5 100%);
  border: 2px solid var(--afbc-blue);
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(15, 68, 156, 0.12);
}

.afbc-portfolio-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.afbc-portfolio-text {
  flex: 1;
  min-width: 280px;
}

.afbc-portfolio-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--afbc-blue);
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.afbc-portfolio-description {
  font-family: var(--font-main);
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
}

.afbc-portfolio-content .afbc-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Highlights video grid */
.afbc-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 10px 0;
}

/* When 3 videos, center the last one on large screens */
@media (min-width: 900px) {
  .afbc-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .afbc-highlights-grid .afbc-highlight-card:last-child:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

.afbc-highlight-card {
  background: #fff;
  border: 2px solid #e8edf5;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.afbc-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 68, 156, 0.18);
  border-color: var(--afbc-blue);
  text-decoration: none;
}

.afbc-highlight-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  overflow: hidden;
}

.afbc-highlight-video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.afbc-highlight-card:hover .afbc-highlight-video img {
  transform: scale(1.05);
}

/* Play button overlay */
.afbc-highlight-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
  pointer-events: none;
}

.afbc-highlight-card:hover .afbc-highlight-play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.afbc-highlight-play-icon {
  width: 70px;
  height: 70px;
  background: var(--afbc-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  padding-left: 5px; /* Optical centering for play triangle */
  box-shadow: 0 4px 20px rgba(252, 58, 1, 0.4);
  transition: all 0.3s ease;
}

.afbc-highlight-card:hover .afbc-highlight-play-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(252, 58, 1, 0.6);
}

.afbc-highlight-video iframe,
.afbc-highlight-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.afbc-highlight-info {
  padding: 20px 22px;
}

.afbc-highlight-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--afbc-blue);
  margin: 0 0 8px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.afbc-highlight-description {
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--afbc-gray);
  line-height: 1.5;
  margin: 0;
}

/* Placeholder state (if using alternative version) */
.afbc-highlights-placeholder {
  background: var(--afbc-light);
  border-radius: 14px;
  border: 2px dashed #dce5f3;
  margin: 10px 0;
}

/* ========================================
   INSTAGRAM / SOCIAL SECTION
   ======================================== */
.afbc-instagram-wrapper {
  background: var(--afbc-light);
  border-radius: 14px;
  padding: 36px 28px;
  margin: 10px 0;
  text-align: center;
}

.afbc-instagram-wrapper p {
  font-family: var(--font-main);
  color: var(--afbc-gray);
  margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.afbc-footer {
  background: var(--afbc-dark);
  color: #fff;
  padding: 48px 32px 36px;
  text-align: center;
  border-radius: 16px;
  margin-top: 50px;
}

.afbc-footer-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--afbc-orange);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.afbc-footer p {
  font-family: var(--font-main);
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin: 0 0 12px;
  line-height: 1.6;
}

.afbc-footer-link {
  color: var(--afbc-orange) !important;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.afbc-footer-link:hover {
  color: #fff !important;
  text-decoration: underline;
}

.afbc-footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 24px 0 18px;
}

.afbc-footer-legal {
  font-size: 0.82rem !important;
  opacity: 0.55;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .afbc-section-title {
    font-size: 1.8rem;
  }

  .afbc-scoreboard-title {
    font-size: 1.4rem;
  }

  .afbc-hero {
    padding: 40px 20px 36px;
  }

  .afbc-bio-section {
    padding: 28px 22px;
  }

  /* Countdown Timer & Clock plugin + Jetpack fallback */
  .afbc-scoreboard-card .ctc-digits,
  .afbc-scoreboard-card .event-countdown__counter {
    gap: 5px !important;
  }

  .afbc-scoreboard-card .ctc-digit,
  .afbc-scoreboard-card .ctc_timer_number,
  .afbc-scoreboard-card .ctc-number,
  .afbc-scoreboard-card .event-countdown__counter strong,
  .afbc-scoreboard-card .event-countdown__day,
  .afbc-scoreboard-card .event-countdown__hour,
  .afbc-scoreboard-card .event-countdown__minute,
  .afbc-scoreboard-card .event-countdown__second {
    font-size: 1.5rem !important;
  }

  .afbc-bento-grid {
    grid-template-columns: 1fr;
  }

  .afbc-scoreboard-grid {
    grid-template-columns: 1fr;
  }

  .afbc-tagline {
    font-size: 1rem;
  }

  .afbc-wear-bring-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .afbc-wear-bring-highlight {
    flex-direction: column;
    gap: 8px;
  }

  .afbc-portfolio-banner {
    padding: 24px 22px;
  }

  .afbc-portfolio-content {
    flex-direction: column;
    text-align: center;
  }

  .afbc-portfolio-content .afbc-btn {
    width: 100%;
    max-width: none !important;
  }

  .afbc-highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .afbc-container {
    padding: 12px;
  }

  .afbc-scoreboard-card {
    padding: 22px 18px 18px;
  }

  .afbc-bento-card {
    padding: 24px 20px;
  }

  .afbc-footer {
    padding: 36px 20px 28px;
  }

  .afbc-wear-bring-card {
    padding: 28px 20px;
  }

  .afbc-wear-bring-column {
    padding: 20px 18px;
  }
}