/*
 * Divine Romance Ministries: site design (2026-10-23)
 * Used by the "DR Home" and "DR Page" page templates and the 404 page.
 * The old Sydney theme styles are switched off on those pages (functions.php, section "New design").
 *
 * Colors and fonts live in the variables just below; change them there.
 * Fonts are stored in this theme's dr/fonts folder (no Google connection needed).
 */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("dr/fonts/archivo.woff2") format("woff2"); }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url("dr/fonts/great-vibes.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("dr/fonts/source-serif-4.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("dr/fonts/source-serif-4-italic.woff2") format("woff2"); }

:root {
	--dr-red: #b3141c;        /* the crimson from the Divine Romance logo */
	--dr-red-dark: #8f0f16;
	--dr-red-soft: #e7878b;   /* crimson that reads on dark backgrounds */
	--dr-ink: #151214;        /* near-black */
	--dr-ink-2: #2a2427;
	--dr-cream: #f8f2eb;
	--dr-blush: #f4e6e2;
	--dr-line: #e7d9d2;
	--dr-text: #2b2427;
	--dr-muted: #6f6267;
	--dr-white: #ffffff;
	--dr-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--dr-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--dr-script: "Great Vibes", "Brush Script MT", cursive;
	--dr-radius: 22px;
	--dr-wrap: 1200px;
	--dr-gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Base ---------- */
body.dr-site { margin: 0; background: var(--dr-white); color: var(--dr-text); font-family: var(--dr-serif); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.dr-site *, .dr-site *::before, .dr-site *::after { box-sizing: border-box; }
.dr-site img { max-width: 100%; height: auto; display: block; }
.dr-site a { color: var(--dr-red); text-underline-offset: 3px; }
.dr-site a:hover { color: var(--dr-red-dark); }
.dr-site :focus-visible { outline: 3px solid var(--dr-red-soft); outline-offset: 3px; border-radius: 4px; }
.dr-site h1, .dr-site h2, .dr-site h3 { font-family: var(--dr-sans); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; color: var(--dr-ink); margin: 0 0 0.5em; }
.dr-wrap { width: 100%; max-width: var(--dr-wrap); margin: 0 auto; padding: 0 var(--dr-gutter); }
.dr-skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--dr-white); color: var(--dr-ink); padding: 10px 16px; font-family: var(--dr-sans); }
.dr-skip:focus { left: 12px; top: 12px; }
.dr-eyebrow { font-family: var(--dr-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dr-red); margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.dr-eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.dr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--dr-sans); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; padding: 17px 28px; border-radius: 999px; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s; line-height: 1; }
.dr-site a.dr-btn:hover { transform: translateY(-1px); }
.dr-site a.dr-btn--red { background: var(--dr-red); color: var(--dr-white); }
.dr-site a.dr-btn--red:hover { background: var(--dr-red-dark); color: var(--dr-white); }
.dr-site a.dr-btn--ghost { border-color: rgba(255,255,255,.7); color: var(--dr-white); }
.dr-site a.dr-btn--ghost:hover { background: var(--dr-white); color: var(--dr-ink); }
.dr-site a.dr-btn--dark { background: var(--dr-ink); color: var(--dr-white); }
.dr-site a.dr-btn--dark:hover { background: var(--dr-ink-2); color: var(--dr-white); }
.dr-btn--small { padding: 12px 20px; font-size: 13px; white-space: nowrap; }
.dr-arrow::after { content: "\2192"; font-family: var(--dr-sans); transition: transform .2s; }
a:hover .dr-arrow::after, a.dr-arrow:hover::after { transform: translateX(4px); }
.dr-textlink { font-family: var(--dr-sans); font-weight: 700; font-size: 15px; letter-spacing: 0.03em; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Header ---------- */
.dr-header { position: relative; z-index: 10; background: var(--dr-ink); }
.dr-header--over { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.dr-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.dr-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dr-white); }
.dr-site a.dr-brand, .dr-site a.dr-brand:hover { color: var(--dr-white); }
.dr-brand img { width: 38px; height: auto; }
.dr-brand__words { display: flex; flex-direction: column; line-height: 1; }
.dr-brand__name { font-family: var(--dr-script); font-size: 32px; line-height: 0.9; white-space: nowrap; }
.dr-brand__sub { font-family: var(--dr-sans); font-size: 10px; font-weight: 700; letter-spacing: 0.36em; text-transform: uppercase; color: var(--dr-red-soft); margin-top: 6px; padding-left: 2px; }
.dr-nav { display: flex; align-items: center; gap: 30px; }
.dr-nav a { font-family: var(--dr-sans); font-size: 15px; font-weight: 600; color: rgba(255,255,255,.88); text-decoration: none; }
.dr-site .dr-nav a:hover { color: var(--dr-white); }
.dr-site .dr-nav a.dr-btn { color: var(--dr-white); }
@media (max-width: 760px) {
	.dr-nav__link { display: none; }
	.dr-brand__name { font-size: 25px; }
	.dr-brand img { width: 30px; }
	.dr-header .dr-btn--small { padding: 10px 14px; font-size: 12px; }
}

