@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
  /* Official PuLoop Brand Color Palette */
  --puloop-purple: #7000FF;    /* Primary brand / wordmark */
  --electric-violet: #7D00FF;  /* Purple highlights */
  --deep-purple: #5B00E6;      /* Dark accents */
  --puloop-magenta: #D5009B;   /* Loop transition */
  --hot-pink: #F0008B;         /* Secondary accent */
  --puloop-coral: #FF3B68;     /* Pink/coral end of loop */
  --white: #FFFFFF;            /* Background / contrast */

  /* PuLoop Editorial Typography & Surface Tokens */
  --broadsheet-ink: #0F172A;
  --broadsheet-ink-soft: #1E293B;
  --broadsheet-paper: #FFFFFF;
  --broadsheet-newsprint: #F8FAFC;
  --font-serif-headline: 'Playfair Display', Georgia, Cambria, 'Times New Roman', serif;
  --font-serif-body: 'Merriweather', Georgia, Cambria, serif;

  /* Semantic UI Tokens mapped to PuLoop Brand */
  --primary: #7000FF;
  --primary-hover: #7D00FF;
  --primary-dark: #5B00E6;
  --primary-light: #F5EDFF;
  --primary-subtle: #E9D5FF;
  --accent-magenta: #D5009B;
  --accent-pink: #F0008B;
  --accent-coral: #FF3B68;

  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-main: #0B0F19;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  --border-subtle: #EEF2F6;
  --border-focus: #7000FF;

  /* Clean, crisp flat design (No shadows or vibecode) */
  --shadow-none: none;
  --shadow-sm: none;
  --shadow-md: none;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-full: 9999px;
  --radius-pill: 4px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.15s ease-in-out;
}

/* Base & Reset - Clean, Flat, High Contrast */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text-main);
  touch-action: manipulation;
  overflow-x: hidden;
  width: 100%;
}

/* Prevent accidental double-tap zoom delay and unwanted mobile zooming */
button, a, input, select, textarea {
  touch-action: manipulation;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }

p {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Clean SVG Icon Utilities */
.ui-icon {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ui-icon.icon-lg {
  width: 24px;
  height: 24px;
}
.ui-icon.icon-xl {
  width: 32px;
  height: 32px;
}
.ui-icon.icon-sm {
  width: 15px;
  height: 15px;
}

/* Layout Containers - Generous Page Margins */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4.5vw, 44px);
  padding-right: clamp(20px, 4.5vw, 44px);
  box-sizing: border-box;
}

/* Navigation - Clean Institutional Border */
/* ==========================================================================
   Multi-Tier Editorial Portal Header Navigation (Light Theme Mode)
   ========================================================================== */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Tier 1: Primary Brand & Main Editorial Dropdowns */
.nav-tier-primary {
  padding: 10px 0;
  background: #FFFFFF;
}

.nav-primary-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  height: 48px;
  max-height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.15s ease;
}

.brand:hover .site-logo {
  transform: scale(1.02);
}

/* Primary Desktop Dropdowns */
.nav-desktop-dropdowns {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown:hover .nav-dropdown-trigger,
.nav-item-dropdown.active .nav-dropdown-trigger {
  color: var(--puloop-purple);
  background: #FAF5FF;
  border-color: #E9D5FF;
  text-decoration: none;
}

.nav-dropdown-trigger .chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
  color: var(--text-light);
}

.nav-item-dropdown:hover .nav-dropdown-trigger .chevron {
  transform: rotate(180deg);
  color: var(--puloop-purple);
}

/* Dropdown Menu Flyout */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  padding: 6px;
  z-index: 1050;
  display: none;
  animation: navDropdownFadeIn 0.15s ease forwards;
}

@keyframes navDropdownFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.12s ease;
}

.dropdown-link:hover {
  background: #FAF5FF;
  color: var(--puloop-purple);
  text-decoration: none;
  padding-left: 15px;
}

.dropdown-link .ui-icon {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.dropdown-link:hover .ui-icon {
  color: var(--puloop-purple);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 5px 0;
}

/* Header CTAs */
.nav-primary-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--puloop-purple);
  color: #FFFFFF !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  border: none;
  transition: all 0.15s ease;
  box-shadow: none;
  white-space: nowrap;
}

.btn-nav-primary:hover {
  background: var(--deep-purple);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-nav-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main) !important;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-nav-ghost:hover {
  background: #FAF5FF;
  border-color: #E9D5FF;
  color: var(--puloop-purple) !important;
  text-decoration: none;
}

/* Tier 2: Sub-bar with Quick Nav, Search, and Auth Controls */
.nav-tier-sub {
  background: #F8FAFC;
  border-top: 1px solid #EEF2F6;
  border-bottom: 1px solid var(--border-light);
  padding: 6px 0;
}

.nav-sub-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav-links::-webkit-scrollbar { display: none; }

.subnav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.12s ease;
}

.subnav-link:hover,
.subnav-link.active {
  color: var(--puloop-purple);
  background: #FAF5FF;
  text-decoration: none;
}

.subnav-link .ui-icon {
  width: 14px;
  height: 14px;
  color: inherit;
}

.subnav-badge-new {
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 2px;
}

.nav-sub-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Premium Light-Themed Header Search Component
   ========================================================================== */
.nav-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-search-input {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-main);
  font-size: 0.83rem;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.01em;
  padding: 6px 34px 6px 32px;
  border-radius: 8px;
  width: 200px;
  height: 34px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              background-color 0.2s ease,
              box-shadow 0.2s ease;
}

.nav-search-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.nav-search-input:hover {
  border-color: #94A3B8;
}

.nav-search-input:focus {
  width: 280px;
  border-color: var(--puloop-purple);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.15),
              0 4px 14px rgba(112, 0, 255, 0.08);
  outline: none;
  color: var(--text-main);
}

.nav-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: color 0.2s ease;
}

.nav-search-form:focus-within .nav-search-icon {
  color: var(--puloop-purple);
}

/* Keyboard Shortcut Pill */
.nav-search-kbd {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: inherit;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-search-form:focus-within .nav-search-kbd {
  opacity: 0;
  transform: translateY(-50%) scale(0.8);
}

/* Mobile Drawer Search Bar */
.mobile-search-form {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.mobile-search-input {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  padding: 9px 14px 9px 36px;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}

.mobile-search-input:focus {
  background: #FFFFFF;
  border-color: var(--puloop-purple);
  box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.15);
}

.mobile-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: #94A3B8;
  pointer-events: none;
}

/* Auth Buttons in Subnav */
.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-auth-signin {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-auth-signin:hover {
  color: var(--puloop-purple);
  text-decoration: none;
}

.nav-auth-signup {
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  color: var(--puloop-purple) !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-auth-signup:hover {
  background: var(--puloop-purple);
  color: #FFFFFF !important;
  border-color: var(--puloop-purple);
}

/* Contributor/Editor Profile Dropdown in Subnav */
.nav-user-dropdown {
  position: relative;
}

.nav-user-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.15s ease;
  text-decoration: none;
}

.nav-user-chip:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  text-decoration: none;
}

.nav-user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--puloop-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #FFFFFF;
}

.nav-user-track {
  font-size: 0.68rem;
  padding: 1px 5px;
  border-radius: 3px;
  background: #FAF5FF;
  color: var(--puloop-purple);
  border: 1px solid #E9D5FF;
  text-transform: capitalize;
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 200px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  padding: 6px;
  z-index: 1050;
  display: none;
  animation: navDropdownFadeIn 0.15s ease forwards;
}

.nav-user-dropdown:hover .nav-user-menu,
.nav-user-dropdown:focus-within .nav-user-menu {
  display: block;
}

/* Mobile Hamburger Toggle & Drawer */
.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background-color: #FFFFFF;
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.mobile-nav-drawer {
  display: none;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 16px;
}

