/*!
 * PelicanCorp Canon v.pc08 — Melmac ColorFlyte Edition
 * Status: Canon
 * Date: 2025-11-18
 * Author: Meg Askey
 *
 * Notes:
 *  - Segoe UI base typography + Bootstrap Icons for glyphs
 *  - Centered main menu
 *  - Template-level region resolver with pre-header dropdown
 *  - Single, clean caret system on desktop
 *  - Single off-canvas hamburger on mobile (no stray “×”)
 *  - Preserves existing visual behavior (hero, sliders, news, prize page, footer, GDPR)
 *  - Safe for Helix Ultimate / SP Page Builder / Bootstrap 5
 */

/* =========================================================
   0. ROOT VARIABLES
   ========================================================= */

:root {
  --pc-orange: #f79222;
  --pc-orange-dark: #d97a12;
}

/* =========================================================
   1. TYPOGRAPHY & ICON BASELINES
   ========================================================= */

/* Base typography — Segoe UI stack */
body,
h1, h2, h3, h4, h5, h6,
p, a, div {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Bootstrap Icons font mapping */
.bi,
[class^="bi-"],
[class*=" bi-"] {
  font-family: "bootstrap-icons" !important;
  font-style: normal;
}

/* Do NOT globally style <i>; icon rules are scoped later */

/* =========================================================
   2. CAROUSEL & TESTIMONIAL ALIGNMENT
   ========================================================= */

/* Standard Carousel Card Height Alignment */
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  min-height: 100%;
}

.carousel-item .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Carousel Visibility Fix (only one slide visible at a time) */
#testimonialCarousel .carousel-inner {
  overflow: hidden;
}

#testimonialCarousel .carousel-item {
  display: none !important;
}

#testimonialCarousel .carousel-item.active {
  display: block !important;
}

/* HERO CAROUSEL – Responsive Backgrounds */
@media (max-width: 768px) {
  .home-hero-carousel .carousel-item:nth-child(1) {
    background-image: url("https://cdn.pelicancorp.com/images/PC/25-PCNA-home-hero-mobile-1.jpg") !important;
  }
  .home-hero-carousel .carousel-item:nth-child(2) {
    background-image: url("https://cdn.pelicancorp.com/images/PC/25-PCNA-home-hero-mobile-2.jpg") !important;
  }
  .home-hero-carousel .carousel-item:nth-child(3) {
    background-image: url("https://cdn.pelicancorp.com/images/PC/25-PCNA-home-hero-mobile-3.jpg") !important;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .home-hero-carousel .carousel-item:nth-child(1) {
    background-image: url("https://cdn.pelicancorp.com/images/PC/25-PCNA-home-hero-tablet-1.jpg") !important;
  }
  .home-hero-carousel .carousel-item:nth-child(2) {
    background-image: url("https://cdn.pelicancorp.com/images/PC/25-PCNA-home-hero-tablet-2.jpg") !important;
  }
  .home-hero-carousel .carousel-item:nth-child(3) {
    background-image: url("https://cdn.pelicancorp.com/images/PC/25-PCNA-home-hero-tablet-3.jpg") !important;
  }
}

/* =========================================================
   3. CTA & MODALS
   ========================================================= */

/* CTA + Modal Typography */
.pc-cta-contact h2,
#tellMeMoreModal .modal-content {
  font-family: "Trebuchet MS", sans-serif;
}

#tellMeMoreModal .form-control::placeholder {
  color: #999;
  font-size: 0.9rem;
}

