/* Locally hosted DIN Family Webfonts */
@font-face {
  font-family: 'D-DIN';
  font-style: normal;
  font-weight: 400;
  src: local('DIN Next'), local('DIN Alternate'), local('DIN 2014'), local('DIN'), local('D-DIN'),
       url('/modules/custom/usha_hugs/fonts/D-DIN.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'D-DIN';
  font-style: normal;
  font-weight: 700;
  src: local('DIN Next Bold'), local('DIN Alternate Bold'), local('DIN 2014 Bold'), local('DIN Bold'), local('D-DIN Bold'),
       url('/modules/custom/usha_hugs/fonts/D-DIN-Bold.woff') format('woff');
  font-display: swap;
}

/* USHA HUGS PUBLIC WIDGETS (Header CTA, Banner, Winners Carousel) */
:root {
  --uh-red: #D71F26;
  --uh-red-dark: #A8141A;
  --uh-cream: #FFF8EE;
  --uh-gold: #F2C230;
  --uh-font-din: 'D-DIN', 'DIN Next', 'DIN Alternate', 'DIN 2014', 'DIN', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --uh-font-helvetica: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Warming India CTA Pill Button (Designer Ruby Red & Gold Shimmer)
   Matches the official 'Play Warming India Now >' button artwork
   ========================================================================== */
.usha-hugs-pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 38px;
  padding: 0 20px 0 22px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #D41A21 0%, #AF0F16 52%, #85070B 100%);
  border: 1.5px solid #F5C058;
  box-shadow: 0 0 10px rgba(245, 192, 88, 0.45), 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  font-family: var(--uh-font-din);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF !important;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  animation: uhPillBtnGlow 2.8s infinite ease-in-out;
}

.usha-hugs-pill-cta .usha-hugs-pill-text {
  color: #FFFFFF !important;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.usha-hugs-pill-cta .usha-hugs-pill-arrow {
  color: #FFFFFF !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  margin-top: -2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease;
}

.usha-hugs-pill-cta:hover {
  transform: translateY(-1.5px) scale(1.03);
  background: linear-gradient(180deg, #E62229 0%, #C4141B 52%, #9B0B10 100%);
  border-color: #FED87E;
  box-shadow: 0 0 16px rgba(254, 216, 126, 0.8), 0 6px 18px rgba(175, 15, 22, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  color: #FFFFFF !important;
}

.usha-hugs-pill-cta:hover .usha-hugs-pill-arrow {
  transform: translateX(3px);
}

.usha-hugs-pill-cta:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 0 8px rgba(245, 192, 88, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4);
}

@keyframes uhPillBtnGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(245, 192, 88, 0.4), 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 16px rgba(245, 192, 88, 0.8), 0 0 26px rgba(212, 26, 33, 0.4), 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
  }
}

@media (max-width: 991px) {
  .usha-hugs-pill-cta {
    height: 34px;
    padding: 0 16px 0 18px;
    font-size: 13.5px;
  }
  .usha-hugs-pill-cta .usha-hugs-pill-arrow {
    font-size: 18px;
  }
}

/* ==========================================================================
   Header Warming India CTA Button (Designer Artwork Image Button)
   Features 3D Warmie Mascot, Neon Border, Dual-Tone Type & Tap Cursor
   ========================================================================== */
.nav-wrapper .block-usha-hugs {
  float: right;
  margin: 3px 0 0 12px;
  display: flex;
  align-items: center;
}

.usha-hugs-nav-img-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
  line-height: 0;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.22s ease;
  animation: uhImageBtnGlow 2.8s infinite ease-in-out;
}

.usha-hugs-nav-img-btn {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
  transition: filter 0.22s ease;
}

@keyframes uhImageBtnGlow {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(255, 230, 0, 0.55))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transform: translateY(0);
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(255, 230, 0, 0.95))
            drop-shadow(0 0 18px rgba(255, 140, 0, 0.7))
            drop-shadow(0 3px 8px rgba(0, 0, 0, 0.4));
    transform: translateY(-1.5px);
  }
}

