/* Cronyn Dentistry: homepage and inner-page styling. Palette: navy, brick, cream. */
:root {
  --cd-navy: #1f5557;      /* calm deep teal (kept var name) */
  --cd-ink: #3a2e2a;       /* warm charcoal-brown text */
  --cd-brick: #c4623a;     /* terracotta */
  --cd-brick-dark: #a24d2b;
  --cd-cream: #fcf6ec;
  --cd-mist: #f8e9dc;      /* soft peach */
  --cd-line: #ecd9c8;
}
.cd, .cd * { box-sizing: border-box; }
.cd { font-size: 18px; font-family: Nunito, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--cd-ink); line-height: 1.7; width: 100%; }
.cd h2, .cd h3, .cd h4 { font-family: Nunito, system-ui, sans-serif; color: var(--cd-navy); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; padding: 0; text-transform: none; }
.cd h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 18px; }
.cd h3 { font-size: 20px; margin: 0 0 8px; }
.cd p { padding: 0; margin: 0 0 16px; }
.cd a { text-decoration: none; }
.cd-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.cd-sec { padding: 92px 0; }
.cd-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cd-brick); margin: 0 0 12px; }
.cd-lead { font-size: 21px; line-height: 1.6; color: var(--cd-navy); }

/* buttons */
.cd-btn { display: inline-block; background: var(--cd-brick); color: #fff !important; font-weight: 700; font-size: 16px; padding: 15px 32px; border-radius: 999px; transition: background .2s, transform .2s; }
.cd-btn:hover { background: var(--cd-brick-dark); transform: translateY(-1px); }
.cd-btn--light { background: #fff; color: var(--cd-navy) !important; }
.cd-btn--light:hover { background: var(--cd-cream); }
.cd-link { display: inline-block; margin-left: 22px; font-weight: 700; color: var(--cd-navy) !important; border-bottom: 2px solid var(--cd-brick); }
.cd-actions { margin-top: 26px; }

/* trust bar */
.cd-trust { background: var(--cd-navy); color: #fff; }
.cd-trust ul { list-style: none; margin: 0 auto; padding: 22px 24px; max-width: 1160px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cd-trust li { font-size: 15px; line-height: 1.4; padding: 0; text-align: center; border-right: 1px solid rgba(255,255,255,.2); }
.cd-trust li:last-child { border-right: 0; }
.cd-trust strong { display: block; font-size: 18px; color: #ffd9bf; }

/* intro */
.cd-intro { background: var(--cd-cream); }
.cd-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.cd-photo { margin: 0; }
.cd-photo img { width: 100%; height: auto; display: block; border-radius: 28px; box-shadow: 0 18px 40px rgba(120,70,40,.22); }
.cd-photo figcaption { font-size: 14px; color: #7a6558; margin-top: 10px; }

/* feature cards */
.cd-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.cd-card { background: #fff; border: 1px solid var(--cd-line); border-radius: 22px; padding: 30px; }
.cd-card .cd-num { display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 50%; background: var(--cd-mist); color: var(--cd-navy); font-weight: 700; margin-bottom: 14px; }
.cd-card p { margin: 0; font-size: 16px; }

/* services */
.cd-services { background: #fff; }
.cd-head { max-width: 680px; margin-bottom: 8px; }
.cd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.cd-svc { border-left: 4px solid var(--cd-brick); background: var(--cd-mist); padding: 22px 24px; border-radius: 0 18px 18px 0; }
.cd-svc p { margin: 0; font-size: 16px; }
.cd-note { margin-top: 28px; font-size: 16px; color: #6b564a; }

/* meet */
.cd-meet { background: var(--cd-navy); color: #eaf3f2; }
.cd-meet h2, .cd-meet h3 { color: #fff; }
.cd-meet .cd-eyebrow { color: #ffd9bf; }
.cd-meet-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.cd-cred { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 24px; padding: 32px; }
.cd-cred h3 { font-size: 22px; margin-bottom: 4px; }
.cd-cred .cd-role { color: #ffd9bf; font-weight: 600; margin-bottom: 18px; }
.cd-cred ul { list-style: none; margin: 0; padding: 0; }
.cd-cred li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 15px; line-height: 1.5; }
.cd-meet p { color: #eaf3f2; }
.cd-quote { font-size: 22px; line-height: 1.5; color: #fff !important; border-left: 4px solid var(--cd-brick); padding-left: 20px; margin: 24px 0; }

/* reviews */
.cd-reviews { background: var(--cd-cream); }
.cd-reviews .cd-head { margin-bottom: 24px; }

/* visit */
.cd-visit { background: #fff; }
.cd-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.cd-box { border: 1px solid var(--cd-line); border-radius: 22px; padding: 32px; background: var(--cd-mist); }
.cd-hours { width: 100%; border-collapse: collapse; font-size: 16px; }
.cd-hours td { padding: 9px 0; border-bottom: 1px solid var(--cd-line); background: transparent; }
.cd-hours td:last-child { text-align: right; font-weight: 600; }
.cd-big-phone { font-size: 30px; font-weight: 700; color: var(--cd-navy) !important; display: block; margin: 4px 0 14px; }

/* emergency band */
.cd-emerg { background: var(--cd-brick); color: #fff; text-align: center; padding: 64px 24px; }
.cd-emerg h2 { color: #fff; margin-bottom: 10px; }
.cd-emerg p { max-width: 640px; margin: 0 auto 24px; }

/* inner pages */
body.page:not(.home) #main-content .container { max-width: 860px; padding-top: 48px; padding-bottom: 56px; }
body.page:not(.home) .entry-title, body.page:not(.home) #left-area h1 { font-family: Nunito, system-ui, sans-serif; font-weight: 700; color: var(--cd-navy); font-size: 38px; letter-spacing: -.01em; text-transform: none; }
body.page:not(.home) #left-area h2, body.page:not(.home) #left-area h3 { font-family: Nunito, system-ui, sans-serif; color: var(--cd-navy); font-weight: 700; letter-spacing: -.01em; text-transform: none; }
body.page:not(.home) #left-area p, body.page:not(.home) #left-area li { font-family: Nunito, system-ui, sans-serif; font-size: 17px; line-height: 1.75; color: var(--cd-ink); }
body.page:not(.home) #left-area a { color: var(--cd-brick); font-weight: 600; }

/* brand the header button */
.et-l--header .et_pb_button, .et-l--header a.et_pb_button { background-color: var(--cd-brick) !important; }

/* responsive */
@media (max-width: 980px) {
  .cd-sec { padding: 60px 0; }
  .cd-split, .cd-meet-grid, .cd-visit-grid { grid-template-columns: 1fr; gap: 32px; }
  .cd-cards3, .cd-grid { grid-template-columns: 1fr 1fr; }
  .cd-trust ul { grid-template-columns: 1fr 1fr; }
  .cd-trust li:nth-child(2) { border-right: 0; }
}
@media (max-width: 600px) {
  .cd { font-size: 16px; }
  .cd-lead { font-size: 18px; }
  .cd-sec { padding: 52px 0; }
  .cd-cards3, .cd-grid { grid-template-columns: 1fr; }
  .cd-link { margin: 14px 0 0; display: table; }
  .cd-trust li { border-right: 0; }
}

/* hero primary button (was template green) */
body.home a.et_pb_button.et_pb_button_0:not([class*="tb_header"]) { background-color: var(--cd-brick) !important; border-radius: 999px !important; }
body.home a.et_pb_button.et_pb_button_0:not([class*="tb_header"]):hover { background-color: var(--cd-brick-dark) !important; }
body.home a.et_pb_button.et_pb_button_1:not([class*="tb_header"]) { border-radius: 999px !important; color: var(--cd-ink) !important; }
.et-l--header a.et_pb_button { border-radius: 999px !important; }

/* footer */
.et-l--footer .et_pb_section { background-color: var(--cd-cream) !important; border-top: 6px solid var(--cd-brick); }
.et-l--footer .et_pb_text, .et-l--footer .et_pb_text * { font-family: Nunito, system-ui, sans-serif !important; color: var(--cd-ink); }
.et-l--footer [style*="993300"], .et-l--footer [style*="7a5950"], .et-l--footer strong { color: var(--cd-navy) !important; }
.et-l--footer a, .et-l--footer a span { color: var(--cd-ink) !important; text-decoration: none; }
.et-l--footer a:hover, .et-l--footer a:hover span { color: var(--cd-brick) !important; }
.et-l--footer iframe { border-radius: 20px; }

/* social icons hidden until real profiles exist (they linked to "#") */
.et-l--header .et_pb_social_media_follow, .et-l--footer .et_pb_social_media_follow { display: none !important; }
