/*
Theme Name: UK Black Stars
Theme URI: https://ukblackstars.com
Author: UK Black Stars
Author URI: https://ukblackstars.com
Description: Custom theme for UK Black Stars 2026 — Celebrating 100 British-Ghanaians of Influence.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uk-black-stars
Tags: one-page, custom-menu, featured-images
*/

/* ============================================
   UK Black Stars — Landing Page Styles
   Ghana-inspired: black, gold, cream, green accent
   ============================================ */

:root {
  --black: #0d0d0d;
  --black-soft: #1a1a1a;
  --purple: #703374;
  --purple-dark: #631957;
  --purple-soft: #8a4490;
  --purple-glow: rgba(112, 51, 116, 0.4);
  --hm-magenta: #A90B8F;
  --hm-pink: #D06CB7;
  --hm-blue: #1D51C6;
  --hm-blue-light: #1B86E9;
  --hm-orange: #C84814;
  --hm-grey: #ACACAC;
  --gold: #c9a227;
  --gold-light: #e5c84a;
  --cream: #f5f0e8;
  --cream-dark: #e8e2d8;
  --green: #006b3f;
  --red: #a82a2a;
  --red-soft: rgba(168, 42, 42, 0.12);
  --divider: rgba(112, 51, 116, 0.5);
  --divider-glow: 0 0 20px rgba(112, 51, 116, 0.25), 0 0 40px rgba(112, 51, 116, 0.12);
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --radius: 8px;
  --radius-lg: 16px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Bebas Neue', sans-serif;
  --transition: 0.2s ease;
  /* Corner star cluster, fades toward centre — top-right (light pages) */
  --stars-corner: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Cdefs%3E%3CradialGradient id='fade' cx='100%25' cy='0%25' r='100%25' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.5' stop-color='%23fff' stop-opacity='0.2'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='320' height='320' fill='url(%23fade)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)' fill='%230d0d0d' fill-opacity='0.5'%3E%3Cpath d='M280 24l2.2 6.8H290l-5.2 3.8 2 6.2-5.4-4-5.4 4 2-6.2-5.2-3.8h7.8L280 24z'/%3E%3Cpath d='M240 56l1.8 5.5h6.2l-5 3 1.6 5-4.4-3.2-4.4 3.2 1.6-5-5-3h6.2L240 56z'/%3E%3Cpath d='M300 72l1.4 4.2h4.4l-3.6 2.6 1.4 4.4-3.6-2.6-3.6 2.6 1.4-4.4-3.6-2.6h4.4L300 72z'/%3E%3Cpath d='M260 96l1.2 3.6h3.6l-2.8 2 1.2 3.8-2.8-2-2.8 2 1.2-3.8-2.8-2h3.6L260 96z'/%3E%3Cpath d='M310 120l1 3h3l-2.4 1.8 1 3.2-2.4-1.8-2.4 1.8 1-3.2-2.4-1.8h3L310 120z'/%3E%3C/g%3E%3C/svg%3E");
  /* Same for dark sections (cream/gold stars) */
  --stars-corner-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Cdefs%3E%3CradialGradient id='fade' cx='100%25' cy='0%25' r='100%25' gradientUnits='objectBoundingBox'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.5' stop-color='%23fff' stop-opacity='0.2'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='320' height='320' fill='url(%23fade)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)' fill='%23f5f0e8' fill-opacity='0.4'%3E%3Cpath d='M280 24l2.2 6.8H290l-5.2 3.8 2 6.2-5.4-4-5.4 4 2-6.2-5.2-3.8h7.8L280 24z'/%3E%3Cpath d='M240 56l1.8 5.5h6.2l-5 3 1.6 5-4.4-3.2-4.4 3.2 1.6-5-5-3h6.2L240 56z'/%3E%3Cpath d='M300 72l1.4 4.2h4.4l-3.6 2.6 1.4 4.4-3.6-2.6-3.6 2.6 1.4-4.4-3.6-2.6h4.4L300 72z'/%3E%3Cpath d='M260 96l1.2 3.6h3.6l-2.8 2 1.2 3.8-2.8-2-2.8 2 1.2-3.8-2.8-2h3.6L260 96z'/%3E%3Cpath d='M310 120l1 3h3l-2.4 1.8 1 3.2-2.4-1.8-2.4 1.8 1-3.2-2.4-1.8h3L310 120z'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 85vw);
  height: min(420px, 85vw);
  background-image: var(--stars-corner);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--gold-light);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--black);
}
.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-secondary:hover {
  background: var(--black);
  color: var(--cream);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--black);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  padding: 0 1.5rem;
  box-sizing: border-box;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-sizing: border-box;
}
/* Logo — left edge of 1200px band to match hero */
.logo {
  margin-left: 0;
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.06em;
}
.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
.logo:hover {
  color: var(--gold);
}
.logo-text {
  letter-spacing: 0.06em;
  line-height: 1;
}
/* Ghana stripes — under text only, with glow */
.logo-lines {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
}
.logo-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  min-width: 100%;
  transition: box-shadow var(--transition);
}
.logo-line--red {
  background: var(--red);
}
.logo-line--gold {
  background: var(--gold);
}
.logo-line--green {
  background: var(--green);
}
/* Footer logo — same mark, no link */
.site-footer .logo {
  color: var(--cream);
  margin-left: 0;
}
.site-footer .logo:hover {
  color: var(--cream);
}
.nav {
  display: flex;
  gap: 1.75rem;
}
.nav a {
  color: var(--black);
  font-weight: 500;
  font-size: 0.9rem;
}
.nav a:hover {
  color: var(--purple);
}
.btn-header {
  color: var(--black);
  background: var(--gold);
}
.btn-header:hover {
  background: var(--gold-light);
  color: var(--black);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 50%, var(--purple-soft) 85%, var(--purple) 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 85vw);
  height: min(420px, 85vw);
  background-image: var(--stars-corner-light);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cream);
  margin: 0 0 1.5rem;
}
.hero-quote-block {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.hero-quote-photo {
  flex-shrink: 0;
  width: 140px;
  height: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(201, 162, 39, 0.5);
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hero-quote {
  flex: 1;
  color: var(--cream-dark);
  min-width: 0;
}
.hero-quote blockquote {
  font-size: 1.25rem;
  font-style: italic;
  margin: 0 0 0.75rem;
  line-height: 1.6;
}
.hero-quote cite {
  font-size: 1rem;
  font-style: normal;
  color: var(--gold);
}
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(201, 162, 39, 0.3);
  display: block;
}
/* Hero bottom banner — event info */
.hero-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--green) 0%, #004d2d 100%);
  border-top: 2px solid rgba(201, 162, 39, 0.4);
  padding: 0.9rem 1.5rem;
  z-index: 2;
}
.hero-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.hero-banner-text {
  margin: 0;
  font-size: 1.05rem;
  color: var(--cream);
  line-height: 1.5;
  max-width: 640px;
}
.hero-banner-cta {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--black);
  border: none;
}
.hero-banner-cta:hover {
  background: var(--gold-light);
  color: var(--black);
}
.placeholder-image {
  background: var(--black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.hero-image.placeholder-image {
  font-size: 0.8rem;
  padding: 1rem;
}

/* Sections — red break line with subtle glow between each (Ghana flag accent) */
.section {
  padding: 4rem 0;
  border-top: 3px solid var(--divider);
  box-shadow: var(--divider-glow);
}

/* Less space above footer so no extra gap feeling */
main > section:last-child {
  padding-bottom: 2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 1.5rem;
  color: var(--black);
}

/* Initiative */
.initiative {
  background-color: var(--white);
}
.initiative-copy p {
  max-width: 720px;
  margin: 0 0 1rem;
  color: var(--text);
}
.initiative-copy p:last-child {
  margin-bottom: 0;
}

/* Event */
.event {
  position: relative;
  background-color: var(--purple-dark);
  color: var(--cream);
}
.event::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 85vw);
  height: min(420px, 85vw);
  background-image: var(--stars-corner-light);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
  z-index: 0;
}
.event .section-title {
  color: var(--cream);
}
.event-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 0 0 0 1px rgba(168, 42, 42, 0.15);
}
.event-lead {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--cream-dark);
}
.event-details {
  margin-bottom: 1.5rem;
}
.event-venue {
  font-size: 0.95rem;
  color: var(--gold);
}
.event-nominees-intro {
  margin: 0 0 0.5rem;
  font-weight: 500;
}
.nominees-inline {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--cream-dark);
  line-height: 1.5;
}
.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.event-divider {
  border: none;
  border-top: 1px solid rgba(201, 162, 39, 0.3);
  margin: 2.5rem 0;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin: 0.5rem 0 1rem;
}