/* Modal Overlay / z-index Fix */
.modal-backdrop {
  z-index: 1040 !important;
  opacity: 0.5 !important;
}
.modal {
  z-index: 1055 !important;
}
.modal.show .modal-dialog,
.modal.show .modal-content {
  z-index: 1060 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* =========================================================
   4. FEATURES SLIDESHOW (Custom carousel)
   ========================================================= */

#features-carousel {
  background-color: #f5f5f5;
  padding: 4rem 0;
}
#features-carousel .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
#features-carousel h2.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 2rem;
  text-align: center;
}
.carousel-wrapper {
  position: relative;
}
.main-carousel {
  position: relative;
  overflow: hidden;
}
.carousel-slide {
  display: none;
  position: relative;
}
.carousel-slide.active {
  display: block;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-overlay {
  position: absolute;
  top: 10%;
  left: 5%;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  max-width: 600px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.carousel-overlay h3 {
  color: #3e67a3;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.carousel-overlay p {
  color: #212529;
  font-size: 1rem;
  margin: 0;
}
.carousel-thumbnails {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.carousel-thumbnails img.thumb {
  width: 100px;
  height: auto;
  margin: 0 0.5rem;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.carousel-thumbnails img.thumb.active {
  opacity: 1;
  border-color: #3e67a3;
}

/* CTA button hover in Features context */
.btn.btn-outline-light.btn-lg:hover {
  color: #00a1df !important;
}

/* =========================================================
   5. HEADER FADE-IN (APAC Variant)
   ========================================================= */

.header {
  position: relative;
  height: 325px;
  width: 100%;
  background: linear-gradient(to right, #00a1df, #f7b84a);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.ping-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: pingEffect 6s infinite;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.ping-ring:nth-child(2) {
  animation: pingEffect 5s infinite;
  animation-delay: 1s;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.3);
}

.ping-ring:nth-child(3) {
  animation: pingEffect 7s infinite;
  animation-delay: 2s;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.4);
}

@keyframes pingEffect {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

.header h1 {
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 10px;
  padding: 0;
  opacity: 0.9;
  animation: textPulse 6s infinite ease-in-out;
}

@keyframes textPulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.7;
  }
}

.header p {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 20px;
}

.cta-button {
  padding: 12px 25px;
  background: #fff;
  color: #00a1df;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
}
.cta-button:hover {
  background: #f7b84a;
  color: #fff;
}

/* Misc header/utility tweaks */
div.logo img {
  width: auto !important;
}
ul.menu-child {
  line-height: 2 !important;
}
.com-finder > * + *,
.com-finder__results > * + * {
  margin-top: 0 !important;
}

/* FontAwesome → Bootstrap Icon mapping for legacy markup */
.fa-angle-up {
  --fa: "\f286" !important;
  font-family: "bootstrap-icons" !important;
}
.fa-search {
  --fa: "\F52A" !important;
  font-family: "bootstrap-icons" !important;
}
.fa-search-plus {
  --fa: "\F18E" !important;
  font-family: "bootstrap-icons" !important;
}

/* =========================================================
   6. HEADER CARET / BURGER / OFFCANVAS LOGIC
   (PelicanCorp Header Canon — caret + hamburger behavior)
   ========================================================= */

/* Remove Helix default icons / togglers in main menu */
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child i,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child .menu-toggler {
  display: none !important;
}

/* Remove any built-in pseudo carets on root items */
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > a::before,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > span::before,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > a::after,
nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > span::after {
  content: none !important;
  display: none !important;
}

/* Desktop: inject a single right-aligned caret per parent */
@media (min-width: 992px) {
  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > a,
  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > span {
    position: relative;
    padding-right: 18px;
  }

  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > a::after,
  nav.sp-megamenu-wrapper .sp-megamenu-parent > li.sp-has-child > span::after {
    content: "" !important;
    position: absolute !important;
    right: 2px !important;
top: 53% !important;
transform: translateY(-50%) !important;
    width: 0;
    height: 0;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 6px solid #159bd7 !important;
    display: block !important;
  }
}

/* Ensure root parent links remain clickable */
.sp-megamenu-parent .sp-has-child > a {
  pointer-events: auto !important;
}

/* Mobile: Offcanvas toggler logic */
@media (min-width: 992px) {
  nav.sp-megamenu-wrapper .offcanvas-toggler-right {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  #sp-header .offcanvas-toggler-right {
    display: inline-flex !important;
    align-items: center;
  }

  #sp-header .offcanvas-toggler-right + .offcanvas-toggler-right,
  nav.sp-megamenu-wrapper .offcanvas-toggler-right + .offcanvas-toggler-right {
    display: none !important;
  }
}

/* Kill stray close icons / × from Helix offcanvas header */
#sp-header .close-icon,
#sp-header .fa-times,
#sp-header .offcanvas-toggler-right::after {
  display: none !important;
}

/* When offcanvas is active, use toggler pseudo if needed */
@media (max-width: 991.98px) {
  body.offcanvas-active #sp-header .offcanvas-toggler-right::after {
    display: inline-block !important;
  }
}

