/*
Theme Name: Africa Pressé Agency
Theme URI: https://africapresseagency.org
Author: Africa Pressé Agency Team
Author URI: https://africapresseagency.org
Description: A vibrant, high-energy WordPress news theme custom crafted for Africa Pressé Agency. Features high-contrast bright branding, multi-category coverage (Sports, Entertainment, Fashion, Vlogs, College, Tech, Politics, Health, Movies, Jobs, Adverts, Books), Gift Card & Subscription modules, and Charities We Support showcase.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: news, magazine, sports, entertainment, fashion, vlogs, college, gift-cards, subscription, custom-colors, responsive-layout, featured-images, custom-menu, two-columns
Text Domain: africa-presse-agency
*/

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Logo Official Colors & Bright Color System */
  --brand-navy: #0B1C3D;
  --brand-navy-light: #162E5C;
  --brand-gold: #FFB703;
  --brand-gold-dark: #D97706;
  --brand-emerald: #00A86B;
  --brand-emerald-dark: #047857;
  --brand-emerald-light: #ECFDF5;
  --brand-cobalt: #2563EB;
  --brand-cobalt-light: #EFF6FF;
  --brand-crimson: #EF4444;
  --brand-magenta: #D946EF;
  --brand-purple: #8B5CF6;
  --brand-cyan: #06B6D4;
  --brand-lime: #84CC16;

  /* Bright Clean Backgrounds & Surfaces */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --border-color: #E2E8F0;
  --border-bright: #CBD5E1;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-inverse: #FFFFFF;

  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Global Reset & Base Typography */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-cobalt);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
a:hover {
  color: var(--brand-emerald);
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TOP UTILITY & TICKER BAR */
.apa-top-bar {
  background: linear-gradient(90deg, #0B1C3D 0%, #162E5C 100%);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 3px solid var(--brand-gold);
}
.apa-top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.apa-ticker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}
.apa-badge-live {
  background: var(--brand-crimson);
  color: #FFF;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  animation: pulse-live 2s infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(0.97); }
}

.apa-quick-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.apa-quick-links a {
  color: #F8FAFC;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.apa-quick-links a:hover {
  color: var(--brand-gold);
}
.apa-quick-btn {
  background: var(--brand-gold);
  color: var(--brand-navy) !important;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 800 !important;
  transition: all 0.2s ease;
}
.apa-quick-btn:hover {
  background: #FFF !important;
  color: var(--brand-navy) !important;
  box-shadow: 0 2px 10px rgba(255,183,3,0.4);
}

/* MAIN HEADER */
.apa-header {
  background-color: var(--bg-surface);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.apa-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.apa-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.apa-brand-logo img, .apa-brand-logo svg {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid var(--brand-gold);
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.25);
  background: #FFF;
}
.apa-brand-title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.apa-brand-title a {
  color: var(--brand-navy);
}
.apa-brand-title span.emerald {
  color: var(--brand-emerald);
}
.apa-brand-slogan {
  font-size: 0.88rem;
  color: var(--brand-gold-dark);
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-top: 0.3rem;
  max-width: 650px;
}

/* SEARCH & ACTION HEADER RIGHT */
.apa-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.apa-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  transition: border-color 0.2s ease;
}
.apa-search-form:focus-within {
  border-color: var(--brand-emerald);
  background: #FFF;
}
.apa-search-form input[type="search"] {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-main);
  width: 180px;
}
.apa-search-form button[type="submit"] {
  background: var(--brand-emerald);
  color: #FFF;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}
.apa-search-form button[type="submit"]:hover {
  background: var(--brand-cobalt);
}

/* MAIN NAVIGATION BAR */
.apa-nav {
  background: var(--brand-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(11, 28, 61, 0.2);
}
.apa-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.apa-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.apa-nav ul li {
  position: relative;
}
.apa-nav ul li a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.15rem;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}
.apa-nav ul li a:hover,
.apa-nav ul li.current-menu-item > a,
.apa-nav ul li.current-post-ancestor > a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-gold);
  border-bottom-color: var(--brand-emerald);
}

