


@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  background-color: #FFF1E8;
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}


/* Top Bar Styles */
.top-bar {
  background-color: #000000; /* Matching the Schneider banner's dark background */
  padding: 0;
  border-bottom: none;
  overflow: hidden;
  display: flex;
  justify-content: center;
  min-height: 60px;
}

.top-bar-container {
  width: 100%;
  max-width: 100%;
  height: 130px; /* Flexible height to fit banner naturally */
 
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-bar-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 1100 / 130; /* Maintains layout before image loads */
  display: block;
  object-fit: contain; /* Ensures nothing is hidden or overlapping */
}

.top-bar-social-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .top-bar {
    background-color: transparent;
    min-height: auto;
  }
  .top-bar-container {
    height: auto;
    padding: 0;
  }
  .top-bar-banner {
    max-height: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .top-bar-container {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 0;
  }
}

/* Header wrapper */
.custom-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  transition: background-color 0.28s ease;
}

.custom-navbar.is-scrolled {
  background-color: #FFF1E8;
}

/* The actual pill dark container */
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  padding: 16px 20px;
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  box-shadow: none;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background-color 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.navbar-container.is-scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-color: #f1f5f9;
}

/* Logo Alignment */
.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 1.9rem;
}

.navbar-logo img {
  width: 190px;
  height: 45px;
  object-fit: contain;
  object-position: left center;
  margin-right: 8px;
}

/* Center Menu Styles */
.navbar-menu {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  background: #fbfbfd;
  border: 1px solid #eef2f7;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-link {
  text-decoration: none;
  color: #64748b;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 15px;
  letter-spacing: 0.3px;
  font-weight: 600;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  position: relative;
}

.nav-link:hover {
  color: #0f172a;
  background: #ffffff;
  transform: translateY(-1px);
}

.nav-link.active {
  color: #f4831b;
  background: #fff6ef;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 22px;
  height: 3px;
  background: #f4831b;
  border-radius: 999px;
  transform: translateX(-50%);
}

/* Dropdown Triangle */
.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  transform: translateY(2px);
  opacity: 0.8;
}

/* Right Side Button Wrapper */
.navbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-left: 18px;
  min-width: 124px;
  padding: 0;
}

