/*
 * What each section of the trip editor holds, drawn like the trip page (templates/admin/trip/preview), after
 * admin-trip.css. The trip page's navy and blue, so the two read alike. The price box and the trip info
 * sections' parts are in admin-trip-info.css.
 */
.eb-trip {
	--site-navy: #0f2a44;
	--site-blue: #1f6fa8;
	--site-line: #e5e7eb;
	--site-tint: #f3f6f9;
	--site-forest: #3f8d3e;
}

.eb-trip-preview {
	color: #374151;
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	gap: 1rem;
	line-height: 1.65;
}

.eb-trip-lede {
	color: #4b5563;
	margin-top: -0.5rem;
}

.eb-trip-text p + p {
	margin-top: 0.75rem;
}

.eb-trip-empty,
.eb-trip-muted {
	color: var(--color-base-500);
}

.eb-trip-note {
	background: #fff7e6;
	border-left: 4px solid #e08a1e;
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
}

/* The key facts panel: an icon, the label, and the value under it. */
.eb-trip-facts {
	border: 1px solid var(--site-line);
	border-radius: 0.5rem;
	display: grid;
	gap: 1.5rem 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	padding: 1.5rem 1.75rem;
}

.eb-trip-facts > div {
	align-items: center;
	display: flex;
	gap: 0.75rem;
}

.eb-trip-facts .eb-icon {
	color: var(--site-navy);
	height: 30px;
	width: 30px;
}

.eb-trip-facts dt {
	color: #4b5563;
	font-size: 0.875rem;
}

.eb-trip-facts dd {
	color: var(--site-navy);
	font-weight: 600;
}

.eb-site-subhead {
	color: var(--site-blue);
	font-size: 1.25rem;
	font-weight: 500;
	margin-top: 0.5rem;
}

.eb-site-h3 {
	color: var(--site-navy);
	font-size: 1.25rem;
	font-weight: 600;
	margin-top: 1.5rem;
}

.eb-trip-bullets ul {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	list-style: disc;
	padding-left: 1.25rem;
}

.eb-trip-two {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* What's included: a heading per group, a tick or a cross per line. */
.eb-site-group {
	color: var(--site-navy);
	font-weight: 600;
	margin-top: 0.5rem;
}

.eb-site-lines {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.eb-site-lines li {
	display: flex;
	gap: 0.625rem;
}

.eb-site-yes {
	color: #15803d;
}

.eb-site-no {
	color: #b91c1c;
}

/* The FAQs: each question opening to its answer. */
.eb-site-faq {
	border-bottom: 1px solid var(--site-line);
}

.eb-site-faq summary {
	align-items: center;
	color: var(--site-navy);
	cursor: pointer;
	display: flex;
	font-weight: 500;
	justify-content: space-between;
	list-style: none;
	padding: 0.875rem 0;
}

.eb-site-faq summary::-webkit-details-marker {
	display: none;
}

.eb-site-faq .eb-trip-text {
	padding-bottom: 1rem;
}

.eb-trip-table {
	border-collapse: collapse;
	width: 100%;
}

.eb-trip-table th,
.eb-trip-table td {
	border-bottom: 1px solid var(--site-line);
	padding: 0.625rem 0.75rem 0.625rem 0;
	text-align: left;
}

.eb-trip-table th {
	color: #4b5563;
	font-size: 0.875rem;
	font-weight: 500;
}

.dark .eb-trip-preview {
	color: var(--color-base-300);
}

/* A section of writing (preview/written.html): its small headings as the trip page draws them, and its lists. */
.eb-written h3 {
	color: var(--site-blue);
	font-size: 1.125rem;
	font-weight: 500;
}

.eb-written > h3:not(:first-child) {
	margin-top: 1.5rem;
}

.eb-written > * + * {
	margin-top: 0.5rem;
}

.eb-written ul {
	list-style: disc;
	padding-left: 1.25rem;
}

.eb-written li + li {
	margin-top: 0.3rem;
}

.eb-written strong {
	color: var(--site-navy);
	font-weight: 600;
}

/* What's included: a tick before each line it covers, a cross before each it does not. */
.eb-lines-in ul,
.eb-lines-out ul {
	list-style: none;
	padding-left: 0;
}

.eb-lines-in li::before,
.eb-lines-out li::before {
	font-family: "Material Symbols Outlined";
	font-size: 1.125rem;
	margin-right: 0.5rem;
	vertical-align: -0.2rem;
}

.eb-lines-in li::before {
	color: #15803d;
	content: "check_circle";
}

.eb-lines-out li::before {
	color: #b91c1c;
	content: "cancel";
}
