﻿/* Malanta Ltd - Custom Brand CSS */
/* Deep Navy/Teal VC Theme */

:root {
  --navy: #0a1628;
  --navy-light: #0d2240;
  --teal: #0eb89e;
  --teal-dark: #0c9d87;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light-gray: #eef1f6;
  --mid-gray: #5a6478;
  --text-dark: #1a2535;
  --text-body: #374151;
  --border: #d1d9e6;
  --card-bg: #ffffff;
  --shadow: 0 4px 24px rgba(10,22,40,0.10);
  --shadow-lg: 0 8px 40px rgba(10,22,40,0.16);
}

/* ============================================================
   SIDEBAR / HEADER
   ============================================================ */
#header {
  background: var(--navy);
  border-right: 1px solid rgba(255,255,255,0.06);
}

#header .top {
  padding: 1.5em 1.5em 1em;
}

#logo h1#title {
  color: var(--white);
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.15em;
}

#logo p {
  color: var(--teal);
  font-size: 0.72em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

#logo .image.avatar48 img {
  border-radius: 0;
  width: 48px;
  height: auto;
  display: block;
}

/* Nav links */
#nav ul li a {
  color: rgba(255,255,255,0.70);
  font-size: 0.82em;
  letter-spacing: 0.05em;
  padding: 0.65em 1.2em;
  transition: color 0.2s, background 0.2s;
}

#nav ul li a:hover,
#nav ul li a.active {
  color: var(--white);
  background: rgba(14,184,158,0.12);
}

#nav ul li a .icon {
  color: var(--teal);
}

/* Bottom social icons */
#header .bottom {
  padding: 1em 1.5em 1.5em;
  border-top: 1px solid rgba(255,255,255,0.06);
}

#header .bottom .icons a {
  color: rgba(255,255,255,0.45);
}

#header .bottom .icons a:hover {
  color: var(--teal);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
#main {
  background: var(--off-white);
}

/* ============================================================
   SECTIONS
   ============================================================ */

/* Hero / Dark Cover */
section.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #071020 0%, #0a1628 55%, #0d2a4a 100%);
  position: relative;
  overflow: hidden;
}

section.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('images/bg-hero.jpg') center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 8em 3em 6em;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5em;
  align-items: center;
}

.hero-left .hero-label {
  color: var(--teal);
  font-size: 0.72em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.4em;
  display: block;
}

.hero-left h1 {
  color: var(--white);
  font-size: 3.4em;
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 1em;
}

.hero-left h1 span {
  color: var(--teal);
}

.hero-left .hero-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 1em;
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

.hero-right .hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.96em;
  line-height: 1.9;
  margin-bottom: 2.5em;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}

/* Section generic */
.mc-section {
  padding: 5.5em 3em;
}

.mc-section.light {
  background: var(--white);
}

.mc-section.soft {
  background: var(--off-white);
}

.mc-section.dark {
  background: var(--navy);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  color: var(--teal);
  font-size: 0.72em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8em;
}

.section-title {
  color: var(--text-dark);
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.mc-section.dark .section-title {
  color: var(--white);
}

.section-lead {
  color: var(--text-body);
  font-size: 1em;
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 3em;
}

.mc-section.dark .section-lead {
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 2.5em;
  align-items: stretch;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2.5em;
  align-items: stretch;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 2em;
  align-items: stretch;
}

.vc-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2.5em;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.vc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  transition: all 0.25s;
}

.vc-card .card-icon {
  width: 52px;
  height: 52px;
  background: rgba(14,184,158,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4em;
}

.vc-card .card-icon i {
  color: var(--teal);
  font-size: 1.4em;
}

.vc-card .card-title {
  color: var(--text-dark);
  font-size: 1.05em;
  font-weight: 700;
  margin-bottom: 0.7em;
}

.vc-card .card-body {
  color: var(--text-body);
  font-size: 0.9em;
  line-height: 1.8;
  flex: 1;
}

/* Dark card variant */
.vc-card.dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

.vc-card.dark .card-title {
  color: var(--white);
}

.vc-card.dark .card-body {
  color: rgba(255,255,255,0.65);
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  background: var(--navy);
  border-radius: 14px;
  overflow: hidden;
}

.stat-item {
  padding: 2.5em 2em;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.stat-item:last-child { border-right: none; }

.stat-value {
  color: var(--teal);
  font-size: 2.5em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3em;
}

.stat-label {
  color: rgba(255,255,255,0.90);
  font-size: 0.78em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 2em;
  align-items: stretch;
}

.team-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.team-card .team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  object-fit: cover;
  object-position: center top;
}

.team-card .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card .team-info {
  padding: 1.5em;
  flex: 1;
}

.team-card .team-name {
  color: var(--text-dark);
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 0.25em;
}

.team-card .team-role {
  color: var(--teal);
  font-size: 0.78em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}

.team-card .team-bio {
  color: var(--text-body);
  font-size: 0.85em;
  line-height: 1.75;
}

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 2em;
  align-items: stretch;
}

