/*
 * Democratic Reporter layout styles.
 * Enqueued by inc/setup.php, so this file works whether the code lives in its
 * own child theme or is dropped into an existing GeneratePress child theme.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--dr-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--dr-body: 'Spectral', Georgia, 'Times New Roman', serif;

	--dr-ink: #1a1a1a;
	--dr-ink-2: #5a5a5a;
	--dr-ink-3: #8a8a8a;
	--dr-line: #e4e4e4;
	--dr-bg: #ffffff;
	--dr-bg-2: #f5f6f7;

	--dr-accent: #2b6ddf;
	--dr-accent-hover: #2159c0;
	--dr-like: #e0245e;

	--dr-shell: 1220px;
	--dr-col: 278px;
	--dr-rail: 278px;
	--dr-post: 728px;
	--dr-rail-post: 320px;
	--dr-gap: 28px;
	--dr-sticky-top: 24px;
	--dr-radius: 6px;
}

body.drt-sticky {
	--dr-sticky-top: 88px;
}

/* ==========================================================================
   2. Base + GeneratePress resets
   ========================================================================== */

body.drt {
	font-family: var(--dr-ui);
	color: var(--dr-ink);
	background: var(--dr-bg);
	-webkit-font-smoothing: antialiased;
}

body.drt-tpl #page,
body.drt-tpl .site-content {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	border: 0;
}

.dr-shell {
	max-width: var(--dr-shell);
	margin: 0 auto;
	padding: 0 20px;
}

.drt h1,
.drt h2,
.drt h3,
.drt h4 {
	font-family: var(--dr-ui);
	color: var(--dr-ink);
}

.drt img {
	max-width: 100%;
	height: auto;
}

.dr-icon {
	flex: none;
}

/* Grid children must be allowed to shrink or long titles blow the columns out. */
.dr-card,
.dr-rail,
.dr-recent__main,
.dr-hero__feature {
	min-width: 0;
}

.dr-card--nomedia .dr-card__title {
	margin-top: 0;
}

.dr-byline__text {
	display: block;
}

.dr-listing__empty {
	margin: 0 0 20px;
	font-size: 15px;
	color: var(--dr-ink-2);
}

.dr-subscribe-embed iframe {
	max-width: 100%;
	border: 0;
}

/* ==========================================================================
   3. Header + navigation
   ========================================================================== */

.drt .site-header {
	background: #000;
	color: #fff;
	border-bottom: 1px solid #000;
}

.drt-sticky .site-header {
	position: sticky;
	top: 0;
	z-index: 120;
}

.admin-bar.drt-sticky .site-header {
	top: 32px;
}

.drt .site-header .inside-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 28px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 12px 24px;
}

.drt .site-logo img,
.drt .site-header .header-image {
	max-height: 44px;
	width: auto;
}

/* GeneratePress renders the site title as .main-title, not .site-title. */
.drt .main-title,
.drt .main-title a {
	color: #fff;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0;
	text-decoration: none;
}

.drt .main-title a:hover {
	color: rgba(255, 255, 255, 0.75);
}

.drt .site-description {
	margin: 2px 0 0;
	font-size: 12px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.6);
}

.drt .main-navigation,
.drt .main-navigation .inside-navigation {
	background: transparent;
	padding: 0;
}

.drt .main-navigation {
	flex: 1;
}

.drt .main-navigation .inside-navigation {
	display: flex;
	align-items: center;
	width: 100%;
}

.drt .main-navigation .main-nav > ul > li > a {
	color: #fff;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.2;
	padding: 10px 13px;
}

.drt .main-navigation .main-nav > ul > li:hover > a,
.drt .main-navigation .main-nav > ul > li.current-menu-item > a {
	color: rgba(255, 255, 255, 0.68);
	background: transparent;
}

.drt .main-navigation ul ul {
	background: #141414;
	border: 1px solid #2a2a2a;
	border-radius: 8px;
	overflow: hidden;
	padding: 4px 0;
}

.drt .main-navigation ul ul li a {
	color: #fff;
	font-size: 13px;
	padding: 9px 16px;
}

.drt .main-navigation ul ul li:hover > a {
	background: #222;
	color: #fff;
}