/* Enforce burger visible */
#sp-header .offcanvas-toggler-right .burger-icon {
  display: inline-block !important;
}

/* Offcanvas submenu caret — match desktop triangle */
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > a > .menu-toggler:after,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .menu-separator > .menu-toggler:after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #159bd7;
}

/* Kill duplicate burger in specific odd case */
a.offcanvas-toggler-right:nth-child(2) > div:nth-child(1) span {
  display: none !important;
}

/* =========================================================
   MAIN MENU — Increase Top-Level Font Size
   ========================================================= */

@media (min-width: 992px) {
  nav.sp-megamenu-wrapper .sp-megamenu-parent > li > a {
    font-size: 16px;
    font-weight: 500;
  }
}

/* =========================================================
   7. FOOTER: Sparkle Footer — Dark Variant (LOCKED v.ls010)
   ========================================================= */

#sparkle-footer {
  background: #1c1c1c;
  color: #fff;
  font-size: 0.95rem;
  padding: 40px 20px 20px;
}

#sparkle-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

#sparkle-footer a:hover {
  color: #ff6600;
}

#sparkle-footer .sparkle-divider {
  height: 4px;
  background: linear-gradient(to right, #ff6600, #fff, #ff6600);
  margin-bottom: 30px;
}

#sparkle-footer .footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

#sparkle-footer .footer-col h4 {
  font-weight: 600;
  margin-bottom: 12px;
}

#sparkle-footer .newsletter-form {
  display: flex;
  gap: 8px;
}

#sparkle-footer .newsletter-form input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
}

#sparkle-footer .newsletter-form button {
  background: #ff6600;
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#sparkle-footer .newsletter-form button:hover {
  background: #e25500;
}

#sparkle-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
  padding-top: 15px;
}

#sparkle-footer .social-icons a {
  margin-left: 10px;
  font-size: 1.2rem;
}

/* Footer brand alignment */
#sparkle-footer .footer-brand {
  text-align: right;
}

/* Footer icons (gold, with spacing) */
#sparkle-footer i {
  color: #f7b84a;
  font-size: 1.5rem;
  margin-right: 10px;
}

/* =========================================================
   8. GDPR BANNER — PelicanCorp Global Baseline (LOCKED)
   ========================================================= */

.gdpr-banner,
.gdpr-modal {
  font-family: "Segoe UI", Tahoma, sans-serif !important;
  background: #1c1c1c !important;
  color: #fff !important;
  font-size: 0.95rem !important;
}

.gdpr-banner a {
  color: #fff !important;
  text-decoration: underline;
}

.gdpr-banner button.accept,
.gdpr-banner button.reject,
.gdpr-banner button.preferences {
  background: #ff6600 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 6px 12px !important;
  margin: 0 5px !important;
  cursor: pointer;
  font-size: 0.9rem !important;
}

.gdpr-banner button.accept:hover,
.gdpr-banner button.reject:hover,
.gdpr-banner button.preferences:hover {
  background: #e25500 !important;
}

.gdpr-banner,
.gdpr-modal {
  z-index: 9999 !important;
  position: relative;
}

@media (max-width: 576px) {
  .gdpr-banner {
    text-align: center !important;
    padding: 1rem !important;
  }
  .gdpr-banner button {
    margin: 0.25rem 0 !important;
    display: block !important;
    width: 100% !important;
  }
}

/* =========================================================
   9. NEWS SECTION — Shared Styling
   Applies to Events, PR, Industry News, Case Studies, Blog
   ========================================================= */

/* Wrapper: sidebar + main content */
.news {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  gap: 30px;
}

/* Sidebar */
.news .sidebar {
  flex: 0 0 250px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
}

.news .sidebar-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.news .sidebar-header i {
  color: #f7b84a;
  font-size: 1.5rem;
  margin-right: 10px;
}

.news .sidebar-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.news .sidebar-links a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;
  color: #f79222;
}

.news .sidebar-links a:hover {
  color: #d97a12;
  text-decoration: underline;
}

.news .sidebar-links .date-location {
  font-size: 0.95rem;
  color: #666;
}

/* Main content */
.news .main-content {
  flex: 1 1 0;
  min-width: 300px;
}