.mobile-nav-drawer.is-open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: #FAF5FF;
  color: var(--puloop-purple);
  text-decoration: none;
}

.mobile-nav-link .ui-icon {
  width: 17px;
  height: 17px;
}

@media (max-width: 992px) {
  .nav-desktop-dropdowns,
  .nav-primary-actions .btn-nav-ghost {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
  }
  .nav-search-input {
    width: 140px;
  }
}

@media (max-width: 680px) {
  .nav-sub-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav-sub-right {
    justify-content: center;
    width: 100%;
  }
  .nav-auth-group {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .nav-auth-signup {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .site-logo {
    height: 42px !important;
    max-height: 42px !important;
    width: auto;
  }
  .mobile-nav-toggle {
    width: 36px;
    height: 36px;
  }
  .btn-share-desktop {
    display: none !important;
  }
}

/* Buttons - Solid, Clean, Flat, Professional (No Shadows) */
button,
.btn,
.btn:hover,
.btn:active,
.btn:focus,
.btn-primary,
.btn-secondary,
.btn-submit,
.btn-submit-nomination,
.contact-submit-btn,
.btn-cookie-accept,
.btn-nav-primary,
.social-share-btn,
.btn-editorial-tool,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  box-shadow: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 11px 18px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  background-color: var(--primary);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover:not(:disabled) {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  text-decoration: none;
}

.btn:active:not(:disabled) {
  background-color: var(--primary-dark);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn.alt {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn.alt:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn.btn-sm {
  padding: 7px 12px;
  min-height: 36px;
  font-size: 0.82rem;
}

.btn.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn.btn-outline:hover:not(:disabled) {
  background: var(--primary-light);
}

/* Hero Section - Clean Institutional Banner */
.hero {
  padding: 32px 0 24px;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 12px auto;
  max-width: 780px;
  color: var(--primary-dark);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Section & Clean Flat Cards */
.section {
  padding: 24px 0 36px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.profile-card {
  display: flex;
  flex-direction: column;
}

.profile-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
}

/* Badges & Alerts - Flat Human Editorial */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f8fafc;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 2px 7px;
  line-height: 1.3;
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.92rem;
  margin: 14px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert.success {
  background: var(--primary-light);
  border-color: var(--primary-subtle);
  color: var(--primary-dark);
}

.muted {
  color: var(--text-muted);
}

/* ==========================================================
   INTERACTIVE MULTI-STEP WIZARD (MOBILE FIRST & FLAT)
   ========================================================== */

.wizard-container {
  max-width: 760px;
  margin: 0 auto;
}

/* Sticky Step Progress Header */
.step-header-sticky {
  position: sticky;
  top: 55px;
  z-index: 35;
  background: #ffffff;
  padding: 10px 0 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.step-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.step-counter {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-percentage {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-xs);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 16.66%;
  background: var(--primary);
  transition: width 0.25s ease;
}

/* Step Pills - Flat & Crisp */
.step-nav-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 2px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.step-nav-scroll::-webkit-scrollbar { display: none; }

.step-pill {
  flex: 0 0 auto;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.step-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.step-pill.completed {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-subtle);
}

/* Wizard Step Panes */
.wizard-step {
  display: none;
}
.wizard-step.active {
  display: block;
}

.step-title-wrap {
  margin-bottom: 20px;
}

.step-badge-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.step-heading {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Question Cards - Flat, Clean, No Shadow */
.question-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
}

.question-card:focus-within {
  border-color: var(--primary);
}

.q-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1px solid var(--primary-subtle);
}

.q-hint {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  margin-left: 34px;
  line-height: 1.45;
}

.q-input-wrap {
  margin-left: 0;
}

/* Profile Type Grid - Flat Institutional Cards */
.profile-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.profile-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.profile-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-type-card:hover {
  border-color: var(--primary);
}

.profile-type-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.pt-icon-wrap {
  margin-bottom: 8px;
  color: var(--primary);
}

.pt-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pt-check {
  display: none;
  color: var(--primary);
}

.profile-type-card.selected .pt-check {
  display: inline-block;
}

.pt-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Adaptive Level Banner */
.adaptive-level-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--primary-light);
  border: 1px solid var(--primary-subtle);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Form Controls - Flat & Sharp */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary-light);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light);
  font-size: 0.9rem;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

/* Upload Dropzone - Flat */
.image-upload-box {
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  background: #fdfdfd;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.image-upload-box:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.image-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon {
  margin-bottom: 6px;
  color: var(--primary);
}

.upload-text {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-dark);
}

.upload-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.image-preview-wrap,
.photo-preview-box,
.portrait-preview-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-light, #e2e8f0);
  border-radius: var(--radius-md, 12px);
  padding: 16px;
  margin-top: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.portrait-preview-card.hidden,
.photo-preview-box.hidden,
.image-preview-wrap.hidden {
  display: none !important;
}

.portrait-preview-frame {
  position: relative;
  width: 110px;
  height: 110px;
  min-width: 110px;
  max-width: 110px;
  border-radius: 14px;
  overflow: hidden;
  border: 2.5px solid var(--puloop-purple, #7000FF);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(112, 0, 255, 0.16);
  flex-shrink: 0;
}

.preview-thumb,
.portrait-preview-frame img,
.photo-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-preview-details,
.preview-info,
.preview-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portrait-preview-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-main, #0f172a);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.portrait-preview-filename,
.preview-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  word-break: break-all;
  line-height: 1.4;
}

.portrait-preview-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.preview-size {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
}

.portrait-badge-new {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 3px 9px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
}

.portrait-badge-current {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  padding: 3px 9px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
}

.portrait-preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.remove-photo-btn {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.remove-photo-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

/* Mobile Responsiveness for Candidate Portrait Preview */
@media (max-width: 600px) {
  .portrait-preview-card,
  .photo-preview-box,
  .image-preview-wrap {
    flex-direction: column !important;
    text-align: center !important;
    padding: 18px 14px !important;
    gap: 14px !important;
  }
  .portrait-preview-frame {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    margin: 0 auto !important;
  }
  .portrait-preview-details,
  .preview-info,
  .preview-meta {
    align-items: center !important;
    width: 100% !important;
  }
  .portrait-preview-title {
    justify-content: center !important;
  }
  .portrait-preview-meta {
    justify-content: center !important;
  }
  .portrait-preview-actions {
    justify-content: center !important;
    width: 100% !important;
  }
}

/* ==========================================================
   AI PROMPT SECTION: TWO BUTTONS & PROVIDERS (NO SHADOWS)
   ========================================================== */

.ai-workflow-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 14px;
  background: var(--primary-light);
  border: 1px solid var(--primary-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ai-workflow-stepper::-webkit-scrollbar { display: none; }
.ai-wf-step { display: inline-flex; align-items: center; gap: 4px; }
.ai-wf-arrow { color: var(--primary); font-weight: 800; }

.ai-prompt-card {
  background: #ffffff;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  margin-bottom: 20px;
}

/* TWO PROMPT BUTTONS: SHORT SUMMARY & FULL BIOGRAPHY */
.two-prompt-btn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.prompt-copy-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 16px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary);
  background-color: #ffffff;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.prompt-copy-action-btn:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
}

.prompt-copy-action-btn.primary-copy {
  background-color: var(--primary);
  color: #ffffff;
}

.prompt-copy-action-btn.primary-copy:hover {
  background-color: var(--primary-hover);
}

.prompt-copy-action-btn.copied {
  background-color: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
}

/* Open With AI Providers Row */
.ai-providers-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.ai-providers-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ai-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 12px;
  min-height: 36px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
  cursor: pointer;
}
.ai-provider-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}