.drt .menu-toggle,
.drt .main-navigation .menu-toggle {
	color: #fff;
	background: transparent;
}

.drt .main-navigation .menu-bar-items {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.dr-navbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 34px;
	padding: 0 15px;
	border: 0;
	border-radius: 999px;
	font-family: var(--dr-ui);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.dr-navbtn--icon {
	width: 34px;
	padding: 0;
	background: transparent;
	color: #fff;
}

.dr-navbtn--icon:hover,
.dr-navbtn--icon:focus {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.dr-navbtn--cta {
	background: var(--dr-accent);
	color: #fff;
}

.dr-navbtn--cta:hover,
.dr-navbtn--cta:focus {
	background: var(--dr-accent-hover);
	color: #fff;
}

.dr-navbtn--ghost {
	color: #fff;
	padding: 0 8px;
	font-weight: 500;
}

.dr-navbtn--ghost:hover {
	color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   4. Search overlay
   ========================================================================== */

.dr-overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 12vh 20px 20px;
	background: rgba(0, 0, 0, 0.55);
}

/* Must beat the display:flex above, or the panel is stuck open. */
.dr-overlay[hidden] {
	display: none;
}

.dr-overlay__inner {
	position: relative;
	width: 100%;
	max-width: 620px;
	padding: 22px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.dr-overlay__close {
	position: absolute;
	top: -44px;
	right: 0;
	padding: 4px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

body.dr-overlay-open {
	overflow: hidden;
}

/* Search overlay. */
.dr-overlay--search .search-form {
	display: flex;
	gap: 8px;
	margin: 0;
}

.dr-overlay--search .search-form label {
	flex: 1;
	display: block;
	margin: 0;
}

.dr-overlay--search input[type="search"] {
	width: 100%;
	padding: 12px 14px;
	font: 400 16px/1.3 var(--dr-ui);
	border: 1px solid var(--dr-line);
	border-radius: var(--dr-radius);
	background: #fff;
}

/* Subscribe modal, opened by the header Subscribe button. */
.dr-overlay__inner--subscribe {
	max-width: 460px;
	padding: 32px 28px;
	text-align: center;
}

.dr-overlay__title {
	margin: 14px 0 8px;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.dr-overlay__blurb {
	margin: 0 auto 18px;
	max-width: 340px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--dr-ink-2);
}


/* ==========================================================================
   5. Cards
   ========================================================================== */

.dr-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: var(--dr-bg-2);
	line-height: 0;
}

.dr-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.dr-card__media:hover img {
	transform: scale(1.025);
}

.dr-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(18, 18, 18, 0.62);
	color: #fff;
	padding-left: 3px;
}

.dr-card__time {
	position: absolute;
	left: 8px;
	bottom: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 6px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font: 600 11px/1 var(--dr-ui);
	letter-spacing: 0.01em;
}

.dr-card__body {
	min-width: 0;
}

.dr-card__title {
	margin: 11px 0 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.27;
	letter-spacing: -0.012em;
}

.dr-card__title a {
	color: var(--dr-ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dr-card__title a:hover {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dr-card__excerpt {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.46;
	color: var(--dr-ink-2);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dr-meta {
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	color: var(--dr-ink-3);
}

/* Hero card. */
.dr-card--hero .dr-card__body {
	max-width: 560px;
	margin: 18px auto 0;
	text-align: center;
}

.dr-card--hero .dr-card__title {
	font-size: 27px;
	line-height: 1.22;
	letter-spacing: -0.024em;
	margin: 0 0 10px;
}

.dr-card--hero .dr-card__title a {
	-webkit-line-clamp: 4;
	line-clamp: 4;
}

.dr-card--hero .dr-card__excerpt {
	font-size: 14.5px;
	line-height: 1.5;
	margin-bottom: 10px;
}

/* Stack cards in the hero left column. */
.dr-card--stack .dr-card__title {
	font-size: 16px;
}

.dr-card--stack .dr-card__excerpt {
	-webkit-line-clamp: 1;
	line-clamp: 1;
}

/* Compact rows (Most Popular). */
.dr-card--compact {
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: 12px;
}

.dr-card--compact .dr-card__media {
	flex: none;
	width: 62px;
}

.dr-card--compact .dr-card__media img {
	aspect-ratio: 1 / 1;
}

.dr-card--compact .dr-card__play {
	width: 22px;
	height: 22px;
	padding-left: 1px;
}

.dr-card--compact .dr-card__title {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.3;
}

.dr-card--compact .dr-card__title a {
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.dr-card--compact .dr-meta {
	font-size: 9.5px;
}

/* Episode rows (single post rail). */
.dr-card--episode {
	display: flex;
	align-items: flex-start;
	gap: 11px;
}

.dr-card--episode .dr-card__media {
	flex: none;
	width: 54px;
	border-radius: 3px;
}

.dr-card--episode .dr-card__play {
	width: 20px;
	height: 20px;
	padding-left: 1px;
}

.dr-card--episode .dr-card__title {
	margin: 0 0 5px;
	font-size: 12.5px;
	line-height: 1.3;
}

.dr-card--episode .dr-card__title a {
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.dr-card--episode .dr-meta {
	font-size: 9.5px;
}

/* ==========================================================================
   6. Section headers
   ========================================================================== */

.dr-sectionhead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 16px;
}

.dr-sectionhead__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.dr-sectionhead--lg .dr-sectionhead__title {
	font-size: 22px;
	letter-spacing: -0.022em;
}

.dr-sectionhead__tools {
	display: flex;
	align-items: center;
	gap: 14px;
}

.dr-sectionhead__all {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dr-ink-3);
	text-decoration: none;
	white-space: nowrap;
}

.dr-sectionhead__all:hover {
	color: var(--dr-ink);
}

.dr-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--dr-ink-2);
	cursor: pointer;
}

.dr-iconbtn:hover {
	background: var(--dr-bg-2);
	color: var(--dr-ink);
}

/* ==========================================================================
   7. Homepage
   ========================================================================== */

.dr-hero {
	display: grid;
	grid-template-columns: var(--dr-col) minmax(0, 1fr) var(--dr-rail);
	gap: 0 var(--dr-gap);
	padding: 30px 0 34px;
	border-bottom: 1px solid var(--dr-line);
}

.dr-hero__stack {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.dr-hero__feature,
.dr-hero__popular {
	border-left: 1px solid var(--dr-line);
	padding-left: var(--dr-gap);
}

.dr-popular {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.dr-recent {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--dr-rail);
	gap: var(--dr-gap);
	padding: 34px 0 46px;
}

/* Homepage Sidebar Widget empty: let the grid run full width. */
.dr-recent--full {
	grid-template-columns: minmax(0, 1fr);
}

.dr-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 26px;
}

.dr-seeall {
	margin: 34px 0 0;
}

.dr-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 16px;
	border: 1px solid var(--dr-line);
	border-radius: 999px;
	background: var(--dr-bg-2);
	color: var(--dr-ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.dr-pill:hover {
	background: #ececec;
	color: var(--dr-ink);
}

.dr-pill--sm {
	height: 30px;
	font-size: 12px;
	padding: 0 14px;
}

/* ==========================================================================
   8. Rails
   ========================================================================== */

.dr-rail--home {
	padding-top: 3px;
}

.dr-rail__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
}

.dr-rail__blurb {
	margin: 0 0 14px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--dr-ink-2);
}

.dr-rail__block + .dr-rail__block {
	margin-top: 26px;
}

/* Widget areas: "Homepage Sidebar Widget" and "Single Post Sidebar". */
.dr-widget + .dr-widget {
	margin-top: 26px;
}

.dr-widget__title,
.dr-rail .widget-title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.005em;
}

.dr-widget--subscribe .dr-widget__title {
	font-size: 15px;
	margin-bottom: 8px;
}

.dr-widget .dr-podcard .dr-podcard__title {
	margin-top: 12px;
}

/* Anything else dropped in: core widgets, blocks, plugin widgets. */
.dr-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dr-widget li {
	margin: 0 0 9px;
	font-size: 13px;
	line-height: 1.45;
}

.dr-widget li a {
	color: var(--dr-ink);
	text-decoration: none;
}

.dr-widget li a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dr-widget p {
	font-size: 13px;
	line-height: 1.55;
	color: var(--dr-ink-2);
}

.dr-widget img {
	height: auto;
}

.dr-widget input[type="search"],
.dr-widget input[type="text"] {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--dr-line);
	border-radius: var(--dr-radius);
	font: 400 13px/1.3 var(--dr-ui);
}

.dr-rail__heading {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: -0.005em;
}

.dr-rail__sticky {
	position: sticky;
	top: var(--dr-sticky-top);
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.dr-podcard {
	padding: 20px;
	border: 1px solid var(--dr-line);
	border-radius: 10px;
	text-align: center;
}

.dr-podcard__title {
	margin: 12px 0 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.dr-podcard__blurb {
	margin: 0 0 14px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--dr-ink-2);
}

.dr-brandmark {
	display: inline-block;
	border-radius: 8px;
	object-fit: cover;
	vertical-align: middle;
}

.dr-brandmark--text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--dr-ink);
	color: #fff;
	font-weight: 800;
	border-radius: 50%;
}

