/* =========================================================
   AfriWide Scholarships — Main Stylesheet
   Child of GeneratePress
   ========================================================= */

/* ── Google Fonts ──────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600&display=swap');

/* ── Design tokens ─────────────────────────────────────── */
:root {
  --aw-green:       #1B4332;
  --aw-green-mid:   #2D6A4F;
  --aw-green-light: #D1FAE5;
  --aw-amber:       #D97706;
  --aw-amber-light: #FEF3C7;
  --aw-red:         #E24B4A;
  --aw-bg:          #F7F6F2;
  --aw-white:       #ffffff;
  --aw-border:      #E0DDD5;
  --aw-text:        #1a1a1a;
  --aw-muted:       #666666;
  --aw-subtle:      #999999;
  --aw-radius-sm:   6px;
  --aw-radius-md:   10px;
  --aw-radius-lg:   12px;
  --aw-shadow:      0 1px 3px rgba(0,0,0,0.07);
}

/* ── Reset / base overrides ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--aw-bg);
  color: var(--aw-text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

a { color: var(--aw-green); }
a:hover { color: var(--aw-amber); }
img { max-width: 100%; height: auto; }

/* ── GeneratePress layout overrides ───────────────────── */
.site-content { padding-top: 0 !important; }
.inside-article { padding: 0; }
.entry-content { max-width: 100%; }
.sidebar-right #content { padding-right: 0; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header,
.site-header .inside-header {
  background: var(--aw-white) !important;
  border-bottom: 0.5px solid var(--aw-border);
  padding: 0 !important;
}

.site-header .inside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px !important;
  height: 60px;
}

.site-title a,
.site-branding .site-title a {
  font-family: 'Playfair Display', serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--aw-green) !important;
  text-decoration: none;
}

.site-title a span { color: var(--aw-amber); }

.main-navigation ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation ul li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--aw-muted);
  text-decoration: none;
  padding: 4px 0;
}

.main-navigation ul li a:hover { color: var(--aw-green); }

/* "Get Alerts" nav button — add CSS class nav-cta to the menu item */
.main-navigation ul li.nav-cta a {
  background: var(--aw-green);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: var(--aw-radius-sm);
}
.main-navigation ul li.nav-cta a:hover { background: var(--aw-green-mid); }

/* =========================================================
   HERO — appears on scholarship archive & front page
   ========================================================= */
.aw-hero {
  background: var(--aw-green);
  padding: 52px 24px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.aw-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 380px; height: 380px;
  background: var(--aw-amber);
  opacity: 0.05;
  border-radius: 50%;
  pointer-events: none;
}

.aw-hero-eyebrow {
  display: inline-block;
  background: rgba(217,119,6,0.18);
  color: #FCD34D;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.aw-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.aw-hero h1 em {
  font-style: normal;
  color: #FCD34D;
}

.aw-hero-sub {
  color: #9DD4B4;
  font-size: 15px;
  margin: 0 0 30px;
}

.aw-search-wrap {
  display: flex;
  max-width: 540px;
  margin: 0 auto 24px;
  background: #fff;
  border-radius: var(--aw-radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.aw-search-wrap input[type="search"],
.aw-search-wrap input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--aw-text);
  background: transparent;
  box-shadow: none;
}

.aw-search-btn {
  background: var(--aw-amber);
  color: #fff;
  border: none;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.aw-search-btn:hover { background: #B45309; }

.aw-hero-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.aw-hero-stat {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.aw-hero-stat strong { color: #fff; font-size: 15px; }

/* =========================================================
   FILTER TABS
   ========================================================= */
.aw-filter-bar {
  background: var(--aw-white);
  border-bottom: 0.5px solid var(--aw-border);
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: 60px;
  z-index: 9;
}

.aw-filter-bar::-webkit-scrollbar { display: none; }

.aw-tab {
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--aw-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s, border-color 0.15s;
}

.aw-tab:hover,
.aw-tab.current-cat,
.aw-tab.active {
  color: var(--aw-green);
  border-bottom-color: var(--aw-green);
  font-weight: 600;
}

/* =========================================================
   PAGE LAYOUT — archive & singular
   ========================================================= */
.aw-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .aw-layout { grid-template-columns: 1fr; }
  .aw-sidebar { display: none; } /* toggle via JS on mobile */
}

/* =========================================================
   SIDEBAR FILTERS
   ========================================================= */
.aw-sidebar {}

.aw-sidebar-section {
  background: var(--aw-white);
  border-radius: var(--aw-radius-md);
  border: 0.5px solid var(--aw-border);
  padding: 16px;
  margin-bottom: 14px;
}

.aw-sidebar-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--aw-subtle);
  margin: 0 0 12px;
}

.aw-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 13px;
  color: #444;
  user-select: none;
}

