.deb-gallery { padding:60px 0 80px; background:var(--deb-cream) url('../../assets/images/single-trails.svg') center top / 2150px auto no-repeat; scroll-margin-top:150px; }
.deb-gallery h2 { margin:0 0 30px; font-size:30px; line-height:30px; }
.deb-gallery__tabs { display:flex; flex-wrap:wrap; gap:12px 20px; padding:0 0 16px; border-bottom:1px solid #c5c5c5; margin-bottom:30px; }
.deb-gallery__tabs button { padding:6px 16px; border:0; border-radius:8px; background:transparent; color:var(--deb-ink); font-size:20px; line-height:24px; }
.deb-gallery__tabs button[aria-selected="true"] { background:var(--deb-green-dark); color:#fff; font-weight:700; }
.deb-gallery__tabs button:hover { background:var(--deb-green); color:#fff; }
.deb-gallery .deb-gallery__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; margin:0; padding:0; list-style:none; }
.deb-gallery__grid > li { min-width:0; }
.deb-gallery__media-group + .deb-gallery__media-group { margin-top:40px; }
.deb-gallery .deb-gallery__parking-title, .deb-gallery .deb-gallery__mountain-title { margin:0 0 16px; font-size:24px; line-height:30px; color:var(--deb-ink); }
.deb-gallery__parking-title a, .deb-gallery__mountain-title a { color:inherit; text-decoration:underline; text-underline-offset:4px; }
.deb-gallery__parking-title a:hover, .deb-gallery__parking-title a:focus-visible, .deb-gallery__mountain-title a:hover, .deb-gallery__mountain-title a:focus-visible { color:var(--deb-green); }
.deb-gallery .deb-single-media__tile { aspect-ratio:1.51; min-height:0; }
.deb-gallery .deb-single-media__tile > img:not(.deb-single-media__play) { position:absolute; inset:0; max-height:none; }
.deb-gallery__heading { margin:0; font-family:inherit; }
.deb-gallery__heading button { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:14px 0; border:0; border-top:1px solid #c5c5c5; border-bottom:1px solid #c5c5c5; background:transparent; color:var(--deb-ink); text-align:left; }
.deb-gallery__heading button:disabled { cursor:default; }
.deb-gallery__heading span { padding:4px 16px; margin-left:-16px; border-radius:8px; font-size:22px; font-weight:400; line-height:28px; }
.deb-gallery__heading button[aria-expanded="true"] span { margin-left:0; background:var(--deb-green-dark); color:#fff; font-size:20px; font-weight:700; }
.deb-gallery__heading button:hover span { background:var(--deb-green); color:#fff; }
.deb-gallery .deb-gallery__toggle-icon { flex:none; width:30px; height:30px; object-fit:contain; transform:rotate(180deg); transition:transform .2s ease; }
.deb-gallery__heading button[aria-expanded="true"] .deb-gallery__toggle-icon { transform:rotate(0); }
.deb-gallery__panel { margin:18px 0 20px; }
.deb-gallery.is-ready .deb-gallery__panel { margin:0; }
@media (min-width:768px) {
	.deb-gallery.is-ready .deb-gallery__heading { display:none; }
}
@media (max-width:767px) {
	.deb-gallery { padding:50px 0 36px; background:#fff; scroll-margin-top:100px; }
	.deb-gallery h2 { max-width:235px; margin:0 auto 24px; text-align:center; }
	.deb-gallery .deb-gallery__grid { grid-template-columns:1fr; gap:20px; }
	.deb-gallery__media-group + .deb-gallery__media-group { margin-top:32px; }
	.deb-gallery .deb-gallery__parking-title, .deb-gallery .deb-gallery__mountain-title { font-size:22px; line-height:28px; }
	.deb-gallery.is-ready .deb-gallery__panel { margin:18px 0 20px; }
	.deb-gallery__heading button { min-height:60px; scroll-margin-top:100px; }
	.deb-gallery__group + .deb-gallery__group .deb-gallery__heading button { border-top:0; }
}