/* Prompt Preview Details Box */
.prompt-preview-details {
  margin-top: 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
}
.prompt-preview-details summary {
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
}
.prompt-preview-text {
  width: 100%;
  margin-top: 8px;
  font-family: monospace, monospace;
  font-size: 0.8rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 10px;
  min-height: 120px;
  color: var(--text-main);
  white-space: pre-wrap;
}

/* Step 6: Review Your Spotlight Story & Automatic AI Draft */
.story-review-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.story-guidance-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #166534;
  font-size: 0.92rem;
  line-height: 1.5;
}

.story-guidance-box strong {
  color: #14532D;
}

.story-loading-card {
  background: #ffffff;
  border: 1.5px solid var(--primary-light, #E9D5FF);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.story-loading-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.story-spinner {
  width: 44px;
  height: 44px;
  border: 3.5px solid #E2E8F0;
  border-top-color: var(--puloop-purple, #6B21A8);
  border-radius: 50%;
  animation: storySpin 0.9s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.story-loading-status {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  min-height: 28px;
  transition: opacity 0.3s ease;
}

.story-loading-subtext {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
}

/* Skeleton preview */
.story-skeleton-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.75;
}

.story-skeleton-bar {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: storyShimmer 1.5s infinite;
}

@keyframes storyShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes storySpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Changed Information Alert */
.story-changed-alert {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: #92400E;
  font-size: 0.9rem;
}

.story-changed-alert-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Failure / Offline Fallback Card */
.story-error-card {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: left;
  color: #991B1B;
  margin-bottom: 16px;
}

.story-error-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-error-msg {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 14px;
  color: #7F1D1D;
}

.story-error-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Secondary Editorial Tools Toolbar */
.editorial-tools-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr));
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-top: 14px;
}

.editorial-tools-label {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-right: 4px;
}

.btn-editorial-tool {
  box-sizing: border-box;
  min-width: 0;
  overflow-wrap: anywhere;
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  min-height: 44px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.btn-editorial-tool:hover:not(:disabled) {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: none;
}

.btn-editorial-tool:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-editorial-tool.btn-tool-restore {
  margin-left: 0;
  color: var(--text-muted);
}
.btn-editorial-tool.btn-tool-restore:hover:not(:disabled) {
  color: var(--puloop-purple);
  border-color: var(--puloop-purple);
}

.field-word-counter {
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

/* Floating Toast Notification - Solid & Crisp */
.toast-notice {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  background: var(--text-main);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  max-width: 90vw;
  text-align: center;
}
.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Mobile Sticky Bottom Action Bar */
.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  border-top: 2px solid var(--border-light);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

.bottom-action-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wizard-footer-spacer {
  height: 80px;
}

/* Consent Box */
.consent-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  cursor: pointer;
}

.consent-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Editorial Feature Cover Photo Banner (Bold, Cropped, Shadow Removed) */
.profile-feature-cover {
  position: relative;
  width: 100%;
  height: 360px;
  background: #0F172A;
  border-bottom: 3.5px solid #0F172A;
  box-shadow: none !important;
  overflow: hidden;
}

@media (max-width: 768px) {
  .profile-feature-cover {
    height: 240px;
  }
}

.profile-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border: none !important;
  box-shadow: none !important;
}

.profile-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  user-select: none;
  border: none !important;
  box-shadow: none !important;
}

.profile-cover-placeholder .portrait-initials {
  font-size: 4.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
  text-transform: uppercase;
}

.profile-cover-placeholder .portrait-placeholder-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-top: 10px;
}

/* Save for Later Top Right Corner Floating Icon */
.profile-corner-save-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 25;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #0F172A;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.profile-corner-save-btn:hover {
  transform: scale(1.08);
  background: #FAF5FF;
  border-color: var(--puloop-purple, #6B21A8);
  color: var(--puloop-purple, #6B21A8);
}

.profile-corner-save-btn.active-saved {
  background: var(--puloop-purple, #6B21A8);
  border-color: var(--puloop-purple, #6B21A8);
  color: #ffffff;
}

.profile-header-body {
  padding: 28px 24px 22px;
  background: #ffffff;
}

/* Portrait & Detail Styles for Profile and Preview */
.profile-portrait-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none !important;
}

.portrait {
  width: 160px;
  height: 160px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 3.5px solid #0F172A;
  box-shadow: none !important;
  background: #F8FAFC;
  display: block;
}

.portrait:hover {
  transform: none;
  box-shadow: none !important;
}

/* Bold Institutional Portrait Placeholder */
.portrait.portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border: 3.5px solid #0F172A;
  user-select: none;
}

.portrait-initials {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #FFFFFF;
  text-transform: uppercase;
}

.portrait-placeholder-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-top: 6px;
}

.profile-header-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 28px 20px;
  background: #ffffff;
}

/* Executive Editorial Dossier / Credentials Ribbon */
.profile-credentials-bar {
  margin: 10px 0 12px;
}

.credentials-badge-cluster,
.profile-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 10px 0 4px;
}

.credential-pill,
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.4;
  background: #F8FAFC;
  color: #334155;
  border: 1px solid #E2E8F0;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.credential-pill:hover,
.meta-pill:hover {
  background: #ffffff;
  border-color: #CBD5E1;
  color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.credential-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  flex-shrink: 0;
}

.credential-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.credential-academic {
  background: #FAF5FF;
  border-color: #E9D5FF;
  color: #581C87;
}
.credential-academic .credential-icon {
  color: var(--puloop-purple, #6B21A8);
}
.credential-academic .credential-highlight {
  font-weight: 700;
  color: #4A044E;
}
.credential-academic .credential-dot {
  margin: 0 3px;
  color: #A855F7;
  font-weight: 700;
}
.credential-academic .credential-cohort {
  font-weight: 600;
  color: #6B21A8;
}

.credential-institution {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #1E293B;
  font-weight: 600;
}
.credential-institution .credential-icon {
  color: #475569;
}

.credential-location {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #475569;
}
.credential-location .credential-icon {
  color: #64748B;
}

.bio-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #1e293b;
  white-space: pre-line;
}

.summary-highlight {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
}

/* Admin Styles - Clean Institutional */
.admin-nav {
  background: var(--primary-dark);
  color: #ffffff;
  border-bottom: 2px solid var(--primary);
}
.admin-nav .brand { color: #ffffff; }
.admin-nav a { color: #ffffff; opacity: 0.9; }
.admin-nav a:hover { opacity: 1; text-decoration: underline; }

.table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-top: 14px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th, .table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hidden { display: none !important; }

/* Responsive Grid Enhancements */
@media (min-width: 640px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 2.6rem; }
  
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
  }
  
  .profile-type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .two-prompt-btn-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .profile-header-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 32px 28px;
    gap: 24px;
  }
  
  .credentials-badge-cluster,
  .profile-meta-tags {
    justify-content: flex-start;
  }
  
  .portrait {
    width: 156px;
    height: 156px;
  }
}

/* Site Logo & Powered By Styles */
.site-logo {
  height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  vertical-align: middle;
}

.powered-by-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border: 1px solid var(--border-light);
  background: #ffffff;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.powered-by-badge:hover {
  border-color: var(--primary);
  text-decoration: none;
  color: var(--primary);
  background: var(--primary-light);
}

.powered-by-img {
  height: 20px;
  width: auto;
  vertical-align: middle;
  object-fit: contain;
}

.site-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 22px 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Carousel Component - Clean, Flat Institutional Design (No vibecode/glow)
   ========================================================================== */
.carousel-section {
  padding: 32px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.carousel-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.carousel-header-title h2 {
  font-size: 1.5rem;
  margin: 0 0 4px;
  color: var(--primary-dark);
}

.carousel-header-title p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 86%;
  max-width: 360px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  padding: 16px;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

@media (min-width: 640px) {
  .carousel-card {
    flex: 0 0 calc(50% - 10px);
    max-width: 360px;
  }
}

@media (min-width: 1024px) {
  .carousel-card {
    flex: 0 0 calc(33.333% - 12px);
    max-width: 380px;
  }
}

.carousel-card:hover {
  border-color: var(--primary);
}

.carousel-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.carousel-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-light);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.carousel-dot.active {
  width: 22px;
  background: var(--primary);
}

