/* ==========================================================================
   NEWSROOM PAGE STYLESHEET (newsroom.css)
   Unified Page Margins & Section Padding (Exact Education/Hackathon Match)
   ========================================================================== */

:root {
  --bg:            #150F0F;
  --bg-card:       rgba(52, 32, 31, 0.40);
  --bg-card-hover: rgba(52, 32, 31, 0.65);
  --primary:       #FFCE1B;
  --secondary:     #FB1650;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-white:    #FFFFFF;
  --text-dim:      rgba(255, 255, 255, 0.70);
  --text-dimmer:   rgba(255, 255, 255, 0.40);
  --font-head:     'Sora', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
  --font-body:     'DM Sans', sans-serif;
  --max-w:         1376px;
  --px:            64px;
}

@media (max-width: 1024px) {
  :root {
    --px: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --px: 24px;
  }
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Page Margins (Side vertical lines matching education & hackathon pages) */
.page-margins {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  pointer-events: none;
  z-index: 10;
  box-sizing: border-box;
}

/* Main Container */
.newsroom-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 80px; /* Fixed navbar height spacer */
  position: relative;
  z-index: 1;
}

/* Card Interactive Hover Utility */
.clickable-card {
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.clickable-card:hover {
  background-color: var(--bg-card-hover);
}

/* Figma News Tag Badge */
.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 8px 16px;
  width: fit-content;
  height: 32px;
}

.news-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
  flex-shrink: 0;
}

.news-tag-text {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 140%;
  text-transform: uppercase;
  color: var(--text-white);
}

/* Button CTA Exact Figma Match (Clean White Text + White Arrow Icon) */
.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: fit-content;
  transition: opacity 0.2s ease;
}

.explore-btn:hover {
  opacity: 0.8;
}

.explore-btn .text {
  position: relative;
  line-height: 24px;
  font-weight: 700;
  color: #ffffff;
}

.explore-btn .arrowright-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.explore-btn .arrowright-icon path {
  stroke: #ffffff;
}

/* ==========================================================================
   1. HERO / COVER STORY SECTION (Figma Exact Specs + Ellipse Glow)
   ========================================================================== */
.cover-story-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px var(--px);
  box-sizing: border-box;
  text-align: left;
  font-size: 50px;
  color: #fff;
  font-family: 'Sora', sans-serif;
  border-bottom: 1px solid var(--border-subtle);
  background-color: #150f0f;
  isolation: isolate;
  gap: 60px;
}