.dr-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dr-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 11px;
	border-radius: var(--dr-radius);
	background: var(--dr-bg-2);
	color: var(--dr-ink);
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
}

.dr-chip:hover {
	background: #ebecee;
	color: var(--dr-ink);
}

.dr-chip--spotify .dr-icon {
	color: #1db954;
}

.dr-chip--apple .dr-icon {
	color: #9933cc;
}

.dr-chip--rss .dr-icon {
	color: #f26522;
}

.dr-chip--substack .dr-icon {
	color: #ff6719;
}

.dr-episodes {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* ==========================================================================
   9. Subscribe form
   ========================================================================== */

.dr-subscribe {
	display: flex;
	align-items: center;
	max-width: 100%;
	background: #fff;
	border: 1px solid var(--dr-line);
	border-radius: var(--dr-radius);
	overflow: hidden;
}

.dr-subscribe__label {
	flex: 1;
	display: block;
	min-width: 0;
	margin: 0;
}

.dr-subscribe__input {
	width: 100%;
	padding: 9px 12px;
	border: 0;
	background: transparent;
	font: 400 13px/1.3 var(--dr-ui);
	color: var(--dr-ink);
}

.dr-subscribe__input:focus {
	outline: none;
}

.dr-subscribe__button {
	flex: none;
	margin: 3px;
	padding: 0 16px;
	height: 30px;
	border: 0;
	border-radius: 5px;
	background: var(--dr-accent);
	color: #fff;
	font: 600 13px/1 var(--dr-ui);
	cursor: pointer;
}

.dr-subscribe__button:hover {
	background: var(--dr-accent-hover);
}

.dr-subscribe--lg {
	max-width: 420px;
	margin: 0 auto;
}

.dr-subscribe--lg .dr-subscribe__input {
	padding: 12px 14px;
	font-size: 14px;
}

.dr-subscribe--lg .dr-subscribe__button {
	height: 34px;
	font-size: 14px;
}

.dr-form-hint {
	margin: 8px 0 0;
	font-size: 11.5px;
	line-height: 1.4;
	color: #b8791f;
}

/* Honeypot - hidden from people, reachable by bots. */
.dr-subscribe__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.dr-subscribe.is-busy {
	opacity: 0.7;
}

.dr-subscribe__msg {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--dr-ink-2);
}

