/* The footer's and the pages' editors (templates/admin/footer/, templates/admin/pages/): their previews. */

.eb-footer-photo {
	aspect-ratio: 5 / 1;
	border-radius: 0.5rem;
	object-fit: cover;
	object-position: bottom;
	width: 100%;
}

.eb-footer-words {
	display: grid;
	gap: 0.875rem;
}

.eb-footer-words dt,
.eb-footer-last {
	color: var(--color-base-500);
	font-size: 0.8125rem;
}

.eb-footer-words dd {
	color: var(--color-base-900);
}

.eb-footer-columns {
	display: grid;
	gap: 1.5rem 2rem;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}

.eb-footer-columns h3 {
	color: var(--color-base-900);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.eb-footer-columns li,
.eb-footer-social li {
	padding: 0.1875rem 0;
}

.eb-footer-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.eb-footer-logos img {
	height: 3rem;
	object-fit: contain;
	width: 3rem;
}

.eb-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1.5rem;
}

.dark .eb-footer-words dd,
.dark .eb-footer-columns h3 {
	color: var(--color-base-100);
}

/* A page's editor (templates/admin/pages/): its title, its sections' photos and buttons, its lists, and what
   search results show. */

/* The page's title part: its heading at the page title's size, above every section. */
#hero .eb-trip-section-head h2 {
	font-size: 1.75rem;
}

/* While the page's title or one of its sections is edited, its Title box is the title: the heading steps aside,
   so it is not there twice. */
[data-title-field].eb-trip-section-editing .eb-trip-section-head h2 {
	visibility: hidden;
}

.eb-page-photo {
	border-radius: 0.5rem;
	float: right;
	height: 9rem;
	margin: 0 0 1rem 1.5rem;
	object-fit: cover;
	width: 9rem;
}

.eb-page-photo-wide {
	border-radius: 0.5rem;
	height: 16rem;
	margin-bottom: 1.25rem;
	object-fit: cover;
	width: 100%;
}

.eb-page-button {
	background: var(--color-primary-600);
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: 0.875rem;
	margin-top: 0.75rem;
	padding: 0.375rem 1rem;
}

.eb-page-list-name {
	clear: both;
	color: var(--color-base-500);
	font-size: 0.8125rem;
	font-weight: 600;
	margin: 1.25rem 0 0.5rem;
}

.eb-page-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.eb-page-list li {
	align-items: center;
	background: var(--color-base-50);
	border-radius: 0.5rem;
	display: inline-flex;
	gap: 0.5rem;
	padding: 0.375rem 0.75rem;
}

.eb-page-list-pictures img {
	border-radius: 0.25rem;
	height: 2.25rem;
	object-fit: contain;
	width: 2.25rem;
}

.eb-page-search {
	display: flex;
	gap: 1rem;
}

.eb-page-search img {
	border-radius: 0.375rem;
	height: 4.5rem;
	object-fit: cover;
	width: 8rem;
}

.eb-page-search-title {
	color: var(--color-primary-700);
	font-weight: 600;
}

.dark .eb-page-list li {
	background: var(--color-base-800);
}

.eb-page-search .eb-hint {
	margin-top: 0.5rem;
}

/* The trip page's price box (content/admin/trip_page.py): its two buttons, and the trust badges with their ticks. */
.eb-price-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0 0.75rem;
}

.eb-price-buttons span {
	border: 1px solid var(--site-navy);
	border-radius: 9999px;
	font-weight: 600;
	padding: 0.5rem 1.25rem;
}

.eb-price-buttons span:first-child {
	background: var(--site-navy);
	color: #fff;
}

.eb-price-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin-bottom: 1rem;
}

.eb-price-badges li::before {
	color: var(--site-forest);
	content: "\2713\00a0";
	font-weight: 700;
}

/* The header's WhatsApp button (content/admin/header.py): its small label over the phone number. */
.eb-header-button {
	width: fit-content;
	border: 1px solid var(--site-line);
	border-radius: 9999px;
	display: inline-grid;
	gap: 0.125rem;
	padding: 0.5rem 1.25rem;
}

.eb-header-button small {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