/* NAVIGATION DROPDOWNS */
.apa-nav ul li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--brand-navy-light);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 3px solid var(--brand-gold);
  padding: 0.5rem 0;
  z-index: 99;
}
.apa-nav ul li:hover > ul.sub-menu {
  display: block;
}
.apa-nav ul li ul.sub-menu li a {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
  border-bottom: none;
}
.apa-nav ul li ul.sub-menu li a:hover {
  background: var(--brand-emerald);
  color: #FFFFFF;
}

/* HERO DISPATCH SECTION */
.apa-hero-section {
  margin: 2rem 0 2.5rem;
}
.apa-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 1.5rem;
}
.apa-hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 480px;
  background: var(--brand-navy);
}
.apa-hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.apa-hero-main:hover img {
  transform: scale(1.03);
}
.apa-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(11, 28, 61, 0) 0%, rgba(11, 28, 61, 0.95) 75%, #0B1C3D 100%);
  padding: 2.5rem 2rem 2rem;
  color: #FFF;
}
.apa-category-pill {
  display: inline-block;
  background: var(--brand-emerald);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 168, 107, 0.4);
}
.apa-category-pill.sports { background: var(--brand-cobalt); }
.apa-category-pill.entertainment { background: var(--brand-magenta); }
.apa-category-pill.fashion { background: var(--brand-purple); }
.apa-category-pill.vlogs { background: var(--brand-cyan); }
.apa-category-pill.trends { background: var(--brand-lime); color: var(--brand-navy); }
.apa-category-pill.health { background: #10B981; }
.apa-category-pill.movies { background: #F59E0B; }
.apa-category-pill.jobs { background: #0284C7; }
.apa-category-pill.adverts { background: var(--brand-crimson); }

.apa-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0.5rem 0 1rem;
}
.apa-hero-title a {
  color: #FFFFFF;
}
.apa-hero-title a:hover {
  color: var(--brand-gold);
}

.apa-hero-subgrid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.apa-subhero-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.25 ease;
}
.apa-subhero-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-emerald);
  box-shadow: var(--shadow-md);
}
.apa-subhero-thumb {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-subtle);
}
.apa-subhero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.apa-subhero-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0.3rem 0 0.5rem;
  line-height: 1.35;
}
.apa-subhero-content h3 a {
  color: var(--text-main);
}
.apa-subhero-content h3 a:hover {
  color: var(--brand-cobalt);
}

/* SECTION TITLES & HEADERS */
.apa-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--brand-emerald);
  padding-bottom: 0.6rem;
  margin-bottom: 1.75rem;
}
.apa-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.apa-section-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 24px;
  background: var(--brand-gold);
  border-radius: 4px;
}

/* MAIN CONTENT GRID LAYOUT */
.apa-main-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

/* CARDS & DISPATCH CARDS */
.apa-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.75rem;
}
.apa-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.apa-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-emerald);
  box-shadow: var(--shadow-md);
}
.apa-card-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--brand-navy);
}
.apa-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.apa-card:hover .apa-card-image img {
  transform: scale(1.05);
}
.apa-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.apa-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0.6rem 0 0.75rem;
}
.apa-card-title a {
  color: var(--text-main);
}
.apa-card-title a:hover {
  color: var(--brand-cobalt);
}
.apa-card-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.apa-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
  padding-top: 0.85rem;
  font-weight: 600;
}