/* ==========================================================================
   Stats Strip Component
   ========================================================================== */
.stats-strip {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item h3 {
  font-size: 1.7rem;
  margin: 0 0 2px;
  color: var(--primary-dark);
}

.stat-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   News & Editorial Gazette Layout (for spotlights.php / features.php)
   Vanguard News-Inspired Broadsheet Architecture
   ========================================================================== */
.gazette-masthead {
  padding: 24px 0 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.gazette-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.gazette-headline {
  font-family: var(--font-serif-headline);
  font-size: 2.2rem;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--broadsheet-ink);
}

.gazette-lead-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 24px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  transition: border-color 0.2s ease;
}

.gazette-lead-banner:hover {
  border-color: var(--vanguard-red);
}

@media (min-width: 860px) {
  .gazette-lead-banner {
    grid-template-columns: 320px 1fr;
    align-items: center;
  }
}

.gazette-lead-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: #0f172a;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.filter-tab-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.filter-tab-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--puloop-purple);
  border-color: var(--puloop-purple);
  color: #ffffff;
  text-decoration: none;
}

.news-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 960px) {
  .news-layout-grid {
    grid-template-columns: 1fr 320px;
  }
}

.news-article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
}

.news-article-card:hover {
  border-color: var(--puloop-purple);
  transform: translateY(-2px);
}

.news-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

/* ==========================================================================
   PuLoop Editorial Features Layout Suite
   ========================================================================== */

/* Section Tabs Bar */
.broadsheet-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
}

.broadsheet-nav-bar::-webkit-scrollbar {
  display: none;
}

.broadsheet-nav-list {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  white-space: nowrap;
}

.broadsheet-nav-item a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  transition: all 0.15s ease;
}

.broadsheet-nav-item a:hover {
  background: var(--primary-light);
  color: var(--puloop-purple);
  border-color: var(--primary-subtle);
}

.broadsheet-nav-item a.active {
  background: var(--puloop-purple);
  border-color: var(--puloop-purple);
  color: #ffffff;
}

.broadsheet-nav-item a.active svg {
  color: #ffffff;
}

/* Sub-nav Discipline Category Strip */
.broadsheet-category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scrollbar-width: none;
  margin-bottom: 20px;
}

.broadsheet-category-strip::-webkit-scrollbar {
  display: none;
}

.broadsheet-cat-pill {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.broadsheet-cat-pill:hover,
.broadsheet-cat-pill.active {
  background: #0B0F19;
  color: #ffffff;
  border-color: #0B0F19;
}

/* Front Page Lead Hero Split */
.broadsheet-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 960px) {
  .broadsheet-hero-split {
    grid-template-columns: 1.8fr 1fr;
    gap: 28px;
  }
}

/* Lead Feature Card */
.broadsheet-lead-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.broadsheet-lead-card:hover {
  border-color: var(--puloop-purple);
}

.broadsheet-lead-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0f172a;
  overflow: hidden;
}

.broadsheet-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.3s ease;
}

.broadsheet-lead-card:hover .broadsheet-lead-img {
  transform: scale(1.02);
}

.broadsheet-lead-badge-float {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--puloop-purple);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.broadsheet-lead-body {
  padding: 24px;
}

.broadsheet-kicker-lead {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--puloop-purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.broadsheet-lead-title {
  font-family: var(--font-serif-headline);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--text-main);
}

.broadsheet-lead-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.broadsheet-lead-title a:hover {
  color: var(--puloop-purple);
}

.broadsheet-lead-credential {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.broadsheet-lead-excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 16px;
}

.broadsheet-lead-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Flanking Top Bulletins Column */
.broadsheet-bulletins-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.broadsheet-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--puloop-purple);
  margin-bottom: 4px;
}

.broadsheet-column-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.broadsheet-bulletin-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 14px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.15s ease;
  text-decoration: none;
}

.broadsheet-bulletin-card:hover {
  border-color: var(--puloop-purple);
  background: #FAF5FF;
}

.broadsheet-bulletin-thumb {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  background: #0f172a;
  border: 1px solid var(--border-subtle);
}

.broadsheet-bulletin-info {
  display: flex;
  flex-direction: column;
}

.broadsheet-bulletin-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--puloop-purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.broadsheet-bulletin-title {
  font-family: var(--font-serif-headline);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--text-main);
}

.broadsheet-bulletin-meta {
  font-size: 0.74rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Main Content Feed Grid (2-Column Architecture) */
.broadsheet-main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 960px) {
  .broadsheet-main-layout {
    grid-template-columns: 1fr 320px;
  }
}

.broadsheet-section-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 12px;
  border-left: 4px solid var(--puloop-purple);
  margin-bottom: 18px;
}

.broadsheet-section-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.01em;
}

.broadsheet-articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .broadsheet-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Broadsheet Story Card */
.broadsheet-story-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  position: relative;
}

.broadsheet-story-card:hover {
  border-color: var(--puloop-purple);
  transform: translateY(-2px);
}

.broadsheet-story-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #0f172a;
  overflow: hidden;
}

.broadsheet-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.broadsheet-story-card:hover .broadsheet-story-img {
  transform: scale(1.03);
}

.broadsheet-story-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.broadsheet-story-tagline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.broadsheet-story-title {
  font-family: var(--font-serif-headline);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--text-main);
}

.broadsheet-story-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.broadsheet-story-title a:hover {
  color: var(--puloop-purple);
}

.broadsheet-story-institution {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.broadsheet-story-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 14px;
  flex: 1;
}

.broadsheet-story-footer {
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Card Preview Save/Bookmark Icon Button (Icon Only - As Requested) */
.card-save-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.card-save-icon-btn:hover {
  background: #FAF5FF;
  border-color: var(--puloop-purple);
  color: var(--puloop-purple);
}

.card-save-icon-btn.active-saved {
  background: #FAF5FF;
  border-color: var(--puloop-purple);
  color: var(--puloop-purple);
}

/* Broadsheet Sidebar Widgets */
.broadsheet-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.broadsheet-sidebar-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 18px;
}

.broadsheet-sidebar-header {
  border-bottom: 2px solid var(--puloop-purple);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.broadsheet-sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-main);
  margin: 0;
}

/* Most Read Ranked Dispatches */
.broadsheet-rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.broadsheet-rank-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: baseline;
}

.broadsheet-rank-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.broadsheet-rank-num {
  font-family: var(--font-serif-headline);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--puloop-purple);
  line-height: 1;
  text-align: center;
}

.broadsheet-rank-content {
  display: flex;
  flex-direction: column;
}

.broadsheet-rank-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color 0.15s ease;
}

.broadsheet-rank-title:hover {
  color: var(--puloop-purple);
}

.broadsheet-rank-meta {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Quote of the Week Widget */
.broadsheet-quote-box {
  background: linear-gradient(180deg, #ffffff 0%, #FAF5FF 100%);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--puloop-purple);
  border-radius: var(--radius-xs);
  padding: 18px;
}

.broadsheet-quote-icon {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--puloop-purple);
  opacity: 0.35;
  height: 24px;
  display: block;
}

.broadsheet-quote-text {
  font-family: var(--font-serif-body);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin: 6px 0 12px;
}

.broadsheet-quote-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.broadsheet-quote-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.broadsheet-quote-author-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.broadsheet-quote-author-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 0;
}

/* Nigerian Institutions Directory Index */
.broadsheet-inst-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.broadsheet-inst-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.broadsheet-inst-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.broadsheet-inst-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.broadsheet-inst-link:hover {
  color: var(--puloop-purple);
}