.category-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(201, 162, 39, 0.3);
}

.category-heading:first-of-type {
  margin-top: 0;
}

.category-intro {
  font-size: 1rem;
  color: #000;
  margin: -0.5rem 0 1rem;
}

.category-intro a {
  color: var(--gold);
  text-decoration: underline;
}
.event-btn-secondary {
  border-color: var(--cream);
  color: var(--cream);
}
.event-btn-secondary:hover {
  background: var(--cream);
  color: var(--black);
}
.event .btn-primary {
  margin-top: 0.5rem;
}

/* Shortlist grid */
.shortlist {
  background-color: var(--cream);
}
.shortlist-intro {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 600px;
}
.stars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}
/* Cards hidden by JS progressive reveal (fallback for no-JS) */
.star-card--hidden {
  display: none;
}
.stars-grid-actions {
  margin-bottom: 1.5rem;
}
.star-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.star-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.star-card-image {
  aspect-ratio: 1;
  background: var(--cream-dark);
  width: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.star-card-image.placeholder-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--cream-dark) 0%, #ddd8ce 100%);
}
.star-card-image.placeholder-image::before {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  /* Simple person silhouette via box-shadow */
  box-shadow: 0 18px 0 12px rgba(0,0,0,0.08);
  overflow: hidden;
}
.star-card-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  padding: 0.75rem 1rem;
  color: var(--black);
}
.star-card-name a {
  color: var(--gold);
}
.star-card-more .star-card-image {
  background: var(--black-soft);
  color: var(--gold);
  font-weight: 600;
}
.shortlist-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* UK Black Stars 2025 + sponsors */
.sponsors {
  background-color: var(--white);
}
.cohort-2025-intro {
  max-width: 640px;
  margin: 0 0 2rem;
  color: var(--text);
}
.cohort-2025-sponsors-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 260px;
  height: 80px;
  padding: 0 1rem;
}
.sponsor-logo img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}
.sponsor-placeholder {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border: 1px dashed var(--cream-dark);
  border-radius: var(--radius);
}
/* Replace .sponsor-placeholder with <img src="logo.png" alt="PBW"> when logos are ready */