.portfolio-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2em;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.portfolio-card .port-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1em;
  color: white;
  margin-bottom: 1.2em;
  flex-shrink: 0;
}

.portfolio-card .port-name {
  color: var(--text-dark);
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 0.25em;
}

.portfolio-card .port-sector {
  color: var(--mid-gray);
  font-size: 0.78em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}

.portfolio-card .port-desc {
  color: var(--text-body);
  font-size: 0.88em;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.2em;
}

.portfolio-card .port-round {
  display: inline-block;
  padding: 0.3em 0.85em;
  background: rgba(14,184,158,0.10);
  color: var(--teal-dark);
  border-radius: 20px;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 2.5em;
  align-items: stretch;
}

.news-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-card .news-thumb {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-card .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.news-card:hover .news-thumb img {
  transform: scale(1.04);
}

.news-card .news-body {
  padding: 1.75em;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card .news-cat {
  color: var(--teal);
  font-size: 0.72em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

.news-card .news-title {
  color: var(--text-dark);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.6em;
}

.news-card .news-date {
  color: var(--mid-gray);
  font-size: 0.8em;
  margin-bottom: 0.7em;
}

.news-card .news-excerpt {
  color: var(--text-body);
  font-size: 0.875em;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.2em;
}

.news-card .news-link {
  color: var(--teal);
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}

.news-card .news-link:hover {
  color: var(--teal-dark);
}

/* Full-width news list for news.html */
.news-list-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5em;
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 2em;
  min-width: 0;
}

.news-list-item .nl-thumb {
  overflow: hidden;
}

.news-list-item .nl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-list-item .nl-body {
  padding: 2em 2em 2em 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-list-item .nl-cat {
  color: var(--teal);
  font-size: 0.72em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6em;
}

.news-list-item .nl-title {
  color: var(--text-dark);
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5em;
  overflow-wrap: break-word;
}

.news-list-item .nl-meta {
  color: var(--mid-gray);
  font-size: 0.8em;
  margin-bottom: 0.85em;
}

.news-list-item .nl-excerpt {
  color: var(--text-body);
  font-size: 0.9em;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 1.2em;
  overflow-wrap: break-word;
}

/* Article page */
.article-hero {
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2.5em;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-header {
  margin-bottom: 2em;
}

.article-cat {
  color: var(--teal);
  font-size: 0.75em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6em;
}

.article-title {
  color: var(--text-dark);
  font-size: 2.1em;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.6em;
  overflow-wrap: break-word;
}

.article-meta {
  color: var(--mid-gray);
  font-size: 0.85em;
  margin-bottom: 0;
}

.article-body {
  max-width: 720px;
}

.article-body p {
  color: var(--text-body);
  font-size: 0.98em;
  line-height: 1.9;
  margin-bottom: 1.5em;
  overflow-wrap: break-word;
}

.article-body h2 {
  color: var(--text-dark);
  font-size: 1.35em;
  font-weight: 700;
  margin: 2em 0 0.8em;
}

.article-body blockquote {
  border-left: 4px solid var(--teal);
  margin: 2em 0;
  padding: 0.75em 1.5em;
  background: rgba(14,184,158,0.06);
  border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
  color: var(--text-dark);
  font-style: italic;
  font-size: 1.05em;
  margin: 0;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid var(--border);
}

.article-nav a {
  color: var(--teal);
  font-size: 0.88em;
  text-decoration: none;
}

.article-nav a:hover { color: var(--teal-dark); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  padding: 0.85em 2.2em;
  background: var(--teal);
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  min-width: fit-content;
  flex-shrink: 0;
  border: 2px solid var(--teal);
  transition: background 0.2s, border-color 0.2s;
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #ffffff !important;
}

.btn-outline {
  display: inline-block;
  padding: 0.85em 2.2em;
  background: transparent;
  color: rgba(255,255,255,0.85) !important;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  min-width: fit-content;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.40);
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal) !important;
}

.btn-light {
  display: inline-block;
  padding: 0.75em 2em;
  background: transparent;
  color: var(--teal) !important;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  min-width: fit-content;
  border: 1px solid var(--teal);
  transition: background 0.2s, color 0.2s;
}

.btn-light:hover {
  background: var(--teal);
  color: #ffffff !important;
}

/* ============================================================
   CO-INVESTOR SECTION (Institutional Ribbon pattern)
   ============================================================ */
.coinvestor-section {
  padding: 5em 3em;
  background: var(--navy);
}

.coinvestor-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.coinvestor-label {
  color: rgba(255,255,255,0.40);
  font-size: 0.70em;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  margin-bottom: 1em;
  display: block;
}

.coinvestor-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  margin-bottom: 1.5em;
}

.coinvestor-ribbon .ribbon-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.20));
}