/* Editorial Integrity Seal */
.broadsheet-seal-box {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 16px;
  text-align: center;
}

.broadsheet-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--puloop-purple);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

/* ==========================================================================
   Verified Icon Badge
   ========================================================================== */
.verified-badge-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  object-fit: contain;
  margin-left: 5px;
  flex-shrink: 0;
}
.verified-badge-icon.icon-lg {
  width: 22px;
  height: 22px;
}
.verified-badge-icon.icon-sm {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   Social Icon Buttons (Icons-Only on Featured/News Cards & Full in Profile)
   ========================================================================== */
.social-icons-strip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-icon-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.social-icon-btn:hover {
  background: var(--puloop-purple);
  border-color: var(--puloop-purple);
  color: #ffffff;
  text-decoration: none;
}

.social-icon-btn.icon-instagram:hover {
  background: var(--puloop-magenta);
  border-color: var(--puloop-magenta);
}

.social-icon-btn.icon-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.social-icon-btn.icon-tiktok:hover {
  background: #000000;
  border-color: #000000;
}

.social-icon-btn.icon-puloop:hover {
  background: var(--puloop-purple);
  border-color: var(--puloop-purple);
}

.social-icon-btn.icon-linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}

.social-icon-btn.icon-website:hover {
  background: var(--deep-purple);
  border-color: var(--deep-purple);
}

/* ==========================================================================
   Hero Mascot Illustration
   ========================================================================== */
.hero-mascot-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.hero-mascot-img {
  max-width: 240px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hero-mascot-img:hover {
  transform: translateY(-4px) scale(1.03);
}

@media (min-width: 768px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    align-items: center;
    gap: 24px;
    text-align: left;
  }
  .hero-mascot-img {
    max-width: 290px;
  }
}

/* ==========================================================================
   Community Engagement & Interactive Components
   ========================================================================== */

/* Featured Inspiration Quote */
.quote-inspiration-card {
  margin: 28px 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, #FAF5FF 0%, #FFFFFF 100%);
  border-left: 5px solid var(--puloop-purple);
  border-radius: var(--radius-sm);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.quote-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.quote-eyebrow span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--puloop-purple);
}
.quote-body {
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 12px;
}
.quote-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Engagement Stats Bar */
.engagement-stats-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin: 28px 0 16px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}
.engagement-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.engagement-stat-item strong {
  color: var(--text-main);
}

/* Interactive Action Bar */
.engagement-action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.applause-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  background: var(--puloop-purple);
  color: #ffffff;
  border: 1px solid var(--puloop-purple);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}
.applause-btn:hover {
  background: var(--electric-violet);
  border-color: var(--electric-violet);
  transform: translateY(-2px);
}
.applause-btn:active {
  transform: scale(0.96);
}
.applause-btn.applauded {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}
.share-spotlight-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}
.share-spotlight-btn:hover {
  border-color: var(--puloop-purple);
  color: var(--puloop-purple);
  background: #faf5ff;
}

/* Author Badge */
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--puloop-purple);
  color: #ffffff;
  margin-left: 6px;
  vertical-align: middle;
}

/* Ask the Spotlight Card & Q&A */
.ask-spotlight-section {
  margin: 36px 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}
.question-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 14px;
}
.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.question-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.5;
}
.question-answer-box {
  background: #ffffff;
  border-left: 3px solid var(--puloop-purple);
  border-radius: var(--radius-xs);
  padding: 14px;
  margin-top: 8px;
}
.question-answer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-top: 6px;
}

/* Comments Section */
.comments-section {
  margin: 36px 0;
}
.comment-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
}
.comment-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 14px;
  transition: border-color 0.15s ease;
}
.comment-card:hover {
  border-color: #cbd5e1;
}
.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.comment-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}
.comment-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 10px;
  white-space: pre-line;
}
.comment-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FAF5FF;
  color: var(--primary);
  border: 1px solid #E9D5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.comment-avatar-circle.author-avatar {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.comment-author-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Enhanced Social Sharing Bar (Direct Icons, No Modal) */
.social-share-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.social-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  transition: all 0.15s ease;
  box-shadow: none !important;
  cursor: pointer;
}

.social-share-btn.share-whatsapp:hover {
  border-color: #25D366;
  color: #128C7E;
  background: #F0FDF4;
}

.social-share-btn.share-x:hover {
  border-color: #000000;
  color: #000000;
  background: #F8FAFC;
}

.social-share-btn.share-linkedin:hover {
  border-color: #0A66C2;
  color: #0A66C2;
  background: #EFF6FF;
}

.social-share-btn.share-facebook:hover {
  border-color: #1877F2;
  color: #1877F2;
  background: #EFF6FF;
}

.social-share-btn.share-copy:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  margin-top: 10px;
}

.comment-applaud-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.comment-applaud-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.comment-applaud-btn.liked {
  background: #FAF5FF;
  border-color: var(--primary-subtle);
  color: var(--primary);
}

.comment-reply-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 4px 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}

.comment-reply-toggle-btn:hover {
  color: var(--primary);
  text-decoration: underline;
}

.comment-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}

.comment-action-btn:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Nested Replies Container (Level 2 with visual guide thread) */
.nested-replies-list,
.comment-replies-list {
  margin-top: 14px;
  padding-left: 18px;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reply-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  box-shadow: none !important;
}

.reply-card.author-reply {
  background: #FAF5FF;
  border-left: 3px solid var(--primary);
}

/* Inline Reply Form */
.inline-reply-box,
.reply-form-wrap {
  margin-top: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
}

/* Nominate Banner */
.nominate-callout-card {
  margin: 44px 0 24px;
  padding: 32px 24px;
  background: linear-gradient(135deg, #FAF5FF 0%, #F5EDFF 100%);
  border: 1px solid #E9D5FF;
  border-radius: var(--radius-md);
  text-align: center;
}
.nominate-callout-card h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.nominate-callout-card p {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Accessible Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.active {
  display: flex;
}
.modal-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border-medium);
  position: relative;
  padding: 24px;
  animation: modalSlideUp 0.2s ease-out;
}
@keyframes modalSlideUp {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

/* Share Grid in Modal */
.share-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.share-option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.share-option-btn:hover {
  transform: translateY(-2px);
  border-color: var(--puloop-purple);
  text-decoration: none;
}
.share-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-x:hover { background: #000000; color: #fff; border-color: #000000; }
.share-linkedin:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.share-copy:hover { background: var(--puloop-purple); color: #fff; border-color: var(--puloop-purple); }

/* =======================================================
   PHASE 2: LIVING STORY, TIMELINE, LESSONS & BADGES
   ======================================================= */

/* Profile Section Navigation Sticky Tabs */
.profile-nav-sticky {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  margin: 0 -20px 24px;
  padding: 0 20px;
}
.profile-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}
.profile-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.profile-tab-link:hover, .profile-tab-link.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  text-decoration: none;
}

/* Profile Action Strip & Toolbar */
.profile-action-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
  align-items: center;
}

.action-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #E2E8F0;
  background: #ffffff;
  color: #1E293B;
  box-shadow: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1;
}

.action-strip-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
  transform: translateY(-1px);
  box-shadow: none;
  text-decoration: none;
}

.action-strip-btn.action-strip-primary,
.action-strip-btn#followActionBtn {
  background: #FAF5FF;
  border-color: #E9D5FF;
  color: var(--puloop-purple, #6B21A8);
  font-weight: 700;
}

.action-strip-btn.action-strip-primary:hover,
.action-strip-btn#followActionBtn:hover {
  background: #F3E8FF;
  border-color: #D8B4FE;
  color: #581C87;
}

.action-strip-btn.active-followed,
.action-strip-btn#followActionBtn.active-followed {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}