/* CHARITIES WE SUPPORT FEATURE BLOCK */
.apa-charities-block {
  background: linear-gradient(135deg, #ECFDF5 0%, #EFF6FF 100%);
  border: 3px solid var(--brand-emerald);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-md);
}
.apa-charities-header {
  text-align: center;
  margin-bottom: 2rem;
}
.apa-charities-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-navy);
  margin: 0 0 0.5rem;
}
.apa-charities-header p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
}
.apa-charities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.apa-charity-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 2px solid var(--border-bright);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.apa-charity-card:hover {
  border-color: var(--brand-gold-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.apa-charity-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--brand-emerald-light);
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.apa-charity-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 0.5rem;
}
.apa-charity-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* GIFT CARD PAGE & BANNER STYLES */
.apa-giftcard-banner {
  background: linear-gradient(135deg, #0B1C3D 0%, #162E5C 50%, #00A86B 100%);
  color: #FFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  margin: 2rem 0 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}
.apa-giftcard-badge {
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-weight: 900;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.apa-giftcard-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.apa-giftcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.apa-giftcard-card {
  background: #FFF;
  border: 3px solid var(--brand-gold);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.apa-giftcard-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-emerald);
  margin: 0.5rem 0;
}
.apa-btn-bright {
  display: inline-block;
  background: var(--brand-emerald);
  color: #FFF;
  font-weight: 800;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 168, 107, 0.4);
  transition: all 0.25s ease;
  text-align: center;
}
.apa-btn-bright:hover {
  background: var(--brand-cobalt);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.apa-btn-gold {
  background: var(--brand-gold);
  color: var(--brand-navy);
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
}
.apa-btn-gold:hover {
  background: #FFF;
  color: var(--brand-navy);
}

/* SUBSCRIPTION TIERS */
.apa-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}
.apa-sub-card {
  background: var(--bg-surface);
  border: 3px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.apa-sub-card.popular {
  border-color: var(--brand-emerald);
  box-shadow: 0 10px 30px rgba(0, 168, 107, 0.2);
}
.apa-sub-popular-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-emerald);
  color: #FFF;
  font-weight: 900;
  padding: 0.3rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  text-transform: uppercase;
}
.apa-sub-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--brand-navy);
  margin: 1rem 0;
}
.apa-sub-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  text-align: left;
}
.apa-sub-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.apa-sub-features li::before {
  content: "✓";
  color: var(--brand-emerald);
  font-weight: 900;
}

/* SIDEBAR WIDGETS */
.widget {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brand-navy);
  border-bottom: 3px solid var(--brand-gold);
  padding-bottom: 0.5rem;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SINGLE ARTICLE READABILITY */
.entry-header {
  margin-bottom: 2rem;
}
.entry-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-navy);
  margin: 0.75rem 0 1rem;
}
.entry-content {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.85;
  color: #1E293B;
}
.entry-content p {
  margin-bottom: 1.75rem;
}
.entry-content blockquote {
  border-left: 5px solid var(--brand-emerald);
  background: var(--brand-emerald-light);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--brand-navy);
  font-style: italic;
  font-size: 1.3rem;
  margin: 2rem 0;
}

/* FOOTER */
.apa-footer {
  background: linear-gradient(180deg, #0B1C3D 0%, #061126 100%);
  color: #CBD5E1;
  padding: 4rem 0 2rem;
  border-top: 5px solid var(--brand-emerald);
  margin-top: 5rem;
}
.apa-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.apa-footer-col h3, .apa-footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 900;
  border-bottom: 2px solid var(--brand-gold);
  padding-bottom: 0.5rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.apa-footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}
.apa-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.apa-footer-col ul li {
  margin-bottom: 0.6rem;
}
.apa-footer-col ul li a {
  color: #94A3B8;
  font-size: 0.9rem;
}
.apa-footer-col ul li a:hover {
  color: var(--brand-gold);
}
.apa-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: #94A3B8;
}

/* HANGING STICKY HEADER (HANGS ON SCROLL DOWNWARDS) */
.apa-header-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: var(--bg-surface);
  box-shadow: 0 4px 15px rgba(11, 28, 61, 0.12);
  transition: box-shadow 0.3s ease;
}

.apa-logo-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid var(--brand-gold);
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.25);
  background: #FFF;
}

