/*
Theme Name: Dr. Bindu Menon
Theme URI: https://example.com/dr-bindu-menon
Author: Codex
Author URI: https://example.com
Description: A professional advocacy and healthcare WordPress theme inspired by the supplied Dr. Bindu Menon visual design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-bindu-menon
Tags: custom-logo, custom-menu, featured-images, one-column, accessibility-ready
*/

:root {
  --navy: #06264c;
  --navy-deep: #031b38;
  --blue: #174f92;
  --blue-soft: #eaf3ff;
  --gold: #b77722;
  --gold-bright: #d59a2f;
  --ink: #10233f;
  --muted: #5c6b7f;
  --line: #cbd8e8;
  --panel: #f6f9fd;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 38, 76, 0.12);
  --radius: 8px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-wrap,
.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(6, 38, 76, 0.12);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-mark img,
.brand-mark svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
}

.brand-subtitle {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.menu-toggle {
  display: none;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}

.primary-menu a {
  text-decoration: none;
  color: #172944;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--gold);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 46%, rgba(232, 239, 243, 0.56) 100%),
    radial-gradient(circle at 12% 42%, rgba(42, 124, 201, 0.18), transparent 24rem),
    linear-gradient(120deg, #f7fbff, #eef3f0);
}

.hero::before {
  content: "";
  position: absolute;
  left: -84px;
  top: 42px;
  width: 330px;
  height: 270px;
  background: url("assets/brain-watermark.svg") center / contain no-repeat;
  opacity: 0.22;
}

.hero-grid {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
  gap: 30px;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
  padding: 58px 0 54px;
}

.hero h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 0 0 14px;
  color: #965b19;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 700;
  line-height: 1.05;
}

.hero-role {
  margin: 0 0 16px;
  color: #16253d;
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 600;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover,
.wp-block-button__link:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  background: #fff;
  color: var(--navy);
}

.hero-portrait {
  position: relative;
  align-self: end;
  min-height: 430px;
}

.portrait-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(500px, 100%);
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.64) 100%),
    var(--doctor-photo, linear-gradient(145deg, #e8eef3, #bbc9d5));
  background-position: center bottom;
  background-size: cover;
}

.portrait-fallback {
  position: absolute;
  inset: 40px 0 0 auto;
  width: min(420px, 100%);
  display: grid;
  place-items: end center;
  color: var(--navy);
}

.portrait-fallback svg,
.portrait-fallback img {
  width: min(360px, 90%);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(6, 38, 76, 0.16));
}

.has-custom-portrait .portrait-fallback {
  display: none;
}

.impact {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  color: #fff;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(6, 1fr);
  align-items: stretch;
}

.impact-title,
.impact-item {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px;
}

.impact-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.impact-title::after {
  content: "";
  width: 72px;
  height: 3px;
  margin-top: 16px;
  background: var(--gold-bright);
}

