/* =========================================================================
   Services hub, single service and portfolio (page-templates/template-services.php,
   single-drh_service.php, page-templates/template-portfolio.php).
   Minimal: cream background, hairline borders, no shadows. Scoped under .drh-page.
   ========================================================================= */

.drh-page { background: var(--drh-cream-light); }
.drh-page__in { max-width: 1200px; margin: 0 auto; padding: 40px 24px 88px; }
.drh-page h1 { font-size: 38px; line-height: 1.4; margin: 0 0 8px; }
.drh-page h2 { font-size: 24px; line-height: 1.5; }
.drh-page h3 { font-size: 18px; line-height: 1.5; }
.drh-page p { margin: 0; }
.drh-page a { text-decoration: none; }
#top .drh-page a:hover { text-decoration: none; }

.drh .drh-btn--outline { background: transparent; color: var(--drh-burgundy-dark); border: 1px solid var(--drh-burgundy-dark); }
.drh .drh-btn--outline:hover { color: var(--drh-burgundy-dark); background: var(--drh-cream-white); }

.drh-crumbs { font-size: 13px; color: #7A6A6F; margin-bottom: 8px; }
.drh .drh-crumbs a { color: #7A6A6F; }

/* Intro row */
.drh-intro { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; padding-bottom: 28px; margin-bottom: 8px; }
.drh-intro__text, .drh-intro__text p { font-size: 17px; color: #5A4A4F; max-width: 680px; }
.drh-intro__text p + p { margin-top: 8px; }
.drh-intro__addr { padding: 18px 20px; border-radius: 18px; background: #F3E6D3; font-size: 14px; color: #5A4A4F; }
.drh-intro__addr strong { display: block; color: var(--drh-burgundy-dark); font-size: 15px; }
.drh-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #5A4A4F; }
.drh-rules li { display: flex; gap: 10px; align-items: center; }
.drh-rules .drh-ico { color: var(--drh-gold-on-dark); }

/* Blocks */
.drh-block { margin-top: 48px; }
.drh-block__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 18px; }
.drh .drh-block__head h2 a { color: var(--drh-burgundy-dark); }
.drh .drh-more { font-size: 14px; font-weight: 700; color: var(--drh-burgundy-dark); border-bottom: 1px solid var(--drh-gold-on-dark); white-space: nowrap; }
.drh-empty { padding: 40px 24px; border: 1px dashed #D9C39C; border-radius: 18px; text-align: center; color: var(--drh-gold-text); }
.drh-note { margin-top: 32px !important; font-size: 13px; color: #7A6A6F; }

/* Service cards (hub) */
.drh-scards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.drh .drh-scard { display: flex; flex-direction: column; height: 100%; background: var(--drh-cream-white); border: 1px solid #EFE3D0; border-radius: 22px; overflow: hidden; color: var(--drh-ink); }
.drh-scard__img { display: block; height: 240px; overflow: hidden; background: #EFE3D0; }
.drh-scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.drh .drh-scard:hover .drh-scard__img img { transform: scale(1.04); }
.drh-scard__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.drh-scard__sub { font-size: 15px; color: #5A4A4F; flex: 1; }
.drh-scard__go { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--drh-gold-text); }
.drh-slist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.drh .drh-slist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; padding: 0 20px; border: 1px solid #E6D9C4; border-radius: 16px; font-size: 16px; font-weight: 700; color: var(--drh-burgundy-dark); transition: border-color .2s; }
.drh .drh-slist a:hover { border-color: var(--drh-burgundy-dark); }
.drh-slist a span:last-child { color: var(--drh-gold-on-dark); }
.drh-steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.drh-steps3 li { padding: 24px; border-radius: 20px; background: var(--drh-cream-white); border: 1px solid #EFE3D0; }
.drh-steps3 li > span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #F3E6D3; color: var(--drh-gold-text); font-weight: 800; }
.drh-steps3 h3 { margin: 12px 0 4px; }
.drh-steps3 p { font-size: 15px; color: #5A4A4F; }

/* Consultation band */
.drh-consult { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 30px 36px; border-radius: 22px; background: #F3E6D3; }
.drh-consult h2 { font-size: 22px; margin-bottom: 4px; }
.drh-consult p { font-size: 16px; color: #5A4A4F; }
.drh-consult__btns { display: flex; gap: 12px; flex: none; }

/* Portfolio filter */
.drh-filter { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; border-top: 1px solid #E6D9C4; border-bottom: 1px solid #E6D9C4; }
.drh .drh-filter a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #E6D9C4; background: var(--drh-cream-white); color: var(--drh-ink); font-size: 14px; white-space: nowrap; }
.drh .drh-filter a span { font-size: 12px; color: var(--drh-gold-text); }
.drh .drh-filter a:hover { border-color: var(--drh-burgundy-dark); }
.drh .drh-filter a[aria-current] { background: var(--drh-burgundy-dark); border-color: var(--drh-burgundy-dark); color: var(--drh-cream-light); font-weight: 700; }
.drh .drh-filter a[aria-current] span { color: var(--drh-gold-light); }

/* Case cards */
.drh-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.drh-cases--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.drh .drh-case { margin: 0; border: 1px solid #EFE3D0; border-radius: 18px; overflow: hidden; background: var(--drh-cream-white); transition: border-color .2s; }
.drh .drh-case:hover { border-color: var(--drh-gold-on-dark); }
.drh .drh-case__pair { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 4 / 3; cursor: zoom-in; }
.drh-case__img { position: relative; display: block; background: #EFE3D0; overflow: hidden; }
.drh-case__img + .drh-case__img { border-right: 2px solid var(--drh-cream-white); background: #E8D7BF; }
.drh-case__img img { width: 100%; height: 100%; object-fit: cover; }
.drh-case__tag { position: absolute; bottom: 8px; right: 8px; font-size: 11px; font-weight: 700; line-height: 1.8; padding: 0 10px; border-radius: 999px; background: rgba(251, 247, 241, .92); color: #5A4A4F; }
.drh-case__tag--after { background: var(--drh-burgundy-dark); color: var(--drh-cream-light); }
.drh-case figcaption { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 14px; line-height: 1.6; }
.drh-case figcaption strong { font-size: 15px; color: var(--drh-ink); }
.drh-case__svc { font-size: 12px; font-weight: 700; color: var(--drh-gold-text); }
.drh-case__meta { font-size: 13px; color: #7A6A6F; }
.drh .drh-linkbox { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; padding: 22px 26px; border: 1px solid #E6D9C4; border-radius: 18px; color: #5A4A4F; font-size: 14px; }
.drh-linkbox strong { display: block; font-size: 17px; color: var(--drh-burgundy-dark); }
.drh-linkbox__go { flex: none; display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--drh-burgundy-dark); color: var(--drh-cream-light); font-weight: 700; }

/* Lightbox */
.drh-lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 20px; border: 0; border-radius: 18px; background: var(--drh-cream-light); font-family: Vazirmatn, Tahoma, sans-serif; direction: rtl; }
.drh-lightbox::backdrop { background: rgba(46, 11, 21, .75); }
.drh-lightbox__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drh-lightbox figure { margin: 0; }
.drh-lightbox img { display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #EFE3D0; border-radius: 10px; }
.drh-lightbox figcaption { text-align: center; font-size: 14px; font-weight: 700; color: #4E1222; margin-top: 6px; }
.drh-lightbox__cap { text-align: center; color: #5A4A4F; margin: 8px 0 0; }
.drh-lightbox__x { position: absolute; top: 8px; left: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F3E6D3; color: #4E1222; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- Single service ---------- */
.drh-svc__hero { height: 360px; background: #E6D9C4; overflow: hidden; }
.drh-svc__hero img { width: 100%; height: 100%; object-fit: cover; }
.drh-svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.drh-svc__main { min-width: 0; max-width: 780px; }
.drh-svc__head { padding-bottom: 20px; }
.drh-svc__lead { font-size: 18px; color: #5A4A4F; margin-bottom: 16px !important; }
.drh-review { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #E6D9C4; border-bottom: 1px solid #E6D9C4; font-size: 13px; color: #5A4A4F; line-height: 1.6; }
.drh-review strong { display: block; font-size: 14px; color: var(--drh-ink); }
.drh-review__mark { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #EFE3D0; display: flex; align-items: center; justify-content: center; color: var(--drh-gold-text); font-weight: 800; }
.drh-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 8px; border-top: 1px solid #EFE3D0; }
.drh-facts div { padding: 12px 0 12px 12px; border-bottom: 1px solid #EFE3D0; }
.drh-facts dt { font-size: 13px; color: #7A6A6F; }
.drh-facts dd { margin: 0; font-size: 16px; font-weight: 700; color: var(--drh-ink); }
.drh-toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 8px; }
.drh .drh-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #E6D9C4; font-size: 13px; color: var(--drh-burgundy-dark); }
.drh .drh-toc a:hover { border-color: var(--drh-burgundy-dark); }

.drh-prose { font-size: 17px; line-height: 2; color: #3E2E33; }
.drh-prose > * + * { margin-top: 14px !important; }
.drh .drh-prose h2, .drh-sec2 > h2 { margin: 40px 0 12px !important; padding-top: 28px; border-top: 1px solid #E6D9C4; font-size: 24px; color: var(--drh-burgundy-dark); scroll-margin-top: 24px; }
.drh .drh-prose h3 { margin-top: 24px !important; font-size: 19px; color: var(--drh-ink); }
.drh .drh-prose ul, .drh .drh-prose ol { padding-right: 22px; }
.drh .drh-prose li { margin-bottom: 6px; }
.drh .drh-prose a { color: var(--drh-burgundy); border-bottom: 1px solid var(--drh-gold-on-dark); }
.drh .drh-prose img { height: auto; border-radius: 14px; }
.drh .drh-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.drh .drh-prose th, .drh .drh-prose td { padding: 10px 12px; border-bottom: 1px solid #E6D9C4; text-align: right; }
.drh .drh-prose th { background: #F3E6D3; color: var(--drh-burgundy-dark); }
.drh-sec2 { scroll-margin-top: 24px; }
.drh-sec2 > p { font-size: 16px; color: #5A4A4F; margin-bottom: 16px !important; }
.drh-sec2__more { margin-top: 14px !important; }
.drh .drh-sec2__more a { font-weight: 700; border-bottom: 1px solid var(--drh-gold-on-dark); }
.drh-sec2__more span { color: #7A6A6F; }
.drh-faq details { border-bottom: 1px solid #E6D9C4; }
.drh-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 10px 0; cursor: pointer; }
.drh-faq summary::-webkit-details-marker { display: none; }
.drh-faq summary::after { content: '+'; flex: none; font-size: 22px; color: var(--drh-gold-on-dark); }
.drh-faq details[open] summary::after { content: '−'; }
.drh-faq summary h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--drh-ink); }
.drh-faq details > div { padding: 0 0 16px; font-size: 16px; color: #3E2E33; }
.drh-rel { list-style: none; margin: 0; padding: 0; }
.drh-rel li { border-bottom: 1px solid #EFE3D0; }
.drh .drh-rel a { display: block; padding: 12px 0; font-weight: 700; color: var(--drh-burgundy-dark); }
.drh-svc .drh-slist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drh-note--end { padding-top: 16px; border-top: 1px solid #E6D9C4; }

.drh-svc__side { position: sticky; top: 24px; margin-top: 8px; }
.drh-sidecard { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid #E6D9C4; border-radius: 20px; background: var(--drh-cream-white); }
.drh-sidecard strong { font-size: 17px; color: var(--drh-burgundy-dark); }
.drh-sidecard p { font-size: 14px; color: #5A4A4F; }
.drh-sidecard .drh-btn { width: 100%; }
.drh-stickybar { display: none; }

/* ---------- Tablet and mobile ---------- */
@media (max-width: 1023px) {
	.drh-intro { grid-template-columns: 1fr; gap: 20px; align-items: start; }
	.drh-scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.drh-slist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.drh-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.drh-svc__grid { grid-template-columns: 1fr; gap: 0; }
	.drh-svc__side { display: none; }
	.drh-stickybar { position: sticky; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 20px 14px; background: rgba(251, 247, 241, .97); border-top: 1px solid #E6D9C4; }
	.drh-stickybar .drh-btn { padding: 0 12px; }
}
@media (max-width: 760px) {
	.drh-page__in { padding: 20px 20px 40px; }
	.drh-page h1 { font-size: 26px; line-height: 1.45; }
	.drh-page h2, .drh .drh-prose h2, .drh-sec2 > h2 { font-size: 21px; }
	.drh-intro__text, .drh-intro__text p { font-size: 16px; }
	.drh-block { margin-top: 32px; }
	.drh-block__head { margin-bottom: 12px; }
	.drh-scards { grid-template-columns: 1fr; gap: 16px; }
	.drh-scard__img { height: 200px; }
	.drh-slist, .drh-svc .drh-slist { grid-template-columns: 1fr; }
	.drh-steps3 { grid-template-columns: 1fr; gap: 12px; }
	.drh-consult { flex-direction: column; align-items: stretch; padding: 24px 20px; gap: 16px; }
	.drh-consult__btns { flex-direction: column; }
	.drh-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 12px 20px; }
	.drh-filter::-webkit-scrollbar { display: none; }
	.drh-cases { grid-template-columns: 1fr; gap: 16px; }
	.drh-cases--row, .drh-cases--three { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; gap: 12px; }
	.drh-cases--row::-webkit-scrollbar, .drh-cases--three::-webkit-scrollbar { display: none; }
	.drh-cases--row > *, .drh-cases--three > * { flex: none; width: 250px; scroll-snap-align: start; }
	.drh .drh-linkbox { flex-direction: column; align-items: stretch; padding: 18px; }
	.drh-svc__hero { height: 240px; }
	.drh-svc__lead { font-size: 16px; }
	.drh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.drh-prose { font-size: 16px; line-height: 1.95; }
	.drh-lightbox { padding: 14px; }
	.drh-lightbox__pair { grid-template-columns: 1fr; }
	.drh-lightbox img { max-height: 40vh; }
}

/* ---------- 1.5.0: services without a page, contact, magazine ---------- */
.drh-intro--single { grid-template-columns: minmax(0, 1fr); }

/* Homepage services that have no page yet: same card, not a link. */
.drh .drh-scard--plain .drh-scard__img img { transform: none; }
.drh-scard__go--plain { color: #8A7A7F; font-weight: 500; }
.drh-slist__plain { display: flex; align-items: center; min-height: 60px; padding: 0 20px; border: 1px solid #EFE3D0; border-radius: 16px; font-size: 16px; font-weight: 700; color: #5A4A4F; background: var(--drh-cream-white); }

/* Contact */
.drh-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 16px; }
.drh-contact--single { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.drh-contact__info, .drh-contact__form { padding: 28px; border-radius: 22px; background: var(--drh-cream-white); border: 1px solid #EFE3D0; }
.drh-contact h2 { margin: 0 0 16px; }
.drh-contact__h { margin-top: 28px !important; }
.drh-cways { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.drh-cways li { display: grid; grid-template-columns: 40px 110px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #F0E6D6; font-size: 16px; }
.drh-cways li:last-child { border-bottom: 0; }
.drh-cways__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #F3E6D3; color: var(--drh-gold-text); }
.drh-cways__label { font-size: 14px; color: #7A6A6F; }
.drh .drh-cways a { font-weight: 700; color: var(--drh-burgundy-dark); justify-self: start; }
.drh-contact__addr { display: flex; gap: 10px; align-items: flex-start; font-style: normal; font-size: 16px; line-height: 1.9; color: var(--drh-ink); margin-bottom: 12px; }
.drh-contact__addr .drh-ico { flex: none; margin-top: 6px; color: var(--drh-gold-text); }
.drh-contact__hint { font-size: 14px; color: #7A6A6F; margin-bottom: 16px !important; }
/* Enfold's Quick CSS paints every .wpcf7-form-control red with !important (made
   for the footer form), so the contact form needs !important to stay neutral. */
#top .drh-contact__form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
#top .drh-contact__form textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #E6D9C4 !important; border-radius: 12px; background: #fff !important; font: inherit; font-size: 15px; color: var(--drh-ink) !important; margin: 6px 0 0; }
.drh-contact__form label { display: block; font-size: 14px; font-weight: 700; color: var(--drh-ink); }
#top .drh-contact__form input[type="tel"] { direction: ltr; text-align: right; }
.drh-contact__form .wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; }
.drh-contact__form textarea { min-height: 140px; }
.drh-contact__form input:focus, .drh-contact__form textarea:focus { outline: 2px solid var(--drh-gold-on-dark); outline-offset: 1px; border-color: transparent; }
.drh-contact__form p { margin-bottom: 12px !important; }
#top .drh-contact__form input[type="submit"] { padding: 12px 28px; border: 0; border-radius: 999px; background: var(--drh-burgundy-dark); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* Magazine */
.drh-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 28px; }
.drh-topics__title { font-size: 14px; font-weight: 700; color: #7A6A6F; margin-left: 4px; }
.drh .drh-topic { padding: 6px 14px; border: 1px solid #E6D9C4; border-radius: 999px; font-size: 14px; color: var(--drh-burgundy-dark); background: var(--drh-cream-white); }
.drh .drh-topic:hover { border-color: var(--drh-burgundy-dark); }
.drh-acards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.drh .drh-acard { display: flex; flex-direction: column; height: 100%; background: var(--drh-cream-white); border: 1px solid #EFE3D0; border-radius: 20px; overflow: hidden; color: var(--drh-ink); }
.drh-acard__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #EFE3D0; }
.drh-acard__img img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.drh .drh-acard:hover .drh-acard__img img { transform: scale(1.04); }
.drh-acard__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.drh-acard__meta { font-size: 13px; color: var(--drh-gold-text); }
.drh-page .drh-acard__title { margin: 0; font-size: 17px; line-height: 1.7; font-weight: 700; }
.drh-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.drh-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #E6D9C4; border-radius: 12px; font-size: 15px; color: var(--drh-burgundy-dark); background: var(--drh-cream-white); }
.drh-pager .page-numbers.current { background: var(--drh-burgundy-dark); border-color: var(--drh-burgundy-dark); color: #fff; }
.drh-pager .page-numbers.dots { border: 0; background: none; min-width: 24px; }

@media (max-width: 1023px) {
	.drh-contact { grid-template-columns: 1fr; }
	.drh-acards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.drh-contact__info, .drh-contact__form { padding: 20px; }
	.drh-cways li { grid-template-columns: 40px minmax(0, 1fr); }
	.drh-cways li > :last-child { grid-column: 2; }
	.drh-topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 20px; padding: 0 20px; }
	.drh .drh-topic { white-space: nowrap; }
	.drh-acards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* ---------- About page (1.6.0). Reuses the homepage about styles from home.css. ---------- */
.drh-aboutp__hero { margin: 12px 0 8px; }
.drh .drh-aboutp h1 { margin: 0 0 6px; font-size: 32px; line-height: 1.5; color: var(--drh-burgundy-dark); }
.drh-aboutp .drh-trust { margin-top: 32px; }
.drh-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.drh-timeline li { position: relative; padding: 20px; border-radius: 20px; background: var(--drh-cream-white); border: 1px solid #EFE3D0; }
.drh-timeline__year { display: block; margin-bottom: 6px; font-size: 22px; font-weight: 800; color: var(--drh-burgundy); }
.drh-timeline p { margin: 0; font-size: 15px; color: #5A4A4F; }
.drh-steps3--plain { margin-top: 20px; }
.drh-steps3--plain h3 { margin-top: 0; }
.drh .drh-aboutp__note { margin: 20px 0 0; max-width: 780px; font-size: 16px; color: #3E2E33; }
.drh .drh-aboutp__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 20px 0 0; }
@media (max-width: 960px) {
	.drh-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.drh .drh-aboutp h1 { font-size: 24px; }
	.drh-timeline { grid-template-columns: 1fr; gap: 10px; }
	.drh-timeline li { display: flex; gap: 14px; align-items: baseline; padding: 14px 16px; }
	.drh-timeline__year { flex: 0 0 56px; margin: 0; font-size: 18px; }
}

/* ---------- Magazine article (single.php, 1.7.0): one reading column, no sidebar ---------- */
.drh-post__art { max-width: 760px; margin: 0 auto; }
.drh-post__head { padding: 4px 0 18px; }
.drh .drh-post h1 { margin: 6px 0 12px; font-size: 32px; line-height: 1.55; color: var(--drh-burgundy-dark); }
.drh .drh-post__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 13px; color: #6E5A60; }
.drh .drh-post__meta span + span::before { content: "·"; margin-left: 18px; color: #C9B48E; }
.drh .drh-post__meta a { color: var(--drh-burgundy); font-weight: 700; }
.drh-post__img { margin: 0 0 8px; border-radius: 20px; overflow: hidden; background: #EFE3D0; }
.drh .drh-post__img img { display: block; width: 100%; height: auto; max-height: 440px; object-fit: cover; }
.drh-post__toc { margin: 18px 0 8px; padding: 0 18px; border: 1px solid #E6D9C4; border-radius: 16px; background: var(--drh-cream-white); }
.drh-post__toc summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; color: var(--drh-burgundy-dark); list-style: none; }
.drh-post__toc summary::-webkit-details-marker { display: none; }
.drh-post__toc summary::after { content: "+"; font-size: 20px; color: var(--drh-gold-on-dark); }
.drh-post__toc[open] summary::after { content: "−"; }
.drh .drh-post__toc ol { margin: 0 0 14px; padding-right: 22px; font-size: 15px; line-height: 2; }
.drh .drh-post__toc a { color: var(--drh-ink); }
.drh .drh-post__toc a:hover { color: var(--drh-burgundy); }
.drh-post__body { margin-top: 20px; }
/* Old posts: inline sizes and fonts from the classic editor follow the new design. */
.drh .drh-post__body img, .drh .drh-post__body .wp-caption { max-width: 100% !important; height: auto; }
.drh .drh-post__body img { display: block; margin: 8px auto; }
.drh .drh-post__body .wp-caption-text { font-size: 13px; color: #6E5A60; text-align: center; }
.drh .drh-post__body [style*="font-family"], .drh .drh-post__body [style*="font-size"] { font-family: inherit !important; font-size: inherit !important; }
.drh .drh-post__body [style*="color"] { color: inherit !important; }
/* Older builder articles (1.7.1): image gallery and in-text post list. */
.drh .drh-post__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 20px 0; }
.drh .drh-post__gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; margin: 0; border-radius: 12px; }
.drh .drh-post__body .drh-post__list { margin: 20px 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.drh .drh-post__body .drh-post__list li { margin: 0; padding: 0; list-style: none; }
.drh .drh-post__body .drh-post__list li::before { content: none; }
.drh .drh-post__body .drh-post__list img { margin: 0; }
@media (max-width: 760px) {
	.drh .drh-post__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.drh .drh-post__body .drh-post__list { grid-template-columns: 1fr; }
}
.drh .drh-readmore { margin: 22px 0 !important; padding: 14px 18px; border-right: 3px solid var(--drh-gold-on-dark); border-radius: 12px; background: #F6EEE2; font-size: 15px; }
.drh .drh-readmore strong { font-weight: 700; color: var(--drh-ink); }
.drh-post__author { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 20px; border: 1px solid #E6D9C4; border-radius: 18px; background: var(--drh-cream-white); }
.drh .drh-post__author img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.drh .drh-post__author strong { display: block; color: var(--drh-burgundy-dark); }
.drh .drh-post__author p { margin: 2px 0 8px; font-size: 14px; color: #5A4A4F; }
.drh-post .drh-consult { max-width: 760px; margin-right: auto; margin-left: auto; }
.drh-post .drh-acard__title { font-size: 16px; }
/* Comments: Enfold's markup, quietened to match. */
.drh-post__comments { max-width: 760px; margin: 48px auto 0; }
#top .drh-post__comments .comment_meta_container, #top .drh-post__comments .miniheading, #top .drh-post__comments .minitext { font-size: 13px; color: #6E5A60; }
#top .drh-post__comments h3, #top .drh-post__comments .comment-reply-title { font-size: 20px; color: var(--drh-burgundy-dark); }
#top .drh-post__comments input[type="text"], #top .drh-post__comments input[type="email"], #top .drh-post__comments input[type="url"], #top .drh-post__comments textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #E6D9C4 !important; border-radius: 12px; background: #fff !important; color: var(--drh-ink) !important; font: inherit; font-size: 15px; }
#top .drh-post__comments input[type="submit"] { padding: 12px 28px; border: 0 !important; border-radius: 999px; background: var(--drh-burgundy-dark) !important; color: #fff !important; font: inherit; font-weight: 700; cursor: pointer; }
#top .drh-post__comments .comment-form p { float: none; width: 100%; margin: 0 0 12px; }
#top .drh-post__comments label { position: static; display: block; margin: 0 0 4px; font-size: 14px; color: var(--drh-ink); }
@media (max-width: 760px) {
	.drh .drh-post h1 { font-size: 24px; }
	.drh-post__img { margin-right: -20px; margin-left: -20px; border-radius: 0; }
	.drh .drh-post__img img { max-height: 280px; }
	.drh .drh-post__meta span + span::before { margin-left: 8px; }
	.drh .drh-post__meta { gap: 4px 8px; }
	.drh-post__author { padding: 16px; }
	.drh .drh-post__author img { width: 56px; height: 56px; }
}

/* ---------- Magazine article, wide layout with sidebar (1.8.0) ----------
   Owner: "everything is squeezed into the middle and the page is very long".
   Overrides the single-column rules above. Delete this block to undo. */
.drh-post__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	grid-template-areas: "art side" "com side";
	gap: 0 48px;
	align-items: start;
}
.drh-post__art { grid-area: art; max-width: none; margin: 0; }
.drh-post__side { grid-area: side; align-self: stretch; display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.drh-post__comments { grid-area: com; max-width: none; margin: 40px 0 0; }
.drh .drh-post h1 { font-size: 34px; }
.drh .drh-post__img img { max-height: 460px; }
.drh-post__toc--inline { display: none; }
.drh-post__body { margin-top: 24px; }
/* Photos inside the text: no taller than 420px, so the page stays short. */
.drh .drh-post__body img { width: auto; max-height: 420px; object-fit: contain; }
.drh .drh-post__body figure, .drh .drh-post__body .wp-caption { margin: 22px auto !important; }
.drh .drh-post__gallery img { width: 100%; max-height: none; object-fit: cover; }
.drh .drh-post__body .drh-post__list img { width: 100%; max-height: none; }

.drh-side-card { padding: 20px; border: 1px solid #EFE3D0; border-radius: 20px; background: var(--drh-cream-white); }
.drh .drh-side-card__title { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--drh-burgundy-dark); }
.drh-side-doc__head { display: flex; gap: 12px; align-items: center; }
.drh .drh-side-doc__head img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--drh-gold-light); }
.drh .drh-side-doc__head strong { display: block; font-size: 16px; color: var(--drh-burgundy-dark); }
.drh .drh-side-doc__head span { font-size: 12px; font-weight: 600; color: var(--drh-gold-text); }
.drh .drh-side-doc p { margin: 12px 0 14px; font-size: 13.5px; line-height: 1.9; color: #5A4A4F; }
.drh-side-doc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.drh .drh-side-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 10px; border: 1px solid #D9C39C; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--drh-burgundy-dark); transition: background-color .25s ease, color .25s ease; }
.drh .drh-side-btn:hover { background: #F6EEE2; color: var(--drh-burgundy-dark); }
.drh .drh-side-btn--primary { border-color: var(--drh-burgundy); background: var(--drh-burgundy); color: var(--drh-cream-light); }
.drh .drh-side-btn--primary:hover { background: var(--drh-burgundy-dark); color: var(--drh-cream-light); }
.drh .drh-side-btn--primary .drh-ico { color: var(--drh-gold-on-dark); }
.drh .drh-side-doc .drh-more, .drh .drh-side-svc .drh-more { font-size: 13px; }
.drh .drh-side-svc ul { margin: 0 0 12px; padding: 0; list-style: none; }
.drh .drh-side-svc li { margin: 0; padding: 0; border-top: 1px solid #F1E7D8; }
.drh .drh-side-svc li:first-child { border-top: 0; }
.drh .drh-side-svc li > * { display: flex; align-items: center; justify-content: space-between; min-height: 40px; font-size: 14px; color: var(--drh-ink); }
.drh .drh-side-svc li > a::after { content: "←"; font-size: 13px; color: var(--drh-gold-on-dark); transition: transform .25s ease; }
.drh .drh-side-svc li > a:hover { color: var(--drh-burgundy); }
.drh .drh-side-svc li > a:hover::after { transform: translateX(-3px); }
/* Enfold sets overflow: hidden on body and #wrap_all, which turns them into scroll
   containers and stops position: sticky. clip cuts sideways overflow the same way. */
body.drh-site-chrome.single-post { overflow: visible; overflow-x: clip; }
.drh-site-chrome.single-post #wrap_all { overflow: clip; }
.drh-side-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.admin-bar .drh-side-toc { top: 56px; max-height: calc(100vh - 80px); }
.drh .drh-side-toc ol { margin: 0; padding: 0 22px 0 0; list-style: persian; font-size: 13.5px; line-height: 1.8; }
.drh .drh-side-toc li { margin: 0 0 6px; }
.drh .drh-side-toc a { color: #5A4A4F; }
.drh .drh-side-toc a:hover { color: var(--drh-burgundy); }
.drh-post > .drh-page__in > .drh-block { margin-top: 56px; }

@media (max-width: 1080px) {
	.drh-post__grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 0 32px; }
}
@media (max-width: 900px) {
	.drh-post__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "side" "com"; }
	.drh-post__side { padding-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
	.drh-side-toc { display: none; }
	.drh-post__toc--inline { display: block; }
}
@media (max-width: 760px) {
	.drh .drh-post h1 { font-size: 24px; }
	.drh-post__side { grid-template-columns: 1fr; }
	.drh .drh-post__body img { max-height: 300px; }
}

/* ---------- Site search (search.php, 1.8.1) ---------- */
.drh-srch__head { padding: 4px 0 24px; margin-bottom: 24px; border-bottom: 1px solid #E6D9C4; }
.drh .drh-srch__head h1 { margin: 6px 0 4px; font-size: 30px; line-height: 1.55; color: var(--drh-burgundy-dark); }
.drh .drh-srch__count { margin: 0 0 18px; font-size: 14px; color: var(--drh-gold-text); }
.drh-srch__form { display: flex; align-items: center; gap: 10px; max-width: 640px; padding: 6px 16px 6px 6px; border: 1px solid #D9C39C; border-radius: 999px; background: var(--drh-cream-white); }
.drh-srch__form .drh-ico { flex: none; color: var(--drh-gold-text); }
#top .drh-srch__form input[type="search"] { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important; font: inherit; font-size: 16px; color: var(--drh-ink) !important; }
#top .drh-srch__form button { flex: none; height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--drh-burgundy); color: var(--drh-cream-light); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
#top .drh-srch__form button:hover { background: var(--drh-burgundy-dark); }
.drh-srch__svc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; }
.drh .drh-srch__label { margin-left: 4px; font-size: 14px; font-weight: 700; color: var(--drh-burgundy-dark); }
.drh-srch__ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.9; color: #6E5A60; }
.drh-srch__empty { max-width: 760px; padding: 28px; border: 1px solid #EFE3D0; border-radius: 20px; background: var(--drh-cream-white); }
.drh .drh-srch__empty h2 { margin: 0 0 6px; font-size: 20px; color: var(--drh-burgundy-dark); }
.drh .drh-srch__empty p { margin: 0 0 18px; color: #5A4A4F; }
.drh-srch__empty .drh-srch__svc { margin-bottom: 18px; }
@media (max-width: 760px) {
	.drh .drh-srch__head h1 { font-size: 23px; }
	#top .drh-srch__form button { padding: 0 16px; }
	.drh-srch__empty { padding: 20px; }
}

/* ---------- Category, tag, author and date archives (archive.php, 1.8.2) ---------- */
.drh-arch__head { padding: 4px 0 20px; }
.drh .drh-arch__eyebrow { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--drh-gold-text); }
.drh .drh-arch__head h1 { margin: 2px 0 8px; font-size: 32px; line-height: 1.55; color: var(--drh-burgundy-dark); }
.drh-arch__desc { max-width: 760px; font-size: 16px; line-height: 2; color: #5A4A4F; }
.drh .drh-arch__desc p { margin: 0 0 8px; }
.drh .drh-arch__count { margin: 4px 0 0; font-size: 14px; color: var(--drh-gold-text); }
.drh .drh-topic.is-current { border-color: var(--drh-burgundy-dark); background: var(--drh-burgundy-dark); color: var(--drh-cream-light); }
@media (max-width: 760px) {
	.drh .drh-arch__head h1 { font-size: 24px; }
}