/* CTA */
.cta {
  position: relative;
  background: linear-gradient(135deg, var(--green) 0%, #004d2d 90%, #003d24 100%);
  color: var(--cream);
}
.cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 85vw);
  height: min(420px, 85vw);
  background-image: var(--stars-corner-light);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
  z-index: 0;
}
.cta .section-title {
  color: var(--cream);
}
.cta-lead {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  max-width: 560px;
  color: var(--cream-dark);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cta .btn-primary {
  background: var(--gold);
  color: var(--black);
}
.cta .btn-secondary {
  border-color: var(--cream);
  color: var(--cream);
}
.cta .btn-secondary:hover {
  background: var(--cream);
  color: var(--green);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.social-label {
  font-size: 0.9rem;
  color: var(--cream-dark);
}
.social-link {
  color: var(--gold);
  font-weight: 500;
}
.social-link:hover {
  color: var(--gold-light);
}

/* Form */
.form-section {
  background-color: var(--white);
}
.form-intro {
  margin: 0 0 1rem;
  color: var(--text-muted);
}
.form-options {
  margin-bottom: 2rem;
}
.nomination-form {
  max-width: 560px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.required {
  color: #b00;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-submit {
  margin-top: 0.5rem;
}

/* Contact Form 7 — match site form styling */
.wpcf7-form {
  max-width: 560px;
}
.wpcf7-form p {
  margin: 0 0 1.25rem;
}
.wpcf7-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.wpcf7-form textarea {
  resize: vertical;
  min-height: 100px;
}
.wpcf7-form input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  background: var(--gold);
  color: var(--black);
  transition: background var(--transition), color var(--transition);
  margin-top: 0.5rem;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--gold-light);
  color: var(--black);
}
/* Name + Email side by side on desktop */
.wpcf7-form .form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px) {
  .wpcf7-form .form-row-two {
    grid-template-columns: 1fr;
  }
  .wpcf7-form input[type="submit"] {
    width: 100%;
  }
}
/* CF7 validation & response messages */
.wpcf7-not-valid-tip {
  color: #b00;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.wpcf7-response-output {
  border: none !important;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 1.5rem 0 0 !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: var(--green);
  color: var(--cream);
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: var(--red);
  color: var(--cream);
}
.wpcf7 form.invalid .wpcf7-response-output {
  background: var(--red-soft);
  color: var(--red);
}
.wpcf7 form.spam .wpcf7-response-output {
  background: var(--gold);
  color: var(--black);
}