.action-count-pill,
#followCountBadge {
  background: #ffffff;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  line-height: 1.1;
  opacity: 0.9;
}

.action-strip-btn.active-saved {
  background: #FDF2F8;
  border-color: #FBCFE8;
  color: #BE185D;
}

.action-strip-btn.action-strip-connect {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #15803D;
  font-weight: 700;
}
.action-strip-btn.action-strip-connect:hover {
  background: #DCFCE7;
  border-color: #86EFAC;
  color: #166534;
}

.action-strip-utility-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.action-strip-btn.action-strip-utility {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #475569;
}
.action-strip-btn.action-strip-utility:hover {
  background: #ffffff;
  border-color: #CBD5E1;
  color: #0F172A;
}

/* Structured Lessons From My Journey */
.lessons-section {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(180deg, #fbfaff 0%, #ffffff 100%);
  border: 1px solid #ede9fe;
  border-radius: var(--radius-md);
}
.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.lesson-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.lesson-card:hover {
  transform: translateY(-2px);
  border-color: var(--puloop-purple);
}
.lesson-icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.lesson-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-main);
  flex: 1;
}

/* AI Key Takeaways Box */
.takeaways-box {
  margin: 24px 0;
  padding: 20px;
  background: #faf5ff;
  border-left: 4px solid var(--puloop-purple);
  border-radius: var(--radius-sm);
}
.takeaways-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-main);
}
.takeaways-num {
  font-family: monospace;
  font-weight: 800;
  color: var(--puloop-purple);
  font-size: 0.88rem;
  background: rgba(112, 0, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* In Their Own Words Callout */
.own-words-callout {
  margin: 24px 0;
  padding: 20px 24px;
  background: #fff5f7;
  border-left: 4px solid var(--puloop-coral);
  border-radius: var(--radius-sm);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.65;
  color: #1e293b;
}

/* Journey Milestone Timeline */
.timeline-wrap {
  margin: 28px 0;
  position: relative;
  padding-left: 28px;
}
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #e2e8f0;
}
.timeline-point {
  position: relative;
  margin-bottom: 24px;
}
.timeline-point:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 2px rgba(112, 0, 255, 0.15);
}
.timeline-year {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.timeline-heading {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--text-main);
}
.timeline-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Mentorship Availability Banner */
.mentorship-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
  padding: 16px 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
}
.mentorship-title {
  font-weight: 800;
  color: #065f46;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

/* Living Updates Feed */
.updates-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}
.update-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  position: relative;
}
.update-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* Spotlight Card Canvas Preview */
.card-canvas-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #0f172a;
  border-radius: var(--radius-sm);
  margin: 16px 0;
  overflow: hidden;
}
.card-canvas-container canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #334155;
}
.card-format-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.card-format-pill {
  padding: 6px 14px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.card-format-pill.active {
  background: var(--puloop-purple);
  color: #ffffff;
  border-color: var(--puloop-purple);
}

/* Comment Like Button */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}
.like-btn:hover {
  border-color: var(--puloop-coral);
  color: var(--puloop-coral);
  background: #fff;
}
.like-btn.liked {
  border-color: var(--puloop-coral);
  color: var(--puloop-coral);
  background: rgba(255, 59, 104, 0.08);
}
.like-btn.liked .heart-icon svg {
  fill: currentColor;
}

/* ==========================================================
   GLOBAL FORM CONTROLS & UNIFIED INPUT STANDARDS
   ========================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="date"],
input[type="number"],
input[type="search"],
input[type="tel"],
select,
textarea {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-sizing: border-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  padding-right: 40px;
  cursor: pointer;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--puloop-purple);
  box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.14);
  background-color: #ffffff;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light);
  opacity: 1;
}

input:disabled,
select:disabled,
textarea:disabled {
  background-color: #f8fafc;
  border-color: var(--border-light);
  color: var(--text-light);
  cursor: not-allowed;
}

label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 18px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.4;
}

/* ==========================================================
   LANDING HERO 3-PAGE SLIDER & INTERACTIVE MASCOT RIG (NO SHADOWS)
   ========================================================== */
.hero-home-section {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF5FF 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.hero-slider-wrap {
  position: relative;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
  min-height: 380px;
}

/* Slider Track & Slide Pages */
.hero-slides-track {
  position: relative;
  min-height: 340px;
}

.hero-slide {
  display: none;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.hero-pill-badge,
.hero-editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-muted);
}

.hero-main-title {
  font-size: 2.35rem;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-main-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 620px;
}

.hero-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.hero-quick-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.hero-quick-links a:hover {
  color: var(--puloop-purple);
}

/* Slider Navigation & Pagination Bar */
.hero-slider-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-nav-btn:hover {
  border-color: var(--puloop-purple);
  color: var(--puloop-purple);
  background: #faf5ff;
}

.hero-dots-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 6px;
}

.hero-dot-pill {
  width: 10px;
  height: 8px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot-pill.active {
  width: 26px;
  background: var(--puloop-purple);
  border-color: var(--puloop-purple);
}

.hero-slide-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================
   INTERACTIVE MASCOT PUPPET RIG & ANIMATIONS (NO SHADOWS)
   ========================================================== */
.hero-mascot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  user-select: none;
}

.hero-mascot-stage {
  position: relative;
  width: 320px;
  height: 310px;
  margin: 0 auto;
}

/* Mascot Speech Bubble */
.mascot-speech-bubble {
  position: absolute;
  bottom: calc(100% + 12px);
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  max-width: 320px;
  width: max-content;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  z-index: 20;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.mascot-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #ffffff transparent transparent;
  display: block;
  width: 0;
}

.mascot-speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px 7px 0;
  border-style: solid;
  border-color: var(--border-light) transparent transparent;
  display: block;
  width: 0;
}

/* Mascot Rig Box */
.puloop-mascot-rig {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  animation: mascotFloat 3.2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.puloop-mascot-rig:hover {
  transform: translateY(-4px) scale(1.02);
}

.puloop-mascot-rig.is-jumping {
  animation: mascotJump 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes mascotFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes mascotJump {
  0% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-26px) scale(1.07) rotate(-3deg); }
  60% { transform: translateY(-10px) scale(0.97) rotate(2deg); }
  85% { transform: translateY(-3px) scale(1.02); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}

/* Base Body */
.mascot-part-body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

/* Waving Hand Component */
.mascot-part-hand {
  position: absolute;
  left: 0.98%;
  top: 10.57%;
  width: 28.6%;
  height: 30.49%;
  object-fit: contain;
  z-index: 5;
  transform-origin: 90% 88%;
  animation: mascotWaveHand 1.4s ease-in-out infinite alternate;
  pointer-events: none;
}

.puloop-mascot-rig:hover .mascot-part-hand {
  animation-duration: 0.55s;
}

@keyframes mascotWaveHand {
  0% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(20deg);
  }
}

/* Blinking Eyelid Overlays */
.mascot-eyelid {
  position: absolute;
  border-radius: 50%;
  transform-origin: top center;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  animation: mascotEyelidBlink 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.mascot-eyelid-left {
  left: 33.1%;
  top: 15.2%;
  width: 10.8%;
  height: 14.2%;
  background: #8b2cf5;
  border-bottom: 2px solid #5b14aa;
}

.mascot-eyelid-right {
  left: 47.7%;
  top: 17.3%;
  width: 13.0%;
  height: 14.2%;
  background: #fa427c;
  border-bottom: 2px solid #b81748;
}

@keyframes mascotEyelidBlink {
  0%, 88%, 94%, 100% {
    opacity: 0;
    transform: scaleY(0);
  }
  90%, 92% {
    opacity: 1;
    transform: scaleY(1);
  }
  96%, 98% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Stepping Sneakers */
.mascot-part-shoe-left {
  position: absolute;
  left: 8.28%;
  top: 70.12%;
  width: 30.57%;
  height: 28.45%;
  object-fit: contain;
  z-index: 4;
  transform-origin: 80% 20%;
  animation: mascotLeftFootStep 1.6s ease-in-out infinite alternate;
  pointer-events: none;
}

.mascot-part-shoe-right {
  position: absolute;
  left: 45.36%;
  top: 65.04%;
  width: 31.56%;
  height: 33.54%;
  object-fit: contain;
  z-index: 4;
  transform-origin: 30% 20%;
  animation: mascotRightFootStep 1.6s ease-in-out infinite alternate;
  animation-delay: -0.8s;
  pointer-events: none;
}

@keyframes mascotLeftFootStep {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-7px) rotate(-4deg);
  }
}