.header-join-btn {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4831b 0%, #d46d12 100%);
  box-shadow:
    0 14px 28px rgba(244, 131, 27, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: visible;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.header-join-btn::before,
.header-join-btn::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.header-join-btn::before {
  border: 1px dashed rgba(244, 131, 27, 0.3);
  opacity: 0.95;
  animation: joinRingClockwise 10s linear infinite;
}

.header-join-btn::after {
  inset: -13px;
  border: 2px dotted rgba(244, 131, 27, 0.2);
  opacity: 0.78;
  animation: joinRingCounterClockwise 14s linear infinite;
}

.header-join-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 34px rgba(244, 131, 27, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.header-join-btn:hover::before {
  animation:
    joinRingClockwise 10s linear infinite,
    headerJoinRing 1.1s ease-out infinite;
}

.header-join-btn:hover::after {
  animation:
    joinRingCounterClockwise 14s linear infinite,
    headerJoinRing 1.1s ease-out 0.18s infinite;
}

.header-join-btn__text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1;
  font-size: 15px;
  font-weight: 700;
}

@keyframes headerJoinRing {
  0% {
    transform: scale(1);
    opacity: 0.88;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

@keyframes joinRingClockwise {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@keyframes joinRingCounterClockwise {
  from {
    rotate: 0deg;
  }
  to {
    rotate: -360deg;
  }
}

/* Premium Gradient CTA Button */
.btn-primary {
  background: #f4831b;
  color: white;
  text-decoration: none;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(94, 108, 255, 0.342);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 108, 255, 0.342);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #0f172a;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
  position: relative;
  width: 32px;
  height: 32px;
}

.mobile-toggle svg {
  position: absolute;
  top: 4px;
  left: 4px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Toggle Initial States */
.mobile-toggle .icon-menu {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.mobile-toggle .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* Toggle Active States */
.mobile-toggle.open .icon-menu {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
.mobile-toggle.open .icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.nav-elements {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
}

/* Main Content Layout */
.main-content {
  max-width: 1100px;
  margin: 20px auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Left Column - Latest News */
.latest-news-header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 25px;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
}

.news-card {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 32px;
  cursor: pointer;
  background: #ffffff;
  padding: 0;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(244, 131, 27, 0.2);
}

.news-image-wrap {
  flex: 0 0 280px;
  height: 200px; /* Rectangular aspect ratio for better horizontal fit */
  position: relative;
  overflow: hidden;
  padding: 12px;
}

.news-image-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-image-element {
  transform: scale(1.05);
}

.news-content {
  flex: 1;
  padding: 20px 24px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* Important for flex-shrink and text-overflow */
}

.news-title {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.news-card:hover .news-title {
  color: #f4831b;
}

.news-excerpt {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.news-category {
  color: #f4831b;
  text-transform: uppercase;
  background: #fff6ef;
  padding: 4px 10px;
  border-radius: 6px;
}

.news-date {
  position: relative;
  padding-left: 12px;
}

.news-date::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #cbd5e1;
  transform: translateY(-50%);
}

.top-stories-header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 25px;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
}

.ts-top {
  position: relative;
  font-size: 2.2rem;
  font-weight: 800;
  color: #2e1c3b;
  letter-spacing: 0;
  z-index: 2;
}

.ts-stories {
  position: relative;
  font-size: 3rem;
  font-weight: 800;
  color: #f7f9fc;
  text-shadow: 
    1px 0px 0 #b0a0ca, -1px 0px 0 #b0a0ca, 
    0px 1px 0 #b0a0ca, 0px -1px 0 #b0a0ca, 
    1px 1px 0 #b0a0ca, 1px -1px 0 #b0a0ca, 
    -1px 1px 0 #b0a0ca, -1px -1px 0 #b0a0ca,
    0.5px 0.5px 0 #b0a0ca, 0.5px -0.5px 0 #b0a0ca,
    -0.5px 0.5px 0 #b0a0ca, -0.5px -0.5px 0 #b0a0ca;
  letter-spacing: 1px;
  z-index: 2;
}

.top-stories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-story-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
}

.top-story-item:last-child {
  border-bottom: none;
}

.top-story-number {
  font-size: 25px;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 900;
  color: #94a3b8;
  line-height: 1;
  transition: color 0.2s ease;
}

.top-story-item:hover .top-story-number {
  color: #f4831b;
}

.top-story-title {
  font-size: 1rem;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.2s ease;
}

/* Sponsorship Section Styling */
.sponsorship-section {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
  padding: 10px;
}

.sponsorship-title {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sponsorship-title::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: #e2e8f0;
}

.sponsorship-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sponsorship-videos .video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.sponsorship-videos .video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(244, 131, 27, 0.15);
}

.sponsorship-videos video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.sponsorship-videos video::-webkit-media-controls {
  display: none !important;
}

.sponsorship-videos video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Innovative Newsletter Section - Left Column */
.newsletter-tech-container {
  margin-top: 40px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.newsletter-tech-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff6ef;
  color: #f4831b;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin-bottom: 24px;
  border: 1px solid rgba(244, 131, 27, 0.15);
  box-shadow: 0 10px 25px rgba(244, 131, 27, 0.1);
  position: relative;
  animation: floatIcon 3.5s ease-in-out infinite;
  will-change: transform;
}

.newsletter-tech-badge::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(244, 131, 27, 0.2);
  animation: iconPulse 3s ease-out infinite;
}

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

@keyframes iconPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.newsletter-tech-title {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #000000;
  margin: 0 0 12px 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.text-gradient {
  background: linear-gradient(90deg, #f4831b, #ffaf66);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.newsletter-tech-subtitle {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px 0;
  max-width: 300px;
}

.newsletter-tech-form {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.input-glow-wrap {
  flex: 1;
  position: relative;
}

.newsletter-tech-form input {
  width: 100%;
  padding: 18px 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  color: #0f172a;
}

.newsletter-tech-form input:focus {
  border-color: #f4831b;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(244, 131, 27, 0.1);
}

/* Orange Join style button for subscribe */
.tech-subscribe-btn {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4831b 0%, #d46d12 100%);
  box-shadow:
    0 14px 28px rgba(244, 131, 27, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  position: relative;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-subscribe-btn:hover {
  transform: scale(1.05);
}

.btn-text {
  color: #ffffff;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 800;
  font-size: 16px;
  z-index: 2;
  letter-spacing: -0.01em;
}

.btn-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  transition: opacity 0.3s ease;
  will-change: transform, opacity;
}

.ring-1 {
  border: 1px dashed rgba(244, 131, 27, 0.3);
  animation: joinRingClockwise 12s linear infinite;
}

.ring-2 {
  inset: -14px;
  border: 2px dotted rgba(244, 131, 27, 0.2);
  animation: joinRingCounterClockwise 16s linear infinite;
}

/* Background decorations */
.tech-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

.tech-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.tech-glow-1 {
  top: -50px;
  left: -50px;
  background: #f4831b;
}

.tech-glow-2 {
  bottom: -50px;
  right: -50px;
  background: #f4831b;
}

.newsletter-tech-content {
  position: relative;
  z-index: 1;
}

/* Success State Styles */
.newsletter-tech-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.newsletter-tech-container.is-success .newsletter-tech-form,
.newsletter-tech-container.is-success .newsletter-tech-subtitle {
  display: none !important;
}

.newsletter-tech-container.is-success .newsletter-tech-success {
  display: flex !important;
  animation: successReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.success-icon-badge {
  width: 76px;
  height: 76px;
  background: #f4831b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(244, 131, 27, 0.3);
  animation: iconPop 0.6s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes iconPop {
  from { transform: scale(0) rotate(-45deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.success-title {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.success-text {
  color: #64748b;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 480px) {
  .newsletter-tech-form {
    flex-direction: row;
    gap: 12px;
  }
  .newsletter-tech-form input {
    padding: 14px 16px;
    font-size: 14px;
  }
  .tech-subscribe-btn {
    width: 52px;
    height: 52px;
  }
  .btn-text {
    font-size: 13px;
  }
}

.sponsorship-videos .video-wrapper::before {
  content: 'AD';
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

/* Tablet keeps the desktop look, only scaled */
@media (max-width: 1100px) {
  .custom-navbar {
    padding: 16px;
  }

  .navbar-container {
    padding: 14px 18px;
    border-radius: 18px;
    gap: 14px;
  }

  .mobile-toggle {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e9eef6;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
  }

  .mobile-toggle svg {
    top: 9px;
    left: 9px;
  }

  .nav-elements {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 90vw);
    height: 100vh;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #fff8f2 100%);
    box-shadow: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    padding: 86px 22px 26px;
    box-sizing: border-box;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    border-left: 1px solid rgba(233, 238, 246, 0.9);
    overflow-y: auto;
  }

  .nav-elements.open {
    right: 0;
    box-shadow: -20px 0 50px rgba(15, 23, 42, 0.16);
  }

  .nav-elements::before {
    content: '';
    position: absolute;
    top: 18px;
    right: 18px;
    left: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.9), transparent);
  }

  .navbar-menu {
    width: 100%;
    margin-bottom: 4px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid #eef2f7;
    box-shadow: none;
    padding: 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: transparent;
    font-size: 15px;
  }

  .nav-link:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.9);
  }

  .nav-link.active {
    background: #fff6ef;
  }

  .nav-link.active::after {
    left: 16px;
    bottom: 10px;
    transform: none;
  }

  .navbar-logo img {
    width: 170px;
    height: 40px;
  }

  .navbar-actions {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 16px;
    padding: 0;
  }

  .header-join-btn {
    width: 58px;
    height: 58px;
  }

  .header-join-btn::before {
    inset: -6px;
  }

  .header-join-btn::after {
    inset: -11px;
  }

  .header-join-btn__text {
    font-size: 14px;
  }

  .main-content {
    margin: 18px auto 48px;
    padding: 0 16px;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    gap: 28px;
  }

  .news-card {
    gap: 18px;
    min-height: 164px;
  }

  .news-image-wrap {
    flex: 0 0 180px;
    height: 136px;
  }

  .news-title {
    font-size: 1.22rem;
  }

  .news-excerpt {
    font-size: 0.96rem;
  }

  .ts-top {
    font-size: 2rem;
  }

  .ts-stories {
    font-size: 2.7rem;
  }

  .sponsorship-videos {
    gap: 16px;
  }
}

/* Mobile uses a drawer, but keeps the same visual language */
@media (max-width: 767px) {
  .custom-navbar {
    padding: 14px;
  }

  .navbar-container {
    padding: 12px 14px;
    border-radius: 18px;
    gap: 12px;
  }


  
  .main-content {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 16px auto 48px;
    padding: 0 14px;
  }

  .right-column {
    display: grid;
    gap: 24px;
  }

  .latest-news-header,
  .top-stories-header {
    margin-bottom: 18px;
  }

  .news-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    border-radius: 20px;
  }

  .news-image-wrap {
    flex: 0 0 auto;
    width: 100%;
    height: 220px;
    padding: 12px;
  }

  .news-content {
    padding: 0 20px 24px;
  }

  .news-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .news-excerpt {
    font-size: 0.95rem;
    margin-bottom: 16px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .sponsorship-videos {
    grid-template-columns: 1fr;
  }
  .sponsorship-section {
    padding: 8px;
    margin-top: 32px;
  }
}

@media (max-width: 768px) {
  .latest-news-header,
  .top-stories-header {
    gap: 8px;
    flex-wrap: wrap;
  }

  .ts-top {
    font-size: 1.9rem;
  }

  .ts-stories {
    font-size: 2.45rem;
  }

  .top-story-item {
    gap: 14px;
    padding: 14px 0;
  }

  .top-story-number {
    font-size: 22px;
  }

  .newsletter-card {
    padding: 28px 18px;
  }

  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 12px;
  }

  .newsletter-input,
  .newsletter-submit {
    width: 100%;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .custom-navbar {
    padding: 10px;
  }
  .navbar-container {
    padding: 10px 12px;
    border-radius: 16px;
  }
  .navbar-logo img {
    height: 26px;
    max-width: 150px;
    object-fit: contain;
  }
  .mobile-toggle {
    width: 38px;
    height: 38px;
  }
  .mobile-toggle svg {
    top: 7px;
    left: 7px;
  }
  .btn-primary {
    padding: 10px 16px;
    font-size: 14px;
  }
  .header-join-btn__text {
    font-size: 15px;
  }
  
  .news-card {
    flex-direction: column;
    padding: 12px;
    gap: 16px;
  }

  .news-image-wrap {
    flex: 0 0 auto;
    width: 100%;
    height: 180px;
  }

  .news-content {
    min-height: auto;
  }

  .news-title {
    font-size: 1.25rem;
  }

  .news-excerpt {
    font-size: 0.97rem;
  }

  .main-content {
    padding: 0 10px;
    gap: 24px;
  }

  .nav-elements {
    width: 100%;
    padding: 82px 16px 22px;
  }

  .nav-list {
    padding: 10px;
    border-radius: 18px;
  }
}

/* Sponsored Ad Card Styles */
.sponsored-ad {
  margin-top: 15px;
  background-color: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sponsored-ad:hover {
  transform: translateY(-8px);
}

.ad-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 16;
  background: #000;
  overflow: hidden;
}

.ad-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ad-content {
  
  padding: 32px 24px;
  background-color: #0f172a;
}

.ad-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.ad-title {
  font-size: 2.2rem; /* Large and bold as per screenshot */
  color: #ffffff;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 28px 0;
 
}

.ad-button {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.ad-button:hover {
  background: #ffffff;
  color: #0f172a;
}

/* Responsive fixes for Ad */
@media (max-width: 991px) {
  .sponsored-ad {
    margin-top: 24px;
  }
  .ad-title {
    font-size: 1.8rem;
  }
}

/* Newsletter Card Styles - Blue Theme */
.newsletter-card {
  margin-top: 15px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
}

.newsletter-icon {
  width: 80px;
  height: 44px;
  background: linear-gradient(135deg, #fffaef 0%, #fef6db 100%);
  border-radius: 50px; /* Pill shape */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: #3182ce;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.08);
  border: 4px solid #ffffff;
}

.newsletter-title {
  font-size: 1.6rem;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
}

.newsletter-text {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 0 10px;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 6px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.newsletter-input {
  flex: 1;
  padding: 12px 20px;
  background-color: transparent;
  border: none;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
}

.newsletter-submit {
  width: auto;
  padding: 12px 28px;
  background-color: #f4831b;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
   transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(94, 108, 255, 0.342);
  white-space: nowrap;
}

.newsletter-submit:hover {
   transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 108, 255, 0.342);
}

.newsletter-footer {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 12px;
  }
  .newsletter-input {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
  }
  .newsletter-submit {
    border-radius: 12px;
  }
}

/* Subscription Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card.newsletter-tech-container {
  margin-top: 0;
  width: 90%;
  max-width: 500px;
  padding: 50px 40px;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.modal-overlay.active .modal-card.newsletter-tech-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fffaef 0%, #fef6db 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-header h3 {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 1.8rem;
  color: #0f172a;
  margin-bottom: 12px;
}

.modal-header p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.5;
}

.modal-inline-form {
  display: flex;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 6px;
  margin-top: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), inset 0 2px 4px rgba(0,0,0,0.02);
}

.modal-inline-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 20px;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 1rem;
  color: #334155;
  outline: none;
}

.modal-inline-form .btn-primary {
  padding: 12px 32px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: none;
}

.modal-inline-form .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.w-full {
  width: 100%;
}

.modal-footer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 480px) {
  .modal-card {
    padding: 30px 20px;
  }
  .modal-header h3 {
    font-size: 1.5rem;
  }
  .modal-inline-form {
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 12px;
  }
  .modal-inline-form input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
  }
  .modal-inline-form .btn-primary {
    width: 100%;
  }
}

/* Load More Button Styles */
.load-more-container {
  display: flex;
  justify-content: center;
  margin: 40px 0 60px;
}

.btn-load-more {
  padding: 14px 40px;
  background: white;
  color: #f4831b;
  border: 2px solid #f4831b;
  border-radius: 50px;
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.1);
}

.btn-load-more:hover {
  background: #f4831b;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.2);
}

/* Scroll To Top Button */
#scroll-to-top {
  position: fixed;
  bottom: 48px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: #f4831b;
  color: white;
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  z-index: 9998;
}

#scroll-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#scroll-to-top:hover {
  background: #f38f32;
  box-shadow: 0 12px 32px rgba(33, 150, 243, 0.45);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  #scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}

/* ===================== Footer ===================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e8edf2;
  margin-top: 40px;
  width: 100%;
}

.footer-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 48px 0 40px;
  gap: 40px;
  width: 100%;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo img {
  height: 45px;
  width: 190px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
  display: block;
}

.footer-tagline {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.footer-social {
  text-align: right;
}

.footer-follow-label {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.footer-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-icon:hover {
  background: #f4831b;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.25);
}

.footer-bottom {
  border-top: 1px solid #e8edf2;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

@media (max-width: 640px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
    padding: 36px 0 28px;
  }
  .footer-social {
    text-align: left;
  }
  .footer-social-icons {
    justify-content: flex-start;
  }
  .footer-brand {
    max-width: 100%;
  }
}


/* New UI Card Grid */
.full-width-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Layout Alignment Container */
.layout-right-aligned {
  display: flex;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.right-side-container {
  width: 100%;
  max-width: 700px;
}

.profile-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Responsive 2 columns */
  align-items: start;
  gap: 30px;
  margin-bottom: 60px;
  width: 100%; /* Fill the container for perfect alignment */
}

/* Staggered (Zig-Zag) Layout for tech feel (Desktop Only) */
@media (min-width: 1025px) {
  .profile-card:nth-child(even) {
    margin-top: 50px;
  }
}

/* Mobile & Tablet 1-Column Layout */
@media (max-width: 1024px) {
  .layout-right-aligned {
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .right-side-container {
    display: flex !important;
    flex-direction: column !important; /* Forces Load More button to sit at the bottom */
    align-items: center !important;
    width: 100%;
    box-sizing: border-box;
  }
  
  .profile-card-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* Tablet gets 2 columns */
    justify-content: center !important;
    justify-items: center !important;
    max-width: 700px !important;
    margin: 0 auto 30px auto !important;
    width: 100% !important;
    gap: 20px;
  }

  /* Override side-to-side scroll animation for mobile 1-column */
  .profile-card:nth-child(n) {
    transform: translateY(40px) scale(0.95);
  }
  
  /* Reset delay so mobile scroll reveal is instant */
  .profile-card:nth-child(n) {
    transition-delay: 0s;
  }
  
  /* Mobile/Tablet overrides to permanently show content without hover */
  .profile-card {
    height: auto !important; 
  }
  .profile-card-inner {
    display: flex !important;
    flex-direction: column;
    background: #f4f5f7;
  }
  .profile-card-img {
    position: relative !important;
    height: 180px !important;
    flex-shrink: 0;
  }
  .profile-card-content {
    position: relative !important;
    transform: translateX(0) !important;
    height: auto !important;
    padding: 20px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Mobile Strict 1-Column Layout */
@media (max-width: 639px) {
  .profile-card-grid {
    grid-template-columns: 1fr !important;
    max-width: 400px !important;
  }
}

/* Scroll Reveal Base State */
.profile-card {
  position: relative;
  /* Innovative Glassmorphism Frame */
  background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 5px; /* Reduced bezel size */
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.05),
    inset 0 2px 5px rgba(255,255,255,0.9),
    inset 0 -2px 5px rgba(255,255,255,0.2);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 260px; /* Base height for interactive layout */
  text-decoration: none;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
  
  /* Hidden by default with tech blur */
  opacity: 0;
  filter: blur(12px);
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), 
              opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), 
              filter 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
}

/* Stagger right column load */
.profile-card:nth-child(even) {
  transition-delay: 0.15s;
}

/* Row 1, 3, 5... animate from Right to Left with slight scale */
.profile-card:nth-child(4n+1),
.profile-card:nth-child(4n+2) {
  transform: translateX(40px) scale(0.92);
}

/* Row 2, 4, 6... animate from Left to Right with slight scale */
.profile-card:nth-child(4n+3),
.profile-card:nth-child(4n+4) {
  transform: translateX(-40px) scale(0.92);
}

/* When scrolled into view */
.profile-card.in-view {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0) scale(1);
}

/* Override transition for hover so it's snappy */
.profile-card.in-view:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(145deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 100%);
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.1),
    0 0 0 4px rgba(255, 255, 255, 0.4), /* Subtle outer glow ring */
    inset 0 2px 5px rgba(255,255,255,1),
    inset 0 -2px 5px rgba(255,255,255,0.3);
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0s; /* Instant hover */
  outline: none !important;
}

.profile-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  display: block; /* Restored for absolute positioning */
  background: transparent;
}

.profile-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Full height */
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}

.profile-card:hover .profile-card-img {
  animation: none !important; /* Cancel peek if hovered */
  transform: scale(1.05);
}

.profile-card-overlay {
  display: none;
}

.profile-card-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Full profile card size */
  background: rgba(255, 255, 255, 0.98);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: none !important;
  outline: none !important;
}

.profile-card:nth-child(odd) .profile-card-content {
  transform: translateX(-101%);
}

.profile-card:nth-child(even) .profile-card-content {
  transform: translateX(101%);
}

.profile-card:hover .profile-card-content {
  animation: none !important; /* Cancel peek if hovered */
  transform: translateX(0);
}

.profile-card:hover .profile-card-inner {
  /* Animate the inner orange border when hovered */
  box-shadow: inset 0 0 0 3px #11939B;
  transition: box-shadow 0.3s ease;
}

.profile-card-text-area {
  margin-bottom: 16px;
}

.profile-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.3;
}

.verified-badge {
  flex-shrink: 0;
  margin-top: 4px;
}

.profile-card-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.profile-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-card-meta {
  display: flex;
  gap: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 600;
}

.meta-item svg {
  color: #9ca3af;
}

.profile-action-btn {
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-action-btn:hover {
  background: #f9fafb;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* 
 * Peek Animations for Desktop (Only)! 
 * Shows a quick 1-second tease of the content when scrolling down 
 */
@media (min-width: 1025px) {
  @keyframes peek-border {
    0% { box-shadow: inset 0 0 0 0 #11939B; }
    15% { box-shadow: inset 0 0 0 3px #11939B; }
    85% { box-shadow: inset 0 0 0 3px #11939B; }
    100% { box-shadow: inset 0 0 0 0 #11939B; }
  }

  @keyframes peek-odd {
    0% { transform: translateX(-101%); }
    15% { transform: translateX(0); }
    85% { transform: translateX(0); }
    100% { transform: translateX(-101%); }
  }

  @keyframes peek-even {
    0% { transform: translateX(101%); }
    15% { transform: translateX(0); }
    85% { transform: translateX(0); }
    100% { transform: translateX(101%); }
  }

  .profile-card.in-view .profile-card-inner {
    animation: peek-border 2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
  }

  .profile-card:nth-child(odd).in-view .profile-card-content {
    animation: peek-odd 2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
  }

  .profile-card:nth-child(even).in-view .profile-card-content {
    animation: peek-even 2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
  }

  /* Smooth Hover Overrides to cancel peek */
  .profile-card:hover .profile-card-inner {
    animation: none !important;
    box-shadow: inset 0 0 0 3px #11939B !important;
    transition: box-shadow 0.4s ease;
  }
}

/* Main Banner Styles */
#main-banner-container {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.main-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 32px;
  padding: 3.5rem;
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.main-banner-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.main-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 220, 180, 0.65); /* Semi-transparent fallback color matching reference */
  z-index: 2;
}



.main-banner-left {
  flex: 1;
  padding-right: 3rem;
  z-index: 3; /* Layered above video */
  text-align: left;
  position: relative;
}

.main-banner-title {
  font-family: 'Lexend Deca', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ff5c14;
  margin: 0 0 1.2rem 0;
  line-height: 1.2;
}

.main-banner-desc {
  font-size: 1.15rem;
  color: #ff5c14;
  margin: 0 0 2rem 0;
  line-height: 1.6;
  max-width: 650px;
}

.main-banner-btn {
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 999px;
  background: #f4831b;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 3;
}

.main-banner-btn:hover {
  background: #e04b0a;
  transform: scale(1.05);
}

.main-banner-right {
  flex: 0 0 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
}

.main-banner-image-wrapper {
  width: 300px;
  height: 240px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 5px solid #fff;
  transform: rotate(4deg); /* Elegant cross-angle effect */
  transition: transform 0.3s ease;
}

.main-banner-image-wrapper:hover {
  transform: rotate(0deg) scale(1.05); /* Straightens beautifully on hover */
}

.main-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Responsive banner */
@media (max-width: 1024px) {
  .main-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  .main-banner-left {
    padding-right: 0;
    margin-bottom: 2rem;
    text-align: center;
  }
  .main-banner-title {
    font-size: 2rem;
  }
  .main-banner-desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
  }
  .main-banner-right {
    flex: 1;
    width: 100%;
  }
  .main-banner-image-wrapper {
    width: 220px;
    height: 220px;
  }
}

/* ==========================================================================
   Top Stories Widget (Requested Layout)
   ========================================================================== */
.top-stories-widget {
  max-width: 500px;
  margin: 0 auto;
  background: #ffffff; /* Soft light blue/gray background */
  border-radius: 32px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.hero-story-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  margin-bottom: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-story-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.hero-story-pill {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  z-index: 10;
}

.hero-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(244, 131, 27, 0) 0%, 
    rgba(244, 131, 27, 0.4) 50%, 
    rgba(244, 131, 27, 0.85) 85%, 
    rgba(244, 131, 27, 0.95) 100%);
}

.hero-story-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #ffffff;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.hero-story-content .story-category {
  color: #ffffff;
  opacity: 0.9;
  font-weight: 600;
}

.hero-story-content .story-dot {
  opacity: 0.6;
}

.hero-story-content .story-time {
  opacity: 0.8;
}

.hero-story-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.01em;
}

.list-stories {
  display: flex;
  flex-direction: column;
}

.list-story-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eef2f7;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.list-story-item:last-child {
  border-bottom: none;
}

.list-story-item:hover {
  opacity: 0.85;
}

.list-story-left {
  flex: 1;
}

.list-story-left .story-category {
  color: #4c6ef5;
  font-weight: 600;
}

.list-story-left .story-dot {
  color: #a0aec0;
}

.list-story-left .story-time {
  color: #718096;
}

.list-story-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.4;
  margin: 6px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-story-img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Layout for Left (Top Stories) and Right (Feed) */
.layout-left-right {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  gap: 40px;
}

#top-stories-image-widget {
  flex: 1;
  max-width: 450px;
  width: 100%;
}

@media (max-width: 1024px) {
  .layout-left-right {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  #top-stories-image-widget {
    max-width: 500px;
  }
}
