/* ============================================================
   Eldessouky Law — Interior Page CSS
   Default page template: two-column with sidebar
   ============================================================ */

.interior-section {
  padding: 4rem 0 6rem;
}
.interior-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

/* ---- MAIN CONTENT ---- */
.interior-main { min-width: 0; }
.interior-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--light-gray);
  font-weight: 300;
}
.interior-body h1, .interior-body h2, .interior-body h3, .interior-body h4 {
  color: var(--white);
  margin: 2.5rem 0 1rem;
}
.interior-body h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}
.interior-body h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}
.interior-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}
.interior-body p {
  margin-bottom: 1.5rem;
}
.interior-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.interior-body a:hover {
  color: var(--gold-dim);
}
.interior-body ul, .interior-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--light-gray);
}
.interior-body li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}
.interior-body img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}
.interior-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(208, 169, 37, 0.04);
  color: var(--light-gray);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.7;
}
.interior-body strong {
  color: var(--white);
  font-weight: 600;
}
/* Imported answer boxes carry their own light backgrounds (inline styles) -
   strong must inherit the box text color, not the theme text color */
.interior-body [style*="background"] strong,
.interior-body [style*="background"] b,
.interior-body [style*="box-shadow"] strong,
.interior-body [style*="box-shadow"] b { color: inherit; }
.interior-body [style*="box-shadow"] { color: #222222; }
.interior-body [style*="box-shadow"] :is(p, li, span, h3, h4) { color: inherit; }
.interior-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.interior-body th, .interior-body td {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: left;
}
.interior-body th {
  background: var(--darker);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- SIDEBAR ---- */
.interior-sidebar {
  position: relative;
}
.interior-sidebar .sidebar-sticky {
  position: sticky;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Sidebar cards */
.sidebar-card {
  background: var(--darker);
  padding: 2rem;
  border: 1px solid rgba(208, 169, 37, 0.08);
}
.sidebar-card h4 {
  font-family: var(--sans) !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(208, 169, 37, 0.1);
}
.sidebar-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 0.75rem;
}
.sidebar-card p:last-child { margin-bottom: 0; }

/* CTA card */
.sidebar-card-cta {
  text-align: center;
  padding: 2.5rem 2rem;
}
.sidebar-card-label {
  font-family: var(--sans) !important;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.sidebar-card-headline {
  font-family: var(--serif) !important;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.sidebar-card-headline em {
  font-style: normal;
  color: var(--gold);
}
.sidebar-card-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none !important;
  margin-bottom: 1.25rem;
}
.sidebar-card-phone:hover { color: var(--gold) !important; }
.sidebar-card-phone svg { color: var(--gold); flex-shrink: 0; width: 24px; height: 24px; }
.sidebar-card-btn {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 0.85rem;
}

/* Contact phone */
.sidebar-contact-phone {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold) !important;
  text-decoration: none !important;
  display: block;
  margin-bottom: 0.75rem;
}

/* Practice area links */
.sidebar-area-link {
  display: block;
  font-size: 0.9rem;
  color: var(--gray) !important;
  text-decoration: none !important;
  padding: 0.5rem 0;
  padding-left: 1rem;
  border-left: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.sidebar-area-link:hover {
  color: var(--gold) !important;
  border-left-color: var(--gold);
}

/* Highlight card */
.sidebar-card-highlight {
  border: 2px solid var(--gold);
  text-align: center;
  padding: 2rem;
}
.sidebar-highlight-text {
  font-family: var(--sans) !important;
  font-size: 0.9rem;
  color: var(--gold) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.sidebar-highlight-text strong {
  color: var(--gold);
  display: block;
  font-size: 1rem;
  letter-spacing: 0.12em;
  margin-top: 0.25rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .interior-layout { grid-template-columns: 1fr 300px; gap: 3rem; }
}
@media (max-width: 768px) {
  .interior-layout { grid-template-columns: 1fr; }
  .interior-sidebar { position: static; }
  .interior-sidebar .sidebar-sticky { position: static; }
}

/* ---- LIGHT MODE ---- */
/* (sidebar cards keep the dark navy treatment in light mode — see block at end) */
[data-theme="light"] .interior-body strong { color: var(--white); }

/* ============================================================
   EVOLUTION PASS — interior.css
   Hand-tuned for the Evolution design system (Oswald/Lato,
   navy + gold). Overrides sit below the base rules on purpose.
   ============================================================ */
.interior-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; }
.interior-body h3 { font-size: 1.2rem; font-weight: 600; }
.sidebar-card { background: var(--darker); border: 1px solid rgba(208, 169, 37, 0.15); border-top: 3px solid var(--gold); }
.sidebar-card-highlight { border: 2px solid var(--gold); border-top-width: 3px; }
.sidebar-card-label { font-family: var(--serif); font-weight: 500; letter-spacing: 0.24em; font-size: 0.72rem; }
.sidebar-card-headline { font-weight: 600; }
.sidebar-card-phone, .sidebar-contact-phone { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; color: var(--gold); letter-spacing: 0.02em; }
.sidebar-card-btn { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 0; }
/* (light-mode sidebar override removed — cards stay navy in both themes, see end of file) */

/* ── EVOLUTION: imported-content callouts + inline CTA buttons ── */
.note-block {
  background: var(--darker);
  border: 1px solid rgba(208, 169, 37, 0.18);
  border-left: 4px solid var(--gold);
  padding: 1.6rem 1.8rem;
  margin: 1.8rem 0;
}
.inner-note-block { color: var(--light-gray); font-size: 0.98rem; line-height: 1.75; }
.inner-note-block strong { color: var(--white); }
[data-theme="light"] .note-block { background: #ffffff; border-color: rgba(0, 0, 0, 0.08); border-left-color: var(--gold); }
a.info-button {
  display: inline-block;
  background: var(--gold);
  color: #0b1826 !important;
  font-family: var(--serif);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.88rem;
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  transition: background 0.25s;
}
a.info-button:hover { background: var(--gold-bright); }

/* ── LIGHT MODE SIDEBAR = DARK TREATMENT (2026-07-16) ──
   The navy sidebar is the approved look in both themes; pin the dark values
   so the light-mode variable remap never washes these cards out. */
[data-theme="light"] .sidebar-card {
  background: #0e1f33;
  border: 1px solid rgba(208, 169, 37, 0.15);
  border-top: 3px solid #d0a925;
}
[data-theme="light"] .sidebar-card h4 { color: #d0a925; border-bottom-color: rgba(208, 169, 37, 0.1); }
[data-theme="light"] .sidebar-card p { color: #8fa1b3; }
[data-theme="light"] .sidebar-card p strong { color: #ffffff; }
[data-theme="light"] .sidebar-card-label { color: #d0a925; }
[data-theme="light"] .sidebar-card-headline { color: #ffffff; }
[data-theme="light"] .sidebar-card-headline em { color: #d0a925; }
[data-theme="light"] .sidebar-card-phone { color: #ffffff !important; }
[data-theme="light"] .sidebar-card-phone:hover { color: #d0a925 !important; }
[data-theme="light"] .sidebar-card-phone svg { color: #d0a925; }
[data-theme="light"] .sidebar-card-highlight { border: 2px solid #d0a925; border-top-width: 3px; }
[data-theme="light"] .sidebar-highlight-text { color: #d0a925 !important; }
[data-theme="light"] .sidebar-card .sidebar-highlight-text strong { color: #d0a925; }
[data-theme="light"] .sidebar-contact-phone { color: #d0a925 !important; }
[data-theme="light"] .sidebar-area-link { color: #8fa1b3 !important; }
[data-theme="light"] .sidebar-area-link:hover { color: #d0a925 !important; }