.apa-mobile-toggle {
  display: none;
  background: var(--brand-navy);
  border: 2px solid var(--brand-gold);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
}
.apa-mobile-toggle .hamburger-bar {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--brand-gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE STICKY BOTTOM NAVIGATION BAR (HIDDEN ON PC / DESKTOP MODE) */
.apa-mobile-bottom-nav {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: #0B1C3D;
  border-top: 3px solid var(--brand-gold);
  z-index: 9999;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  gap: 2px;
  cursor: pointer;
  flex: 1;
  height: 100%;
}
.mobile-nav-item .nav-icon {
  font-size: 1.2rem;
}
.mobile-nav-item.active, .mobile-nav-item:hover {
  color: var(--brand-gold);
  background: rgba(255, 255, 255, 0.05);
}

.apa-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* RESPONSIVE BREAKPOINTS & MOBILE ALIGNMENTS */
@media (max-width: 992px) {
  .apa-mobile-toggle {
    display: flex;
  }
  .apa-nav {
    display: none;
  }
  .apa-nav.mobile-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-navy);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 80vh;
    overflow-y: auto;
    border-top: 3px solid var(--brand-gold);
    animation: fadeIn 0.25s ease-in-out;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .apa-nav ul.nav-links {
    flex-direction: column;
  }
  .apa-nav ul li a {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .apa-nav ul li ul.sub-menu {
    position: static;
    display: block;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: none;
    padding-left: 1.25rem;
    border-top: none;
  }
}

@media (max-width: 992px) {
  .apa-mobile-bottom-nav {
    display: flex !important;
  }
  body {
    padding-bottom: 65px;
  }
}

@media (min-width: 993px) {
  .apa-mobile-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .apa-top-bar {
    display: block;
    padding: 0.35rem 0;
    font-size: 0.78rem;
  }
  .apa-top-bar-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
  }
  .apa-ticker {
    display: flex;
    justify-content: center;
    max-width: 100%;
    font-size: 0.75rem;
    text-align: center;
  }
  .apa-quick-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.65rem;
    max-width: 100%;
  }
  .top-bar-divider {
    display: none;
  }
  .apa-header-date {
    display: inline-block;
    text-align: center;
    font-size: 0.76rem;
    color: var(--brand-gold);
    white-space: normal;
    max-width: 100%;
    word-break: break-word;
    margin-top: 0.15rem;
  }
  .apa-header {
    padding: 0.75rem 0;
  }
  .apa-header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  .apa-brand {
    gap: 0.65rem;
    align-items: center;
  }
  .apa-logo-img {
    width: 46px;
    height: 46px;
    border-radius: 8px;
  }
  .apa-brand-title {
    font-size: 1.15rem;
    line-height: 1.15;
  }
  .apa-brand-slogan {
    display: block;
    font-size: 0.72rem;
    line-height: 1.25;
    margin-top: 0.2rem;
    color: var(--brand-gold-dark);
    font-weight: 700;
  }
  .apa-search-form input[type="search"] {
    width: 110px;
  }
  .apa-hero-grid, .apa-main-layout, .apa-giftcard-banner, .apa-charities-grid, .apa-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .apa-hero-main {
    min-height: 260px;
    max-height: 320px;
  }
  .apa-hero-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  .apa-subhero-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
  }
  .apa-subhero-thumb {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 8px;
  }
  .apa-subhero-content h3 {
    font-size: 0.9rem;
    margin: 0.2rem 0;
    line-height: 1.3;
  }
  .apa-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .apa-card-image {
    height: 180px;
  }
  .apa-card-body {
    padding: 1.15rem;
  }
  .apa-card-title {
    font-size: 1.1rem;
  }
  .apa-spotlight-block {
    padding: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }
  .apa-brand-title {
    font-size: 1.05rem;
  }
  .apa-search-form {
    display: none; /* Accessible in drawer */
  }
  .apa-giftcard-title {
    font-size: 1.6rem;
  }
  .apa-btn-bright {
    width: 100%;
    padding: 0.75rem 1.25rem;
  }
}