.aw-filter-option input[type="checkbox"] {
  accent-color: var(--aw-green);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.aw-filter-count {
  margin-left: auto;
  font-size: 11px;
  color: #aaa;
  background: #F0EDE6;
  padding: 1px 7px;
  border-radius: 10px;
}

/* =========================================================
   MAIN CONTENT AREA
   ========================================================= */
.aw-main {}

.aw-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.aw-result-count { font-size: 13px; color: var(--aw-muted); }
.aw-result-count strong { color: var(--aw-text); }

.aw-sort-select {
  font-size: 13px;
  border: 0.5px solid var(--aw-border);
  border-radius: var(--aw-radius-sm);
  padding: 6px 12px;
  color: #444;
  background: var(--aw-white);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

/* =========================================================
   IELTS AFFILIATE BANNER
   ========================================================= */
.aw-ielts-banner {
  background: var(--aw-green);
  border-radius: var(--aw-radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.aw-ielts-icon {
  width: 40px; height: 40px;
  background: var(--aw-amber);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; font-weight: 700;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}

.aw-ielts-text { flex: 1; min-width: 160px; }
.aw-ielts-text strong { font-size: 14px; color: #fff; display: block; }
.aw-ielts-text p { font-size: 12px; color: rgba(255,255,255,0.75); margin: 2px 0 0; }

.aw-ielts-cta {
  background: var(--aw-amber);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--aw-radius-sm);
  padding: 9px 16px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
}

.aw-ielts-cta:hover { background: #B45309; color: #fff; }

/* =========================================================
   SCHOLARSHIP CARDS
   ========================================================= */
.aw-cards { display: flex; flex-direction: column; gap: 14px; }

.aw-card {
  background: var(--aw-white);
  border-radius: var(--aw-radius-lg);
  border: 0.5px solid var(--aw-border);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 16px;
  align-items: start;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: inherit;
}

.aw-card:hover {
  border-color: var(--aw-green);
  box-shadow: 0 2px 12px rgba(27,67,50,0.08);
}

/* Tags row */
.aw-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 9px;
  align-items: center;
}

.aw-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.aw-tag-funded    { background: #D1FAE5; color: #065F46; }
.aw-tag-partial   { background: #FEF3C7; color: #92400E; }
.aw-tag-tuition   { background: #E0E7FF; color: #3730A3; }
.aw-tag-level     { background: #FEF3C7; color: #92400E; }
.aw-tag-open      { background: #ECFDF5; color: #059669; }
.aw-tag-urgent    { background: #FEE2E2; color: #991B1B; }
.aw-tag-country   { background: #F0EDE6; color: #555; }

/* Title */
.aw-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--aw-green);
  margin: 0 0 6px;
  line-height: 1.3;
}

/* Meta row */
.aw-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 9px;
  font-size: 12px;
  color: var(--aw-subtle);
}

.aw-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Excerpt */
.aw-card-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer actions */
.aw-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aw-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--aw-green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.aw-card-link:hover { text-decoration: underline; }

.aw-card-value {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--aw-amber);
}

/* ── Deadline ring ─────────────────────────────────────── */
.aw-deadline-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.aw-deadline-ring svg { display: block; overflow: visible; }

.aw-deadline-date {
  font-size: 10px;
  color: var(--aw-subtle);
  text-align: center;
  margin-top: 5px;
  line-height: 1.3;
}

/* =========================================================
   SINGLE SCHOLARSHIP POST
   ========================================================= */
.aw-single-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .aw-single-wrap { grid-template-columns: 1fr; }
}

/* Breadcrumb */
.aw-breadcrumb {
  font-size: 13px;
  color: var(--aw-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.aw-breadcrumb a { color: var(--aw-green); text-decoration: none; }
.aw-breadcrumb a:hover { text-decoration: underline; }
.aw-breadcrumb-sep { color: var(--aw-border); }

/* Post header */
.aw-post-header { margin-bottom: 24px; }

.aw-post-header .aw-card-tags { margin-bottom: 12px; }

.aw-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--aw-green);
  line-height: 1.2;
  margin: 0 0 12px;
}

.aw-post-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--aw-muted);
}

/* Post body */
.aw-post-body h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--aw-green);
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--aw-green-light);
}

.aw-post-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--aw-text);
  margin: 20px 0 8px;
}

.aw-post-body p { margin: 0 0 14px; }

.aw-post-body ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.aw-post-body ul li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.55;
}

.aw-post-body ul li::marker { color: var(--aw-green); }

.aw-post-body a {
  color: var(--aw-green);
  font-weight: 500;
}