@keyframes mascotRightFootStep {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-6px) rotate(4deg);
  }
}

.mascot-click-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--puloop-purple);
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-top: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mascot-click-hint:hover {
  background: #faf5ff;
  border-color: var(--puloop-purple);
}

/* ==========================================================
   ENHANCED INSTITUTIONAL STATS METRIC SHOWCASE (ANIMATED, NO SHADOWS)
   ========================================================== */
.stats-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@keyframes statCardEntrance {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
  animation: statCardEntrance 0.4s ease-out both;
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

.stat-card-purple:hover {
  border-color: var(--puloop-purple);
  background-color: #FAF5FF;
}

.stat-card-magenta:hover {
  border-color: var(--puloop-magenta);
  background-color: #FDF2F8;
}

.stat-card-deep:hover {
  border-color: var(--deep-purple);
  background-color: #F5F3FF;
}

.stat-card-coral:hover {
  border-color: var(--puloop-coral);
  background-color: #FFF1F2;
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover .stat-icon-wrap {
  transform: translateY(-2px) scale(1.08);
}

.stat-icon-purple {
  background: var(--primary-light);
  color: var(--puloop-purple);
  border: 1px solid var(--primary-subtle);
}

.stat-icon-magenta {
  background: #FDF2F8;
  color: var(--puloop-magenta);
  border: 1px solid #FBCFE8;
}

.stat-icon-deep {
  background: #F3E8FF;
  color: var(--deep-purple);
  border: 1px solid #E9D5FF;
}

.stat-icon-coral {
  background: #FFF1F2;
  color: var(--puloop-coral);
  border: 1px solid #FFE4E6;
}

.stat-content {
  min-width: 0;
  flex: 1;
}

.stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.stat-color-purple { color: var(--puloop-purple); }
.stat-color-magenta { color: var(--puloop-magenta); }
.stat-color-deep { color: var(--deep-purple); }
.stat-color-coral { color: var(--puloop-coral); }

.stat-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  line-height: 1.25;
}

.stat-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 580px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 12px 14px;
  }
}

@media (max-width: 860px) {
  .hero-home-section {
    padding: 24px 0 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
    min-height: auto;
  }
  .hero-slides-track {
    min-height: auto;
  }
  .hero-mascot-wrap {
    order: -1;
    margin: 0 auto 16px;
    padding-top: 56px; /* Generous clearance from header so speech bubble never touches */
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
  }
  .hero-mascot-stage {
    width: 250px;
    height: 242px;
  }
  .mascot-speech-bubble {
    bottom: calc(100% + 10px);
    top: auto;
    font-size: 0.78rem;
    padding: 6px 14px;
    max-width: min(320px, calc(100vw - 36px));
    width: max-content;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    border-radius: 16px;
  }
  .hero-main-title {
    font-size: 1.85rem;
  }
  .hero-main-desc {
    font-size: 0.98rem;
    margin-bottom: 20px;
  }

  /* Prevent unnecessary iOS Safari auto-zooming on focus: ensure inputs are at least 16px */
  input[type="text"],
  input[type="search"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  select,
  textarea,
  .form-control,
  .mobile-search-input {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .hero-mascot-wrap {
    padding-top: 50px;
    margin-bottom: 12px;
  }
  .hero-mascot-stage {
    width: 215px;
    height: 208px;
  }
  .mascot-speech-bubble {
    bottom: calc(100% + 8px);
    top: auto;
    font-size: 0.74rem;
    padding: 5px 12px;
    max-width: calc(100vw - 28px);
    width: max-content;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    border-radius: 14px;
  }
  .hero-main-title {
    font-size: 1.55rem;
  }
  .hero-actions-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================
   GAZETTE LEAD BANNER & CAROUSEL RESPONSIVENESS
   ========================================================== */
.gazette-lead-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--puloop-purple);
  padding: 28px;
  border-radius: var(--radius-sm);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: center;
}

.gazette-lead-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  max-width: 100%;
}

@media (max-width: 820px) {
  .gazette-lead-banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
  .gazette-lead-img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .gazette-lead-banner {
    padding: 16px;
  }
  .gazette-lead-img {
    height: 180px;
  }
}

/* Carousel images fluid responsiveness */
.carousel-card-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================
   ADMIN PORTAL NAVIGATION & UI POLISH
   ========================================================== */
.admin-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 2px solid var(--puloop-purple);
}

.admin-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: all 0.15s ease;
}

.admin-nav a:hover {
  color: var(--puloop-purple);
  background: var(--primary-light);
  text-decoration: none;
}

.admin-nav a.active {
  color: var(--puloop-purple);
  font-weight: 700;
  background: var(--primary-light);
}

/* Standardized Admin Tables */
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  margin-top: 14px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.admin-table thead tr {
  background: #f8fafc;
  border-bottom: 2px solid var(--border-light);
}

.admin-table th {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: #fafbfc;
}

/* ==========================================================
   FLUID RESPONSIVE GRID SYSTEM (NO OVERFLOW, STRICT PROPORTIONS)
   ========================================================== */
.stories-grid,
.news-grid,
.saved-grid,
.collections-grid,
.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.discovery-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .discovery-hub-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .stories-grid,
  .news-grid,
  .saved-grid,
  .collections-grid,
  .opportunities-grid,
  .grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    width: 100% !important;
  }

  .news-article-card,
  .card,
  .stat-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .news-article-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .gazette-headline {
    font-size: clamp(1.45rem, 5vw, 1.9rem) !important;
  }

  .gazette-bar {
    font-size: 0.72rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ==========================================================
   EDITORIAL SAVED SPOTLIGHTS DESK STYLES
   ========================================================== */
.saved-desk-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.saved-stat-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.saved-lesson-badge {
  background: #faf5ff;
  border-left: 3px solid var(--puloop-purple);
  padding: 8px 12px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ==========================================================
   MONTHLY SPOTLIGHT THEME SHOWCASE DESK (PROFESSIONAL & EDITORIAL)
   ========================================================== */
.monthly-theme-section {
  margin: 44px 0 40px;
}

.monthly-theme-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--puloop-purple);
  border-radius: var(--radius-sm);
  padding: 32px 36px;
  box-shadow: none !important;
}

.monthly-theme-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.monthly-theme-badge-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.editorial-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--puloop-purple);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.editorial-month-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--puloop-purple);
  background: var(--primary-light);
  border: 1px solid var(--primary-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
}

.editorial-nomination-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
}

.editorial-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.monthly-theme-body-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.monthly-theme-title {
  font-size: 1.85rem;
  line-height: 1.25;
  color: var(--text-main);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.monthly-theme-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 640px;
}

.monthly-theme-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.theme-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pillar-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: var(--primary-light);
  color: var(--puloop-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.theme-pillar-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.theme-pillar-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.monthly-theme-action-card {
  background: #fafbfc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  box-shadow: none !important;
}

.action-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--puloop-purple);
}

@media (max-width: 860px) {
  .monthly-theme-banner {
    padding: 22px 18px;
  }
  .monthly-theme-body-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .monthly-theme-title {
    font-size: 1.45rem;
  }
}

