/*
Theme Name: Elite Dive & Travel
Theme URI: https://example.com/elite-dive-travel
Author: Elite Dive & Travel
Description: A clean, premium block theme for a scuba school and dive-travel company. Includes Home, Courses, Trips and About/Book page designs.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elite-dive-travel
*/

/* Small refinements theme.json can't express */
html { scroll-behavior: smooth; }

.edt-eyebrow {
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.edt-card {
	transition: transform .25s ease, box-shadow .25s ease;
}
.edt-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px -18px rgba(11, 42, 60, .35);
}

.edt-card .wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.edt-hero-img img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.edt-stat strong {
	display: block;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 500;
	line-height: 1;
	color: var(--wp--preset--color--gold);
}

.edt-tag {
	display: inline-block;
	padding: .25em .8em;
	border-radius: 99px;
	background: var(--wp--preset--color--mist);
	color: var(--wp--preset--color--deep);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.edt-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
}
.admin-bar .edt-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .edt-site-header { top: 46px; } }

.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--wp--preset--color--abyss);
}

@media (max-width: 781px) {
	.edt-hero-img { display: none; }
}

.edt-card .has-display-font-family { white-space: nowrap; margin: 0; }
.edt-card .wp-block-button__link { white-space: nowrap; }
.wp-block-column.edt-card { display: flex; flex-direction: column; }
.edt-card > .wp-block-group { flex: 1; display: flex; flex-direction: column; }
.edt-card > .wp-block-group > .wp-block-group:last-child { margin-top: auto !important; padding-top: var(--wp--preset--spacing--30); }
.wp-block-site-title a { text-decoration: none; }
.wp-site-blocks > footer.wp-block-template-part,
.wp-site-blocks > main + * { margin-block-start: 0; }
.wp-block-details {
	border-bottom: 1px solid #0b2a3c1f;
	padding: 1.1rem 0;
	margin: 0 !important;
}
.wp-block-details summary { font-size: 1.0625rem; }
.wp-block-details > p { margin-top: .75rem; }
.edt-plain-list { list-style: none; padding-left: 0; }