/* ---------- Home: hero ---------- */
.dr-hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; color: var(--dr-white); background: var(--dr-ink); overflow: hidden; }
.dr-hero__img { position: absolute; inset: 0; }
.dr-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
/* On wider screens the photo is drawn wider than the screen, so the cross sits to the right of the words. */
@media (min-width: 900px) { .dr-hero__img { right: -45%; } }
.dr-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 10% 95%, rgba(179,20,28,.32), rgba(179,20,28,0) 55%), linear-gradient(90deg, rgba(21,18,20,.92) 0%, rgba(21,18,20,.7) 45%, rgba(21,18,20,.15) 100%), linear-gradient(0deg, rgba(21,18,20,.85) 0%, rgba(21,18,20,0) 45%); }
.dr-hero__inner { position: relative; z-index: 1; padding-top: 150px; padding-bottom: clamp(56px, 9vh, 110px); }
.dr-hero .dr-eyebrow { color: var(--dr-red-soft); }
.dr-hero h1 { color: var(--dr-white); font-size: clamp(46px, 7.4vw, 104px); line-height: 0.95; letter-spacing: -0.035em; max-width: 11ch; margin-bottom: 28px; }
.dr-hero__lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 36em; color: rgba(255,255,255,.88); margin: 0 0 36px; }
.dr-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Home: "created for" ---------- */
.dr-created { background: var(--dr-cream); padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.dr-created__title { text-align: center; position: relative; margin: 0 auto clamp(56px, 7vw, 96px); }
.dr-created__title h2 { font-size: clamp(40px, 6.6vw, 92px); letter-spacing: -0.035em; margin: 0; }
.dr-created__title .dr-script { display: block; font-family: var(--dr-script); font-weight: 400; color: var(--dr-red); font-size: clamp(64px, 11vw, 168px); line-height: 0.7; letter-spacing: 0; margin-top: -0.06em; position: relative; }
.dr-created__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.dr-quote { margin: 0; padding-left: 28px; border-left: 3px solid var(--dr-red); font-style: italic; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; color: var(--dr-ink); }
.dr-quote p { margin: 0; }
.dr-created__text p { margin: 0 0 24px; }
@media (max-width: 860px) { .dr-created__grid { grid-template-columns: 1fr; } }

/* ---------- Home: cards ---------- */
.dr-paths { padding: clamp(80px, 10vw, 140px) 0; }
.dr-paths__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.dr-paths__head h2 { font-size: clamp(34px, 4.4vw, 58px); margin: 0; max-width: 14ch; }
.dr-paths__head p { margin: 0; max-width: 28em; color: var(--dr-muted); }
.dr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dr-card { display: flex; flex-direction: column; background: var(--dr-blush); border-radius: var(--dr-radius); overflow: hidden; text-decoration: none; color: var(--dr-text); transition: transform .25s, box-shadow .25s; }
.dr-site a.dr-card { color: var(--dr-text); }
.dr-site a.dr-card:hover { color: var(--dr-text); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,18,20,.12); }
.dr-card__img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--dr-ink); }
.dr-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dr-card:hover .dr-card__img img { transform: scale(1.04); }
.dr-card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.dr-card__label { font-family: var(--dr-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dr-red); margin: 0 0 10px; }
.dr-card h3 { font-size: 28px; margin: 0 0 12px; }
.dr-card__text { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--dr-muted); flex: 1; }
.dr-card .dr-textlink { color: var(--dr-ink); }
@media (max-width: 960px) { .dr-cards { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Home: what leaders say ---------- */
.dr-voices { position: relative; background: var(--dr-ink); color: var(--dr-white); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.dr-voices__bg { position: absolute; inset: 0; }
.dr-voices__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.3); }
.dr-voices::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,18,20,.6), rgba(21,18,20,.92)); }
.dr-voices .dr-wrap { position: relative; z-index: 1; }
.dr-voices .dr-eyebrow { color: var(--dr-red-soft); }
.dr-voices h2 { color: var(--dr-white); font-size: clamp(34px, 4.4vw, 58px); max-width: 16ch; margin-bottom: 48px; }
.dr-voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dr-voice { margin: 0; padding: 34px 30px; border-radius: var(--dr-radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; }
.dr-voice blockquote { margin: 0 0 26px; font-size: 20px; line-height: 1.5; font-style: italic; flex: 1; }
.dr-voice blockquote::before { content: "\201C"; display: block; font-family: var(--dr-serif); font-style: normal; font-size: 64px; line-height: .6; color: var(--dr-red-soft); margin-bottom: 14px; }
.dr-voice figcaption { font-family: var(--dr-sans); font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.7); }
.dr-voice figcaption strong { display: block; color: var(--dr-white); font-size: 16px; }
@media (max-width: 960px) { .dr-voices__grid { grid-template-columns: 1fr; max-width: 620px; } }