.impact-item {
  align-items: center;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.impact-icon {
  margin-bottom: 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.impact-number {
  color: var(--gold-bright);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.impact-label {
  max-width: 130px;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.section {
  padding: 38px 0;
}

.foundation {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.photo-frame,
.feature-image,
.media-tile,
.gallery-tile {
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe8f1;
  box-shadow: var(--shadow);
}

.photo-frame {
  aspect-ratio: 1.6;
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-scene {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(6, 38, 76, 0.08), rgba(213, 154, 47, 0.18)),
    linear-gradient(135deg, #f5f8fb, #dce7ef);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.section h2,
.section h3,
.entry-content h2,
.entry-content h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.section p {
  margin: 0 0 14px;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.foundation-logo {
  min-height: 220px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--line);
  color: var(--navy);
  text-align: center;
}

.foundation-logo svg {
  width: 118px;
  height: auto;
  margin: 0 auto 12px;
}

.foundation-logo strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
}

.foundation-logo span {
  display: block;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.rule-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 6px 0 26px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.rule-heading::before,
.rule-heading::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.rule-heading span::after {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin: 8px auto 0;
  background: var(--gold-bright);
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.initiative-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.feature-image {
  aspect-ratio: 1.1;
}

.initiative-card h3 {
  font-size: 18px;
}

.initiative-card p {
  color: #24364f;
  font-size: 14px;
  font-weight: 600;
}

.topic-band {
  background: var(--panel);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.topic-panel {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 18px;
  align-items: end;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(6, 38, 76, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
}

.topic-panel.wide-text {
  grid-template-columns: 1fr;
  align-items: start;
}

.topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.topic-list li {
  position: relative;
  padding: 7px 0 7px 28px;
}

.topic-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
}

.mini-portrait {
  align-self: end;
  min-height: 190px;
  background:
    var(--doctor-photo, linear-gradient(145deg, #e8eef3, #c4d1dc));
  background-position: center bottom;
  background-size: cover;
  border-radius: var(--radius);
}

.brain-panel {
  min-height: 190px;
  background: url("assets/brain-watermark.svg") center / contain no-repeat;
}

.recognition-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.recognition-card,
.media-card {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius);
}

.award-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  font-size: 14px;
}

.award-list li {
  position: relative;
  padding: 5px 0 5px 26px;
}

.award-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: inset 0 0 0 4px #f7d896;
}

.trophy-set {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(183, 119, 34, 0.08), rgba(6, 38, 76, 0.05)),
    url("assets/awards.svg") center / contain no-repeat;
}

.media-card {
  grid-template-columns: 0.95fr 1fr;
}

.media-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.media-tile,
.gallery-tile {
  aspect-ratio: 1.28;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(23, 79, 146, 0.13), rgba(213, 154, 47, 0.18)),
    #eef4f8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.contact-band {
  background: linear-gradient(90deg, #f6f9fd 0%, #f6f9fd 52%, var(--navy) 52%, var(--navy-deep) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-card {
  min-height: 230px;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 24px;
  align-items: end;
  padding: 30px 34px 30px 0;
}

.contact-photo {
  height: 200px;
  background: var(--doctor-photo, linear-gradient(145deg, #e8eef3, #c4d1dc));
  background-position: center bottom;
  background-size: cover;
}

.quote-panel {
  min-height: 230px;
  display: grid;
  align-content: center;
  padding: 36px 0 36px 54px;
  color: #fff;
  background: url("assets/brain-watermark.svg") right center / 260px auto no-repeat;
}

.quote-panel blockquote {
  max-width: 550px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.quote-panel cite {
  display: block;
  margin-top: 12px;
  color: #cbd8e8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
}

.site-footer {
  background: var(--navy-deep);
  color: #fff;
}

.site-footer .brand,
.site-footer .brand-subtitle {
  color: #fff;
}

.footer-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
}

.socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.entry-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.elementor-page-content {
  width: 100%;
  overflow-x: clip;
}

.drbm-elementor-canvas {
  background: #fff;
}

.drbm-el-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.9) 48%, rgba(232, 239, 243, 0.62)),
    url("assets/brain-watermark.svg") left 48px center / 300px auto no-repeat,
    linear-gradient(120deg, #f8fbff, #eef3f0);
}

.drbm-el-hero .elementor-heading-title,
.drbm-el-foundation .elementor-heading-title,
.drbm-el-initiatives .elementor-heading-title,
.drbm-el-topics .elementor-heading-title,
.drbm-el-awards .elementor-heading-title,
.drbm-el-media .elementor-heading-title,
.drbm-el-contact .elementor-heading-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  letter-spacing: 0;
}

.drbm-el-hero-title .elementor-heading-title {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.95;
}

.drbm-el-hero-subtitle .elementor-heading-title {
  color: #965b19;
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.08;
}

.drbm-el-hero .elementor-widget-text-editor {
  color: #172944;
  font-weight: 700;
}

.drbm-el-hero .elementor-button,
.drbm-el-contact .elementor-button {
  min-height: 42px;
  border-radius: 4px;
  background: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.drbm-el-imagebox .elementor-image-box-wrapper {
  min-height: 220px;
  display: grid;
  align-content: center;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 38, 76, 0.08), rgba(213, 154, 47, 0.18)),
    linear-gradient(135deg, #f5f8fb, #dce7ef);
  box-shadow: var(--shadow);
}

.drbm-el-imagebox .elementor-image-box-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.drbm-el-imagebox .elementor-image-box-description {
  color: var(--muted);
  font-size: 13px;
}

.drbm-el-impact {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  color: #fff;
}

.drbm-el-impact .elementor-heading-title,
.drbm-el-impact .elementor-counter-title,
.drbm-el-impact .elementor-widget-text-editor {
  color: #fff;
}

.drbm-el-impact .elementor-counter-number-wrapper,
.drbm-el-impact h3.elementor-heading-title {
  color: var(--gold-bright);
  font-weight: 800;
}

.drbm-el-foundation,
.drbm-el-awards,
.drbm-el-contact {
  background: #fff;
}

.drbm-el-initiatives,
.drbm-el-topics,
.drbm-el-media {
  background: var(--panel);
}

.drbm-el-centered {
  text-align: center;
}

.drbm-el-centered::after {
  content: "";
  width: 86px;
  height: 3px;
  display: block;
  margin: 12px auto 20px;
  background: var(--gold-bright);
}

.drbm-el-foundation .elementor-column,
.drbm-el-topics .elementor-column,
.drbm-el-awards .elementor-column,
.drbm-el-media .elementor-column {
  padding: 12px;
}

.drbm-el-topics .elementor-widget-wrap,
.drbm-el-awards .elementor-widget-wrap,
.drbm-el-media .elementor-widget-wrap {
  padding: 22px;
  border: 1px solid rgba(6, 38, 76, 0.09);
  border-radius: var(--radius);
  background: #fff;
}

.drbm-el-contact {
  background:
    linear-gradient(90deg, #f6f9fd 0%, #f6f9fd 50%, var(--navy) 50%, var(--navy-deep) 100%);
}

.drbm-el-contact .elementor-column:last-child .elementor-heading-title,
.drbm-el-contact .elementor-column:last-child .elementor-widget-text-editor {
  color: #fff;
}

.drbm-el-contact .elementor-column:last-child .elementor-widget-wrap {
  background: url("assets/brain-watermark.svg") right center / 260px auto no-repeat;
}

.entry-title {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.entry-content {
  color: #24364f;
}

@media (max-width: 1050px) {
  .primary-menu {
    gap: 14px;
    font-size: 12px;
  }

  .impact-grid,
  .initiative-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .impact-title {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .foundation,
  .topic-grid,
  .recognition-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .foundation-logo {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }
}

@media (max-width: 820px) {
  .site-wrap,
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .header-inner {
    min-height: 66px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--navy);
    font-weight: 800;
  }

  .site-navigation {
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    display: none;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .site-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 0;
  }

  .primary-menu a {
    display: block;
    padding: 12px 0;
  }

  .hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 42px 0 18px;
  }

  .hero-portrait {
    min-height: 320px;
  }

  .portrait-card {
    left: 50%;
    transform: translateX(-50%);
  }

  .impact-grid,
  .initiative-grid,
  .topic-panel,
  .recognition-card,
  .media-card,
  .contact-grid,
  .contact-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .impact-item {
    min-height: 118px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .contact-band {
    background: linear-gradient(180deg, #f6f9fd 0%, #f6f9fd 50%, var(--navy) 50%, var(--navy) 100%);
  }

  .contact-card {
    padding-right: 0;
  }

  .quote-panel {
    padding-left: 0;
  }

  .footer-inner,
  .footer-menu,
  .socials {
    justify-items: start;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand-title {
    font-size: 19px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .impact-grid,
  .initiative-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .rule-heading {
    grid-template-columns: 1fr;
    font-size: 22px;
  }

  .rule-heading::before,
  .rule-heading::after {
    display: none;
  }
}