.usha-hugs-nav-img-cta:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 12px #FFE082)
          drop-shadow(0 0 24px rgba(255, 152, 0, 0.95))
          drop-shadow(0 5px 12px rgba(0, 0, 0, 0.45));
}

.usha-hugs-nav-img-cta:active {
  transform: translateY(1px) scale(0.97);
  filter: drop-shadow(0 0 5px rgba(255, 230, 0, 0.6));
}

@media (max-width: 991px) {
  .nav-wrapper .block-usha-hugs {
    float: none;
    margin: 6px auto;
    width: 100%;
    justify-content: center;
    order: 3;
  }
  .usha-hugs-nav-img-btn {
    height: 40px;
  }
}

/* Backward compatibility fallback */
.usha-hugs-nav-cta {
  display: inline-flex;
}

/* Homepage Promo Banner */
.region-html-two,
.block-usha-hugs-promo-banner {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

.usha-hugs-promo-banner-wrap {
  margin: 0 0 25px;
  max-width: none;
  width: 100%;
  padding: 0;
}

.usha-hugs-promo-banner-wrap:has(.usha-hugs-promo-banner-img-link) {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0 0 25px;
}

.usha-hugs-promo-banner-img-link {
  display: block;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: opacity 0.18s ease;
}

.usha-hugs-promo-banner-img-link:hover {
  opacity: 0.95;
  transform: none;
  box-shadow: none;
}

.usha-hugs-promo-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.usha-hugs-promo-banner {
  background: linear-gradient(90deg, #FFF1E6 0%, #FFE7DC 60%, #FFDEC9 100%);
  border: 1.5px solid #F3CBB3;
  border-radius: 28px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 12px 30px rgba(215, 31, 38, 0.07);
  position: relative;
  overflow: hidden;
}

.banner-logo-badge .brand {
  font-weight: 900;
  font-size: 20px;
  color: var(--uh-red);
  letter-spacing: 0.1em;
}

.banner-logo-badge .title {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 44px;
  color: var(--uh-red);
  margin: -4px 0 2px;
  line-height: 1;
}

.banner-logo-badge .tagline {
  display: inline-block;
  background: #F8B44A;
  color: #FFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.banner-center .headline {
  font-size: 17px;
  color: #4A3A30;
  margin: 0 0 4px;
  font-weight: 600;
}

.banner-center .prize-claim {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--uh-red);
  margin: 0 0 18px;
  line-height: 1.15;
}

.banner-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--uh-red);
  color: #FFF;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--uh-red-dark);
  transition: transform 0.15s, box-shadow 0.15s;
}

.banner-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--uh-red-dark);
  color: #FFF;
}

/* Winners Carousel */
.usha-hugs-winners-wrap {
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 16px;
  text-align: center;
}

.winners-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.winners-header h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 800;
  color: #2A1A12;
  margin: 0;
}

.winners-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #E8DACB;
  background: #FFF;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6E5C50;
  transition: all 0.15s ease;
}

.carousel-arrow:hover {
  background: #FAF4EC;
  border-color: #D4C4B5;
}

.winners-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 4px;
}

.winner-card {
  background: #FFF;
  border: 1.5px solid #EFE4D6;
  border-radius: 20px;
  padding: 24px 28px;
  min-width: 200px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.winner-card:hover {
  transform: translateY(-4px);
}

.winner-avatar {
  margin-bottom: 12px;
}

.avatar-img-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  border: 3px solid #FFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.winner-name {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 800;
  color: #1A1A2E;
  margin-bottom: 4px;
}

.winner-week {
  font-size: 13px;
  font-weight: 700;
  color: var(--uh-red);
}

.winner-city {
  font-size: 12px;
  color: #8C7868;
  margin-top: 2px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E8DACB;
}

.carousel-dots .dot.active {
  background: var(--uh-red);
  width: 22px;
  border-radius: 999px;
}

@media (max-width: 768px) {
  .usha-hugs-promo-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
}