/* ---------- Home: follow along ---------- */
.dr-follow { background: var(--dr-cream); padding: clamp(72px, 9vw, 120px) 0; text-align: center; }
.dr-follow h2 { font-size: clamp(34px, 4.4vw, 58px); margin-bottom: 14px; }
.dr-follow p { margin: 0 auto 34px; max-width: 30em; color: var(--dr-muted); }
.dr-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0 0 40px; padding: 0; }
.dr-pills a { display: inline-block; font-family: var(--dr-sans); font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: 999px; border: 2px solid var(--dr-ink); color: var(--dr-ink); text-decoration: none; transition: background-color .2s, color .2s; }
.dr-site .dr-pills a:hover { background: var(--dr-ink); color: var(--dr-white); }

/* ---------- Inner pages ---------- */
.dr-pagehero { position: relative; background: var(--dr-ink); color: var(--dr-white); overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.dr-pagehero__bg { position: absolute; inset: 0; }
.dr-pagehero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: .35; }
.dr-pagehero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,18,20,.95) 20%, rgba(21,18,20,.45)); }
.dr-pagehero .dr-wrap { position: relative; z-index: 1; }
.dr-pagehero .dr-eyebrow { color: var(--dr-red-soft); }
.dr-pagehero h1 { color: var(--dr-white); font-size: clamp(42px, 6vw, 84px); letter-spacing: -0.035em; margin: 0; max-width: 14ch; }
.dr-article { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--dr-gutter) clamp(72px, 9vw, 120px); font-size: 19px; line-height: 1.75; }
.dr-article > *:first-child { margin-top: 0; }
.dr-article h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 1.6em 0 0.2em; }
.dr-article h3 { font-size: 24px; margin: 1.6em 0 0.4em; }
.dr-article p, .dr-article ul, .dr-article ol { margin: 0 0 1.25em; }
.dr-article .dr-kicker { font-family: var(--dr-sans); font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dr-red); margin: 0 0 1.6em; }
.dr-article blockquote { margin: 0 0 1.6em; padding: 4px 0 4px 26px; border-left: 3px solid var(--dr-red); font-style: italic; font-size: 1.25em; line-height: 1.5; color: var(--dr-ink); }
.dr-article blockquote p { margin: 0; }
.dr-article ol { padding-left: 1.4em; }
.dr-article li { margin-bottom: 0.7em; }
.dr-article li::marker { color: var(--dr-red); font-family: var(--dr-sans); font-weight: 700; }
.dr-article strong { color: var(--dr-ink); }
.dr-article hr { border: 0; border-top: 1px solid var(--dr-line); margin: 3em 0; }
.dr-callout { margin-top: 3em; padding: 34px 34px 36px; border-radius: var(--dr-radius); background: var(--dr-blush); }
.dr-callout h2 { font-size: 30px; margin: 0 0 10px; }
.dr-callout p { margin: 0 0 22px; }
.dr-callout__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* ---------- Footer ---------- */
.dr-footer { background: var(--dr-ink); color: rgba(255,255,255,.72); padding: 64px 0 40px; font-family: var(--dr-sans); font-size: 15px; }
.dr-footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.dr-footer__about { max-width: 22em; line-height: 1.6; }
.dr-footer__about p { margin: 18px 0 0; }
.dr-footer__links { flex: 1 1 340px; display: flex; gap: 14px 24px; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 8px 0 0; align-content: flex-start; }
@media (max-width: 760px) { .dr-footer__links { justify-content: flex-start; } }
.dr-site .dr-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.dr-site .dr-footer a:hover { color: var(--dr-white); text-decoration: underline; }
.dr-footer__bottom { padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.5); }

@media (prefers-reduced-motion: reduce) {
	.dr-site *, .dr-site *::before, .dr-site *::after { transition: none !important; }
}

/* The old Sydney theme still adds its "back to top" arrow at the very bottom; without Sydney's styles it left a large blank area. */
.dr-site .go-top { display: none !important; }