/* Eligibility checklist */
.aw-checklist {
  background: var(--aw-green-light);
  border-radius: var(--aw-radius-md);
  padding: 16px 20px;
  margin: 0 0 20px;
  list-style: none;
}

.aw-checklist li {
  padding: 5px 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.aw-checklist li::before {
  content: '✓';
  color: var(--aw-green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Apply button */
.aw-apply-btn {
  display: inline-block;
  background: var(--aw-amber);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--aw-radius-md);
  text-decoration: none;
  margin: 8px 0 24px;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
}

.aw-apply-btn:hover { background: #B45309; color: #fff; }

/* Sidebar info box */
.aw-info-box {
  background: var(--aw-white);
  border-radius: var(--aw-radius-lg);
  border: 0.5px solid var(--aw-border);
  padding: 20px;
  position: sticky;
  top: 80px;
}

.aw-info-box-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--aw-subtle);
  margin-bottom: 14px;
}

.aw-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 0.5px solid var(--aw-border);
  font-size: 13px;
  gap: 10px;
}

.aw-info-row:last-child { border-bottom: none; }

.aw-info-label { color: var(--aw-muted); flex-shrink: 0; }

.aw-info-value {
  color: var(--aw-text);
  font-weight: 500;
  text-align: right;
}

/* Deadline countdown inside info box */
.aw-deadline-countdown {
  background: var(--aw-green);
  border-radius: var(--aw-radius-md);
  padding: 14px;
  text-align: center;
  margin-top: 16px;
}

.aw-countdown-days {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #FCD34D;
  line-height: 1;
}

.aw-countdown-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.aw-countdown-date {
  font-size: 12px;
  color: #9DD4B4;
  margin-top: 6px;
}

/* =========================================================
   EMAIL CAPTURE
   ========================================================= */
.aw-email-section {
  background: var(--aw-green);
  padding: 48px 24px;
  text-align: center;
}

.aw-email-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #fff;
  margin: 0 0 8px;
}

.aw-email-section p {
  color: #9DD4B4;
  font-size: 15px;
  margin: 0 0 24px;
}

.aw-email-form {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  gap: 0;
  border-radius: var(--aw-radius-md);
  overflow: hidden;
  background: #fff;
}

.aw-email-form input[type="email"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: transparent;
}

.aw-email-form button {
  background: var(--aw-amber);
  color: #fff;
  border: none;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.aw-email-form button:hover { background: #B45309; }

.aw-email-note {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.aw-about-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px;
}

.aw-about-hero {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.aw-about-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--aw-green);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #FCD34D;
  flex-shrink: 0;
}

.aw-about-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--aw-green);
  margin: 0 0 6px;
}

.aw-about-intro .aw-role {
  font-size: 14px;
  color: var(--aw-amber);
  font-weight: 600;
  margin-bottom: 10px;
}

.aw-about-intro p { color: var(--aw-muted); font-size: 15px; }

.aw-about-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--aw-green);
  margin: 32px 0 12px;
}

.aw-about-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 16px;
}

.aw-mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.aw-mission-card {
  background: var(--aw-white);
  border: 0.5px solid var(--aw-border);
  border-radius: var(--aw-radius-md);
  padding: 20px;
}

.aw-mission-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.aw-mission-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--aw-green);
  margin: 0 0 6px;
}

.aw-mission-card p {
  font-size: 13px;
  color: var(--aw-muted);
  margin: 0;
  line-height: 1.5;
}

/* =========================================================
   PRIVACY PAGE
   ========================================================= */
.aw-privacy-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.aw-privacy-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--aw-green);
  margin: 0 0 6px;
}

.aw-privacy-updated {
  font-size: 13px;
  color: var(--aw-muted);
  margin-bottom: 32px;
}

.aw-privacy-wrap h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--aw-green);
  margin: 28px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--aw-green-light);
}

.aw-privacy-wrap p,
.aw-privacy-wrap li {
  font-size: 14px;
  line-height: 1.75;
  color: #444;
}

.aw-privacy-wrap ul {
  margin: 8px 0 16px 20px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer,
.site-footer .inside-footer {
  background: var(--aw-green) !important;
  color: rgba(255,255,255,0.6) !important;
  padding: 0 !important;
}

.aw-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 640px) {
  .aw-footer-inner { grid-template-columns: 1fr; }
}

.aw-footer-brand .af-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.aw-footer-brand .af-logo span { color: var(--aw-amber); }

.aw-footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0;
}

.aw-footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
}

.aw-footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aw-footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.aw-footer-col ul li a:hover { color: #FCD34D; }

.aw-footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.aw-footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.aw-footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* =========================================================
   PAGINATION
   ========================================================= */
.aw-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}

