/* FFRA Pack3 - Custom Marquee Ticker & Sponsors Styling */

@keyframes ffraMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ffra-sponsors-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.ffra-sponsors-header {
  font-family: 'Plus Jakarta Sans', 'Outfit', 'Inter', sans-serif;
  font-size: 41px;
  font-weight: 700;
  color: rgb(232, 107, 5);
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: -0.01em;
}

.ffra-marquee-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
  padding: 10px 0;
}

.ffra-marquee-content {
  display: flex;
  gap: 60px;
  animation: ffraMarquee 35s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.ffra-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 54px;
}

.ffra-marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.ffra-marquee-item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Brands Ticker Grayscale (Black & White) filter */
.framer-fdglf3-container img {
  filter: grayscale(1) !important;
  opacity: 0.65;
  transition: all 0.3s ease;
}

.framer-fdglf3-container img:hover {
  filter: grayscale(0) !important;
  opacity: 1;
}

/* Hide duplicate Framer WhatsApp floating button */
.framer-h8vt4,
[data-framer-name="Floating WhatsApp Button"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* --------------------------------------------------------
   ITEM 1: Ministry Endorsement Logo & Text Gap Reduction (Mobile)
   Parent container: .framer-thl92v
   Coat of arms logo: .framer-ji37o1
   Endorsement text: .framer-o3w6ha
   -------------------------------------------------------- */
@media (max-width: 809.98px) {
  .framer-YH2CQ .framer-thl92v {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
  }

  .framer-YH2CQ .framer-ji37o1 {
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .framer-YH2CQ .framer-o3w6ha {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .framer-YH2CQ .framer-o3w6ha h1, 
  .framer-YH2CQ .framer-o3w6ha p,
  .framer-YH2CQ .framer-o3w6ha span,
  .framer-YH2CQ .framer-o3w6ha strong {
    font-size: 11px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
  }
}

/* --------------------------------------------------------
   ITEM 2: Admin Section Mobile Carousel Slider (.framer-knb6mo)
   -------------------------------------------------------- */
@media (max-width: 809.98px) {
  .ffra-sponsors-header {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .ffra-marquee-content {
    gap: 40px;
    animation-duration: 25s;
  }
  .ffra-marquee-item {
    width: 60px;
    height: 40px;
  }

  /* Admin Cards Carousel Slider Container (.framer-knb6mo) */
  .framer-YH2CQ .framer-knb6mo {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    place-content: flex-start !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100vw !important;
    gap: 16px !important;
    padding: 0 16px 20px 16px !important;
    box-sizing: border-box !important;
  }

  /* Admin Cards Items */
  .framer-YH2CQ .framer-knb6mo > .framer-3sog54-container,
  .framer-YH2CQ .framer-knb6mo > .framer-z6453l-container,
  .framer-YH2CQ .framer-knb6mo > div[class*="-container"] {
    flex: 0 0 88% !important;
    width: 88% !important;
    min-width: 88% !important;
    max-width: 88% !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
    box-sizing: border-box !important;
  }

  .framer-YH2CQ .framer-knb6mo .framer-sceoea,
  .framer-YH2CQ .framer-knb6mo .framer-ml4oB {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
