/* Project and WordPress styles. */

.bg-\[linear-gradient\(to_left\,\#f19590_0\%\,\#fff_60\%\)\] {
	background-image: linear-gradient(to left, #f19590 0%, #fff 60%);
}

.dp-breadcrumbs > span {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.dp-breadcrumbs a,
.dp-breadcrumbs .breadcrumb_last {
	padding: 0 0.125rem;
	font-size: 10px;
	line-height: 1rem;
}

.dp-breadcrumbs a {
	color: #666c6c;
	font-weight: 500;
}

.dp-breadcrumbs a:hover {
	color: #4b4e4e;
}

.dp-breadcrumbs .breadcrumb_last {
	color: #1c2525;
	font-weight: 600;
}

.dp-breadcrumbs__separator {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.dp-breadcrumbs a,
	.dp-breadcrumbs .breadcrumb_last {
		font-size: 0.75rem;
	}
}

.dp-page-content {
	color: #666c6c;
}

.dp-page-content > * + * {
	margin-top: 0.75rem;
}

.dp-page-content h2,
.dp-page-content h3,
.dp-page-content h4 {
	color: #1c2525;
	font-weight: 600;
	line-height: 1.35;
}

.dp-page-content h2 {
	margin-top: 1.5rem;
	font-size: 1.125rem;
}

.dp-page-content h3 {
	margin-top: 1.5rem;
	font-size: 1.125rem;
}

.dp-page-content p,
.dp-page-content li {
	line-height: 1.75;
}

.dp-page-content ul,
.dp-page-content ol {
	padding-left: 1.25rem;
}

.dp-page-content ul {
	list-style: disc;
}

.dp-page-content ol {
	list-style: decimal;
}

.dp-page-content a {
	color: #299493;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dp-page-content img {
	max-width: 100%;
	height: auto;
	border-radius: 1rem;
}

.dp-page-content blockquote {
	padding: 1rem 1.25rem;
	border-left: 3px solid #299493;
	border-radius: 0 0.75rem 0.75rem 0;
	background: #fbfcfc;
}

.dp-page-content table {
	width: 100%;
	border-collapse: collapse;
}

.dp-page-content th,
.dp-page-content td {
	padding: 0.75rem;
	border: 1px solid #e9e9e9;
	text-align: left;
}

@media (min-width: 768px) {
	.dp-page-content h2 {
		font-size: 1.5rem;
	}

	.dp-page-content h3 {
		font-size: 1.5rem;
	}
}

.dp-jumble__title-link {
	color: inherit;
	text-decoration: underline;
}

.dp-jumble__title-link:hover {
	text-decoration: underline;
}

@media screen and (min-width: 783px) {
	body.admin-bar main {
		margin-top: -32px;
	}

	body.admin-bar .dp-page-toc {
		top: 32px;
	}

	body.admin-bar .dp-home__section,
	body.admin-bar #answer,
	body.admin-bar #hints,
	body.admin-bar #related-clues,
	body.admin-bar #faq,
	body.admin-bar #popular,
	body.admin-bar #contexto,
	body.admin-bar #other-games {
		scroll-margin-top: calc(6rem + 32px);
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar main {
		margin-top: -46px;
	}

	/*
	body.admin-bar .dp-site-nav__app-card {
		position: relative;
		z-index: 51;
	}
	*/

	body.admin-bar .dp-page-toc {
		top: 46px;
	}

	body.admin-bar .dp-home__section,
	body.admin-bar #answer,
	body.admin-bar #hints,
	body.admin-bar #related-clues,
	body.admin-bar #faq,
	body.admin-bar #popular,
	body.admin-bar #contexto,
	body.admin-bar #other-games {
		scroll-margin-top: calc(6rem + 46px);
	}
}

.dp-brain-test-hero__submit:disabled {
	cursor: wait;
	opacity: 0.65;
}

.dp-brain-test-hero__error {
	width: 100%;
	margin-top: 0.5rem;
	color: #c43131;
	font-size: 0.75rem;
	font-weight: 500;
	text-align: center;
}

.dp-brain-test-hero__form [aria-invalid="true"] {
	border-color: #c43131;
	box-shadow: 0 0 0 3px rgba(196, 49, 49, 0.12);
}

.dp-brain-test-levels__empty {
	grid-column: 1 / -1;
}

@media (min-width: 768px) {
	.dp-brain-test-hero__error {
		max-width: 360px;
		text-align: left;
	}
}

@media (min-width: 1080px) {
	.dp-brain-test-hero__form--single {
		grid-template-columns: minmax(260px, max-content) max-content;
	}
}

.dp-word-solver-result__tile,
.dp-word-solver-words__card {
	background-color: var(--dp-word-solver-accent, #4da6a5);
}

.dp-word-solver-result__badge {
	border-color: var(--dp-word-solver-accent, #4da6a5);
	background-color: var(--dp-word-solver-accent-soft, #eaf4f4);
	color: var(--dp-word-solver-accent, #4da6a5);
}

/* Front-end compatibility fixes. */

.dp-site-nav__group-items--wide {
	grid-template-rows: none;
	grid-auto-flow: row;
}

.dp-brain-test-level__images-single {
	max-width: 400px;
	margin: 1rem auto 0;
}

.dp-brain-test-level__video iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.dp-search-results__clue-solver {
	max-width: none;
	margin-top: 0;
	margin-bottom: 2rem;
}

.dp-description__text--wp-content,
.dp-content-card__body {
	white-space: normal;
}

.dp-crossword .dp-crossword__clue-dir-list--gridless:not(.dp-is-hidden) {
	grid-template-columns: 1fr;
}

.dp-crossword .dp-crossword__clue-text:not(a),
.dp-crossword .dp-crossword__clue-text:not(a):hover {
	color: var(--black-cell);
	cursor: pointer;
	text-decoration: none;
}

.dp-crossword details.dp-crossword__clue-item[open] {
	border-color: var(--green-mid);
	box-shadow: 0 2px 8px #3b82f62e;
}

.dp-crossword details.dp-crossword__clue-item[open] > .dp-crossword__clue-header {
	background: var(--green-highlight);
	border-left-color: var(--green-select);
}

.dp-crossword details.dp-crossword__clue-item[open] .dp-crossword__clue-chevron {
	transform: rotate(180deg);
}

.dp-crossword details.dp-crossword__clue-item[open] > .dp-crossword__clue-body {
	background: #fafcff;
	border-top: 1px solid var(--green-mid);
	display: flex;
	flex-flow: column wrap;
	gap: 8px;
	padding: 8px 14px 12px;
}

.dp-search-results__item-title {
	overflow-wrap: anywhere;
}

.dp-search-results__item-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}

.dp-search-results__item-date {
	color: var(--subtitle);
	font-size: 0.75rem;
}

.dp-search-results__pagination {
	max-width: 100%;
	flex-wrap: wrap;
}

.dp-search-results__page,
.dp-search-results__page-prev,
.dp-search-results__page-next {
	flex-shrink: 0;
}

.dp-search-results__page {
	width: auto;
	min-width: 2.5rem;
	padding-inline: 0.625rem;
}

.dp-search-results__page-next {
	color: var(--title);
	background: #fff;
	border: 1px solid #e9e9e9;
	font-weight: 500;
}

.dp-search-results__page-ellipsis {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	color: var(--subtitle);
	font-size: 0.875rem;
}

.dp-clue-answer__word {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

@media (min-width: 768px) {
	.dp-clue-answer__word {
		gap: 0.75rem;
	}
}

.dp-clue-answer__word--static {
	gap: 6px;
}

@media (max-width: 640px) {
	.dp-clue-answer__word--static {
		gap: 4px;
	}
}

.dp-clue-hero__meta-separator {
	display: none;
}

@media (min-width: 768px) {
	.dp-clue-hero__meta-separator {
		display: inline;
	}
}


.dp-author + .dp-search-results {
	margin-top: 1.25rem;
}

.dp-brain-test-level__level-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (min-width: 1024px) {
	.dp-four-pics-one-word .dp-four-pics-one-word__picture-panel {
		background: transparent;
	}
}

.dp-four-pics-one-word__columns--no-picture .dp-four-pics-one-word__picture-column {
	display: none;
}

.dp-four-pics-one-word__columns--no-picture .dp-four-pics-one-word__board-column {
	flex-basis: 100%;
}

.dp-brain-test-card--no-image {
	height: auto;
}

.dp-brain-test-search__card--no-image .dp-brain-test-search__card-caption {
	position: static;
	border-bottom: 0;
}

.dp-brain-test-card__actions--single {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
	.dp-word-brain-events__parts--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.dp-level-list-card {
	padding: 1.25rem 1rem;
}

.dp-level-list__head-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.dp-level-list__title {
	color: var(--title);
	font-size: 1.5rem;
	font-weight: 600;
}

.dp-level-list__curl {
	display: none;
	width: 3.75rem;
	margin-top: 0.25rem;
	flex-shrink: 0;
}

.dp-level-list__head {
	display: none;
}

.dp-level-list__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.dp-level-list__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	border: 1px solid var(--theme-border);
	border-radius: 10px;
	overflow: hidden;
}

.dp-level-list__cell {
	display: flex;
	min-width: 0;
	padding: 12px 14px;
}

.dp-level-list__cell--level {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	background: #eaf4f4;
	border-left: 4px solid #4da6a5;
}

.dp-level-list__cell--answer {
	align-items: center;
}

.dp-level-list__level {
	color: var(--title);
	font-size: 15px;
	font-weight: 600;
}

.dp-level-list__question,
.dp-level-list__value {
	min-width: 0;
	color: var(--title);
	overflow-wrap: anywhere;
	font-size: 13px;
	font-weight: 400;
}

.dp-level-list__question {
	color: var(--subtitle);
}

@media (min-width: 768px) {
	.dp-level-list-card {
		padding: 2rem;
	}

	.dp-level-list__title {
		font-size: 2.25rem;
	}

	.dp-level-list__curl {
		display: block;
	}

	.dp-level-list__head {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 12px;
		margin-top: 20px;
	}

	.dp-level-list__heading {
		padding: 12px 16px;
		color: #fff;
		text-align: center;
		background: #4da6a5;
		border-radius: 10px;
		font-size: 14px;
		font-weight: 500;
	}

	.dp-level-list__item {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 12px;
		border: 0;
		border-radius: 0;
		overflow: visible;
	}

	.dp-level-list__cell {
		justify-content: center;
		padding: 12px 16px;
		text-align: center;
		background: transparent;
		border: 1px solid var(--theme-border);
		border-radius: 10px;
	}

	.dp-level-list__cell--level {
		align-items: center;
		border-left: 1px solid var(--theme-border);
	}

	.dp-level-list__level,
	.dp-level-list__question,
	.dp-level-list__value {
		font-size: 14px;
	}
}

@media (min-width: 1280px) {
	.dp-level-list__curl {
		width: 4.5rem;
	}
}

@media (min-width: 768px) {
	.dp-crossword-daily-answer__clue-row {
		padding-block: 12px;
	}
}

/* Preserve custom page/level hero image sizing outside game templates. */
.dp-page-hero__image {
	height: auto;
	width: 70px;
}

.dp-page-hero__image--level {
	width: 75px;
}

@media (min-width: 768px) {
	.dp-page-hero__image {
		height: 100px;
		width: 110px;
	}

	.dp-page-hero__image--level {
		height: 90px;
		width: 140px;
	}
}

/* Use one consistent scale for shared game icons in More Games. */
.dp-more-games__icon {
	object-fit: contain;
	background: transparent;
	border: 0;
	border-radius: 0;
	width: 30px;
	height: 30px;
	padding: 0;
}

/* Keep FAQ accordion styling when questions use semantic heading tags. */
.dp-faq__item-heading {
	margin: 0;
}

.dp-faq__item:hover > .dp-faq__item-heading > .dp-faq__item-header {
	background: #f8faff;
}

.dp-faq__item.dp-is-open > .dp-faq__item-heading > .dp-faq__item-header {
	background: var(--green-highlight);
	border-left-color: var(--green-select);
}

/* Let author bios use the full profile width and keep inline links visible. */
.dp-author__bio {
	width: 100%;
	max-width: none;
}

.dp-author__bio a {
	color: #299493;
	text-decoration: underline;
	text-underline-offset: 2px;
}
