/*
Theme Name: Eidos Foundation
Description: WordPress theme converted from Eidos Foundation HTML template
Version: 0.0.4b
Author: Eidos Foundation
*/

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Mark Pro",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  line-height: 1.6;
  --black: #000;
  --white: #fff;
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* =========================================
   1. HEADER & NAVIGATION (GLOBAL)
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1400px;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================================
   2. DESKTOP MENU (Default View)
   ========================================= */
.desktop-nav {
  display: block; /* Visible by default */
}

/* Flexbox Layout for Horizontal Menu */
.desktop-nav .main-menu-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Top-level Links */
.desktop-nav .main-menu-list > li > a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5rem;
  text-transform: uppercase;
  display: block;
  position: relative;
  cursor: pointer;
}

.desktop-nav .main-menu-list > li > a:hover {
  opacity: 0.8;
}

/* Talks Link (Non-clickable cursor) */
.desktop-nav .menu-item-has-children > a {
  cursor: default;
}

/* --- DROPDOWNS --- */
.desktop-nav .menu-item-has-children {
  position: relative;
  padding-bottom: 10px; /* Bridge for mouse hover */
  margin-bottom: -10px;
}

/* Hide Submenu by Default */
.desktop-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
  min-width: 220px;
  padding: 1rem 0;
  list-style: none;
  z-index: 1000;
  border-top: 2px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Show Submenu on Hover */
.desktop-nav .menu-item-has-children:hover > .sub-menu {
  display: block;
}

/* Submenu Links */
.desktop-nav .sub-menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.desktop-nav .sub-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* --- ARROWS --- */
.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* Rotate Arrow on Hover */
.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* =========================================
   3. MOBILE ELEMENTS (Hidden on Desktop)
   ========================================= */
.mobile-menu-btn {
  display: none; /* Hide hamburger on desktop */
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: none; /* Hide mobile menu container on desktop */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  height: calc(100vh - 72px);
  overflow-y: auto;
}
body {
  padding-top: 69.75px;
}
/* =========================================
   4. MOBILE BREAKPOINT (Tablet & Phones)
   ========================================= */
@media (max-width: 1024px) {
  body {
    padding-top: 72px;
  }
  /* Hide Desktop Menu */
  .desktop-nav {
    display: none;
  }

  /* Show Hamburger */
  .mobile-menu-btn {
    display: flex;
  }

  /* Hamburger Animation (When Active) */
  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Show Mobile Menu (When Active class added by JS) */
  .mobile-nav.active {
    display: block;
  }

  /* Mobile List Styles */
  .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
  }

  /* Mobile Sub-menu (Hidden by default) */
  .mobile-menu-list .sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.05);
  }

  /* Sub-menu Item Styles */
  .mobile-menu-list .sub-menu li a {
    padding-left: 3rem;
    font-size: 0.9rem;
    color: #ddd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Open State (Triggered by JS) */
  .mobile-menu-list .menu-item-has-children.open > .sub-menu {
    display: block;
  }

  .mobile-menu-list .menu-item-has-children.open > a::after {
    transform: rotate(180deg);
  }
}

/*end nav styling*/

/* Main Content Styles */
.main-content {
  min-height: 100vh;
}

.sections-container {
  padding: 0;
}

/* Content Section Styles */
.content-section {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 0;
  min-height: 60vh;
  align-items: center;
}

.section-media {
  position: relative;
  height: 60vh;
  max-height: 600px;
  border-radius: 0;
  overflow: hidden;
}

.wistia_responsive_padding {
  width: 100%;
}

.content-section:not(.wistia) .section-media {
  display: flex;
  align-items: center;
}

.content-section.youtube .section-text {
  background-color: var(--black);
}

.content-section.youtube .section-tag {
  background-color: var(--white);
  color: var(--black);
}

.content-section.youtube .section-description {
  color: var(--white);
}

.wistia .section-media {
  pointer-events: none;
}

.section-media img {
  max-width: 100%;
  object-fit: contain;
  height: auto;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 2px dashed #333;
}

.placeholder-content {
  text-align: center;
  color: #888;
}

