/* ==========================================================================
   DESIGN C: EXECUTIVE CORPORATE ADVISORY (RAHUL RANKA EVOLVED)
   Palette: Executive Navy (#0F1B33), Warm Bronze (#6B3F07 / #B45309), Cream (#F7F8FA)
   Typography: Segoe UI / System Display (Formal CA & Institutional Trust)
   ========================================================================== */

body.theme-advisory {
  background-color: #F7F8FA;
  color: #101418;
  font-family: 'Segoe UI', Arial, system-ui, -apple-system, sans-serif;
}

.theme-advisory h1,
.theme-advisory h2,
.theme-advisory h3,
.theme-advisory .brand-name {
  font-family: 'Segoe UI', Arial, system-ui, sans-serif;
  color: #0F1B33;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.theme-advisory .brand-subtitle {
  color: #6B3F07;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Top Utility Bar */
.theme-advisory .top-utility-bar {
  background: #0F1B33;
  border-color: rgba(227, 230, 235, 0.15);
  color: #CBD5E1;
}
.theme-advisory .top-badge {
  background: #FAEEDA;
  color: #6B3F07;
  border: 1px solid #EFD9AE;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}
.theme-advisory .top-utility-link {
  color: #EFD9AE;
}

/* Site Header */
.theme-advisory .site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E3E6EB;
}
.theme-advisory .nav-link,
.theme-advisory .nav-dropdown-btn {
  color: #3D4654;
}
.theme-advisory .nav-link:hover,
.theme-advisory .nav-dropdown-btn:hover {
  color: #0F1B33;
}
.theme-advisory .nav-link.is-active {
  color: #0F1B33;
  font-weight: 700;
}
.theme-advisory .compliance-menu {
  background: #FFFFFF;
  border: 1px solid #E3E6EB;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 27, 51, 0.14);
}
.theme-advisory .compliance-menu-link:hover {
  background: #F7F8FA;
  color: #0F1B33;
}
.theme-advisory .comp-link-title {
  color: #0F1B33;
}

/* IDENTITY STRIP (Rahul Ranka style editorial identity strip) */
.adv-identity-strip {
  background: #FFFFFF;
  border-bottom: 1px solid #E3E6EB;
  padding: 3.5rem 0;
}
.adv-identity-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
}
.adv-identity-text {
  flex: 1.2;
}
.adv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B3F07;
  background: #FAEEDA;
  border: 1px solid #EFD9AE;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1rem;
}
.adv-identity-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #0F1B33;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.adv-identity-desc {
  font-size: 1.02rem;
  color: #3D4654;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
.adv-quick-facts {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.adv-quick-fact-item {
  font-size: 0.84rem;
  color: #101418;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.adv-quick-fact-item svg {
  color: #6B3F07;
}

/* Firm Snapshot Card */
.adv-firm-card {
  flex: 0.8;
  background: #F7F8FA;
  border: 1px solid #E3E6EB;
  border-radius: 14px;
  padding: 2rem;
}
.adv-firm-card-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B3F07;
  margin-bottom: 1.25rem;
}
.adv-fact-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid #E3E6EB;
}
.adv-fact-row:last-child {
  border-bottom: none;
}
.adv-fact-lbl {
  font-size: 0.74rem;
  color: #3D4654;
  margin-bottom: 0.15rem;
}
.adv-fact-val {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0F1B33;
}

/* SECTION STRUCTURE */
.adv-section {
  padding: 4rem 0;
}
.adv-section.bg-white {
  background: #FFFFFF;
  border-top: 1px solid #E3E6EB;
  border-bottom: 1px solid #E3E6EB;
}
.adv-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.adv-section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B3F07;
  margin-bottom: 0.6rem;
}
.adv-section-title {
  font-size: 1.95rem;
  font-weight: 700;
  color: #0F1B33;
  margin-bottom: 0.6rem;
}
.adv-section-subtitle {
  font-size: 0.98rem;
  color: #3D4654;
}

/* DUAL FOUNDERS EDITORIAL CARDS */
.adv-founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.adv-founder-box {
  background: #FFFFFF;
  border: 1px solid #E3E6EB;
  border-radius: 14px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}
