/**
 * DAD detail-page elements: Post Header, Gallery, Connected List, Partner Logos.
 * Recreates the old theme's .cell_main-info, .cell_gallery, .cell_list and
 * .cell_partners. Font families come from Avada → Options → Typography.
 */

/* ---------- Shared "cell" box (old .cell: padding .65625em .5em; margin-bottom 1em) ---------- */

.dad-block {
	box-sizing: border-box;
	padding: 10.5px 8px;
	margin: 0 0 1em;
}

/* Small uppercase headings ("CONTRIBUTORS", "PRESS", "PROJECT PARTNERS"): old .cell-title in the body font. */
.dad-block .dad-block-title {
	margin: 0 0 0.75em;
	padding: 0;
	background: transparent;
	color: #000;
	font-family: var(--body_typography-font-family, inherit);
	font-size: 0.875em;
	font-style: normal;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.125;
	text-transform: uppercase;
}

/* ---------- Post Header (old .cell_main-info + .off-grid-right) ---------- */

.dad-post-header {
	box-sizing: border-box;
	padding: 0;
	margin: 0 0 1em;
}

/* Old .off-grid-right: replaces the cell's 8px right padding (set the Avada column's right padding to 0). */
.dad-post-header--gutter {
	padding-right: 8px;
}

@media screen and (min-width: 30em) {
	.dad-post-header--gutter {
		padding-right: 72px;
	}
}

@media screen and (min-width: 45em) {
	.dad-post-header--gutter {
		padding-right: 152px;
	}
}

.dad-post-header__frame {
	position: relative;
	container-type: inline-size;
}

.dad-post-header .dad-post-header__img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0;
}

.dad-post-header .dad-post-header__title {
	margin: 0;
	padding: 0;
	background: transparent;
	font-style: italic;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.125;
	text-transform: lowercase;
	overflow-wrap: break-word;
}

.dad-post-header .dad-post-header__title:is(p, div) {
	font-family: var(--h1_typography-font-family, var(--awb-typography1-font-family, serif));
}