/* ---------- Article extras (Our Message page, 2026-10-23) ----------
 * Pieces you can use in any "DR Page" page's content:
 *   <div class="dr-verses"> ... <div class="dr-verse"> label / text / ref </div> ... </div>  a row of short verse cards
 *   <aside class="dr-scripture"> text / ref </aside>  a highlighted Bible passage
 *   <p class="dr-pull">  a large pull quote        <p class="dr-big">  a large single line
 *   <blockquote class="dr-said">  a highlighted quotation
 *   <div class="dr-points"> <div class="dr-point"> ... </div> x2 </div>  two side-by-side points
 *   <figure class="dr-figure">  a picture a little wider than the text
 */
.dr-verses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0.4em 0 2.2em; }
.dr-verse { background: var(--dr-blush); border-radius: 18px; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.dr-article .dr-verse p { margin: 0; }
.dr-article .dr-verse p.dr-verse__label { font-family: var(--dr-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dr-red); margin-bottom: 12px; }
.dr-article .dr-verse p.dr-verse__text { font-style: italic; font-size: 17px; line-height: 1.5; color: var(--dr-ink); flex: 1; }
.dr-article .dr-verse p.dr-verse__ref { font-family: var(--dr-sans); font-size: 13px; font-weight: 600; color: var(--dr-muted); margin-top: 14px; }
@media (max-width: 760px) { .dr-verses { grid-template-columns: 1fr; } }

.dr-scripture { margin: 0.4em 0 2em; padding: 34px 36px; border-radius: var(--dr-radius); background: var(--dr-ink); color: var(--dr-white); position: relative; overflow: hidden; }
.dr-article .dr-scripture p { margin: 0; position: relative; }
.dr-article .dr-scripture p.dr-scripture__text { font-style: italic; font-size: 21px; line-height: 1.55; }
.dr-article .dr-scripture p.dr-scripture__ref { font-family: var(--dr-sans); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dr-red-soft); margin-top: 18px; }

.dr-article .dr-pull { font-family: var(--dr-sans); font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -0.02em; color: var(--dr-ink); text-align: center; margin: 1.6em 0; padding: 32px 0; border-top: 1px solid var(--dr-line); border-bottom: 1px solid var(--dr-line); }
.dr-article .dr-pull em { font-family: var(--dr-script); font-weight: 400; font-style: normal; font-size: 1.45em; letter-spacing: 0; color: var(--dr-red); }

.dr-article .dr-said { background: var(--dr-blush); border-left: 4px solid var(--dr-red); border-radius: 0 18px 18px 0; padding: 26px 30px; font-size: 1.15em; }
.dr-article .dr-big { font-family: var(--dr-sans); font-weight: 800; font-size: clamp(24px, 2.8vw, 30px); line-height: 1.25; letter-spacing: -0.02em; color: var(--dr-ink); margin: 1.4em 0; }

.dr-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 1.6em; }
.dr-point { border: 1px solid var(--dr-line); border-top: 4px solid var(--dr-red); border-radius: 18px; padding: 24px 26px; font-size: 17px; line-height: 1.6; }
.dr-article .dr-point p { margin: 0; }
@media (max-width: 760px) { .dr-points { grid-template-columns: 1fr; } }

.dr-figure { margin: 2.2em 0; }
.dr-figure img { width: 100%; border-radius: var(--dr-radius); }
@media (min-width: 1000px) { .dr-figure { margin-left: -80px; margin-right: -80px; } }

/* ---------- Sermons page (2026-10-23) ----------
 * Each message is a <div class="dr-sermon"> with a title, an <audio> player and a description.
 * The audio files live on chrisulery.com (wp-content/uploads/sermons/) and stream from there.
 */
.dr-article .dr-lead { font-size: 1.15em; color: var(--dr-ink); margin-bottom: 1.8em; }
.dr-sermons { display: flex; flex-direction: column; gap: 20px; }
.dr-sermon { border: 1px solid var(--dr-line); border-radius: var(--dr-radius); padding: 28px 30px 26px; background: var(--dr-white); }
.dr-sermon:first-child { background: var(--dr-blush); border-color: var(--dr-blush); }
.dr-article .dr-sermon p.dr-sermon__label { font-family: var(--dr-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dr-red); margin: 0 0 10px; }
.dr-article .dr-sermon h2 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.2; margin: 0 0 16px; }
.dr-sermon__audio { margin: 0 0 16px; }
.dr-sermon__audio audio { width: 100%; display: block; }
.dr-article .dr-sermon p.dr-sermon__desc { margin: 0; font-size: 17px; line-height: 1.6; color: var(--dr-muted); }
.dr-article .dr-sermons__more { margin-top: 2em; font-size: 17px; color: var(--dr-muted); }