/* ==========================================================
   MOBILE VIEW PAGE MARGIN ENFORCEMENT
   ========================================================== */
@media (max-width: 768px) {
  .wrap {
    padding-left: clamp(18px, 5vw, 24px) !important;
    padding-right: clamp(18px, 5vw, 24px) !important;
  }
}

/* ==========================================================
   SPONSORS & PARTNER BRANDS MARQUEE (NO SHADOWS, FLAT, CRISP)
   ========================================================== */
.sponsors-marquee-section {
  margin: 34px 0 38px;
  position: relative;
}

.sponsors-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

.sponsors-title-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sponsors-partner-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sponsors-partner-cta:hover {
  text-decoration: underline;
}

.sponsors-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.sponsors-marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: sponsorMarqueeScroll 28s linear infinite;
}

.sponsors-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes sponsorMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sponsor-card-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 6px 14px;
  height: 48px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  box-shadow: none !important;
}

.sponsor-card-item:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  transform: translateY(-2px) scale(1.05);
  text-decoration: none;
  box-shadow: none !important;
}

.sponsor-logo-img {
  height: 38px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent !important;
  background-color: transparent !important;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.sponsor-card-item:hover .sponsor-logo-img {
  opacity: 1;
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
}

.sponsor-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   DIRECT PROFILE EDITOR & POLISHED PROFILE PAGE STYLES
   ========================================================================== */
.field-is-modified {
  border-color: #10b981 !important;
  background-color: #f0fdf4 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15) !important;
}

.action-strip-btn.profile-edit-action-btn {
  background: #FAF5FF;
  border-color: #D8B4FE;
  color: var(--puloop-purple);
  font-weight: 700;
}

.action-strip-btn.profile-edit-action-btn:hover {
  background: var(--puloop-purple);
  color: #ffffff;
  border-color: var(--puloop-purple);
}

/* Polished Profile Hero & Card Styling */
.profile-header-card {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 24px 20px;
}

@media (min-width: 768px) {
  .profile-header-card {
    padding: 32px 28px;
    gap: 24px;
  }
}

.portrait {
  border: 3.5px solid #0F172A;
  box-shadow: none !important;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  transition: none;
}

.portrait:hover {
  transform: none;
  box-shadow: none !important;
}

.summary-highlight {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #0f172a;
  background: #f8fafc;
  border-left: 4px solid var(--puloop-purple);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 20px 0;
}

.bio-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
  margin: 14px 0 24px;
}

.quote-inspiration-card {
  position: relative;
  background: linear-gradient(135deg, #FAF5FF 0%, #FFFFFF 100%);
  border: 1px solid #E9D5FF;
  border-radius: 12px;
  padding: 26px 30px;
  margin: 28px 0;
  box-shadow: none !important;
  overflow: hidden;
}

.quote-inspiration-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 8rem;
  line-height: 1;
  color: #E9D5FF;
  opacity: 0.5;
  font-family: Georgia, serif;
  pointer-events: none;
}

.quote-body {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1E1B4B;
  margin-bottom: 12px;
  font-style: italic;
}

.quote-author {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--puloop-purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Editorial Features Pairing Grid (Spotlight of the Week + Question of the Week) */
.weekly-editorial-pairing-section {
  margin-bottom: 48px;
}
.pairing-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .pairing-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Standard High-End Institutional Footer (Light Theme Mode)
   ========================================================================== */
.site-footer {
  margin-top: 64px;
  background: #FFFFFF;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-main-wrap {
  padding-top: 52px;
  padding-bottom: 44px;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

.footer-col-brand {
  padding-right: 16px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
}

.footer-mission-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 320px;
}

.footer-badge-row {
  margin-bottom: 14px;
}

.footer-powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.footer-powered-badge:hover {
  background: #FAF5FF;
  border-color: #E9D5FF;
  color: var(--puloop-purple);
  text-decoration: none;
}

.footer-powered-badge img {
  height: 16px;
  width: auto;
  display: block;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: #F8FAFC;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

.footer-status-pill .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.footer-col-title {
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav-list li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-block;
}

.footer-nav-list li a:hover {
  color: var(--puloop-purple);
  transform: translateX(2px);
  text-decoration: none;
}

.footer-admin-link {
  color: var(--text-light) !important;
  font-size: 0.8rem !important;
}

.footer-admin-link:hover {
  color: var(--text-muted) !important;
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--border-light);
  background: #F8FAFC;
  padding: 18px 0;
  font-size: 0.78rem;
  color: #64748B;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom-right .sep {
  color: var(--border-light);
}

@media (max-width: 992px) {
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col-brand {
    grid-column: span 2;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col-brand {
    grid-column: span 1;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================
   STORY AUTHOR BYLINE & ACHIEVEMENTS TRIGGER
   ========================================================== */
.profile-author-byline {
  margin-top: 8px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 4px 12px 4px 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
  max-width: 100%;
  box-sizing: border-box;
}

.profile-author-byline:hover,
.profile-author-byline:focus-visible {
  border-color: var(--puloop-purple);
  background: #FAF5FF;
  box-shadow: 0 2px 8px rgba(112, 0, 255, 0.12);
  outline: none;
}

.profile-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--puloop-purple);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-author-label {
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
}

.profile-author-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.profile-author-badge-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FAF5FF;
  color: var(--puloop-purple);
  border: 1px solid #E9D5FF;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.profile-author-byline:hover .profile-author-badge-trigger {
  background: var(--puloop-purple);
  color: #ffffff;
  border-color: var(--puloop-purple);
}

@media (max-width: 600px) {
  .profile-author-byline {
    display: inline-flex;
    max-width: 100%;
    overflow: hidden;
    padding: 3px 10px 3px 4px;
    gap: 6px;
  }
  .profile-author-name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
  }
  .profile-author-badge-trigger {
    padding: 2px 6px;
    font-size: 0.68rem;
  }
}

/* ==========================================================
   PU-LOOP PRIVACY & COOKIE CONSENT BANNER (REDESIGNED)
   ========================================================== */
.puloop-cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 480px;
  width: calc(100% - 32px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 20px 22px;
  z-index: 999999;
  font-family: var(--font-sans);
  color: #0F172A;
  box-sizing: border-box;
  animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cookie-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cookie-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  color: var(--puloop-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-icon-badge .ui-icon {
  width: 22px;
  height: 22px;
  color: var(--puloop-purple);
}

.cookie-title-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.cookie-compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cookie-compliance-pill .ui-icon {
  width: 12px;
  height: 12px;
}

.cookie-desc {
  margin: 0 0 16px;
  font-size: 0.83rem;
  line-height: 1.55;
  color: #475569;
}

.cookie-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-policy-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.cookie-policy-link:hover {
  color: var(--puloop-purple);
}

.cookie-policy-link .ui-icon {
  width: 14px;
  height: 14px;
}

.cookie-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-cookie-decline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-cookie-decline:hover {
  background: #E2E8F0;
  color: #1E293B;
  border-color: #94A3B8;
}

.btn-cookie-decline .ui-icon {
  width: 14px;
  height: 14px;
}

.btn-cookie-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7000FF 0%, #8B5CF6 100%);
  color: #FFFFFF;
  border: 1px solid #7000FF;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-cookie-accept:hover {
  background: linear-gradient(135deg, #5B00E6 0%, #7C3AED 100%);
  box-shadow: none;
  transform: translateY(-1px);
}

.btn-cookie-accept .ui-icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 640px) {
  .puloop-cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.15);
  }

  .cookie-actions-wrap {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-buttons-group {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 8px;
  }

  .btn-cookie-accept,
  .btn-cookie-decline {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 0.9rem;
    padding: 11px 16px;
  }

  .cookie-meta-links {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 4px;
  }
}