/* Over the image, bottom left, like the homepage slider captions. */
.dad-post-header--title-over.has-image .dad-post-header__title {
	position: absolute;
	left: clamp(12px, 5.7cqi, 32px);
	right: clamp(12px, 5.7cqi, 32px);
	bottom: clamp(8px, 2.9cqi, 16px);
	color: var(--dad-ph-title-color, #fff);
	font-size: var(--dad-ph-title-size, clamp(1.5rem, 8.2cqi, 2.875rem));
}

/* Title below the image (update pages) or no image: a normal page heading (old h1). */
.dad-post-header .dad-post-header__text {
	padding: 10.5px 8px 0;
}

.dad-post-header.dad-post-header--title-below .dad-post-header__title {
	display: table;
	margin: 0 0 0.25em;
	color: #000;
	font-size: var(--dad-ph-title-size, 2.875em);
	background: var(--dad-text-bg, #fff);
}

/* Parent project under the title (old update page <h2>: small bold uppercase). */
.dad-post-header .dad-post-header__subtitle {
	display: table;
	margin: 0 0 0.75em;
	padding: 0;
	color: #000;
	font-family: var(--body_typography-font-family, inherit);
	font-size: 0.875em;
	font-style: normal;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.125;
	text-transform: uppercase;
	background: var(--dad-text-bg, #fff);
}

.dad-post-header .dad-post-header__subtitle a {
	color: inherit;
	text-decoration: none;
}

.dad-post-header .dad-post-header__subtitle a:hover,
.dad-post-header .dad-post-header__subtitle a:focus-visible {
	color: #00ff00;
}

/* No featured image: a normal page heading. */
.dad-post-header.no-image .dad-post-header__title {
	font-size: var(--dad-ph-title-size, 2.875em);
}

/* ---------- Gallery (old .cell_gallery .gallery-list) ---------- */

.dad-gallery {
	margin-bottom: 2.5em;
}

.dad-gallery .dad-gallery__list {
	display: grid;
	grid-template-columns: repeat(var(--dad-gal-cols, 4), minmax(0, 1fr));
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dad-gallery .dad-gallery__item {
	margin: 0;
	padding: 0;
}

.dad-gallery .dad-gallery__link {
	display: block;
	overflow: hidden;
}

.dad-gallery.dad-gallery--square .dad-gallery__img {
	aspect-ratio: 1 / 1 !important;
}

.dad-gallery .dad-gallery__img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 230 / 154;
	object-fit: cover;
	margin: 0;
	transition: opacity 0.2s ease;
}

.dad-gallery .dad-gallery__link:hover .dad-gallery__img,
.dad-gallery .dad-gallery__link:focus-visible .dad-gallery__img {
	opacity: 0.8;
}

/* ---------- Connected List (old .cell_list .vertical-list) ---------- */

.dad-connected .dad-connected__list {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875em;
	line-height: 1.5;
}

.dad-connected .dad-connected__item {
	margin: 0;
	padding: 0;
}

.dad-connected .dad-connected__item::before {
	content: none;
}

.dad-connected .dad-connected__item a {
	color: var(--dad-link, #00bbff);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.dad-connected .dad-connected__item a:hover,
.dad-connected .dad-connected__item a:focus-visible {
	color: var(--dad-link, #00bbff);
	opacity: 0.7;
}

/* ---------- Partner Logos (old .cell_partners) ---------- */

.dad-partners .dad-partners__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.dad-partners .dad-partners__item {
	margin: 0 0 16px;
	padding: 0;
}

.dad-partners .dad-partners__item a {
	display: block;
}

.dad-partners .dad-partners__img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
}

/* ---------- Lightbox ---------- */

.dad-lightbox {
	box-sizing: border-box;
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.92);
	color: #fff;
	overflow: hidden;
}

.dad-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.92);
}

.dad-lightbox__stage {
	position: absolute;
	inset: 56px 64px 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.dad-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	user-select: none;
}

.dad-lightbox__caption {
	position: absolute;
	left: 64px;
	right: 64px;
	bottom: 20px;
	margin: 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.4;
}

.dad-lightbox__counter {
	position: absolute;
	top: 18px;
	left: 20px;
	font-size: 13px;
	opacity: 0.8;
}

.dad-lightbox button {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.85;
}

.dad-lightbox button:hover,
.dad-lightbox button:focus-visible {
	opacity: 1;
	outline: 2px solid #00bbff;
	outline-offset: -4px;
}

.dad-lightbox__close {
	top: 6px;
	right: 8px;
}

.dad-lightbox__prev,
.dad-lightbox__next {
	top: 50%;
	transform: translateY(-50%);
}

.dad-lightbox__prev {
	left: 8px;
}

.dad-lightbox__next {
	right: 8px;
}

.dad-lightbox[data-single] .dad-lightbox__prev,
.dad-lightbox[data-single] .dad-lightbox__next,
.dad-lightbox[data-single] .dad-lightbox__counter {
	display: none;
}

@media (max-width: 600px) {
	.dad-lightbox__stage {
		inset: 56px 8px 72px;
	}

	.dad-lightbox__prev,
	.dad-lightbox__next {
		top: auto;
		bottom: 12px;
		transform: none;
	}
}

/* ---------- Project List (old archive-cpt_portfolio.php: odd/even project rows) ----------
 * Each row sits on the 240px column grid of the page background:
 *   odd:  [ image (2 cols) ][ text ]
 *   even:         [ text ][ image (2 cols) ]
 */

.dad-projects {
	--dad-pl-cell: 239px;
	--dad-pl-gap: 1px;
	container-type: inline-size;
}

.dad-projects .dad-project {
	display: grid;
	grid-template-columns: repeat(4, var(--dad-pl-cell));
	column-gap: var(--dad-pl-gap);
	align-items: start;
	margin: 0 0 1em;
}

.dad-projects .dad-project__media,
.dad-projects .dad-project__summary {
	box-sizing: border-box;
	min-width: 0;
	padding: 10.5px 8px;
}

.dad-projects .dad-project--odd .dad-project__media {
	grid-column: 1 / span 2;
	grid-row: 1;
}

.dad-projects .dad-project--odd .dad-project__summary {
	grid-column: 3;
	grid-row: 1;
}

.dad-projects .dad-project--even .dad-project__summary {
	grid-column: 2;
	grid-row: 1;
}

.dad-projects .dad-project--even .dad-project__media {
	grid-column: 3 / span 2;
	grid-row: 1;
}

.dad-projects .dad-project__link {
	position: relative;
	display: block;
	container-type: inline-size;
	color: inherit;
	text-decoration: none;
}

.dad-projects .dad-project__img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 560 / 375; /* Old 'project' crop. */
	object-fit: cover;
	margin: 0;
	transition: opacity 0.3s ease;
}

.dad-projects .dad-project__link,
.dad-projects .dad-project__link:hover,
.dad-projects .dad-project__link:focus {
	border: 0;
	box-shadow: none;
	text-decoration: none;
	opacity: 1;
}

/* No hover effect: the image and title look the same on hover (as on the old site). */
.dad-projects .dad-project__link:hover .dad-project__img,
.dad-projects .dad-project__link:focus .dad-project__img {
	opacity: 1;
}

/* Title over the image, bottom left (old .cell_main-info .cell-title). */
.dad-projects .dad-project .dad-project__title {
	margin: 0;
	padding: 0;
	background: transparent;
	font-style: italic;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.125;
	text-transform: lowercase;
	overflow-wrap: break-word;
}

.dad-projects .dad-project .dad-project__title:is(p, div) {
	font-family: var(--h2_typography-font-family, var(--awb-typography1-font-family, serif));
}

.dad-projects .dad-project.has-image .dad-project__title {
	position: absolute;
	left: clamp(12px, 6.9cqi, 32px);
	right: clamp(12px, 6.9cqi, 32px);
	bottom: clamp(8px, 3.5cqi, 16px);
	color: #fff;
	font-size: clamp(1.5rem, 9.9cqi, 2.875rem);
}

.dad-projects .dad-project.no-image .dad-project__title {
	font-size: 2.875em;
}

.dad-projects .dad-project__link:hover .dad-project__title,
.dad-projects .dad-project__link:focus .dad-project__title {
	border: 0;
	text-decoration: none;
	color: #fff;
}

.dad-projects .dad-project.no-image .dad-project__link:hover .dad-project__title,
.dad-projects .dad-project.no-image .dad-project__link:focus .dad-project__title {
	color: inherit;
}

/* Keyboard users still get a visible focus ring (not shown on mouse hover). */
.dad-projects .dad-project__link:focus-visible {
	outline: 2px solid #00bbff;
	outline-offset: 2px;
}

/* "LIVE" flag (old .live-flag: yellow slanted band, top left). */
.dad-projects .dad-project__live {
	position: absolute;
	top: 30px;
	left: 0;
	width: 112px;
	height: 52px;
	padding: 20px 0 0 15px;
	box-sizing: border-box;
	background: #ebee20;
	clip-path: polygon(0 21.2%, 100% 1%, 100% 79.7%, 0 100%);
	color: #000;
	font-family: var(--body_typography-font-family, inherit);
	font-size: 0.875em;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.dad-projects .dad-project__summary p {
	margin: 0;
	font-size: 0.875em;
	line-height: 1.5;
}

/* Older / Newer (old .post-navigation .post-nav). */
.dad-projects .dad-projects__nav {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	margin: 2em 0 0;
	padding: 10.5px 8px;
	max-width: calc(4 * var(--dad-pl-cell) + 3 * var(--dad-pl-gap));
	line-height: 1.125;
}

.dad-projects .dad-projects__nav a {
	color: var(--dad-link, #00bbff);
	text-decoration: none;
}

.dad-projects .dad-projects__nav a:hover,
.dad-projects .dad-projects__nav a:focus-visible {
	opacity: 0.75;
}

.dad-projects .dad-projects__nav-next {
	text-align: right;
}

.dad-projects .dad-projects__chev {
	font-family: var(--h2_typography-font-family, var(--awb-typography1-font-family, serif));
	font-size: 2em;
	line-height: 0.5;
	vertical-align: -5%;
}

.dad-projects .dad-projects__none {
	padding: 10.5px 8px;
}

/* 3 columns available (old 720–959px): even rows start in the first column. */
@container (max-width: 958px) {
	.dad-projects .dad-project {
		grid-template-columns: repeat(3, var(--dad-pl-cell));
	}

	.dad-projects .dad-project--even .dad-project__summary {
		grid-column: 1;
	}

	.dad-projects .dad-project--even .dad-project__media {
		grid-column: 2 / span 2;
	}
}

/* Narrow (old: below 720px): image then text, full width. */
@container (max-width: 718px) {
	.dad-projects .dad-project {
		display: block;
		margin-bottom: 1.5em;
	}

	.dad-projects .dad-project__summary {
		padding-top: 0;
	}

	.dad-projects .dad-projects__nav {
		flex-direction: column;
	}

	.dad-projects .dad-projects__nav-next {
		text-align: left;
	}
}

/* ---------- White text boxes over the background grid lines ----------
 * Old theme: .cell-entry, .cell-excerpt, .cellize and .cell-title had background:#fff,
 * so the column lines stop behind text. The cell padding (10.5px 8px) stays outside
 * the white box, exactly as before.
 */
.dad-projects .dad-project__summary p,
.dad-projects .dad-project.no-image .dad-project__title,
.dad-block .dad-block-title,
.dad-connected .dad-connected__list,
.dad-partners .dad-partners__list,
.dad-post-header.no-image .dad-post-header__title {
	background: var(--dad-text-bg, #fff);
}

/*
 * Utility for Avada elements (e.g. the Content element on the Project layout):
 * add the CSS class "dad-text-box" to give the text the same white box.
 */
.dad-text-box,
.dad-text-box > .fusion-content-tb,
.dad-text-box > .fusion-text {
	background: var(--dad-text-bg, #fff);
}

/* ---------- Contributor List (old archive-cpt_contributor.php / .index-item) ----------
 * Old widths (239px columns + 1px gaps), old breakpoints 480 / 720 / 960 / 1200px:
 *   text  : colspan2-2 colspan3-2 colspan4-3 colspan5-3  -> 479 / 479 / 719 / 719
 *   image : colspan2-2 colspan3-1 colspan4-1 colspan5-2  -> 479 (below) / 239 / 239 / 479, max 300px
 */

.dad-contributors {
	--dad-link: #00bbff;
}

.dad-contributors a {
	text-decoration: none;
}

/* A–Z bar (old .contributors-chooser-list) */
.dad-contributors .dad-contributors__letters ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--dad-text-bg, #fff);
}

.dad-contributors .dad-contributors__letters li {
	margin: 0;
	padding: 0;
}

.dad-contributors .dad-contributors__letters a {
	display: inline-block;
	padding: 0 0.15em;
	color: #000;
	font-size: 2.5em;
	line-height: 1;
	text-transform: uppercase;
	transition: none;
}

.dad-contributors .dad-contributors__letters a:hover,
.dad-contributors .dad-contributors__letters a:focus-visible {
	color: #efff00;
	background: #000;
}

/* Filter by tag (old .tags-list in overwrites/custom.css) */
.dad-contributors .dad-contributors__tags-title {
	text-transform: none;
}

.dad-contributors .dad-tags,
.dad-tags {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0 0 0 30px;
	list-style: none;
}

.dad-tags li {
	display: inline-block;
	margin: 5px 10px;
	padding: 2px 10px;
	border: 1px solid grey;
	border-radius: 15px;
	background: #fff;
	font-size: 0.875em;
	line-height: 1.5;
}

.dad-tags li::before {
	content: none;
}

.dad-tags a {
	color: var(--dad-link, #00bbff);
	text-decoration: none;
}

.dad-tags a:hover,
.dad-tags a:focus-visible {
	opacity: 0.75;
}

/* Letter heading row (old .contributor-letter) */
.dad-contributors .dad-contributors__letter {
	display: flow-root;
	box-sizing: border-box;
	padding: 10.5px 8px 10.5px calc(8px + 0.328125em);
	margin: 1em 0 0;
	font-size: 0.875em;
	scroll-margin-top: var(--dad-anchor-offset, 100px);
}

.dad-contributors .dad-contributors__letter-label {
	float: left;
	color: #000;
	font-size: 2.5em;
	line-height: 1;
	text-transform: uppercase;
	background: var(--dad-text-bg, #fff);
}

.dad-contributors .dad-contributors__to-top {
	float: right;
	display: block;
	margin-right: 16px;
	color: var(--dad-link, #00bbff);
	background: var(--dad-text-bg, #fff);
}

/* One contributor (old .index-item) */
.dad-contributors .dad-contributor {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 1px;
}

.dad-contributors .dad-contributor__text,
.dad-contributors .dad-contributor__media {
	box-sizing: border-box;
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
	padding: 10.5px 8px;
	margin: 0;
}

.dad-contributors .dad-contributor .dad-contributor__title {
	margin: 1em 0 0;
	padding: 0;
	font-size: 1.875em;
	font-style: italic;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.125;
	text-transform: lowercase;
	background: var(--dad-text-bg, #fff);
}

.dad-contributors .dad-contributor .dad-contributor__title:is(p, div) {
	font-family: var(--h2_typography-font-family, var(--awb-typography1-font-family, serif));
}

.dad-contributors .dad-contributor__title a {
	color: inherit;
}

.dad-contributors .dad-contributor__title a:hover,
.dad-contributors .dad-contributor__title a:focus-visible {
	color: #00ff00;
}

.dad-contributors .dad-contributor__entry {
	background: var(--dad-text-bg, #fff);
}

.dad-contributors .dad-contributor__website {
	display: inline-block;
	color: var(--dad-link, #00bbff);
}

.dad-contributors .dad-contributor__entry p {
	margin: 0;
	font-size: 0.875em;
	line-height: 1.5;
}

.dad-contributors .dad-contributor__media a {
	display: block;
	max-width: 284px; /* old .index-item-img { max-width: 300px } minus padding */
}

.dad-contributors .dad-contributor__img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 560 / 375; /* Old 'project' crop: every image the same shape. */
	object-fit: cover;
	margin: 0;
}

/* Tag page header */
.dad-contributors .dad-contributors__term-title,
.dad-contributors .dad-contributors__return {
	background: var(--dad-text-bg, #fff);
}

.dad-contributors .dad-contributors__term-title {
	display: table; /* Own line, white box only as wide as the text. */
	margin: 0 0 0.25em;
	font-size: 2.875em;
	font-style: italic;
	font-weight: 400;
	text-transform: lowercase;
}

.dad-contributors .dad-contributors__return {
	display: table; /* Below the title, on its own line. */
	margin-bottom: 0.75em;
	color: var(--dad-link, #00bbff);
}


/* 480px+ : 2 columns */
@media screen and (min-width: 30em) {
	.dad-contributors .dad-contributors__letters,
	.dad-contributors .dad-contributors__letter,
	.dad-contributors .dad-contributor__text,
	.dad-contributors .dad-contributor__media {
		flex-basis: 479px;
		width: 479px;
		max-width: 100%;
	}
}

/* 720px+ : 3 columns */
@media screen and (min-width: 45em) {
	.dad-contributors .dad-contributor .dad-contributor__title {
		margin-top: 0;
	}

	.dad-contributors .dad-contributor__media {
		flex-basis: 239px;
		width: 239px;
	}

	.dad-contributors .dad-contributor {
		margin-bottom: 1em;
	}
}

/* 960px+ : 4 columns */
@media screen and (min-width: 60em) {
	.dad-contributors .dad-contributor__text,
	.dad-contributors .dad-contributors__letter {
		flex-basis: 719px;
		width: 719px;
	}

	.dad-contributors .dad-contributor__entry {
		margin-right: 72px;
	}

	.dad-contributors .dad-contributors__to-top {
		margin-right: 72px;
	}
}

/* 1200px+ : 5 columns */
@media screen and (min-width: 75em) {
	.dad-contributors .dad-contributor__media {
		flex-basis: 479px;
		width: 479px;
	}

	.dad-contributors .dad-contributor__entry,
	.dad-contributors .dad-contributors__to-top {
		margin-right: 152px;
	}
}

/* ---------- Shared double chevron (as the live site's More Updates / Back) ---------- */
.dad-chev-wrap {
	display: inline-flex;
	vertical-align: middle;
}

.dad-chev {
	width: 1em;
	height: 1.1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 3.5;
}

.dad-chev-wrap--back .dad-chev {
	transform: scaleX(-1);
}

/* ---------- Post Navigation (old .post-navigation / cpt_pagination) ---------- */
.dad-post-nav {
	margin-top: 2em;
}

.dad-post-nav .dad-post-nav__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1em 0;
	margin-top: 0.75em;
	line-height: 1.125;
}

.dad-post-nav .dad-post-nav__prev,
.dad-post-nav .dad-post-nav__next {
	flex: 1 1 100%;
}

.dad-post-nav a {
	color: var(--dad-link, #00bbff);
	text-decoration: none;
	background: var(--dad-text-bg, #fff);
}

.dad-post-nav a:hover,
.dad-post-nav a:focus-visible {
	opacity: 0.75;
}

@media screen and (min-width: 30em) {
	.dad-post-nav .dad-post-nav__prev,
	.dad-post-nav .dad-post-nav__next {
		flex-basis: 50%;
	}

	.dad-post-nav .dad-post-nav__next {
		text-align: right;
	}
}

/* ---------- Back Link (old back-button.php / .ajax-load-more) ---------- */
.dad-back .dad-back__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	color: var(--dad-link, #00bbff);
	text-decoration: none;
	background: var(--dad-text-bg, #fff);
}

.dad-back .dad-back__link .dad-chev {
	width: 1.75em;
	height: 1.9em;
}

.dad-back .dad-back__link:hover,
.dad-back .dad-back__link:focus-visible {
	opacity: 0.75;
}

/* ---------- Term List ("Tags") ---------- */
.dad-terms .dad-terms__list {
	margin: 8px 0 0;
	font-size: 0.875em;
	line-height: 1.5;
	background: var(--dad-text-bg, #fff);
}

.dad-terms .dad-terms__list a {
	color: var(--dad-link, #00bbff);
	text-decoration: none;
}

/* ---------- Press Releases (old page-press-releases.php / .press-release) ----------
 * Same as the old theme: 479px cells (colspan2-2 … colspan5-2) floated left with a
 * 1px gap (old .col), so each release moves up into whichever side has room
 * (no row gaps). Full width under 480px.
 */
.dad-press-releases {
	display: flow-root; /* contain the floats */
}

.dad-press-releases .dad-press-release {
	width: 100%;
}

@media screen and (min-width: 30em) {
	.dad-press-releases .dad-press-release {
		float: left;
		width: 479px;
		max-width: 100%;
		margin-right: 1px;
	}
}

.dad-press-releases .dad-press-release {
	box-sizing: border-box;
	padding: 10.5px 8px;
	overflow: hidden;
}

.dad-press-releases .dad-press-release__entry {
	background: var(--dad-text-bg, #fff);
}

.dad-press-releases .dad-press-release__date {
	margin: 0;
	font-size: 0.875em;
	font-weight: 700;
	line-height: 1.5;
}

.dad-press-releases .dad-press-release .dad-press-release__title {
	margin: 0;
	padding: 0;
	color: #000;
	font-size: 1.875em;
	font-style: italic;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 1.5;
	text-transform: lowercase;
}

.dad-press-releases .dad-press-release__title:is(p, div) {
	font-family: var(--h2_typography-font-family, var(--awb-typography1-font-family, serif));
}

.dad-press-releases .dad-press-release__content p,
.dad-press-releases .dad-press-release__pdf {
	margin: 0 0 1.5em;
	font-size: 0.875em;
	line-height: 1.5;
}

.dad-press-releases .dad-press-release__content > :last-child {
	margin-bottom: 1.5em;
}

.dad-press-releases .dad-press-release__content p:last-child {
	margin-bottom: 1.5em;
}

.dad-press-releases .dad-press-release__pdf {
	margin-bottom: 0;
}

.dad-press-releases a {
	color: var(--dad-link, #00bbff);
	text-decoration: none;
}

.dad-press-releases a:hover,
.dad-press-releases a:focus-visible {
	opacity: 0.75;
}

/* ---------- Search results (old search.php / parts/content-search.php / .index-item) ----------
 * Place in a column with "dad-page"-like width (colspan2-2 colspan3-2 colspan4-3 colspan5-3).
 * Title and excerpt sit on white (old .cell-title / .cell-entry); the cell padding stays outside.
 */
.dad-search {
	color: #000;
}

.dad-search .dad-search__header,
.dad-search .dad-search__item,
.dad-search .dad-search__nav {
	padding: 10.5px 8px;
	margin: 0 0 1em;
}

.dad-search .dad-search__heading {
	margin: 0;
	padding: 0;
	font-family: var(--h1_typography-font-family, var(--awb-typography1-font-family, serif));
	font-style: italic;
	font-weight: 400;
	line-height: 1.125;
	letter-spacing: 0;
	text-transform: lowercase;
	color: #000;
}

.dad-search .dad-search__title {
	display: table;
	margin: 0;
	padding: 0;
	background: var(--dad-text-bg, #fff);
	font-family: var(--h2_typography-font-family, var(--awb-typography1-font-family, serif));
	font-size: 1.875em;
	font-style: italic;
	font-weight: 400;
	line-height: 1.125;
	letter-spacing: 0;
	text-transform: lowercase;
	color: #000;
}

.dad-search .dad-search__title a {
	color: #000;
	text-decoration: none;
	transition: color 0.3s;
}

.dad-search .dad-search__title a:hover,
.dad-search .dad-search__title a:focus-visible {
	color: rgb(0, 255, 0);
}

.dad-search .dad-search__type {
	margin-left: 10px;
	font-family: var(--body_typography-font-family, Helvetica, Arial, sans-serif);
	font-size: 14px;
}

.dad-search .dad-search__entry {
	background: var(--dad-text-bg, #fff);
}

.dad-search .dad-search__entry p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #000;
}

.dad-search .dad-search__term {
	background: #66d6ff; /* old .search-term: lighten(#00bbff, 20%) */
}

.dad-search .dad-search__nav {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	line-height: 1.125;
}

.dad-search .dad-search__nav a {
	color: var(--dad-link, #00bbff);
	text-decoration: none;
}

.dad-search .dad-search__nav a:hover,
.dad-search .dad-search__nav a:focus-visible {
	opacity: 0.75;
}

.dad-search .dad-search__nav-next {
	text-align: right;
}

.dad-search .dad-search__chev {
	font-family: var(--h2_typography-font-family, var(--awb-typography1-font-family, serif));
	font-size: 2em;
	line-height: 0.5;
	vertical-align: -5%;
}

@media screen and (max-width: 44.9375em) {
	.dad-search .dad-search__item {
		margin-bottom: 0;
	}

	.dad-search .dad-search__title {
		margin-top: 1em;
	}
}

/* Old .index-item .cell-entry: off-grid right margin from 960px. */
@media screen and (min-width: 60em) {
	.dad-search .dad-search__entry {
		margin-right: 72px;
	}
}

@media screen and (min-width: 75em) {
	.dad-search .dad-search__entry {
		margin-right: 152px;
	}
}