.coinvestor-ribbon .ribbon-line.right {
  background: linear-gradient(to left, transparent, rgba(255,255,255,0.20));
}

.coinvestor-wordmark {
  background: #ffffff;
  border-radius: 10px;
  padding: 1em 2.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.coinvestor-wordmark img {
  height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.coinvestor-wordmark-text {
  font-size: 1.2em;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.coinvestor-desc {
  color: rgba(255,255,255,0.50);
  font-size: 0.85em;
  line-height: 1.6;
  max-width: 500px;
  margin: 1.2em auto 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 1.2em;
  align-items: flex-start;
  margin-bottom: 2em;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background: rgba(14,184,158,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .ci-icon i {
  color: var(--teal);
  font-size: 1.1em;
}

.contact-info-item .ci-body .ci-label {
  color: var(--text-dark);
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3em;
  display: block;
}

.contact-info-item .ci-body p {
  color: var(--text-body);
  font-size: 0.9em;
  line-height: 1.65;
  margin: 0;
}

.contact-info-item .ci-body a {
  color: var(--teal);
  text-decoration: none;
}

/* Contact Form */
.contact-form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
  margin-bottom: 1.2em;
}

.contact-form .cf-field {
  margin-bottom: 1.2em;
}

.contact-form label {
  display: block;
  color: var(--text-dark);
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75em 1em;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.9em;
  color: var(--text-dark);
  background: var(--white);
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================================
   PAGE HERO (non-index pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #071020 0%, #0a1628 60%, #0d2a4a 100%);
  padding: 7em 3em 4em;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--hero-img, none) center/cover no-repeat;
  opacity: 0.10;
  z-index: 0;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero .ph-label {
  color: var(--teal);
  font-size: 0.72em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8em;
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 0.6em;
  line-height: 1.2;
}

.page-hero p {
  color: rgba(255,255,255,0.90);
  font-size: 1em;
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  color: var(--text-dark);
  font-size: 1.3em;
  font-weight: 700;
  margin: 2.2em 0 0.7em;
  padding-top: 0.5em;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0.5em;
  border-top: none;
}

.legal-content h3 {
  color: var(--text-dark);
  font-size: 1.05em;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
}

.legal-content p {
  color: var(--text-body);
  font-size: 0.9em;
  line-height: 1.85;
  margin-bottom: 1.1em;
  overflow-wrap: break-word;
}

.legal-content ul, .legal-content ol {
  color: var(--text-body);
  font-size: 0.9em;
  line-height: 1.85;
  margin-bottom: 1.1em;
  padding-left: 1.5em;
}

.legal-content ul li, .legal-content ol li {
  margin-bottom: 0.4em;
}

.legal-toc {
  background: var(--off-white);
  border-radius: 10px;
  padding: 1.5em 2em;
  margin-bottom: 2.5em;
  border: 1px solid var(--border);
}

.legal-toc h4 {
  color: var(--text-dark);
  font-size: 0.85em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
}

.legal-toc ul li { margin-bottom: 0.4em; }

.legal-toc ul li a {
  color: var(--teal);
  font-size: 0.88em;
  text-decoration: none;
}

.legal-toc ul li a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2em 3em;
}

#footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

#footer .footer-left {
  color: rgba(255,255,255,0.45);
  font-size: 0.8em;
}

#footer .footer-links {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
}

#footer .footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.8em;
  text-decoration: none;
}

#footer .footer-links a:hover {
  color: var(--teal);
}

/* Override prologue copyright list */
ul.copyright {
  display: none;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: 1.1em 2em;
  background: #0a1628;
  border-top: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.30);
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.cookie-text {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.85em;
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
  overflow-wrap: break-word;
}