/* Footer */
.site-footer {
  margin: 0;
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--purple-dark);
  color: var(--cream-dark);
  text-align: center;
  border-top: 3px solid var(--divider);
  box-shadow: var(--divider-glow);
}

/* Prevent script tag after footer from adding any layout space */
body > script {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 85vw);
  height: min(420px, 85vw);
  background-image: var(--stars-corner-light);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top right;
  pointer-events: none;
  z-index: 0;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin: 0 0 0.15rem;
}
.footer-tagline {
  font-size: 0.88rem;
  margin: 0 0 0.35rem;
}
.footer-contact {
  margin: 0 0 0.25rem;
}
.footer-contact a {
  color: var(--gold);
}
.footer-credit {
  font-size: 0.85rem;
  margin: 0;
  color: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.footer-credit a {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
}
.footer-credit a:hover {
  opacity: 0.85;
}
.footer-hm-logo {
  height: 1.4rem;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* Mobile */
@media (max-width: 768px) {
  /* Header */
  .nav,
  .btn-header {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .header-inner {
    padding: 0.75rem 0;
  }
  .logo {
    font-size: 1.25rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 5rem 1rem 0;
    display: block;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .hero-image-wrap {
    display: none;
  }
  .hero-label {
    font-size: 0.85rem;
  }
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  .hero-quote-block {
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hero-quote-photo {
    width: 64px;
    height: 96px;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .hero-quote blockquote {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
  .hero-quote cite {
    display: block;
    font-size: 0.8rem;
    line-height: 1.4;
  }
  .hero-banner {
    position: relative;
    left: -1rem;
    right: -1rem;
    width: calc(100% + 2rem);
    padding: 0.85rem 1rem;
  }
  .hero-banner-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .hero-banner-text {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  .hero-banner-cta {
    margin-left: 0;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Sections */
  .section {
    padding: 2.5rem 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .container {
    padding: 0 1rem;
  }

  /* General mobile text bump */
  body {
    font-size: 1.05rem;
  }

  /* Event */
  .event-lead {
    font-size: 1rem;
  }
  .event-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Star grid */
  .stars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .star-card-name {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
  .star-card-image.placeholder-image {
    font-size: 0.65rem;
  }
  .star-card-image.placeholder-image::before {
    width: 30px;
    height: 30px;
    box-shadow: 0 14px 0 10px rgba(0,0,0,0.08);
  }

  /* Sponsors */
  .sponsor-logos {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .sponsor-logo {
    height: 60px;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }
  .nomination-form {
    max-width: 100%;
  }
  .btn-submit {
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding: 0.75rem 0;
  }
}

/* Mobile menu open state (handled by JS) */
.site-header.nav-open .nav {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 1rem;
}
.site-header.nav-open .btn-header {
  display: inline-block;
}

/* WordPress menu reset */
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}
.nav li {
  margin: 0;
  padding: 0;
}
.site-header.nav-open .nav ul {
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Privacy Policy page */
.policy-page {
  padding-top: 8rem;
  background: var(--white);
  color: var(--black);
}
.policy-page .section-title {
  color: var(--black);
}
.policy-date {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 2rem;
}
.policy-toc {
  background: #f8f6f3;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.policy-toc ol {
  margin: 0;
  padding-left: 1.25rem;
}
.policy-toc li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}
.policy-toc a {
  color: var(--purple);
  text-decoration: none;
}
.policy-toc a:hover {
  text-decoration: underline;
}
.policy-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--purple-dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(201, 162, 39, 0.3);
}
.policy-subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin: 1.5rem 0 0.75rem;
}
.policy-page p {
  line-height: 1.75;
  margin-bottom: 1rem;
  color: #333;
}
.policy-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.policy-page ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: #333;
}
.policy-page a {
  color: var(--purple);
}
.policy-contact-list {
  list-style: none;
  padding-left: 0;
}
.policy-contact-list li {
  padding: 0.25rem 0;
}
.policy-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.policy-table th,
.policy-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
.policy-table th {
  background: var(--purple-dark);
  color: var(--cream);
  font-weight: 600;
}
.policy-table tbody tr:nth-child(even) {
  background: #f8f6f3;
}
.policy-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}
.policy-back a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}
.policy-back a:hover {
  text-decoration: underline;
}
.footer-links {
  margin: 0.25rem 0;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--gold);
}

/* ── Nominees page ───────────────────────────────────────────────────── */
.nominees-page {
  padding-top: 120px;
  padding-bottom: 4rem;
  min-height: 100vh;
}
.nominees-page .section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.nominees-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--charcoal);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
}
.nominees-intro a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}
.nominees-intro a:hover {
  text-decoration: underline;
}
.nominees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.nominee-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.nominee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.nominee-image-wrap {
  position: relative;
  overflow: hidden;
}
.nominee-image {
  aspect-ratio: 1;
  background: var(--charcoal);
  width: 100%;
  object-fit: cover;
  object-position: top center;
}
.nominee-image-wrap.no-image .nominee-image {
  display: none;
}
.nominee-image-wrap.no-image {
  aspect-ratio: 1;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nominee-image-wrap.no-image::after {
  content: 'Coming Soon';
  color: var(--gold);
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  object-position: top;
  display: block;
}
.nominee-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 0.75rem 0.9rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.nominee-badge::before {
  content: "I'm a";
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nominee-badge::after {
  content: '\2605  \2605  \2605';
  color: var(--gold);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  margin-top: 0.15rem;
}
.nominee-badge-text {
  color: var(--gold);
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(212,168,67,0.5);
}
.nominee-name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  padding: 0.75rem 1rem 0.25rem;
  color: var(--black);
}
.nominee-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem 0.75rem;
}
.nominee-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  padding: 0;
  background: var(--gold);
  color: var(--black);
}
.nominee-download:hover {
  background: #c49a38;
  transform: scale(1.12);
}
.nominee-download svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.nominee-download.is-loading {
  pointer-events: none;
  opacity: 0.5;
}
.nominee-social-icons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nominee-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
  padding: 0;
  background: var(--cream);
  color: var(--charcoal);
}
.nominee-social-btn:hover {
  transform: scale(1.12);
}
.nominee-social-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.nominee-social-btn[data-platform="x"]:hover {
  background: #000;
  color: #fff;
}
.nominee-social-btn[data-platform="facebook"]:hover {
  background: #1877F2;
  color: #fff;
}
.nominee-social-btn[data-platform="linkedin"]:hover {
  background: #0A66C2;
  color: #fff;
}
.nominee-social-btn[data-platform="instagram"]:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.nominee-social-btn[data-platform="whatsapp"]:hover {
  background: #25D366;
  color: #fff;
}
.nominee-social-btn.is-loading {
  pointer-events: none;
  opacity: 0.5;
}
.nominees-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--gold);
}
.nominees-cta p {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}
/* Full list button */
.full-list-cta {
  text-align: center;
  margin-bottom: 2.5rem;
}
.full-list-btn {
  font-size: 0.95rem;
  padding: 0.6rem 2rem;
  border-color: var(--purple);
  color: var(--purple);
}
.full-list-btn:hover {
  background: var(--purple);
  color: var(--cream);
}

/* Full names list at bottom */
.full-list {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--gold);
}
.full-list-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  margin: 0 0 2rem;
  color: var(--black);
}
.full-list-names {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 2rem;
}
.full-list-names li {
  padding: 0.45rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  break-inside: avoid;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
@media (max-width: 900px) {
  .full-list-names {
    columns: 2;
  }
}
@media (max-width: 600px) {
  .full-list-names {
    columns: 1;
  }
}

@media (max-width: 600px) {
  .nominees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .nominee-name {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
  .nominee-badge {
    padding: 2rem 0.5rem 0.5rem;
  }
  .nominee-badge::before {
    font-size: 0.5rem;
  }
  .nominee-badge-text {
    font-size: 1rem;
  }
  .nominee-badge::after {
    font-size: 0.35rem;
  }
  .nominee-actions {
    padding: 0.35rem 0.5rem 0.5rem;
    gap: 0.2rem;
  }
  .nominee-download,
  .nominee-social-btn {
    width: 24px;
    height: 24px;
  }
  .nominee-download svg,
  .nominee-social-btn svg {
    width: 11px;
    height: 11px;
  }
}