.aw-pagination a,
.aw-pagination span {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--aw-radius-sm);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 0.5px solid var(--aw-border);
  color: var(--aw-muted);
  background: var(--aw-white);
  transition: all 0.15s;
}

.aw-pagination a:hover { border-color: var(--aw-green); color: var(--aw-green); }

.aw-pagination .current {
  background: var(--aw-green);
  color: #fff;
  border-color: var(--aw-green);
}

/* =========================================================
   UTILITIES
   ========================================================= */
.aw-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.aw-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Mobile ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .aw-hero h1 { font-size: 28px; }
  .aw-search-wrap { flex-direction: column; border-radius: var(--aw-radius-md); }
  .aw-search-btn { padding: 12px; border-radius: 0; }
  .aw-layout { padding: 16px; }
  .aw-card { grid-template-columns: 1fr; }
  .aw-deadline-ring { display: none; }
  .aw-single-wrap { padding: 20px 16px; }
  .aw-about-wrap, .aw-privacy-wrap { padding: 28px 16px; }
}

/* =========================================================
   GENERATEPRESS OVERRIDES — suppress unwanted elements
   ========================================================= */

/* Hide page title on scholarship/home pages */
.aw-archive-scholarship .entry-title,
.aw-page-about .entry-title,
.page-template-scholarships .entry-title,
.page-template-about .entry-title,
.page-template-privacy .entry-title,
body.page .entry-title:first-child {
  display: none !important;
}

/* Remove GP content padding so our full-width hero touches the nav */
.page-template-scholarships .site-content,
.page-template-scholarships .content-area,
.page-template-scholarships .inside-article,
.page-template-scholarships .entry-content,
.page-template-scholarships .entry-header,
.page-template-scholarships .post-navigation,
.page-template-about .site-content,
.page-template-about .inside-article,
.page-template-privacy .inside-article {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Remove GP container max-width on these pages */
.page-template-scholarships .site-main,
.page-template-scholarships #content {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Kill GP page hero if still showing */
.page-template-scholarships .page-hero-section,
.page-template-scholarships .generate-page-header {
  display: none !important;
}

/* Remove GP sidebar on our pages */
.page-template-scholarships .widget-area,
.page-template-about .widget-area,
.page-template-privacy .widget-area {
  display: none !important;
}

/* Force full-width layout on these templates */
.page-template-scholarships #content,
.page-template-about #content,
.page-template-privacy #content {
  width: 100% !important;
  float: none !important;
}

/* =========================================================
   FORCE HERO VISIBILITY — GP container override
   ========================================================= */

/* GP wraps page content in .entry-content which has padding/max-width.
   We need our hero to escape that and go full-width. */
.page-template-scholarships .entry-content > .aw-hero,
.page-template-scholarships .entry-content > .aw-filter-bar,
.page-template-scholarships .entry-content > .aw-layout,
.page-template-scholarships .entry-content > .aw-email-section {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Break out of GP's content width constraints */
.page-template-scholarships .entry-content,
.page-template-scholarships .inside-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* GP sometimes hides first child if it thinks it's a title */
.page-template-scholarships .entry-content > *:first-child {
  display: block !important;
  margin-top: 0 !important;
}

/* Ensure hero has proper stacking */
.aw-hero {
  position: relative;
  z-index: 1;
  display: block !important;
}

/* =========================================================
   SOCIAL LINKS & SHARE BUTTONS
   ========================================================= */

/* Footer social buttons */
.aw-social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aw-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: var(--aw-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
    font-family: 'Inter', sans-serif;
}

.aw-social-btn:hover { opacity: 0.85; }

.aw-social-fb {
    background: #1877F2;
    color: #fff !important;
}

.aw-social-tw {
    background: #000;
    color: #fff !important;
}

/* Share buttons on single scholarship posts */
.aw-share-section {
    margin: 32px 0 24px;
    padding: 20px;
    background: var(--aw-bg);
    border-radius: var(--aw-radius-md);
    border: 0.5px solid var(--aw-border);
}

.aw-share-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--aw-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.aw-share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aw-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--aw-radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.15s;
}

.aw-share-btn:hover { opacity: 0.85; }

.aw-share-fb  { background: #1877F2; color: #fff !important; }
.aw-share-tw  { background: #000;    color: #fff !important; }
.aw-share-wa  { background: #25D366; color: #fff !important; }
.aw-share-copy {
    background: var(--aw-white);
    color: var(--aw-green) !important;
    border: 1.5px solid var(--aw-green);
}

/* Nav social icons */
.aw-nav-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.aw-nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: var(--aw-muted) !important;
    transition: background 0.15s, color 0.15s;
}

.aw-nav-social a:hover {
    background: var(--aw-green);
    color: #fff !important;
}