.cookie-text a {
  color: var(--teal);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 0.75em;
  flex-shrink: 0;
}

.cookie-decline {
  padding: 0.55em 1.3em;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.70);
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.83em;
  white-space: nowrap;
}

.cookie-accept {
  padding: 0.55em 1.3em;
  border: none;
  background: var(--teal);
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.83em;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-bar { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5em; padding: 7em 2em 4em; }
  .hero-left h1 { font-size: 2.6em; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-item .nl-body { padding: 1.5em; }
}

@media (max-width: 600px) {
  .card-grid-3, .card-grid-2, .card-grid-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .mc-section { padding: 4em 1.5em; }
  .contact-form .cf-row { grid-template-columns: 1fr; }
  .legal-toc ul { columns: 1; }
}

/* ============================================================
   BUG FIXES (reapplied)
   ============================================================ */

/* R1: Override main.css #main > section priority for hero */
#main > section.hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 55%, #112240 100%) !important;
  text-align: left !important;
}
#main > section.mc-section.dark {
  background: var(--navy, #0a1628) !important;
}
#main > section.mc-section.light {
  background: var(--white, #f8f9fa) !important;
}

/* R2: Fix footer double margin-left offset */
#footer {
  margin-left: 0 !important;
}

/* R3: Fix logo text wrapping in sidebar */
#logo { text-align: left !important; }
#logo a { text-align: left !important; }
#logo span#title { text-align: left !important; white-space: nowrap !important; }
#logo a > span > span { text-align: left !important; white-space: nowrap !important; }
/* R21-FIX: Override main.css #main > section for page-hero dark background */
#main > section.page-hero {
  background: linear-gradient(135deg, #071020 0%, #0a1628 60%, #0d2a4a 100%) !important;
  background-image: none !important;
  text-align: left !important;
}
#main > section.page-hero .page-hero-inner * {
  text-align: left;
}
/* TEAM — Horizontal layout (photo left, info right) */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 2.5em;
}
.team-list-item {
  display: flex;
  align-items: flex-start;
  gap: 2.5em;
  background: var(--card-bg);
  border-radius: 14px;
  padding: 2.2em 2.5em;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.team-list-item .tl-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--teal);
}
.team-list-item .tl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-list-item .tl-info {
  flex: 1;
  min-width: 0;
}
.team-list-item .tl-name {
  color: var(--text-dark);
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 0.2em;
}
.team-list-item .tl-role {
  color: var(--teal);
  font-size: 0.78em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9em;
}
.team-list-item .tl-bio {
  color: var(--text-body);
  font-size: 0.95em;
  line-height: 1.85;
}
@media screen and (max-width: 640px) {
  .team-list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* News listing page styles */
.blog-index { max-width: 860px; margin: 0 auto; padding: 3em 2em 5em; }
.blog-index h1 { font-size: 2em; color: #fff; margin-bottom: 0.3em; }
.blog-index .sub { color: #7a8fa6; font-size: 0.95em; margin-bottom: 2.5em; }
.article-card { background: #0a1628; border: 1px solid #1a2e4a; border-radius: 10px; padding: 1.8em 2em; margin-bottom: 1.4em; transition: border-color 0.2s, background 0.2s; display: block; text-decoration: none; }
.article-card:hover { border-color: #0eb89e; background: #0d1e38; }
.article-card .num { font-size: 0.72em; color: #0eb89e; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5em; }
.article-card h2 { font-size: 1.25em; color: #fff; margin: 0 0 0.5em; line-height: 1.3; }
.article-card p { color: #8a9bb0; font-size: 0.9em; line-height: 1.7; margin: 0 0 1em; }
.article-card .tags { display: flex; gap: 0.5em; flex-wrap: wrap; }
.tag { display: inline-block; background: #0eb89e1a; color: #0eb89e; border-radius: 20px; padding: 0.2em 0.75em; font-size: 0.72em; letter-spacing: 0.08em; }
.article-card .read-more { color: #0eb89e; font-size: 0.82em; letter-spacing: 0.06em; margin-top: 1em; display: inline-block; }
.section-header { border-bottom: 1px solid #1a2e4a; padding-bottom: 1em; margin-bottom: 2em; }
.section-header .label { font-size: 0.75em; color: #0eb89e; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.5em; }
.featured-badge { display: inline-block; background: #0eb89e; color: #050e1c; font-size: 0.65em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.2em 0.6em; border-radius: 4px; margin-left: 0.6em; vertical-align: middle; }