.cover-story-glow-spot {
  position: absolute;
  top: calc(50% - 220px);
  right: 2%;
  width: 450px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #b83d25 0%, rgba(167, 60, 38, 0.4) 60%, transparent 100%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.cover-story-header-wrap {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}

.cover-story-header-title {
  align-self: stretch;
  position: relative;
  font-size: 50px;
  line-height: 110%;
  font-weight: 300;
  font-family: 'Sora', sans-serif;
}

.global-indian {
  line-height: 110%;
  color: #ffffff;
}

.cover-story {
  color: #ffce1b;
  line-height: 110%;
}

.cover-story-card {
  align-self: stretch;
  height: 319px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  font-size: 16px;
  font-family: 'JetBrains Mono', monospace;
  position: relative;
  z-index: 1;
}

.cover-story-image-wrap {
  align-self: stretch;
  width: 500px;
  height: 319px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.cover-story-image {
  width: 500px;
  height: 319px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.cover-story-card:hover .cover-story-image {
  transform: scale(1.03);
}

.cover-story-content {
  align-self: stretch;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 0px;
  gap: 20px;
}

.cover-story-date-wrap {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cover-story-date {
  position: relative;
  line-height: 140%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  color: #ffffff;
}

.cover-story-title {
  align-self: stretch;
  position: relative;
  font-size: 24px;
  line-height: 140%;
  font-weight: 300;
  font-family: 'Sora', sans-serif;
  color: #ffffff;
  transition: color 0.2s ease;
}

.cover-story-title:hover {
  color: #ffce1b;
}

/* ==========================================================================
   2. LEADING NEWS OUTLETS SECTION (DESKTOP FIGMA EXACT MATCH)
   ========================================================================== */
.newsroom-section {
  padding: 80px var(--px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

.outlets-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.outlets-heading {
  font-family: var(--font-head);
  font-size: 50px;
  line-height: 110%;
  font-weight: 300;
  color: var(--text-white);
}

.outlets-heading span {
  color: var(--primary);
}

/* Top 3 Cards Box (Single border outer container) */
.outlets-grid-container {
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: stretch;
  font-size: 18px;
  font-family: 'Sora', sans-serif;
  background-color: rgba(21, 15, 15, 0.85);
  z-index: 1;
}

.outlet-card-column {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
}

.outlet-card-column.last-column {
  border-right: none;
}

.outlet-column-inner {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  height: 100%;
  justify-content: space-between;
}

.outlet-image-wrap {
  position: relative;
  width: 200px;
  height: 140px;
  overflow: hidden;
  border-radius: 12px;
  background: #191010;
  flex-shrink: 0;
}

.outlet-image {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}

.outlet-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
}

.outlet-card-body {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.outlet-card-title {
  align-self: stretch;
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  line-height: 140%;
  font-weight: 300;
  color: var(--text-white);
  transition: color 0.2s ease;
}

.outlet-card-column:hover .outlet-card-title {
  color: var(--primary);
}

/* List Rows for News Articles */
.outlets-list {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: -1px;
  background-color: rgba(21, 15, 15, 0.85);
  z-index: 1;
}

.outlet-row-item {
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 40px;
  gap: 40px;
  margin-top: -1px;
}

.outlet-row-header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.outlet-row-title {
  align-self: stretch;
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  line-height: 140%;
  font-weight: 300;
  color: var(--text-white);
  transition: color 0.2s ease;
}

.outlet-row-item:hover .outlet-row-title {
  color: var(--primary);
}

/* Solid Yellow CTA Button Centered Wrapper */
.see-more-btn-wrap {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0px;
  margin-top: -1px;
  z-index: 1;
}

.see-more-yellow-btn {
  height: 36px;
  border-radius: 4px;
  background-color: #ffce1b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: #000000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.see-more-yellow-btn:hover {
  opacity: 0.9;
}

/* ==========================================================================
   3. FEATURED PRESS RELEASES SECTION (DESKTOP FIGMA EXACT MATCH)
   ========================================================================== */
.press-section {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px var(--px);
  box-sizing: border-box;
  isolation: isolate;
  gap: 60px;
  text-align: left;
  font-size: 50px;
  color: #fff;
  font-family: 'Sora', sans-serif;
  border-bottom: 1px solid var(--border-subtle);
  background-color: #150f0f;
}

.press-glow-spot {
  width: 450px;
  height: 450px;
  position: absolute;
  top: -20px;
  left: 0%;
  filter: blur(100px);
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #b83d25 0%, rgba(167, 60, 38, 0.4) 60%, transparent 100%);
  z-index: 0;
  flex-shrink: 0;
  pointer-events: none;
}

.press-header-row {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1;
  flex-shrink: 0;
}

.press-heading {
  position: relative;
  font-size: 50px;
  line-height: 110%;
  font-weight: 300;
  font-family: 'Sora', sans-serif;
  color: #ffffff;
}

.press-heading span {
  color: #ffce1b;
  line-height: 110%;
}

.view-all-press-link {
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  box-sizing: border-box;
  font-size: 14px;
  color: #ffce1b;
  font-family: 'JetBrains Mono', monospace;
  text-decoration: underline;
  line-height: 140%;
  text-transform: uppercase;
  font-weight: 500;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.view-all-press-link:hover {
  opacity: 0.8;
}

.mobile-press-link-wrap {
  display: none;
}

/* Outer Grid Box Container (Single Border Container) */
.press-grid-container {
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: stretch;
  z-index: 1;
  font-size: 20px;
  background-color: rgba(21, 15, 15, 0.7);
}

.press-card-column {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
}

.press-card-column.last-column {
  border-right: none;
}

.press-column-inner {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  height: 100%;
  justify-content: space-between;
}

.press-card-image {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.press-card-content {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
}

.press-card-title {
  align-self: stretch;
  position: relative;
  font-size: 20px;
  line-height: 140%;
  font-weight: 300;
  font-family: 'Sora', sans-serif;
  color: #ffffff;
  transition: color 0.2s ease;
}

.press-card-column:hover .press-card-title {
  color: #ffce1b;
}

.press-card-footer {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-family: 'JetBrains Mono', monospace;
}

.press-card-date-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.press-card-dot {
  height: 6px;
  width: 6px;
  position: relative;
  border-radius: 50%;
  background-color: #fb1650;
  flex-shrink: 0;
}

.press-card-date {
  position: relative;
  line-height: 140%;
  color: #ffffff;
}

.press-card-arrow-wrap {
  width: 44px;
  height: 48px;
  position: relative;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-arrow-icon path {
  stroke: #ffce1b;
}

/* ==========================================================================
   4. VISION AND INSIGHTS SECTION (DESKTOP FIGMA EXACT MATCH)
   ========================================================================== */
.vision-section {
  position: relative;
  isolation: isolate;
  background-color: #150f0f;
}

.vision-glow-spot {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #b83d25 0%, rgba(167, 60, 38, 0.4) 60%, transparent 100%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.vision-header-row {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.vision-header {
  position: relative;
  font-size: 50px;
  line-height: 110%;
  font-weight: 300;
  font-family: 'Sora', sans-serif;
}

.vision-header span {
  color: #ffce1b;
  line-height: 110%;
}

.vision-cards-container {
  width: 1026px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vision-cards-wrapper {
  align-self: stretch;
  display: flex;
  align-items: stretch; /* Equal height for vision cards */
  gap: 40px;
  font-size: 18px;
}

.vision-card-item {
  width: 492.9px;
  max-width: 100%;
  flex: 1;
  border-radius: 16.29px;
  background-color: rgba(22, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 27.1px;
}

.vision-card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  height: 100%;
}

.vision-top-row {
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.vision-card-image {
  height: 206.3px;
  width: 244.3px;
  position: relative;
  border-radius: 16.29px;
  object-fit: cover;
}

.vision-arrow-wrap {
  width: 44px;
  height: 48px;
  position: relative;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-card-title-wrap {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vision-card-title {
  align-self: stretch;
  position: relative;
  font-size: 18px;
  line-height: 140%;
  font-weight: 300;
  font-family: 'Sora', sans-serif;
  color: #ffffff;
  transition: color 0.2s ease;
}

.vision-card-item:hover .vision-card-title {
  color: #ffce1b;
}

/* ==========================================================================
   SITEWIDE STANDARD FOOTER (EXACT MATCHING EDUCATION & HACKATHON PAGES)
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  background: #140B0B;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
  padding: 0;
}

.footer-inner {
  width: calc(100% - calc(var(--px) * 2));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 40px;
  box-sizing: border-box;
}

/* Top nav row */
.footer-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 0.1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 48px;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.18s;
  text-decoration: none;
}

.footer-nav-link:hover {
  color: var(--text-white);
}

.footer-nav-link--active {
  color: var(--primary, #FFCE1B);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.20);
  transition: border-color 0.18s, background 0.18s;
}

.social-icon:hover {
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.06);
}

/* Bottom row: big K + addresses + ZIROHLabs */
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-big-logo {
  flex-shrink: 0;
}

.big-k-square {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  object-fit: cover;
}

/* Addresses */
.footer-addresses {
  display: flex;
  gap: 60px;
  flex: 1;
  padding: 0 60px;
}

.footer-address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-city {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.02em;
}

.footer-addr-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 20px;
}

/* ZIROHLabs */
.footer-ziroh {
  flex-shrink: 0;
}

.ziroh-logo {
  height: 28px;
  width: auto;
  filter: brightness(0.8);
  transition: filter 0.18s;
}

.ziroh-logo:hover {
  filter: brightness(1);
}

/* Legal section */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 0.1px solid rgba(255, 255, 255, 0.15);
}

.footer-legal-links {
  display: flex;
  gap: 32px;
}

.footer-legal-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-legal-links a:hover {
  color: #fff;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   TABLET BREAKPOINT (768px - 1024px) FIGMA EXACT MATCH
   ========================================================================== */
@media (max-width: 1024px) and (min-width: 768px) {
  .cover-story-section {
    padding: 60px var(--px);
  }

  .cover-story-header-title {
    font-size: 40px;
  }

  .cover-story-card {
    height: auto;
    flex-direction: row;
    gap: 40px;
  }

  .cover-story-image-wrap {
    width: 280px;
    height: 222px;
  }

  .cover-story-image {
    width: 280px;
    height: 222px;
  }

  .cover-story-title {
    font-size: 18px;
  }

  .newsroom-section,
  .press-section {
    padding: 60px var(--px);
  }

  .outlets-heading,
  .press-heading,
  .vision-header {
    font-size: 32px;
  }

  .outlets-grid-container,
  .press-grid-container {
    flex-direction: column;
  }

  .outlet-card-column,
  .press-card-column {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .outlet-card-column.last-column,
  .press-card-column.last-column {
    border-bottom: none;
  }

  .vision-cards-container {
    width: 100%;
  }

  .vision-cards-wrapper {
    flex-direction: column;
    gap: 24px;
  }

  .vision-card-item {
    width: 100%;
  }

  /* Footer Tablet Adjustments */
  .footer-inner {
    padding: 40px 24px;
  }

  .footer-nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-nav-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-addresses {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }

  .footer-ziroh {
    order: 2;
    align-self: flex-end;
  }

  .footer-big-logo {
    order: 3;
  }

  .footer-legal {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ==========================================================================
   MOBILE BREAKPOINT (<767px) FIGMA EXACT MATCH
   ========================================================================== */
@media (max-width: 767px) {
  .cover-story-section {
    padding: 40px ;
    gap: 40px;
  }

  .cover-story-header-title {
    font-size: 32px;
    line-height: 120%;
  }

  .cover-story-card {
    height: auto;
    flex-direction: column;
    gap: 20px;
  }

  .cover-story-image-wrap {
    width: 100%;
    height: 195px;
  }

  .cover-story-image {
    width: 100%;
    height: 195px;
  }

  .cover-story-title {
    font-size: 16px;
    line-height: 140%;
  }

  .newsroom-section,
  .press-section {
    padding: 40px var(--px);
  }

  .outlets-header {
    gap: 12px;
    padding: 0 20px 0 20px;
  }

  .outlets-heading,
  .press-heading,
  .vision-header {
    font-size: 24px;
    line-height: 140%;
  }

  .outlets-grid-container,
  .press-grid-container {
    flex-direction: column;
  }

  .outlet-card-column,
  .press-card-column {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
  }

  .outlet-card-column.last-column,
  .press-card-column.last-column {
    border-bottom: none;
  }

  .outlet-row-item {
    padding: 20px 12px;
    gap: 20px;
  }

  .outlet-card-title,
  .outlet-row-title,
  .press-card-title,
  .vision-card-title {
    font-size: 14px;
    line-height: 140%;
  }

  .outlet-image-wrap,
  .press-card-image {
    width: 170px;
    height: 120px;
  }

  .see-more-btn-wrap {
    padding: 20px 0px;
  }

  .see-more-yellow-btn {
    padding: 10px 16px;
    font-size: 12px;
  }

  .press-header-row,
  .vision-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 20px 0 20px;
  }

  .desktop-press-link {
    display: none;
  }

  .mobile-press-link-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0;
    z-index: 1;
  }

  .mobile-press-link {
    display: inline-flex;
    font-size: 12px;
    color: #ffce1b;
    font-family: 'JetBrains Mono', monospace;
    text-decoration: underline;
    line-height: 140%;
    text-transform: uppercase;
    font-weight: 500;
  }

  .vision-cards-container {
    width: 100%;
    padding: 0 20px 0 20px;
  }

  .vision-cards-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .vision-card-item {
    width: 100%;
    padding: 20px;
  }

  .vision-card-inner {
    gap: 24px;
  }

  .vision-card-image {
    height: 135px;
    width: 100%;
  }

  /* Footer Mobile Adjustments */
  .footer-inner {
    padding: 40px 20px;
  }

  .footer-nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer-nav-links {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-addresses {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }

  .footer-ziroh {
    order: 2;
    align-self: flex-end;
  }

  .footer-big-logo {
    order: 3;
  }

  .footer-legal {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }
}



  /* ════════════════════════════════════════════════
     UPPER LINE REMOVAL & FOOTER LOWER LINE RESTORATION (<= 1024px)
  ════════════════════════════════════════════════ */
  /* 1. Restore Footer's own Top Border (Lower Line) */
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  /* 2. Hide horizontal line dividers directly above footer */
  .line-horizontal,
  .line-horizontal:last-of-type,
  main > .line-horizontal:last-child {
    display: none !important;
    border: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 3. Hide dummy/glow sections right above footer */
  .why-section[style*="min-height:0"],
  .get-started-section[style*="min-height:0"],
  .why-section:last-of-type,
  .get-started-section:last-of-type {
    border-top: none !important;
    border-bottom: none !important;
    display: none !important;
  }

  /* 4. Remove section bottom borders right above footer on mobile (Upper Line) */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .models-section,
  .faq-accordion-list,
  .dev-section,
  .tribute-section,
  .community-section,
  .jobs-grid,
  .dynamic-jd-wrapper,
  .phil2-contact-section,
  .phil-status-contact,
  .related-videos,
  .event-detail-body,
  .gallery-large,
  .event-quote,
  .event-meta,
  .md-code-tablet,
  .session-header-row {
    border-bottom: none !important;
  }


/* ════════════════════════════════════════════════
   MOBILE FOOTER OVERRIDES (<= 1024px)
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  body .footer,
  body footer.footer,
  body footer#footer,
  body footer#footer-mobile,
  .footer,
  #footer,
  #footer-mobile {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    width: 100% !important;
    margin: 32px 0 0 0 !important;
    padding: 0 !important;
    background: #1c1414 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 10 !important;
  }

  
  /* Remove section bottom border right above footer on mobile to eliminate upper line */
  main > section:last-of-type,
  main > div:last-of-type,
  section:last-of-type,
  .phil2-mobile-page-wrapper > main > section:last-of-type,
  .phil-mobile-page-wrapper > main > section:last-of-type,
  .sbox-page section:last-of-type,
  .page-section:last-of-type,
  .faq-section,
  .get-started-section,
  .community-section,
  .related-videos,
  .phil2-contact-section {
    border-bottom: none !important;
  }

  body .footer .footer-inner,
  body footer#footer-mobile .footer-inner,
  .footer-inner {
    width: calc(100% - calc(var(--px, 24px) * 2)) !important;
    max-width: var(--max-w, 1376px) !important;
    margin: 0 auto !important;
    padding: 32px 20px !important;
    box-sizing: border-box !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    height: auto !important;
  }

  /* Top Nav Row */
  body .footer .footer-nav-row,
  body footer#footer-mobile .footer-nav-row,
  .footer-nav-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-links,
  body footer#footer-mobile .footer-nav-links,
  .footer-nav-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-nav-link,
  body footer#footer-mobile .footer-nav-link,
  .footer-nav-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  /* Social Icons */
  body .footer .footer-socials,
  body footer#footer-mobile .footer-socials,
  .footer-socials {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
  }

  body .footer .social-icon,
  body footer#footer-mobile .social-icon,
  .social-icon {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body .footer .social-icon svg path,
  body .footer .social-icon svg circle,
  body footer#footer-mobile .social-icon svg path,
  body footer#footer-mobile .social-icon svg circle,
  .social-icon svg path,
  .social-icon svg circle {
    stroke: #000000 !important;
    fill: #000000 !important;
  }

  body .footer .social-icon svg path[fill="none"],
  body footer#footer-mobile .social-icon svg path[fill="none"],
  .social-icon svg path[fill="none"] {
    fill: none !important;
  }

  /* Middle Row: Addresses & Logos */
  body .footer .footer-bottom-row,
  body footer#footer-mobile .footer-bottom-row,
  .footer-bottom-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Addresses: Left (Bengaluru) & Right (Palo Alto) */
  body .footer .footer-addresses,
  body footer#footer-mobile .footer-addresses,
  .footer-addresses {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    order: 1 !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-address:first-child,
  body footer#footer-mobile .footer-address:first-child,
  .footer-address:first-child {
    flex: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-address:last-child,
  body .footer .footer-address:nth-child(2),
  body footer#footer-mobile .footer-address:last-child,
  body footer#footer-mobile .footer-address:nth-child(2),
  .footer-address:last-child,
  .footer-address:nth-child(2) {
    flex: 1 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  body .footer .footer-city,
  body footer#footer-mobile .footer-city,
  .footer-city {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  body .footer .footer-addr-text,
  body footer#footer-mobile .footer-addr-text,
  .footer-addr-text {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  /* ZIROHLabs Logo: Below Addresses, Left Aligned */
  body .footer .footer-ziroh,
  body footer#footer-mobile .footer-ziroh,
  .footer-ziroh {
    order: 2 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
    text-align: left !important;
  }

  body .footer .ziroh-logo,
  body footer#footer-mobile .ziroh-logo,
  .ziroh-logo {
    height: 28px !important;
    width: auto !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* Big K. Square Logo: Below ZIROHLabs Logo, Left Aligned */
  body .footer .footer-big-logo,
  body footer#footer-mobile .footer-big-logo,
  .footer-big-logo {
    order: 3 !important;
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    display: block !important;
  }

  body .footer .big-k-square,
  body footer#footer-mobile .big-k-square,
  .big-k-square {
    width: 72px !important;
    height: 72px !important;
    border-radius: 4px !important;
    display: block !important;
    margin-left: 0 !important;
  }

  /* Bottom Legal Section */
  body .footer .footer-legal,
  body footer#footer-mobile .footer-legal,
  .footer-legal {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .footer .footer-legal-links,
  body footer#footer-mobile .footer-legal-links,
  .footer-legal-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    order: 1 !important;
    width: 100% !important;
  }

  body .footer .footer-legal-links a,
  body footer#footer-mobile .footer-legal-links a,
  .footer-legal-links a {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  body .footer .footer-copyright,
  body footer#footer-mobile .footer-copyright,
  .footer-copyright {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important;
    order: 2 !important;
    width: 100% !important;
    text-align: left !important;
  }
}




/* ════════════════════════════════════════════════
   ACTIVE FOOTER LINK HIGHLIGHT (#FFCE1B)
════════════════════════════════════════════════ */
.footer-nav-link.active,
.footer-nav-link.active-page,
a.footer-nav-link.active {
  color: #FFCE1B !important;
}

@media (max-width: 1024px) {

  /* High specificity active footer link color override */
  body .footer .footer-nav-link.active,
  body footer#footer-mobile .footer-nav-link.active,
  body footer#footer-desktop .footer-nav-link.active,
  .footer-nav-links a.active,
  .footer-nav-link.active,
  .footer-nav-link.active-page,
  a.footer-nav-link.active {
    color: #FFCE1B !important;
  }

}


/* ════════════════════════════════════════════════
   PAGE-SPECIFIC ACTIVE FOOTER LINK HIGHLIGHT (#FFCE1B)
════════════════════════════════════════════════ */
.footer-nav-link.active,
body .footer .footer-nav-link.active,
body footer#footer-mobile .footer-nav-link.active,
body footer#footer-desktop .footer-nav-link.active,
.footer-nav-links a.active {
  color: #FFCE1B !important;
}