/* Individual event/post */
.news .content-block {
  margin-bottom: 60px;
  overflow: auto;
  font-family: "Trebuchet MS", sans-serif;
  clear: both;
}

.news .content-block h2 {
  font-size: 2rem;
  color: #333;
  font-weight: bold;
  margin-top: 0;
}

.news .content-block blockquote {
  font-size: 1.1rem;
  color: #333;
  margin: 10px 0;
  font-style: italic;
}

.news .content-block p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
}

.news .content-block a {
  color: #f79222;
  text-decoration: none;
}

.news .content-block a:hover {
  color: #d97a12;
  text-decoration: underline;
}

/* Logos */
.news .content-block .logo {
  float: left;
  max-width: 220px;
  max-height: 120px;
  margin: 0 20px 10px 0;
  object-fit: contain;
}

/* Dividers */
.news .content-block hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 40px auto;
  width: 75%;
  max-width: 700px;
  clear: both;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .news {
    flex-direction: column;
  }
  .news .sidebar {
    position: static;
    margin-bottom: 30px;
  }
  .news .content-block .logo {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
  }
}

/* Card icons (slightly larger, spacing below) */
.card-body i {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

/* =========================================================
   10. GENERIC ENTRY FORM + CONFETTI
   (Used for promo/lead forms outside UE Prize page)
   ========================================================= */

.entry-form {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 650px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.entry-form:hover {
  transform: translateY(-6px);
}

.entry-form h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.entry-form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.entry-form button {
  background: #f79222;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.entry-form button:hover {
  background: #d97a12;
  transform: scale(1.04);
}

.trust-text {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  text-align: center;
}

/* Confetti Canvas */
#confetti-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 12px;
}

/* =========================================================
   11. UE PRIZE PAGE (Melmac ColorFlyte)
   ========================================================= */

/* Hero */
.prize-hero {
  position: relative;
  min-height: 480px;
  text-align: center;
  background: url("https://cdn.pelicancorp.com/images/PC/25-PCNA-ue-prize-lg.jpg") center/cover no-repeat;
  border-radius: 0 0 30px 30px;
}

.prize-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(34, 34, 34, 0.7), rgba(34, 34, 34, 0.3));
  border-radius: 0 0 30px 30px;
}

.prize-hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  max-width: 700px;
  text-align: center;
  color: #222;
}

.prize-hero .hero-content h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #222 !important;
}

.prize-hero .hero-content .subhead {
  font-size: 1rem;
  color: #555;
}

.prize-hero .hero-content .value-tag {
  background: #555;
  color: #fff;
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  font-size: 0.95rem;
  display: inline-block;
  margin: 0.5rem 0;
}

.prize-hero .hero-content .cta-btn {
  background: var(--pc-orange);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.prize-hero .hero-content .cta-btn:hover {
  background: var(--pc-orange-dark);
  transform: translateY(-2px);
}

/* Intro */
.prize-intro {
  background: #fff;
  padding: 2.5rem 1rem;
  text-align: center;
}

.prize-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222 !important;
}

.prize-description {
  max-width: 700px;
  margin: 1rem auto 2rem;
  color: #444;
}

.geo-rule {
  color: #666;
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Entry Area */
#entry-area {
  background: #f8f9fa;
  padding: 3rem 1rem;
}

#entry-area .row {
  display: flex;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 992px) {
  #entry-area .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  #entry-area .col-lg-5 {
    flex: 0 0 40%;
    max-width: 40%;
  }
  #entry-area .col-lg-4 {
    flex: 0 0 35%;
    max-width: 35%;
  }
}

/* Steps */
.step-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

.step-vertical:hover {
  transform: translateY(-2px);
}

.step-number {
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  align-self: center;
}

.step-vertical h5 {
  margin: 0;
  font-size: 1rem;
  color: #222;
}

.step-vertical p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #555;
}

/* Prize Page Entry Form Variant (overrides generic) */
#entry-area .entry-form {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 0; /* inside layout, no extra margin */
  max-width: none;
  transform: none;
}

#entry-area .entry-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #222 !important;
}

#entry-area .entry-form .form-control {
  margin-bottom: 1rem;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  height: 42px;
}

#entry-area .entry-form .form-control:focus {
  border-color: #666;
  box-shadow: 0 0 0 0.15rem rgba(100, 100, 100, 0.2);
}

