/* A.J. Hospital site style, 15 Nov 2026 redesign. Stored in Divi > Theme Options > Custom CSS by set_options.php. */
:root { --cream: #FBF6F0; --beige: #E9CEAF; --sand: #F3E6D6; --ink: #141210; --orange: #ED802A; --rust: #A9500F; --serif: "Newsreader", "EB Garamond", Georgia, serif; --line: rgba(20,18,16,.2); }
body, #page-container, #main-content { background: var(--cream) !important; }

/* Carried over */
.et_pb_button_module_wrapper .et_pb_button { display: inline-flex !important; width: auto !important; }
.et_pb_button:after { display: none !important; }
.et_pb_text a:hover { opacity: 0.7; }
.et_pb_image img { display: block; width: 100%; }
h1, h2, h3 { padding-bottom: 0; }
details.aj-faq { border-bottom: 1px solid var(--line); padding: 20px 0; }
details.aj-faq summary { cursor: pointer; font-size: 21px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.aj-faq summary::after { content: "+"; font-weight: 400; }
details.aj-faq[open] summary::after { content: "−"; }
details.aj-faq p { padding-top: 12px; margin: 0; }
.et_pb_text h3 { font-size: 22px; font-weight: 600; padding-top: 18px; }

/* Every page: serif for the big lines, Inter for the rest */
h1.et_pb_module_header, h2.et_pb_module_header, .et_pb_heading h1, .et_pb_heading h2 { font-family: var(--serif) !important; font-weight: 400 !important; letter-spacing: -0.015em !important; }
.et_pb_heading h1 { font-size: clamp(44px, 5.4vw, 80px) !important; line-height: 1.04 !important; }
.et_pb_image img { border-radius: 6px !important; }

/* Header */
#main-header { background: var(--cream) !important; box-shadow: none !important; border-bottom: 1px solid var(--line); }
#logo { max-height: 60% !important; }
#top-menu li.aj-menu-call > a { background: var(--orange); color: #000 !important; font-weight: 600; border-radius: 999px; padding: 12px 22px !important; margin-top: -12px; }
#mobile_menu li.aj-menu-call > a { background: var(--orange); color: #000 !important; font-weight: 600; text-align: center; }

/* Footer and phone call bar */
#main-footer { display: none; }
.aj-foot { background: #1b120c; color: #f3e6d6; font: 16px/1.7 Inter, sans-serif; padding: 72px 32px 28px; }
.aj-foot a { color: #f3e6d6; border-bottom: 1px solid rgba(243,230,214,.35); }
.aj-foot-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.aj-foot h4 { color: #F2B27A; font: 600 14px Inter, sans-serif; padding: 0 0 12px; }
.aj-foot p { padding: 0 0 10px; }
.aj-foot-tag { font: italic 400 24px/1.2 var(--serif); padding-top: 16px !important; }
.aj-foot-base { max-width: 1200px; margin: 48px auto 0; padding-top: 20px; border-top: 1px solid rgba(243,230,214,.2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.aj-callbar { display: none; }
@media (max-width: 767px) {
  .aj-foot { padding: 56px 22px 96px; } .aj-foot-in { grid-template-columns: 1fr 1fr; gap: 28px; } .aj-foot-in > div:first-child { grid-column: 1 / -1; }
  .aj-callbar { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999; background: var(--orange); color: #000 !important; font: 600 17px/1 Inter, sans-serif; text-align: center; padding: 18px; border-radius: 999px; box-shadow: 0 6px 24px rgba(20,18,16,.28); }
}

/* Home blocks: take the Divi wrappers out of the way */
.et_pb_section:has(.aj) { padding: 0 !important; background: transparent !important; }
.et_pb_row:has(.aj) { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.et_pb_section:has(.aj-surgeon) { background: var(--beige) !important; }

.aj { font: 18px/1.6 Inter, sans-serif; color: var(--ink); }
.aj p { padding: 0 0 14px; margin: 0; }
.aj a { color: var(--ink); }
.aj img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aj-wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.aj h1, .aj h2 { font-family: var(--serif) !important; font-weight: 400 !important; color: var(--ink); padding: 0; margin: 0 0 24px; }
.aj h1 { font-size: clamp(46px, 6.4vw, 96px) !important; line-height: 1 !important; letter-spacing: -0.022em; }
.aj h2 { font-size: clamp(32px, 3.6vw, 54px) !important; line-height: 1.1 !important; letter-spacing: -0.015em; }
.aj h3 { font: 600 18px/1.4 Inter, sans-serif !important; padding: 0 0 4px !important; margin: 0; }
.aj-eye { font-size: 14px; font-weight: 600; color: var(--rust); padding-bottom: 20px !important; display: flex; align-items: center; gap: 12px; }
.aj-eye::before { content: ""; width: 28px; height: 1.5px; background: var(--orange); }
.aj-btn { display: inline-flex; align-items: center; background: var(--orange); color: #000 !important; font: 600 17px/1 Inter, sans-serif; padding: 18px 32px; border-radius: 999px; border: 1.5px solid var(--orange); transition: transform .2s ease, box-shadow .2s ease; }
.aj-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(237,128,42,.35); opacity: 1 !important; }
.aj-btn-line { background: transparent; border-color: var(--ink); }
.aj-link { font-weight: 600; border-bottom: 1.5px solid var(--orange); padding-bottom: 3px; }
.aj-link::after { content: " →"; }
.aj-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 0 26px !important; }
.aj-actions span { font-size: 15px; }
.aj-say { font: 400 clamp(24px, 2.2vw, 32px)/1.25 var(--serif); border-left: 2px solid var(--orange); padding: 2px 0 2px 20px !important; margin-top: 18px !important; }

/* 1 Hero */
.aj-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: min(84vh, 800px); background: linear-gradient(100deg, var(--cream) 0%, #F3E0C8 52%, var(--beige) 100%); }
.aj-hero-text { align-self: center; padding: clamp(48px, 7vw, 110px) 32px clamp(48px, 7vw, 110px) max(32px, calc((100vw - 1200px) / 2 + 32px)); animation: aj-rise .9s ease both; }
.aj-lead { font-size: clamp(18px, 1.5vw, 22px); max-width: 30em; }
.aj-quiet { font-size: 15px; color: #3b332c; border-top: 1px solid var(--line); padding: 16px 0 0 !important; display: inline-block; }
.aj-hero-photo { position: relative; overflow: hidden; }
.aj-hero-photo img { position: absolute; inset: 0; transform: scaleX(-1); object-position: 40% center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 38%); mask-image: linear-gradient(to right, transparent 0, #000 38%); }

/* 2, 4, 10 Split */
.aj-split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1200px; margin: 0 auto; padding: clamp(72px, 10vw, 150px) 32px; }
.aj-photo img { aspect-ratio: 4 / 5; height: auto; border-radius: 6px; }
.aj-find { grid-template-columns: 6fr 5fr; } .aj-find .aj-photo img { aspect-ratio: 4 / 3; }
.aj-find a:not(.aj-btn) { border-bottom: 1px solid var(--line); }
.aj-cred { font-size: 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0 !important; margin: 10px 0 22px !important; }

/* 3 What we take seriously */
.aj-rules { background: var(--sand); padding: clamp(72px, 10vw, 150px) 0; }
.aj-rules .aj-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); }
.aj ol, .aj ul { list-style: none !important; padding: 0 !important; margin: 0; }
.aj-rules li { display: grid; grid-template-columns: 64px 1fr; padding: 26px 0; border-top: 1px solid var(--line); }
.aj-rules li:last-child { border-bottom: 1px solid var(--line); }
.aj-rules li > span { font: 400 26px/1.2 var(--serif); color: var(--rust); }
.aj-rules h3 { font: 400 clamp(24px, 2.2vw, 30px)/1.2 var(--serif) !important; }
.aj-rules li p { font-size: 17px; padding: 6px 0 0; }

/* 5 Rooms */
.aj-rooms { padding: clamp(72px, 10vw, 150px) 0; }
.aj-head { max-width: 820px; padding-bottom: 28px; }
.aj-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 470px 380px; gap: 14px; }
.aj-mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: 6px; }
.aj-mosaic .m1 { grid-column: 1 / 8; } .aj-mosaic .m2 { grid-column: 8 / 13; } .aj-mosaic .m3 { grid-column: 1 / 7; } .aj-mosaic .m4 { grid-column: 7 / 13; }
.aj-mosaic .m1 img { filter: saturate(.72); }
.aj-mosaic img { transition: transform 1.2s ease; } .aj-mosaic figure:hover img { transform: scale(1.03); }
.aj-mosaic figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(20,18,16,.72); color: #fff; font-size: 14px; padding: 6px 12px; border-radius: 999px; }

/* 6 Steps */
.aj-steps { background: #fff; padding: clamp(72px, 10vw, 150px) 0; }
.aj-steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 16px 0 44px !important; }
.aj-steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.aj-steps li > span { display: block; font: 400 64px/1 var(--serif); color: var(--rust); padding-bottom: 14px; }

/* 7 Two questions */
.aj-ask { background: var(--beige); padding: clamp(84px, 11vw, 170px) 0; text-align: center; }
.aj-ask .aj-eye { justify-content: center; color: #6b3306; }
.aj-ask h2 { font-size: clamp(34px, 4.6vw, 68px) !important; margin-bottom: 10px; }
.aj-ask .aj-second { font-style: italic; color: #7a3a07; margin: 0; }

/* 8 What we treat */
.aj-treat { padding: clamp(72px, 10vw, 150px) 0; }
.aj-treat-top { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.aj-treat ul { columns: 2; column-gap: 40px; }
.aj-treat li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.aj-treat li a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 0; font: 400 22px/1.25 var(--serif); }
.aj-treat li a::after { content: "→"; color: var(--rust); font-family: Inter, sans-serif; font-size: 17px; }
.aj-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.aj-tiles a { position: relative; display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; }
.aj-tiles a::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(to top, rgba(20,18,16,.78), transparent); }
.aj-tiles span { position: absolute; left: 20px; bottom: 18px; z-index: 1; color: #fff; font: 400 28px/1.1 var(--serif); }
.aj-tiles span::after { content: " →"; font: 400 18px Inter, sans-serif; }
.aj-tiles img { transition: transform 1.2s ease; } .aj-tiles a:hover img { transform: scale(1.03); } .aj-tiles a:hover { opacity: 1 !important; }

/* 9 Until eighteen */
.aj-eighteen { background: radial-gradient(60% 80% at 20% 45%, rgba(237,128,42,.30), transparent 70%), #1b120c; color: #f6ebdd; padding: clamp(84px, 11vw, 170px) 0; }
.aj-eighteen .aj-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.aj-18 { font: 400 clamp(150px, 27vw, 400px)/.8 var(--serif); color: var(--orange); letter-spacing: -0.04em; padding: 0 !important; }
.aj-eighteen h2 { color: #fff; } .aj-eighteen .aj-eye { color: #F2B27A; }
.aj-since { font-size: 15px; opacity: .85; }
.aj-eighteen .aj-say { color: #fff; margin: 22px 0 34px !important; }

/* Motion */
@keyframes aj-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  .aj-reveal { animation: aj-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@media (prefers-reduced-motion: reduce) { .aj-reveal, .aj-hero-text { animation: none !important; } .aj img { transition: none !important; } }

/* Phone call bar waits until the first screen has passed */
@keyframes aj-bar { from { opacity: 0; transform: translateY(90px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: scroll()) { .aj-callbar { animation: aj-bar linear both; animation-timeline: scroll(); animation-range: 380px 520px; } }
/* Phones */
@media (max-width: 767px) {
  .aj { font-size: 17px; } .aj-wrap { padding: 0 22px; }
  .aj-hero { grid-template-columns: 1fr; min-height: 0; background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 60%); }
  .aj-hero-photo { order: -1; height: 40vh; min-height: 260px; }
  .aj-hero-photo img { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); object-position: 50% 40%; }
  .aj-hero-text { padding: 4px 22px 44px; }
  .aj-hero .aj-btn { width: 100%; justify-content: center; }
  .aj-split, .aj-find, .aj-rules .aj-wrap, .aj-treat-top, .aj-eighteen .aj-wrap { grid-template-columns: 1fr; }
  .aj-split { padding: 64px 22px; gap: 28px; } .aj-find .aj-photo { order: -1; }
  .aj-photo img { aspect-ratio: 4 / 3; }
  .aj-rules li { grid-template-columns: 48px 1fr; }
  .aj-mosaic { grid-template-columns: 1fr; grid-template-rows: none; } .aj-mosaic figure { grid-column: auto !important; aspect-ratio: 4 / 3; }
  .aj-steps ol { grid-template-columns: 1fr; gap: 26px; } .aj-steps li > span { font-size: 48px; }
  .aj-treat ul { columns: 1; } .aj-tiles { grid-template-columns: 1fr; } .aj-tiles a { aspect-ratio: 16 / 10; }
  .aj-18 { font-size: 150px; }
}
/* Narrow desktop and tablet: keep the menu clear of the logo */
@media (min-width: 768px) and (max-width: 1180px) {
  #top-menu li { padding-right: 14px !important; } #top-menu li a { font-size: 14px !important; }
  #top-menu li.aj-menu-call { display: none; }
}

/* ---------- Inner pages (same blocks as home) ---------- */
.aj-bg-white { background: #fff; } .aj-bg-beige { background: var(--beige); }
.aj-gap { display: inline-block; border: 1px dashed rgba(20,18,16,.5); border-radius: 6px; padding: 4px 10px; font: 500 15px/1.5 Inter, sans-serif; color: #3b332c; }
.aj-center { justify-content: center; }
/* Page hero */
.aj-phero { background: linear-gradient(100deg, var(--cream) 0%, #F3E0C8 70%, var(--beige) 100%); padding: clamp(56px, 7vw, 110px) 0; }
.aj-phero .aj-wrap { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.aj-phero-text .aj-wrap { grid-template-columns: 1fr; max-width: 980px; }
.aj-phero h1 { font-size: clamp(42px, 5.2vw, 78px) !important; line-height: 1.03 !important; }
.aj-phero .aj-lead { padding-bottom: 28px; }
.aj-phero .aj-photo img { aspect-ratio: 4 / 3; }
/* Two columns: heading left, body right */
.aj-two { padding: clamp(64px, 8vw, 120px) 0; }
.aj-two .aj-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); }
.aj-body > p { font-size: clamp(18px, 1.5vw, 21px); }
.aj-list li { font: 400 clamp(21px, 1.9vw, 26px)/1.3 var(--serif); padding: 20px 0; border-top: 1px solid var(--line); }
.aj-list li:last-child { border-bottom: 1px solid var(--line); }
.aj-links li { padding: 0; } .aj-links a { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; }
.aj-links a::after { content: "→"; color: var(--rust); font: 400 18px Inter, sans-serif; }
/* Statement */
.aj-state { background: var(--sand); padding: clamp(64px, 8vw, 120px) 0; }
.aj-state .aj-wrap { max-width: 1040px; }
.aj-state .aj-big { font-size: clamp(30px, 3.6vw, 52px) !important; line-height: 1.15 !important; border-left: 2px solid var(--orange); padding-left: clamp(18px, 2.4vw, 36px); margin: 0; }
.aj-state .aj-gapline { font: 500 18px/1.5 Inter, sans-serif !important; letter-spacing: 0; border: 1px dashed rgba(20,18,16,.5); border-radius: 6px; padding: 12px 16px; display: inline-block; margin: 0; }
/* Small eighteen band, call band, notes */
.aj-eighteen h1 { font-family: var(--serif) !important; font-weight: 400 !important; color: #fff; font-size: clamp(38px, 4.6vw, 68px) !important; line-height: 1.06 !important; }
.aj-eighteen .aj-lead { padding-bottom: 28px; }
.aj-eighteen-small { padding: clamp(56px, 7vw, 100px) 0; }
.aj-eighteen-small .aj-18 { font-size: clamp(120px, 17vw, 240px); }
.aj-eighteen a.aj-link { color: #fff; }
.aj-cta { background: var(--beige); padding: clamp(72px, 9vw, 130px) 0; text-align: center; }
.aj-cta .aj-eye { justify-content: center; color: #6b3306; } .aj-cta h2 { font-size: clamp(34px, 4.4vw, 64px) !important; } .aj-cta p { padding-bottom: 26px; }
.aj-note { padding: 22px 32px; text-align: center; font-size: 14px; color: #3b332c; }
.aj-note-big { padding: clamp(56px, 7vw, 100px) 32px; } .aj-note-big p { display: inline-block; border: 1px dashed rgba(20,18,16,.5); border-radius: 6px; padding: 14px 18px; font-size: 16px; }
.aj-steps-4 ol { grid-template-columns: repeat(4, 1fr); } .aj-steps h3 { font: 400 26px/1.2 var(--serif) !important; padding-bottom: 8px !important; }
.aj-ask .aj-actions { padding-top: 34px !important; }
/* Doctors */
.aj-docs { padding: clamp(64px, 8vw, 120px) 0; }
.aj-docs .aj-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); max-width: 1000px; }
.aj-doc { display: block; } .aj-doc:hover { opacity: 1 !important; } .aj-doc .aj-photo { display: block; overflow: hidden; border-radius: 6px; margin-bottom: 22px; }
.aj-doc h3 { font: 400 34px/1.1 var(--serif) !important; }
/* Questions and prose */
.aj details.aj-faq:first-child { border-top: 1px solid var(--line); }
.aj details.aj-faq summary { font: 400 clamp(21px, 1.9vw, 26px)/1.3 var(--serif); }
.aj-prose { padding: clamp(56px, 7vw, 100px) 0; } .aj-prose .aj-wrap { max-width: 800px; } .aj-prose h3 { font: 400 28px/1.2 var(--serif) !important; padding: 26px 0 8px !important; }
.aj-prose a { border-bottom: 1px solid var(--orange); }
@media (max-width: 767px) {
  .aj-phero .aj-wrap, .aj-two .aj-wrap, .aj-docs .aj-wrap, .aj-steps-4 ol { grid-template-columns: 1fr; }
  .aj-phero .aj-btn { width: 100%; justify-content: center; }
  .aj-two .aj-wrap { gap: 20px; }
  .aj-eighteen-small .aj-18 { font-size: 110px; }
}

/* ---------- Home as one story: a thread down the page, a marker at each beat, a bridge into the next ---------- */
.aj-ch { position: relative; }
.aj-ch > .aj-wrap { position: relative; padding: clamp(48px, 6vw, 96px) 32px clamp(40px, 5vw, 80px) 104px; }
.aj-ch > .aj-wrap::before { content: ""; position: absolute; left: 56px; top: 0; bottom: 0; width: 1.5px; background: rgba(237,128,42,.55); }
.aj-ch-first > .aj-wrap::before { top: clamp(56px, 6.6vw, 104px); }
.aj-ch-last > .aj-wrap::before { bottom: auto; height: clamp(62px, 7vw, 110px); }
.aj-mark { position: relative; font: 600 14px/1.4 Inter, sans-serif; color: var(--rust); padding: 0 0 18px !important; }
.aj-mark::before { content: ""; position: absolute; left: -54px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--cream); }
.aj-mark span { color: var(--ink); opacity: .55; padding-right: 10px; }
.aj-ch-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.aj-ch-solo .aj-ch-grid { grid-template-columns: 1fr; max-width: 860px; }
.aj-ch-text p { font-size: clamp(18px, 1.45vw, 21px); padding-bottom: 12px; }
.aj-ch-text h2 { margin-bottom: 20px; }
.aj-ch-media img { aspect-ratio: 4 / 3; height: auto; border-radius: 6px; }
.aj-aside { font-size: 15px !important; color: #3b332c; border-top: 1px solid var(--line); padding-top: 14px !important; margin-top: 10px !important; }
.aj-bridge { position: relative; font: italic 400 clamp(22px, 2vw, 30px)/1.3 var(--serif); color: #5a2c06; padding: clamp(36px, 4.5vw, 64px) 0 0 !important; max-width: 760px; }
.aj-three { list-style: none; } .aj-three li { padding: 14px 0; border-top: 1px solid var(--line); font: 400 clamp(21px, 1.9vw, 27px)/1.3 var(--serif); } .aj-three li:last-child { border-bottom: 1px solid var(--line); }
.aj-three li b { font-weight: 400; color: var(--rust); padding-right: 14px; }
/* Come-now box: quiet, not an alarm */
.aj-now { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: clamp(22px, 3vw, 36px); max-width: 860px; }
.aj-now h2 { font-size: clamp(26px, 2.6vw, 36px) !important; margin-bottom: 12px; }
.aj-now p { font-size: 18px; }
/* The visit: doctor beside the three answers */
.aj-ch-visit .aj-ch-media img { aspect-ratio: 4 / 5; }
.aj-ch-media figcaption { font-size: 14px; line-height: 1.5; padding-top: 12px; color: #3b332c; }
.aj-ch-media figure { margin: 0; }
/* Dark beat keeps the thread */
.aj-ch.aj-eighteen > .aj-wrap { display: block; }
.aj-ch.aj-eighteen .aj-mark { color: #F2B27A; } .aj-ch.aj-eighteen .aj-mark span { color: #fff; } .aj-ch.aj-eighteen .aj-mark::before { box-shadow: 0 0 0 5px #1b120c; }
.aj-ch.aj-eighteen .aj-ch-grid { grid-template-columns: 4fr 7fr; }
.aj-ch.aj-eighteen .aj-bridge { color: #F2B27A; }
.aj-ch.aj-eighteen p { color: #f6ebdd; }
.aj-ch.aj-ch-hero { background: linear-gradient(100deg, var(--cream) 0%, #F3E0C8 52%, var(--beige) 100%); }
.aj-ch-hero .aj-mark::before { box-shadow: 0 0 0 5px #fbf3ea; }
.aj-ch-hero .aj-ch-media img { aspect-ratio: 1 / 1; transform: scaleX(-1); -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); border-radius: 0; }
.aj-ch-hero h1 { font-size: clamp(44px, 5.6vw, 84px) !important; }
/* After the story */
.aj-after { border-top: 1px solid var(--line); }
.aj-topline { background: #1b120c; color: #f6ebdd; text-align: center; font: 500 14px/1.4 Inter, sans-serif; padding: 9px 16px; }
.aj-topline a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); }
@media (max-width: 767px) {
  .aj-ch > .aj-wrap { padding: 44px 20px 36px 46px; } .aj-ch > .aj-wrap::before { left: 22px; } .aj-ch-first > .aj-wrap::before { top: 50px; } .aj-ch-last > .aj-wrap::before { height: 56px; }
  .aj-mark::before { left: -30px; width: 12px; height: 12px; }
  .aj-ch-grid, .aj-ch.aj-eighteen .aj-ch-grid { grid-template-columns: 1fr; gap: 22px; }
  .aj-ch-hero .aj-ch-media { order: -1; max-width: 300px; } .aj-ch-hero .aj-btn { width: 100%; justify-content: center; }
}
.aj-pre { font: italic 400 clamp(20px, 1.7vw, 25px)/1.35 var(--serif); color: #5a2c06; padding-bottom: 18px !important; }
.aj-ch-wide .aj-ch-grid { max-width: none; } .aj-ch-wide .aj-ch-text > h2, .aj-ch-wide .aj-ch-text > p { max-width: 760px; }
.aj-ch.aj-find { max-width: none; display: block; padding: 0; } .aj-ch.aj-find .aj-ch-media { order: 0; }
.aj-ch.aj-eighteen { padding: 0; } .aj-ch.aj-eighteen .aj-18 { font-size: clamp(130px, 20vw, 300px); }
#main-header::before { content: "24-hour emergency: 93423 14655"; display: block; background: #1b120c; color: #f6ebdd; text-align: center; font: 500 13px/1 Inter, sans-serif; padding: 9px 12px; }
@media (max-width: 767px) { .aj-ch.aj-eighteen .aj-18 { font-size: 120px; } .aj-ch-wide .aj-mosaic { margin-left: -24px; } }
.aj-ch-hero .aj-ch-grid { grid-template-columns: 7fr 5fr; } .aj-ch-hero h1 { font-size: clamp(40px, 4.9vw, 74px) !important; }
.aj-ch.aj-eighteen .aj-18 { color: var(--orange); }
.aj-ch-text p.aj-say { font-size: clamp(24px, 2.2vw, 32px); } .aj-ch.aj-eighteen p.aj-say { color: #fff; margin-top: 22px !important; }
.aj-ch-text p.aj-pre { font-size: clamp(20px, 1.7vw, 25px); }
@media (max-width: 767px) { .aj-ch-hero .aj-ch-media { max-width: 210px; } .aj-ch-hero > .aj-wrap { padding-top: 28px; } }

/* Home story block (.ajr): take the Divi wrappers out of the way; its own styles follow from home_story.css */
.et_pb_section:has(.ajr) { padding: 0 !important; background: transparent !important; }
.et_pb_row:has(.ajr) { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.ajr p, .ajr h1, .ajr h2, .ajr h3, .ajr ul, .ajr ol, .ajr li, .ajr figure { padding: 0; margin: 0; }
.ajr ul, .ajr ol { list-style: none; }
.ajr p:empty { display: none; }                      /* WordPress adds empty paragraphs between blocks */
.ajr h1, .ajr h2, .ajr h3 { color: inherit; }        /* Divi sets every heading black */