.placeholder-content p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.placeholder-content small {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Section Text Styles */
.section-text {
  background-color: #fff;
  color: #000;
  padding: 2rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-tag {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-radius: 2px;
}

.section-description {
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #333;
}

.section-link {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}

.section-link:hover {
  opacity: 0.7;
}

/* Footer Styles */
.footer {
  background-color: #111;
  padding: 3rem 2rem 2rem;
}

.footer-content {
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.footer-text {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.share-button,
.social-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.share-button:hover,
.social-link:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.share-button {
  line-height: 1.6;
  position: absolute;
  display: inline-block;
  cursor: pointer;
  right: 0;
  bottom: 0;
  background-color: transparent;
  /* background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #ffffff; */
  display: flex;
  align-items: center;
  gap: 8px;
  /* transition: opacity 0.3s ease; */
}

.share-button svg {
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

.share-feedback {
  position: absolute;
  right: 100%;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.share-feedback.visible {
  opacity: 1;
  transform: translateX(0);
}

/* YouTube Player Styles */
.youtube-player {
  cursor: pointer;
  pointer-events: auto;
}

.youtube-player.paused::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
  .sections-container {
    padding: 0;
  }

  .content-section {
    gap: 0;
  }

  .section-text {
    padding: 2rem;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
  /* Stack content sections vertically on mobile */
  .content-section {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .section-media {
    height: 250px;
    order: 2;
  }

  .wistia .section-media {
    height: auto;
  }

  .youtube-player {
    height: 100%;
  }

  .section-text {
    order: 1;
    padding: 1.5rem;
  }

  .sections-container {
    padding: 0;
  }

  .romanias-text {
    font-size: 2rem;
  }

  .social-links {
    gap: 1rem;
  }

  .footer {
    padding: 2rem 1rem 1.5rem;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .section-text {
    padding: 1rem;
  }

  .text-content {
    max-width: 100%;
  }

  .section-description {
    font-size: 0.9rem;
  }

  .footer-content {
    padding-bottom: 4rem;
  }

  .social-links {
    /* flex-direction: column; */
    align-items: flex-start;
  }

  .social-link {
    padding: 0.5rem 0.75rem;
  }

  .romanias-text {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
  }

  .footer-text {
    font-size: 0.85rem;
  }
}

/* About Page Styles */
.about-container {
  margin: 0 auto;
  padding: 4rem 2rem;
  background-color: #fff;
  color: #000;
  min-height: calc(100vh - 72px);
}

.about-content {
  max-width: 50rem;
}

/* Style main paragraph blocks with larger text */
.about-content .about-main-paragraph {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .about-container {
    padding: 2rem 1rem;
  }

  .about-content .about-main-paragraph {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-container {
    padding: 1.5rem 1rem;
  }

  .about-content .about-main-paragraph {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .about-content .about-legal-text {
    font-size: 0.8rem !important;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.mobile-nav-link:focus,
.section-link:focus,
.social-link:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section {
  animation: fadeInUp 0.8s ease-out;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .section-text {
    border: 2px solid #000;
  }

  .nav-link,
  .social-link {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =========================================
   EIDOS TALKS PAGE STYLES
   ========================================= */
.talks-container {
  margin-top: -1px;
}
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  line-height: 0;
  overflow: hidden;
}

.video-container iframe {
  /* 3. Force iframe to fill the container exactly */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* 4. Remove inline behavior that causes gaps */
  display: block;
  border: none;
}

.eidos-talks-page {
  background-color: #fff;
  min-height: 100vh;
}

/* MAIN SPLIT CONTAINER (White Left / Black Right) */
.talks-split-layout {
  display: flex;
  flex-wrap: wrap;
  min-height: calc(100vh - 72px);
  width: 100%;
}

/* --- WHITE SECTION WRAPPER --- */
.talks-white-col {
  flex: 65; /* 65% width */
  background-color: #fff;
  color: #000;
  padding: 4rem;
}

/* --- NEW GRID SYSTEM --- */
.white-grid-layout {
  display: grid;
  /* Col 1: 120px fixed (for "EP. 1")
       Col 2: 1fr (Flexible)
       Col 3: 1fr (Flexible)
    */
  grid-template-columns: 120px 1fr 1fr;
  column-gap: 3rem;
  row-gap: 3rem;
}

/* 1. EPISODE BADGE (Sits in Top Left, Col 1) */
.grid-area-ep {
  grid-column: 1;
  grid-row: 1;
}

.ep-badge {
  font-size: 1.8rem;
  font-weight: 300;
  color: #000000;
  white-space: nowrap;
  display: block;
  line-height: 1;
}

.grid-area-title {
  grid-column: 2 / span 2; /* Spans 2 columns */
  grid-row: 1;
}

.grid-area-title h1 {
  text-transform: uppercase;
  margin: 0;
}

/* 3. TEXT COLUMNS */
.grid-area-text1 {
  grid-column: 2; /* Second column */
  grid-row: 2; /* Second row */
}

.grid-area-text2 {
  grid-column: 3; /* Third column */
  grid-row: 2; /* Second row */
}

/* Typography for text columns */
.grid-area-text1,
.grid-area-text2 {
  font-size: 1rem;
  line-height: 1.6;
}

.grid-area-text1 p,
.grid-area-text2 p {
  margin-bottom: 1.5rem;
}

/* Links in episode text columns — black, keep underline */
.grid-area-text1 a,
.grid-area-text2 a {
  color: #000;
  text-decoration: underline;
}

/* Links in black sidebar — inherit surrounding text color (white or gray), keep underline */
.talks-black-col a {
  color: inherit;
  text-decoration: underline;
}

/* 4. NAVIGATION (Starts at Col 2, Spans to Col 3) */
.grid-area-nav {
  grid-column: 2 / span 2;
  grid-row: 3;
  margin-top: 2rem;
}

.talks-nav-footer {
  padding-top: 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* --- BLACK SECTION --- */
.talks-black-col {
  flex: 30;
  background-color: #000;
  color: #fff;
  padding: 4rem 3rem;
  border-left: 1px solid #111;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Sidebar Elements */
.meta-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 4rem;
}

.badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100px;
}

.badge-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #888;
}

.badge-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #fff;
  color: #000;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
}

.sidebar-title {
  font-size: 1.1rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3rem;
  color: #ccc;
}

.person-item {
  margin-bottom: 2rem;
  display: flex;
  gap: 16px;
}

.person-label {
  width: 100px;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #888;
  margin-top: 3px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.person-details {
  font-size: 1rem;
  line-height: 1.4;
}

.person-details strong {
  color: #fff;
  font-weight: 600;
  display: block;
}

.sidebar-footer a,
.sidebar-footer p {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.4;
}

.sidebar-footer b {
  color: #fff;
}

/* 6. LOGO PLACEMENT */
.grid-area-logo {
  grid-column: 1; /* First column (Width 120px) */
  grid-row: 3; /* Third row (Same row as Navigation) */
  align-self: end; /* Pushes image to bottom of the cell */
  margin-bottom: 5px; /* Fine-tune vertical alignment if needed */
}

.grid-area-logo img {
  width: 100%;
  max-width: 80px;
  height: auto;
  display: block;
}
/* --- RESPONSIVE --- */

/* Tablet: Squeeze the gap */
@media (max-width: 1024px) {
  .talks-white-col {
    padding: 2rem;
  }
  .white-grid-layout {
    column-gap: 1.5rem;
    grid-template-columns: 80px 1fr 1fr; /* Smaller EP column */
  }
}

/* Mobile: Stack everything vertically */
@media (max-width: 768px) {
  .talks-split-layout {
    flex-direction: column;
  }

  .talks-white-col,
  .talks-black-col {
    flex: auto;
    width: 100%;
    padding: 2rem;
  }

  /* Reset Grid to 1 Column for Mobile */
  .white-grid-layout {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  /* Reset positions to auto flow */
  .grid-area-ep,
  .grid-area-title,
  .grid-area-text1,
  .grid-area-text2,
  .grid-area-nav {
    grid-column: auto;
    grid-row: auto;
  }

  .ep-badge {
    margin-bottom: 1rem;
  }

  .grid-area-title h1 {
    font-size: 1.8rem;
  }
  .grid-area-logo {
    grid-column: auto;
    grid-row: auto;
    margin-top: 2rem;
  }
}
/* =========================================
   UNIFIED LAYOUT SYSTEM
   ========================================= */

.split-layout {
  display: flex;
  flex-wrap: wrap;
  min-height: calc(100vh - 72px);
  width: 100%;
}

.col-main {
  flex: 65;
  background-color: var(--white);
  color: var(--black);
  padding: 4rem;
  display: flex;
  flex-direction: column;
}

.col-sidebar {
  flex: 35;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.col-sidebar.is-black {
  background-color: var(--black);
  color: var(--white);
  border-left: 1px solid #111;
}

.col-sidebar.is-white {
  background-color: var(--white);
  color: var(--black);
}

.page-title {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 3rem;
  max-width: 95%;
}

.bold-prefix {
  font-weight: 900;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

/* Unified Text Grid */
.text-grid-2-col {
  display: flex;
  gap: 3rem;
}

.text-grid-2-col .text-col {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
}

.text-grid-2-col p {
  margin-bottom: 1.5rem;
}

/* Sidebar / Meta Items */
.meta-item {
  display: flex;
  gap: 16px;
  margin-bottom: 2rem;
}

.meta-label {
  width: 100px;
  min-width: 100px;
  flex-shrink: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #888;
  margin-top: 3px;
  letter-spacing: 1px;
}

.col-sidebar.is-white .meta-label {
  color: #555;
}

.meta-value {
  font-size: 1rem;
  line-height: 1.4;
  color: inherit;
}

.sidebar-footer {
  margin-top: 4rem;
  font-size: 0.75rem;
  color: #888;
  line-height: 1.4;
}

.sidebar-text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.sidebar-cta {
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.sidebar-cta a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.sidebar-cta a:hover {
  opacity: 0.6;
}
.col-sidebar.romanias .meta-label {
  width: 150px;
}
/* Responsive */
@media (max-width: 1024px) {
  .col-main {
    padding: 3rem;
  }
  .text-grid-2-col {
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .split-layout {
    flex-direction: column;
  }
  .col-main,
  .col-sidebar {
    flex: auto;
    width: 100%;
    padding: 2rem;
  }
  .text-grid-2-col {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* =========================================
   ROMANIAS SLIDER STYLES
   ========================================= */

.romanias-slider-container {
  position: relative;
  width: 100%;
  height: 80vh; /* Full viewport height or adjust as needed */
  max-height: 800px;
  overflow: hidden;
  background-color: #000;
}

.romanias-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.romanias-slide.active {
  opacity: 1;
  z-index: 2;
}

.romanias-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Navigation Buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  border-radius: 50%;
  font-size: 1.5rem;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Slider Pagination/Dots (Optional, but good for UX) */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.slider-dot.active {
  background: #fff;
}

/* Responsive Slider */
@media (max-width: 768px) {
  .romanias-slider-container {
    height: 50vh;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
.partners-page,
.board-page {
  background: white;
}
.page-grid-layout {
  display: grid;
  grid-template-columns: 40% 15% 45%;
  min-height: calc(100vh - 72px);
  width: 100%;
  gap: 0px 1rem;
}

/* --- COLUMN 1: Title & Logo --- */
.grid-col-1 {
  grid-column: 1;
  grid-row: 1 / span 10;

  background-color: #fff;
  color: black;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid transparent;
}

.page-logo-wrapper img {
  width: 80px;
  height: auto;
  display: block;
}

/* --- COLUMN 2: Labels --- */
.grid-label-cell {
  grid-column: 2;
  background-color: #fff;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
}

.grid-label-cell .meta-label {
  margin: 0;
  width: 100%;
  /* Ensure label styles are consistent */
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

/* --- COLUMN 3: Content Lists --- */
.grid-list-cell {
  grid-column: 3;
  background-color: #000;
  color: #fff;
  padding: 2rem 3rem;
  border-left: 1px solid #111;
}

.grid-list-cell.first-list-cell {
  padding-top: 4rem;
}

.grid-list-cell:last-child {
  padding-bottom: 4rem;
}

/* Internal Columns (for Corporate list) */
.grid-split-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Board specific list styling to match */
.board-list .person-item {
  margin-bottom: 2rem;
  display: flex;
  gap: 16px;
}
.board-list .person-details strong {
  display: block;
  font-weight: 600;
  color: #fff;
}
.board-list .person-details span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 1024px) {
  .page-grid-layout {
    display: flex;
    flex-direction: column;
  }

  .grid-col-1 {
    display: contents;
  }

  /* Logo -> Bottom */
  .grid-col-1 .page-logo-wrapper {
    order: 999;
    padding: 2rem;
    background-color: #fff;
    width: 100%;
  }

  /* Title -> Top */
  .grid-col-1 .page-title-wrapper {
    order: -1;
    padding: 2rem 2rem 0 2rem;
    background-color: #fff;
    width: 100%;
  }

  .grid-label-cell,
  .grid-list-cell {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    padding: 2rem;
  }

  .grid-label-cell {
    background-color: #000;
    color: #fff;
    padding-bottom: 0.5rem;
    padding-top: 4rem;
  }

  .grid-label-cell .meta-label {
    color: #fff;
  }

  .grid-list-cell {
    padding-top: 2rem !important;
    margin-bottom: 0;
    padding-bottom: 2rem;
  }

  .grid-split-columns {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   CONTACT FORM STYLES
   ========================================= */

.eidos-contact-form {
  width: 100%;
  color: #fff;
}

.form-title {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.form-row {
  margin-bottom: 1rem;
}

.eidos-contact-form input[type="text"],
.eidos-contact-form input[type="email"],
.eidos-contact-form textarea {
  width: 100%;
  background-color: #f2f2f2;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #333;
  outline: none;
}

.eidos-contact-form textarea {
  height: 100px;
  resize: none; /* Disables resizing handle */
  overflow: hidden;
}

.eidos-contact-form ::placeholder {
  color: #999;
  opacity: 1;
}

.eidos-contact-form input[type="submit"] {
  width: 100%;
  background-color: #444; /* Dark gray button */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  text-align: left; /* Text aligns left in screenshot */
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.eidos-contact-form input[type="submit"]:hover {
  background-color: #666;
}

/* =========================================
   TEAM PAGE STYLES
   ========================================= */

.team-list {
  display: flex;
  flex-direction: column;
  gap: 3rem; /* Space between members */
  margin-top: 1rem;
}

.team-name {
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #000;
}

.team-role {
  font-size: 1.3rem;
  font-weight: 300;
  color: #333;
}

/* Responsive adjustments for Team Page */
@media (max-width: 768px) {
  .team-name {
    font-size: 1.5rem;
  }
  .team-role {
    font-size: 1.1rem;
  }
  .team-list {
    gap: 2rem;
  }
}

/* =========================================
   404 PAGE
   ========================================= */

.page-404 {
  background-color: var(--black);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: stretch;
}

.error-404-layout {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

/* Large 404 number — bleeds off the left edge like the home EIDOS type */
.error-404-number {
  font-size: clamp(200px, 35vw, 480px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.04em;
  flex-shrink: 0;
  margin-left: -0.06em; /* bleed off left edge */
  user-select: none;
  opacity: 0.06; /* subtle — sits behind the content */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Right-side content panel */
.error-404-content {
  position: relative;
  margin-left: auto;
  width: 38%;
  padding: 4rem 4rem 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.error-404-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}

.error-404-title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
}

.error-404-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  align-self: flex-start;
}

.error-404-link:hover {
  border-color: var(--white);
  opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
  .error-404-number {
    font-size: clamp(140px, 50vw, 220px);
    opacity: 0.05;
  }

  .error-404-content {
    width: 100%;
    padding: 3rem 2rem;
    margin-left: 0;
  }

  .error-404-title {
    font-size: 1.5rem;
  }
}
