/* Glue between the blog page designs (page-*.css) and the theme: WordPress content, pagination, sticky offsets. */

/* The design sets overflow-x:hidden on the page, which would stop position:sticky from working. */
.dp { overflow: visible; overflow-x: clip; scroll-behavior: auto; margin: 0; }
.dp .dp-wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.dp .dp-wrap--narrow { max-width: calc(820px + var(--gut) * 2); }
/* Comments now live inside .dp-main (not a separately centered section) so they align with the article column
   instead of being centered on the full viewport width, which drifted out of line once the TOC column was added. */
.dp .dp-main .dp-wrap--narrow { width: 100%; max-width: 820px; margin-inline: 0; padding-inline: 0; }
@media (max-width: 700px) { .dp .dp-wrap { width: 100%; } }

/* Sticky pieces sit below the site header (and the admin bar when logged in). */
.dp .dp-aside { top: calc(var(--hh) + var(--tabsh, 0px) + 24px); }
.dp .dp-tabs { top: var(--hh); }
.admin-bar .dp .dp-aside { top: calc(var(--hh) + var(--tabsh, 0px) + 24px + var(--abh, 32px)); }
.admin-bar .dp .dp-tabs { top: calc(var(--hh) + var(--abh, 32px)); }
@media (max-width: 1000px) { .dp .dp-tabs { position: static; } }

/* Avatars: photo over the initials */
.dp .dp-av { position: relative; overflow: hidden; text-decoration: none; }
.dp .dp-av img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }

/* Article header without a cover image */
.dp .dp-art-hd.dp-no-img { grid-template-columns: minmax(0, 1fr); }
.dp .dp-art-hd.dp-no-img .dp-lead { max-width: 720px; }
.dp .dp-art-img img { transition: transform .6s; }
.dp .dp-art-img:hover img { transform: scale(1.04); }