.adv-founder-top {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.adv-avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid #F7F8FA;
  box-shadow: 0 0 0 1px #E3E6EB;
  flex-shrink: 0;
  background-color: #0F1B33;
}
.adv-avatar-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.adv-founder-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F1B33;
}
.adv-founder-qual {
  font-size: 0.76rem;
  font-weight: 700;
  color: #6B3F07;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0.2rem 0;
}
.adv-founder-designation {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3D4654;
}
.adv-founder-desc {
  font-size: 0.95rem;
  color: #1E2530;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.adv-expertise-box {
  background: #F7F8FA;
  border: 1px solid #E3E6EB;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}
.adv-expertise-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6B3F07;
  margin-bottom: 0.4rem;
}
.adv-expertise-point {
  font-size: 0.82rem;
  color: #3D4654;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.adv-expertise-point:last-child {
  margin-bottom: 0;
}
.adv-founder-contact {
  border-top: 1px solid #E3E6EB;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}
.adv-founder-contact a {
  font-weight: 600;
  color: #0F1B33;
}

/* SEGMENTS GRID */
.adv-segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.adv-seg-card {
  background: #FFFFFF;
  border: 1px solid #E3E6EB;
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.adv-seg-icon {
  width: 44px;
  height: 44px;
  background: #FAEEDA;
  color: #6B3F07;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.adv-seg-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F1B33;
  margin-bottom: 0.5rem;
}
.adv-seg-desc {
  font-size: 0.86rem;
  color: #3D4654;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.adv-seg-footer {
  border-top: 1px solid #E3E6EB;
  padding-top: 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #6B3F07;
}

/* REGULATORY LINKS SECTION (Direct mirror of Rahul Ranka's style) */
.adv-reg-box {
  background: #FFFFFF;
  border: 1px solid #E3E6EB;
  border-radius: 14px;
  padding: 2.75rem;
}
.adv-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: center;
}
.adv-reg-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0F1B33;
  margin-bottom: 0.75rem;
}
.adv-reg-desc {
  font-size: 0.95rem;
  color: #3D4654;
  line-height: 1.65;
}
.adv-links-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.adv-link-item {
  background: #F7F8FA;
  border: 1px solid #E3E6EB;
  border-radius: 8px;
  padding: 1.1rem;
  transition: all var(--transition-fast);
}
.adv-link-item:hover {
  background: #FFFFFF;
  border-color: #6B3F07;
  box-shadow: 0 4px 12px rgba(15, 27, 51, 0.08);
}
.adv-link-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F1B33;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.adv-link-sub {
  font-size: 0.74rem;
  color: #3D4654;
}

/* DISCLAIMER & FOOTER */
.theme-advisory .sebi-statutory-banner {
  background: #FFFFFF;
  border-color: #E3E6EB;
}
.theme-advisory .disclaimer-badge {
  background: #FAEEDA;
  color: #6B3F07;
  border: 1px solid #EFD9AE;
}
.theme-advisory .disclaimer-core-text {
  color: #3D4654;
}
.theme-advisory .disclaimer-pill {
  background: #F7F8FA;
  border: 1px solid #E3E6EB;
  color: #101418;
}

.theme-advisory .site-footer {
  background: #0F1B33;
  color: #94A3B8;
}
.theme-advisory .footer-col-title {
  color: #EFD9AE;
}
.theme-advisory .footer-link {
  color: #CBD5E1;
}
.theme-advisory .footer-link:hover {
  color: #FFFFFF;
}
.theme-advisory .footer-bottom {
  border-color: rgba(227, 230, 235, 0.15);
}

@media (max-width: 992px) {
  .adv-identity-inner { flex-direction: column; }
  .adv-firm-card { width: 100%; }
  .adv-founders-grid { grid-template-columns: 1fr; }
  .adv-segments-grid { grid-template-columns: 1fr 1fr; }
  .adv-reg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .adv-segments-grid { grid-template-columns: 1fr; }
  .adv-links-col { grid-template-columns: 1fr; }
}