#entry-area .entry-form .cta-btn {
  width: 100%;
  background: var(--pc-orange);
  border-radius: 28px;
  font-weight: 700;
}

#entry-area .entry-form .cta-btn:hover {
  background: var(--pc-orange-dark);
  transform: translateY(-1px);
}

/* Geolantis Card */
.geolantis-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: left;
}

.geolantis-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.geolantis-card h4 {
  color: #222 !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Hide Geolantis CTA button (link lives elsewhere) */
.geolantis-card .cta-btn {
  display: none !important;
}

/* Terms */
section.bg-white {
  padding: 2rem 1rem;
}

section.bg-white h4 {
  color: #222 !important;
  margin-bottom: 1rem;
}

section.bg-white p {
  font-size: 0.95rem;
  color: #444;
  text-align: left !important;
}

/* Prize Page — Force One Row (20/40/40 layout) */
@media (min-width: 992px) {
  #entry-area .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 1.25rem !important;
  }
  #entry-area .col-lg-3 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
  }
  #entry-area .col-lg-5 {
    flex: 0 0 40% !important;
    max-width: 40% !important;
  }
  #entry-area .col-lg-4 {
    flex: 0 0 40% !important;
    max-width: 40% !important;
  }
}

/* Tweak Geolantis card so it fits gracefully */
#entry-area .geolantis-card img {
  max-width: 75% !important;
  height: auto !important;
  margin: 0 auto 0.75rem auto !important;
  display: block !important;
}
#entry-area .geolantis-card {
  padding: 1rem !important;
}

/* =====================================================
   PelicanCorp Region Pre-Header
   ===================================================== */

.pc-region-bar {
    background: #f4f4f4;
    padding: 6px 20px;
    font-size: 0.85rem;
}

.pc-region-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; /* Align RIGHT */
}

.pc-region-chooser {
    position: relative;
}

.pc-region-chooser summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
}

.pc-region-chooser summary::-webkit-details-marker {
    display: none;
}

.pc-region-current {
    color: #00A1DF;
    margin-left: 4px;
}

.pc-region-list {
    position: absolute;
    right: 0;
    margin-top: 6px;
    background: white;
    border: 1px solid #ddd;
    list-style: none;
    padding: 8px 0;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 9999;
}

.pc-region-list li {
    padding: 0;
}

.pc-region-list a {
    display: block;
    padding: 6px 14px;
    text-decoration: none;
    color: #333;
}

.pc-region-list a:hover {
    background: #f5f5f5;
    color: #00A1DF;
}
/* Region selector caret — match main menu */
.pc-region-chooser summary::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #159bd7;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.pc-region-chooser[open] summary::after {
  transform: rotate(180deg);
}

/* =========================================================
   PLATFORM HUB — System Layer (Bootstrap-first, isolated)
   ========================================================= */

/* Scope everything to Hub */
#platform-hub-hero,
#platform-hub-intro,
#platform-hub-filters,
#platform-hub-directory {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ---------------------------------------------------------
   Filter Buttons (clean active state)
--------------------------------------------------------- */
#platform-hub-filters .btn.active {
  background-color: #212529;
  color: #fff;
  border-color: #212529;
}

#platform-hub-filters .btn {
  transition: all 0.15s ease;
}

#platform-hub-filters .btn:hover {
  background-color: #e9ecef;
}

/* ---------------------------------------------------------
   Cards (subtle system feel)
--------------------------------------------------------- */
#platform-hub-directory .card {
  border: 1px solid #e5e5e5;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#platform-hub-directory .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Smooth filter transitions */
.platform-card {
  transition: opacity 0.2s ease;
}

/* ---------------------------------------------------------
   Category Label (subtle, non-branded)
--------------------------------------------------------- */
#platform-hub-directory .card-body > p:first-child {
  letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   Empty State
--------------------------------------------------------- */
#platform-empty {
  opacity: 0.7;
}

/* ---------------------------------------------------------
   Search Input (slight polish)
--------------------------------------------------------- */
#platformSearch {
  border-radius: 6px;
  padding: 10px 12px;
}

/* ---------------------------------------------------------
   Spacing Consistency (tighten slightly)
--------------------------------------------------------- */
#platform-hub-directory .card-body ul {
  margin-bottom: 0;
}