/* Article text: headings, lists, tables, images and embeds the editor produces */
.dp .dp-prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.02em; margin: 44px 0 14px; color: var(--ink); scroll-margin-top: calc(var(--hh) + 24px); }
.dp .dp-prose h2:first-child { margin-top: 0; }
.dp .dp-prose h3, .dp .dp-prose h4 { scroll-margin-top: calc(var(--hh) + 24px); }
.dp .dp-prose h4 { font-size: 18px; margin: 22px 0 6px; color: var(--ink); }
.dp .dp-prose ul, .dp .dp-prose ol { margin: 0 0 18px; padding-left: 22px; }
.dp .dp-prose li { margin: 0 0 8px; }
.dp .dp-prose img, .dp .dp-prose video { height: auto; border-radius: var(--r-lg); }
.dp .dp-prose figure { margin: 24px 0; }
.dp .dp-prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.dp .dp-prose blockquote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--red); border-radius: 0 var(--r-lg) var(--r-lg) 0; background: var(--tint); color: var(--ink); }
.dp .dp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dp .dp-prose .wp-block-table, .dp .dp-prose .tbl { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.dp .dp-prose th { padding: 12px 16px; background: var(--tint); text-align: left; font-weight: 600; color: var(--ink); }
.dp .dp-prose td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.dp .dp-prose iframe { max-width: 100%; border: 0; border-radius: var(--r-lg); }
.dp .dp-prose .alignwide, .dp .dp-prose .alignfull { max-width: 100%; }
.dp .dp-prose .aligncenter { margin-inline: auto; }
/* The "In this article" box in the sidebar replaces the table of contents plugin's box inside the text. */
.dp .dp-prose #ez-toc-container { display: none; }

/* Yoast FAQ block, styled like the design's FAQ accordions */
.dp .dp-prose .schema-faq { display: grid; gap: 12px; margin: 18px 0; }
.dp .dp-prose .schema-faq-section { margin: 0; padding: 4px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.dp .dp-prose .schema-faq-question { display: block; padding: 16px 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.dp .dp-prose .schema-faq-answer { margin: 0 0 18px; color: var(--ink-2); }

/* Tags and the related list */
.dp .dp-post-tags { margin-top: 32px; }
.dp .dp-rel li { margin: 0; padding: 0; }
.dp .dp-rel li::before { content: none; }
.dp .dp-rel img { flex: none; }
.dp .dp-rel span { display: block; min-width: 0; }
.dp .dp-rel-cat { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.dp .dp-toc { padding-left: 0; }
.dp .dp-toc li { margin: 0; }
.dp .dp-toc li::before { content: none; }

/* Pagination */
.dp .dp-pag a, .dp .dp-pag .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 600 14px Inter, system-ui, sans-serif; text-decoration: none; transition: border-color .2s, background-color .2s; }
.dp .dp-pag a:hover { border-color: var(--ink); }
.dp .dp-pag .dp-on, .dp .dp-pag .current { background: var(--red); border-color: var(--red); color: #fff; }
.dp .dp-pag .dots { border-color: transparent; background: none; color: var(--muted); }

/* Author filter chips are links here */
.dp .dp-tx a { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 500 14px Inter, system-ui, sans-serif; color: var(--ink-2); transition: border-color .2s; }
.dp .dp-tx a:hover { border-color: var(--ink); }
.dp .dp-tx a.dp-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.dp .dp-srt { display: flex; align-items: center; gap: 8px; }
.dp .dp-seg a.dp-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.dp .dp-osoc svg { fill: #fff; }
.dp .dp-osoc .dp-w svg { fill: none; }

/* Back to top sits above the WhatsApp button */
.dp .dp-totop { right: 20px; bottom: 156px; }
@media (max-width: 700px) { .dp .dp-totop { right: 14px; bottom: 150px; } }

/* Comments under the article keep the theme's own styling */
.dp .dp-comments { padding: 56px 0 8px; }

@media (prefers-reduced-motion: reduce) { .dp *, .dp *::before, .dp *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Sidebar search: the design's full-width button squeezed the field, so keep the button its natural width */
.dp .dp-bk2 .dp-bsrch .dp-btn { width: auto; margin-top: 0; }
.dp .dp-bsrch input { flex: 1; width: auto; }

/* Space between the page intro and the list of stories */
.dp .dp-lay.dp-arch { padding-top: 30px; }
.dp .dp-arch .dp-aside { padding-top: 0; }

/* Long real-world titles need a smaller headline than the design's short example */
.dp-single .dp-ph h1 { font-size: clamp(32px, 4.3vw, 56px); line-height: 1.08; }
@media (max-width: 700px) { .dp-single .dp-ph h1 { font-size: 32px; } }
.dp .dp-comments .comments-title { margin-bottom: 20px; }

/* ===== Refinements ===== */

/* Sidebars stay on screen and scroll inside themselves when they are taller than the window */
.dp .dp-aside { max-height: calc(100vh - var(--hh) - var(--tabsh, 0px) - 48px); overflow-y: auto; overscroll-behavior: contain; align-content: start; padding-right: 6px; margin-right: -6px; scrollbar-width: thin; scrollbar-color: rgba(23, 23, 22, .28) transparent; }
.admin-bar .dp .dp-aside { max-height: calc(100vh - var(--hh) - var(--tabsh, 0px) - 48px - var(--abh, 32px)); }
.dp .dp-aside::-webkit-scrollbar { width: 6px; }
.dp .dp-aside::-webkit-scrollbar-thumb { background: rgba(23, 23, 22, .28); border-radius: 6px; }
.dp .dp-aside::-webkit-scrollbar-thumb:hover { background: rgba(23, 23, 22, .5); }
@media (max-width: 1000px) { .dp .dp-aside, .admin-bar .dp .dp-aside { max-height: none; overflow: visible; padding-right: 0; margin-right: 0; } }
.dp .dp-bk2 { scroll-margin-top: 20px; }

/* Like button: a calm outline that fills in when liked */
.dp .dp-btn.dp-like { background: #fff; border: 1px solid rgba(240, 78, 85, .4); color: var(--red-dk); box-shadow: none; }
.dp .dp-btn.dp-like svg { transition: transform .25s ease, fill .2s ease; }
.dp .dp-btn.dp-like:hover { background: var(--red-soft); border-color: var(--red); }
.dp .dp-btn.dp-like[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(240, 78, 85, .7); }
.dp .dp-btn.dp-like[aria-pressed="true"] svg { fill: #fff; transform: scale(1.12); }

/* Author box, then previous / next, with room between them */
.dp .dp-authbox { margin: 48px 0 24px; }
.dp .dp-article .adj { margin: 0 0 8px; gap: 16px; }
.dp .dp-article .adj-a { padding: 18px 22px; border-radius: var(--r-lg); transition: border-color .2s, transform .2s; }
.dp .dp-article .adj-a:hover { border-color: var(--red); transform: translateY(-2px); }

/* Story cards: image fills the card height, text is centred, everything lines up */
.dp .dp-posts { gap: 20px; }
.dp .dp-post { grid-template-columns: 300px minmax(0, 1fr); gap: 26px; align-items: stretch; padding: 14px; }
.dp .dp-post .dp-pi { position: relative; aspect-ratio: auto; min-height: 210px; height: 100%; border-radius: 18px; background: var(--tint); }
.dp .dp-post .dp-pi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dp .dp-post:hover .dp-pi img { transform: scale(1.04); }
.dp .dp-post > div:last-child { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 6px 10px 6px 0; min-width: 0; }
.dp .dp-post h3 { margin: 12px 0 6px; font-size: 21px; line-height: 1.3; }
.dp .dp-post small { display: block; }
.dp .dp-post p { margin: 10px 0 14px; }
.dp .dp-post .dp-lk { margin-top: 2px; }
@media (max-width: 700px) {
	.dp .dp-post { grid-template-columns: 1fr; gap: 16px; }
	.dp .dp-post .dp-pi { aspect-ratio: 16 / 10; min-height: 0; height: auto; }
	.dp .dp-post > div:last-child { padding: 0 4px 6px; }
}

/* Pagination */
.dp .dp-posts + .dp-pag { margin-top: 44px; gap: 8px; }
.dp .dp-pag a, .dp .dp-pag .page-numbers { min-width: 44px; height: 44px; border-radius: 999px; padding: 0 14px; font-size: 15px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.dp .dp-pag a:hover { border-color: var(--red); color: var(--red-dk); background: var(--red-soft); }
.dp .dp-pag .dp-on, .dp .dp-pag .current { box-shadow: 0 8px 18px -8px rgba(240, 78, 85, .8); }
.dp .dp-pag .dots { box-shadow: none; }
.dp .dp-pag .prev, .dp .dp-pag .next { font-size: 18px; }

/* Author social icons: all of them, in their brand colours */
.dp .dp-osoc { flex-wrap: wrap; justify-content: flex-end; }
.dp .dp-osoc a { transition: transform .2s, box-shadow .2s; }
.dp .dp-osoc a:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .5); }
.dp .dp-osoc .dp-x { background: #111; }
.dp .dp-osoc .dp-l { background: #0a66c2; }
.dp .dp-osoc .dp-y { background: #ff0000; }
.dp .dp-osoc .dp-p { background: #e60023; }
.dp .dp-osoc .dp-f, .dp .dp-osoc .dp-i, .dp .dp-osoc .dp-x, .dp .dp-osoc .dp-l, .dp .dp-osoc .dp-y, .dp .dp-osoc .dp-p { color: #fff; }

/* FAQ (Yoast block + the toggle plugin): one rounded card per question, calm hover, red when open, smooth height */
.dp .dp-prose .wp-block-yoast-faq-block { border-top: 0; display: grid; gap: 12px; margin: 18px 0; }
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-section { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow); transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-section:hover { border-color: rgba(240, 78, 85, .45); box-shadow: 0 10px 26px -12px rgba(240, 78, 85, .35); }
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-section.fcp-opened { border-color: var(--red); background: #fffafa; box-shadow: 0 14px 30px -14px rgba(240, 78, 85, .45); }
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-question,
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-section:hover .schema-faq-question,
.dp .dp-prose .wp-block-yoast-faq-block .fcp-opened .schema-faq-question { background: transparent !important; border: 0 !important; padding: 18px 56px 18px 24px !important; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink) !important; transition: color .25s ease; }
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-section:hover .schema-faq-question { color: var(--red-dk) !important; }
/* The FAQ question is itself a <strong> tag, which this theme dials back to a calm 600 weight. When a question's text
   was also bolded in the editor, that lands as a second, nested <strong> with no class of its own, so it falls back
   to the browser's default bold weight instead — making just that one question look heavier than its siblings for
   no visible reason. Force any such nested emphasis to match the question's own weight everywhere this block appears. */
.dp .dp-prose .schema-faq-question strong, .dp .dp-prose .schema-faq-question b { font-weight: inherit !important; }
.dp .dp-prose .wp-block-yoast-faq-block .fcp-opened .schema-faq-question { color: var(--red-dk) !important; }
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-question::before { border-color: var(--ink-2); transition: transform .35s cubic-bezier(.4, 0, .2, 1), border-color .25s ease !important; }
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-section:hover .schema-faq-question::before, .dp .dp-prose .wp-block-yoast-faq-block .fcp-opened .schema-faq-question::before { border-color: var(--red); }
.dp .dp-prose .wp-block-yoast-faq-block.fcp-faq .schema-faq-answer { max-height: 0; opacity: 0; overflow: hidden; margin: 0; padding: 0 56px 0 24px !important; border: 0 !important; color: var(--ink-2); line-height: 1.75; transition: max-height .38s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, padding-bottom .38s cubic-bezier(.4, 0, .2, 1) !important; }
.dp .dp-prose .wp-block-yoast-faq-block .fcp-opened .schema-faq-answer { max-height: var(--faq-h, 9999px); opacity: 1; padding-bottom: 22px !important; transition: max-height .38s cubic-bezier(.4, 0, .2, 1), opacity .35s ease .05s, padding-bottom .38s cubic-bezier(.4, 0, .2, 1) !important; }
.dp .dp-prose .wp-block-yoast-faq-block .schema-faq-answer p:last-child { margin-bottom: 0; }
/* ===== Sidebar cards: flat, no clipped shadow edges; clean category list ===== */
.dp .dp-aside { padding: 2px 8px 2px 2px; margin: -2px -8px -2px -2px; scrollbar-color: rgba(23, 23, 22, .22) transparent; }
.dp .dp-bk2 { box-shadow: none; border: 1px solid var(--line); background: #fff; }
.dp .dp-bk2 h3 { letter-spacing: -.01em; }
.dp .dp-cats { display: grid; gap: 4px; margin: 14px 0 0; padding: 0; list-style: none; }
.dp .dp-cats li { margin: 0; padding: 0; display: block; }
.dp .dp-cats li::before { content: none; }
.dp .dp-cats a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.dp .dp-cats a b { flex: none; min-width: 30px; padding: 2px 9px; border-radius: 999px; background: var(--tint); font-size: 12px; font-weight: 600; text-align: center; color: var(--muted); transition: background-color .2s ease, color .2s ease; }
.dp .dp-cats a:hover, .dp .dp-cats a.dp-on { background: var(--red-soft); color: var(--red-dk); }
.dp .dp-cats a:hover b, .dp .dp-cats a.dp-on b { background: var(--red); color: #fff; }
.dp .dp-bk2.dp-relw ul.dp-cats { margin-top: 12px; }

/* Tables from the editor always run the full width of the text */
.dp .dp-prose .wp-block-table, .dp .dp-prose figure.wp-block-table { width: 100%; margin: 24px 0; }
.dp .dp-prose table, .dp .dp-prose .wp-block-table table { width: 100% !important; max-width: 100%; table-layout: auto; }
.dp .dp-prose .wp-block-table td, .dp .dp-prose .wp-block-table th { width: auto; }
.dp .dp-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--tint); }
.dp .dp-prose .wp-block-table td:first-child { width: 28%; min-width: 130px; }
/* Tables: a real table layout so every row spans the full width of the box (the theme's article rule made tables display:block and shrank the rows) */
.dp .dp-prose.entry-content table, .dp .dp-prose table, .dp .dp-prose .wp-block-table table { display: table !important; width: 100% !important; min-width: 100%; border-collapse: collapse; border: 0; overflow: visible; }
.dp .dp-prose .wp-block-table { width: 100% !important; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.dp .dp-prose .wp-block-table tr { background: transparent; }
.dp .dp-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--tint); }
.dp .dp-prose .wp-block-table td, .dp .dp-prose .wp-block-table th { padding: 13px 18px; border: 0; border-top: 0; vertical-align: top; }
.dp .dp-prose .wp-block-table tr + tr td { border-top: 1px solid rgba(23, 23, 22, .05); }
.dp .dp-prose .wp-block-table td:first-child { width: 30%; font-weight: 600; color: var(--ink); }
@media (max-width: 700px) { .dp .dp-prose .wp-block-table td, .dp .dp-prose .wp-block-table th { padding: 11px 14px; } .dp .dp-prose .wp-block-table td:first-child { width: 38%; min-width: 0; } }
/* ===== UI/UX Consistency Guide for the blog page designs ===== */
.dp { --bg: #faf8f5; --ink: #16171b; --ink-2: #464b55; --muted: #6a707c; --line: #ece6df; --red: #f04e55; --red-dk: #d63c43; --red-soft: #fdedee; --gold: #d63c43; --dark: #121317; --dark-2: #1b1c22; --tint: #f6f2ec; --grad: linear-gradient(135deg, #f04e55, #ff6b5f); }
.dp h1, .dp h2, .dp h3, .dp h4 { font-weight: 700; }
.dp h1 { letter-spacing: -.03em; }
.dp h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -.025em; }
.dp .dp-ph h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; }
.dp-single .dp-ph h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; }
.dp .dp-acc { color: var(--red-dk); }
.dp .dp-eyebrow { gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--red-dk); }
.dp .dp-eyebrow::before { width: 22px; background: currentColor; }
.dp .dp-sec-intro, .dp .dp-lead { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.dp .dp-sec-intro { max-width: 60ch; margin: 10px 0 0; }
/* Buttons */
.dp .dp-btn { min-height: 44px; height: auto; padding: 11px 20px; font-size: 14px; font-weight: 600; }
.dp .dp-btn-lg { min-height: 46px; padding: 13px 24px; font-size: 15.5px; }
.dp .dp-btn-red { background: var(--grad); border: 0; color: #fff; box-shadow: 0 8px 20px rgba(240, 78, 85, .28); }
.dp .dp-btn-red:hover { background: var(--grad); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(240, 78, 85, .4); }
.dp .dp-btn-line { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.dp .dp-btn-line:hover { border-color: var(--red-dk); color: var(--red-dk); }
.dp .dp-btn.dp-like { background: #fff; border: 1.5px solid #e5484d; color: var(--red-dk); box-shadow: none; }
.dp .dp-btn.dp-like:hover { background: var(--red-soft); }
.dp .dp-btn.dp-like[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }
/* Text link */
.dp .dp-lk { font-size: 14px; font-weight: 600; color: var(--red-dk); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s; }
.dp .dp-lk:hover { background-size: 100% 1.5px; text-decoration: none; }
.dp .dp-lk svg { transition: transform .2s; }
.dp .dp-lk:hover svg { transform: translateX(3px); }
/* Tags */
.dp .dp-pill { padding: 6px 12px; background: var(--red-soft); color: var(--red-dk); font-size: 13px; font-weight: 600; }
.dp .dp-pill.dp-w, .dp .dp-feat .dp-pill { border: 0; background: var(--grad); color: #fff; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .07em; padding: 6px 14px; box-shadow: 0 10px 22px -8px rgba(240, 78, 85, .6); -webkit-backdrop-filter: none; backdrop-filter: none; }
.dp .dp-chips a, .dp .dp-au-tags span { padding: 6px 12px; background: var(--red-soft); color: var(--red-dk); font-size: 13px; font-weight: 600; text-transform: capitalize; }
.dp .dp-chips a:hover { background: #fbdfe1; color: var(--red-dk); }
.dp .dp-tx a, .dp .dp-seg a { font-size: 13px; font-weight: 600; }
.dp .dp-tx a.dp-on, .dp .dp-seg a.dp-on, .dp .dp-pag .dp-on { border-color: transparent; background: var(--grad); color: #fff; box-shadow: none; }
.dp .dp-tx a:hover { border-color: var(--red-dk); color: var(--red-dk); }
.dp .dp-tx a.dp-on:hover { color: #fff; }
/* Text on photos sits on the guide's dark gradient */
.dp .dp-feat:after { background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 8, .75) 100%); }
.dp .dp-feat h3 { font-weight: 700; font-family: inherit; }
/* Meta text and sizes: nothing below 13px except solid tags */
.dp .dp-crumb, .dp .dp-post small, .dp .dp-byline small, .dp .dp-rel-cat, .dp .dp-au-st span, .dp .dp-srt, .dp .dp-feat small { font-size: 13px; color: var(--muted); }
.dp .dp-feat small { color: rgba(255, 255, 255, .8); }
.dp .dp-bsrch input::placeholder { color: var(--ink-2); opacity: 1; }
/* Article text: 45 to 75 characters a line, line height 1.55 to 1.7 */
/* .dp-prose also carries the generic "entry-content" class for plugin compatibility, which pulls in theme.css's
   standalone-page default of max-width:760px. That's the actual reason prose text (and anything sized as a
   percentage of it) stayed narrower than the full article column no matter what the child elements were told. */
.dp .dp-prose { max-width: none; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.dp .dp-prose h3 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.dp .dp-prose h4 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
/* Gutenberg content fills the wider article column: full-size images and paragraphs stop deferring to their editor-time width.
   max-width is reset too — it always wins over width in the browser's sizing algorithm, so leaving the 72ch reading-width cap
   in place would silently re-narrow these paragraphs no matter what width says. */
p.wp-block-paragraph { width: 100% !important; max-width: 100% !important; }
figure.wp-block-image.size-full img { width: 100% !important; max-width: 100% !important; }
figure.aligncenter.size-large img { width: 100% !important; max-width: 100% !important; }
/* Reading-width cap removed: full-width paragraphs and images were asked for explicitly and repeatedly, so this
   no longer narrows article text — .dp-prose now determines the actual column width on its own. */
.dp .dp-prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.dp .dp-prose h3 { line-height: 1.2; }
.dp .dp-prose a { color: var(--red-dk); }
/* Story cards (archive and author): the guide's standard card, laid out sideways */
.dp .dp-post { grid-template-columns: 300px minmax(0, 1fr); gap: 22px; padding: 16px; border-radius: 18px; align-items: stretch; }
.dp .dp-post .dp-pi { position: relative; aspect-ratio: 4 / 3; min-height: 0; height: auto; align-self: start; border-radius: 18px; }
.dp .dp-count { position: absolute; left: 12px; top: 12px; z-index: 2; }
.dp .dp-pb { display: flex; flex-direction: column; min-width: 0; padding: 2px 4px 2px 0; }
.dp .dp-post .dp-pb h3 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dp .dp-loc { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.dp .dp-loc svg { color: var(--red-dk); flex: none; }
.dp .dp-loc a { color: var(--red-dk); font-weight: 600; }
.dp .dp-post .dp-desc { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dp .dp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.dp .dp-meta a { color: var(--muted); font-weight: 500; }
.dp .dp-meta a:hover { color: var(--red-dk); }
.dp .dp-meta time { display: inline-flex; align-items: center; gap: 6px; }
.dp .dp-pf { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.dp .dp-post .dp-pb { padding-bottom: 0; }
.dp .dp-post .dp-meta + .dp-pf { margin-top: 14px; }
.dp .dp-tagrow { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.dp .dp-tagrow .chip { padding: 5px 11px; }
@media (max-width: 700px) {
	.dp .dp-post { grid-template-columns: 1fr; gap: 14px; }
	.dp .dp-post .dp-pi { aspect-ratio: 4 / 3; }
	.dp .dp-pf { flex-wrap: wrap; }
}.dp { --red-dk-text: #c4343b; }
.dp .dp-acc { color: #d63c43; }
.dp .dp-lk, .dp .dp-loc a, .dp .dp-pill, .dp .dp-chips a, .dp .dp-au-tags span, .dp .dp-eyebrow { color: #c4343b; }
.dp .dp-pill.dp-w, .dp .dp-feat .dp-pill { color: #fff; }
.dp .dp-tx a.dp-on, .dp .dp-seg a.dp-on { color: #fff; }

/* Accessible small text (must come last so it wins over the ported design rules) */
.dp .dp-av, .dp .dp-byline .dp-av, .dp .dp-authbox .dp-av, .dp .dp-au-hero .dp-av { background: #d63c43; color: #fff; }
/* Initials sit a touch high in a centred circle at default line-height; pin it to 1 so they sit dead centre */
.dp .dp-av, .dp .dp-rv-h .dp-av, .dp .dp-au-card .dp-av { line-height: 1; }
.dp .dp-cats a b { font-size: 13px; color: #5d636e; }
.dp .dp-cats a:hover b, .dp .dp-cats a.dp-on b { color: #fff; }
.dp .dp-cats a.dp-on, .dp .dp-cats a:hover { color: #c4343b; }
.dp .dp-prose a, .dp .dp-toc a.dp-on, .dp .dp-au-main .dp-eyebrow, .dp .dp-eyebrow { color: #c4343b; }
.dp .dp-seg a { color: var(--ink-2); }
.dp .dp-seg a.dp-on { color: #fff; }
.dp .adj-a small, .dp .dp-rel-cat { font-size: 13px; color: #5d636e; }
.dp .dp-feat h3, .dp .dp-feat p, .dp .dp-feat small { color: #fff; }
.card-meta, .sec--soft .card-meta, .e404 .card-meta { color: #5d636e; }
/* Archive card text column: full width so the title truncates inside the card and the footer line spans it */
.dp .dp-post > .dp-pb { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-width: 0; padding: 2px 4px 2px 0; }
.dp .dp-post .dp-pb h3 { max-width: 100%; }
.dp .dp-post .dp-pf { margin-top: auto; }
.dp .dp-post .dp-desc { min-height: 0; }
.dp .dp-post .dp-pf .dp-lk { margin-left: auto; }
.dp .dp-post > div.dp-pb:last-child { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 2px 4px 2px 0; }
.dp .dp-post > div.dp-pb .dp-pf { width: 100%; }

.dp .dp-rel b + small.dp-rel-cat, .dp small.dp-rel-cat { font-size: 13px; }
.dp .dp-cats a:hover b, .dp .dp-cats a.dp-on b { background: #d63c43; color: #fff; }

/* Gutenberg buttons inside articles: the prose link colour (#c4343b) made the label red-on-red; keep it white and give a clear hover */
.dp .dp-prose .wp-block-buttons { margin: 22px 0 28px; gap: 12px; }
.dp .dp-prose .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-size: 15.5px; font-weight: 700; line-height: 1.3; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(214, 60, 67, .55); transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, background-color .22s ease; }
.dp .dp-prose .wp-block-button__link:not(.has-background) { background: #d63c43; }
.dp .dp-prose .wp-block-button__link:not(.has-text-color), .dp .dp-prose .wp-block-button__link:not(.has-text-color):visited, .dp .dp-prose .wp-block-button__link:not(.has-text-color):hover, .dp .dp-prose .wp-block-button__link:not(.has-text-color):focus-visible { color: #fff; text-decoration: none; }
.dp .dp-prose .wp-block-button__link::after { content: "\2192"; display: inline-block; font-weight: 600; transition: transform .22s ease; }
.dp .dp-prose .wp-block-button__link:hover, .dp .dp-prose .wp-block-button__link:focus-visible { transform: translateY(-2px); filter: brightness(.9) saturate(1.05); box-shadow: 0 14px 28px -12px rgba(214, 60, 67, .7); }
.dp .dp-prose .wp-block-button__link:hover::after, .dp .dp-prose .wp-block-button__link:focus-visible::after { transform: translateX(4px); }
.dp .dp-prose .wp-block-button__link:active { transform: translateY(0); box-shadow: 0 6px 14px -8px rgba(214, 60, 67, .6); }
.dp .dp-prose .wp-block-button__link:focus-visible { outline: 3px solid rgba(214, 60, 67, .35); outline-offset: 3px; }
.dp .dp-prose .is-style-outline > .wp-block-button__link:not(.has-background) { background: transparent; border: 2px solid currentColor; box-shadow: none; }
.dp .dp-prose .is-style-outline > .wp-block-button__link:not(.has-text-color) { color: #c4343b; }
.dp .dp-prose .is-style-outline > .wp-block-button__link:not(.has-background):hover { background: #d63c43; border-color: #d63c43; color: #fff; filter: none; }
@media (max-width: 600px) { .dp .dp-prose .wp-block-button, .dp .dp-prose .wp-block-button__link { width: 100%; justify-content: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .dp .dp-prose .wp-block-button__link, .dp .dp-prose .wp-block-button__link::after { transition: none; } .dp .dp-prose .wp-block-button__link:hover { transform: none; } }

/* v10 (2.0.17) author page: social icons level with the name (right edge), Articles/Topics numbers under the tags.
   .dp-au-main and .dp-au-side become transparent so every piece sits on one shared grid. */
.dp .dp-au-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 28px; row-gap: 0; align-items: start; }
.dp .dp-au-main, .dp .dp-au-side { display: contents; }
.dp .dp-au-hero > .dp-av { grid-column: 1; grid-row: 1 / span 6; }
.dp .dp-au-main > .dp-eyebrow { grid-column: 2; grid-row: 1; justify-self: start; padding-top: 22px; }
.dp .dp-au-main > h1 { grid-column: 2; grid-row: 2; margin: 0; align-self: center; }
.dp .dp-au-side > .dp-au-act { grid-column: 3; grid-row: 2; align-self: center; justify-self: end; }
.dp .dp-au-main > .dp-lead { grid-column: 2; grid-row: 3; }
.dp .dp-au-main > .dp-au-tags { grid-column: 2; grid-row: 4; }
.dp .dp-au-main > .dp-au-st { grid-column: 2; grid-row: 5; display: flex; justify-content: flex-start; gap: 36px; margin-top: 22px; }
.dp .dp-au-main > .dp-au-st > div { text-align: left; }
.dp .dp-au-main > .dp-au-st b { font-size: 26px; line-height: 1; }
.dp .dp-au-main > .dp-au-st span { display: block; margin-top: 6px; }
@media (max-width: 980px) {
	.dp .dp-au-hero { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
	.dp .dp-au-hero > .dp-av { grid-column: 1; grid-row: 1; }
	.dp .dp-au-main > .dp-eyebrow { grid-column: 1; grid-row: 2; padding-top: 12px; }
	.dp .dp-au-main > h1 { grid-column: 1; grid-row: 3; }
	.dp .dp-au-side > .dp-au-act { grid-column: 1; grid-row: 4; justify-self: start; margin-top: 14px; }
	.dp .dp-au-main > .dp-lead { grid-column: 1; grid-row: 5; }
	.dp .dp-au-main > .dp-au-tags { grid-column: 1; grid-row: 6; }
	.dp .dp-au-main > .dp-au-st { grid-column: 1; grid-row: 7; }
}