.dr-subscribe__msg:empty {
	display: none;
}

.dr-subscribe__msg.is-ok {
	color: #1a7f4b;
}

.dr-subscribe__msg.is-error {
	color: #c0392b;
}

.dr-footercta .dr-subscribe__msg,
.dr-inlinecta .dr-subscribe__msg,
.dr-podcard .dr-subscribe__msg {
	text-align: center;
}

/* ==========================================================================
   10. Single post
   ========================================================================== */

.dr-single {
	display: grid;
	grid-template-columns: minmax(0, var(--dr-post)) var(--dr-rail-post);
	justify-content: center;
	gap: 56px;
	max-width: 1180px;
	padding-top: 36px;
	padding-bottom: 60px;
}

/* Single Post Sidebar empty: centre the article. */
.dr-single--full {
	grid-template-columns: minmax(0, var(--dr-post));
	max-width: calc(var(--dr-post) + 40px);
}

.dr-article {
	min-width: 0;
}

.dr-article__title {
	margin: 0 0 12px;
	font-size: 33px;
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -0.026em;
}

.dr-article__sub {
	margin: 0 0 20px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
	color: #6a6a6a;
}

.dr-byline {
	display: flex;
	align-items: center;
	gap: 11px;
	padding-bottom: 16px;
}

.dr-byline__mark {
	display: block;
	line-height: 0;
}

.dr-byline .dr-brandmark,
.dr-byline .avatar,
.dr-byline .dr-avatar {
	display: block;
	border-radius: 50%;
	object-fit: cover;
}

.dr-byline__name {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.4;
}

.dr-byline__date {
	display: block;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--dr-ink-3);
}

.dr-actionbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 28px;
	padding: 11px 0;
	border-top: 1px solid var(--dr-line);
	border-bottom: 1px solid var(--dr-line);
}

.dr-actionbar__left {
	display: flex;
	align-items: center;
	gap: 8px;
}

.dr-act {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 32px;
	min-width: 32px;
	padding: 0 9px;
	border: 1px solid var(--dr-line);
	border-radius: 999px;
	background: #fff;
	color: var(--dr-ink-2);
	font: 600 12px/1 var(--dr-ui);
	text-decoration: none;
	cursor: pointer;
}

.dr-act:hover {
	border-color: #cfcfcf;
	color: var(--dr-ink);
}

.dr-act.is-liked {
	color: var(--dr-like);
	border-color: #f0c2d1;
}

.dr-act.is-liked .dr-icon--heart {
	fill: var(--dr-like);
}

.dr-act.is-done {
	color: #1a9c5b;
	border-color: #b7e2cb;
}

.dr-act__count:empty {
	display: none;
}

.dr-article__figure {
	margin: 0 0 30px;
}

.dr-article__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.dr-article__figure figcaption,
.dr-prose figcaption,
.dr-prose .wp-element-caption {
	margin-top: 9px;
	font: 400 12.5px/1.5 var(--dr-ui);
	color: var(--dr-ink-3);
	text-align: center;
}

.dr-prose {
	font-family: var(--dr-body);
	font-size: 18px;
	line-height: 1.72;
	color: #242424;
}

.dr-prose p {
	margin: 0 0 1.35em;
}

.dr-prose h2 {
	margin: 1.9em 0 0.6em;
	font-family: var(--dr-ui);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.dr-prose h3 {
	margin: 1.7em 0 0.5em;
	font-family: var(--dr-ui);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.dr-prose a {
	color: var(--dr-accent);
	text-decoration: none;
}

.dr-prose a:hover {
	text-decoration: underline;
}

.dr-prose ul,
.dr-prose ol {
	margin: 0 0 1.35em;
	padding-left: 1.35em;
}

.dr-prose li {
	margin-bottom: 0.5em;
}

.dr-prose blockquote {
	margin: 1.7em 0;
	padding: 0 0 0 22px;
	border-left: 3px solid var(--dr-line);
	color: #3d3d3d;
	font-style: italic;
}

.dr-prose figure,
.dr-prose .wp-block-image {
	margin: 1.9em 0;
}

.dr-prose img {
	border-radius: 4px;
}

.dr-prose hr {
	margin: 2.2em 0;
	border: 0;
	border-top: 1px solid var(--dr-line);
}

.dr-prose iframe,
.dr-prose embed,
.dr-prose video {
	max-width: 100%;
}

.dr-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 30px;
}

.dr-tags a {
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--dr-bg-2);
	color: var(--dr-ink-2);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
}

.dr-tags a:hover {
	background: #ececec;
	color: var(--dr-ink);
}

.dr-inlinecta {
	margin-top: 36px;
	padding: 26px 24px;
	border: 1px solid var(--dr-line);
	border-radius: 10px;
	background: var(--dr-bg-2);
	text-align: center;
}

.dr-inlinecta__title {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
}

.dr-inlinecta .dr-subscribe {
	max-width: 380px;
	margin: 0 auto;
}

/* Comments. */
.drt-tpl .comments-area {
	margin-top: 44px;
	padding-top: 26px;
	border-top: 1px solid var(--dr-line);
	font-family: var(--dr-ui);
}

.drt-tpl .comments-title,
.drt-tpl .comment-reply-title {
	font-size: 18px;
	font-weight: 700;
}

/* ==========================================================================
   11. Listing pages
   ========================================================================== */

.dr-listing {
	padding-top: 38px;
	padding-bottom: 56px;
}

.dr-listing__head {
	margin-bottom: 28px;
}

.dr-listing__title {
	margin: 0 0 6px;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.024em;
	line-height: 1.2;
}

.dr-listing__sub {
	margin: 0;
	font-size: 14px;
	color: var(--dr-ink-2);
}

.dr-listing .pagination,
.dr-listing .nav-links {
	margin-top: 40px;
	font-size: 13px;
	font-weight: 600;
}

.dr-listing .nav-links a,
.dr-listing .nav-links .current {
	display: inline-block;
	padding: 6px 12px;
	margin-right: 6px;
	border: 1px solid var(--dr-line);
	border-radius: 999px;
	color: var(--dr-ink-2);
	text-decoration: none;
}

.dr-listing .nav-links .current {
	background: var(--dr-ink);
	border-color: var(--dr-ink);
	color: #fff;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.dr-footercta {
	padding: 58px 0 44px;
	border-top: 1px solid var(--dr-line);
	background: #fff;
	text-align: center;
}

.dr-footercta__title {
	margin: 0 0 10px;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.dr-footercta__blurb {
	max-width: 460px;
	margin: 0 auto 20px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--dr-ink-2);
}

.dr-footerlinks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.dr-footerlinks a {
	font-size: 12.5px;
	color: var(--dr-ink-2);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dr-footerlinks a:hover {
	color: var(--dr-ink);
}

.dr-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.dr-social a {
	display: inline-flex;
	color: var(--dr-ink-2);
}

.dr-social a:hover {
	color: var(--dr-ink);
}

.drt .site-info {
	background: #fff;
	border-top: 1px solid var(--dr-line);
	padding: 18px 0;
	text-align: center;
	font-size: 12px;
	color: var(--dr-ink-3);
}

.drt .site-info .inside-site-info {
	justify-content: center;
}

.dr-copyright {
	letter-spacing: 0.01em;
}

/* ==========================================================================
   13. Responsive
   ========================================================================== */

@media (max-width: 1120px) {
	:root {
		--dr-col: 240px;
		--dr-rail: 250px;
	}

	.dr-card--hero .dr-card__title {
		font-size: 24px;
	}
}

@media (max-width: 1024px) {
	.dr-hero {
		grid-template-columns: minmax(0, 1fr) var(--dr-rail);
	}

	.dr-hero__feature {
		grid-column: 1;
		grid-row: 1;
		border-left: 0;
		padding-left: 0;
	}

	.dr-hero__stack {
		grid-column: 1;
		grid-row: 2;
		flex-direction: row;
		gap: 22px;
		margin-top: 28px;
	}

	.dr-hero__stack > * {
		flex: 1;
		min-width: 0;
	}

	.dr-hero__popular {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	.dr-single {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
		max-width: 760px;
	}

	.dr-rail--post {
		max-width: 460px;
	}

	.dr-rail__sticky {
		position: static;
	}
}

@media (max-width: 880px) {
	.dr-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.dr-hero__popular {
		grid-column: 1;
		grid-row: auto;
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid var(--dr-line);
		padding-top: 26px;
	}

	.dr-recent {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.dr-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dr-rail--home {
		border-top: 1px solid var(--dr-line);
		padding-top: 26px;
	}

	.drt .site-header .inside-header {
		gap: 14px;
		padding: 10px 16px;
	}

	.drt .main-navigation .menu-bar-items {
		gap: 4px;
	}

	.dr-navbtn--ghost {
		display: none;
	}
}

@media (max-width: 640px) {
	.dr-hero__stack {
		flex-direction: column;
		gap: 26px;
	}

	.dr-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.dr-article__title {
		font-size: 27px;
	}

	.dr-article__sub {
		font-size: 15.5px;
	}

	.dr-prose {
		font-size: 17px;
	}

	.dr-card--hero .dr-card__title {
		font-size: 21px;
	}

	.dr-footercta__title {
		font-size: 25px;
	}

	.dr-single {
		padding-top: 24px;
	}
}
