/* Every page except the homepage */

/* Page titles */
.phead { --fl: #fff; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; padding-block: clamp(2.750rem, 6vw, 5rem); overflow: hidden; background: var(--night); color: #fff; isolation: isolate; } .phead h1 { max-width: 20ch; color: #fff; font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.1; animation: inUp .9s var(--ease) both; } .phead p { max-width: 40rem; margin-top: 1rem; color: #e3edf4; font-size: 1.25rem; animation: inUp .9s .12s var(--ease) both; } .phead .search { margin-top: 1.75rem; animation: inUp .9s .24s var(--ease) both; } .search-l { max-width: 680px; }
.phead .floaters span:nth-child(1) { left: auto; right: 44%; top: 40%; } .phead-b { min-height: 400px; } .phead > .ph { position: absolute; inset: 0; z-index: -2; } .phead > .ph img { animation: settle 8s var(--ease) both; } .phead > .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 20 34 / .93), rgb(8 20 34 / .45)); } @keyframes settle { from { transform: scale(1.1); } }
.pbody { padding-block: clamp(2.500rem, 5vw, 4.500rem) var(--sp); } .pbody > .story { max-width: 820px; } .pbody-toc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; } .pbody-toc .toc { position: sticky; top: 100px; }
.pages .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; } .page-numbers, .post-page-numbers { display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; padding: 0 1rem; border-radius: 9px; background: var(--sky); font-weight: 650; text-decoration: none; } .page-numbers.current, .post-page-numbers.current { background: var(--night); color: #fff; }

/* Blog page */
.browse { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 4rem); align-items: start; padding-block: clamp(2rem, 4vw, 3.500rem) var(--sp); } .filters { position: sticky; top: 96px; padding: 1.4rem; border-radius: 18px; background: var(--sky); } .filters summary { display: none; } .filters fieldset { margin: 0; padding: 0; border: 0; } .filters fieldset + fieldset { margin-top: 1.500rem; } .filters legend { margin-bottom: .6rem; padding: 0; color: var(--night); font: 700 1.1875rem/1.3 var(--d); }
.filters label { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 46px; padding: .3rem .8rem; border-radius: 9px; cursor: pointer; transition: background-color .2s; } .filters label:hover { background: #fff; } .filters label span { flex: 1; } .filters em { color: var(--soft); font-style: normal; } .filters input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--t, var(--night)); } .filters label:has(:checked) { background: #fff; font-weight: 700; } .js .filters-go { display: none; } .filters-go { width: 100%; margin-top: 1.25rem; }
.found { min-width: 0; transition: opacity .2s; } .found.busy { opacity: .45; } .found-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.500rem; } .found-h > p { color: var(--night); font: 700 1.375rem/1.3 var(--d); } .found-t { display: flex; align-items: center; gap: .75rem; } .found-t label { white-space: nowrap; } .found-t select { min-height: 48px; padding: 0 .9rem; border: 2px solid var(--line); border-radius: 9px; background: #fff; font-weight: 600; } .layout { display: flex; gap: .3rem; } .layout [aria-pressed="true"] { background: var(--night); color: #fff; }
.chosen { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.600rem; padding: 0; list-style: none; } .chosen a { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: .3rem .9rem; border-radius: 9px; background: var(--butter); color: var(--night); font-weight: 650; text-decoration: none; } .chosen a:hover { background: var(--taxi); } .chosen .clear { background: none; text-decoration: underline; text-underline-offset: 4px; }
.stories .card-big { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 2rem; padding: 1.1rem; border-radius: 20px; background: var(--sky); } .card-big :is(h2, h3) { font-size: clamp(1.6rem, 2.300vw, 2.200rem); line-height: 1.2; } .card-big .card-t { justify-content: center; } .card-big .card-m { margin-top: .4rem; } .card-big p { font-size: 1.125rem; }
.stories.list { grid-template-columns: minmax(0, 1fr); gap: 0; } .stories.list .card { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 1.750rem; padding: 1.25rem 0; border-top: 1px solid var(--line); border-radius: 0; background: none; } .stories.list .card :is(h2, h3) { font-size: 1.5rem; } .stories.list .card-m { margin-top: .2rem; } .load { display: flex; width: fit-content; margin: 3rem auto 0; } .none { display: grid; justify-items: start; gap: .9rem; padding: clamp(1.500rem, 4vw, 3rem); border-radius: 18px; background: var(--sky); } .none > .ic { color: var(--air); }

/* Story: the three styles for the top */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 4px; pointer-events: none; } .progress i { display: block; height: 100%; background: var(--taxi); transform: scaleX(0); transform-origin: left; }
.crumbs { display: flex; flex-wrap: wrap; gap: .2rem 0; margin-bottom: 1.1rem; font-size: .9688rem; } .crumbs a { text-underline-offset: 4px; } .crumbs a:not(:hover) { text-decoration: none; } .crumbs a + a::before { content: '/'; display: inline-block; margin-inline: .7rem; opacity: .6; }
.ahead { overflow: clip; background: var(--sky); } .ahead-in > * { min-width: 0; } .ahead h1 { max-width: 22ch; font-size: clamp(2.100rem, 4.300vw, 3.700rem); line-height: 1.13; } .ahead-d { max-width: 44rem; margin-top: 1.1rem; font-size: clamp(1.1875rem, 1.700vw, 1.4375rem); line-height: 1.5; } .ahead-in { padding-block: clamp(2rem, 4.500vw, 4rem); } .ahead-t > * { animation: inUp .9s var(--ease) both; } .ahead-t > :nth-child(2) { animation-delay: .1s; } .ahead-t > :nth-child(3) { animation-delay: .2s; } .ahead-t > :nth-child(4) { animation-delay: .3s; }
.by { display: flex; align-items: center; gap: .9rem; margin-top: 1.750rem; line-height: 1.4; } .by img { border-radius: 50%; } .by b { display: block; } .by div > span { display: flex; flex-wrap: wrap; gap: 0 1.1rem; font-size: .9688rem; } .by .mins { color: inherit; font-size: inherit; }
.ahead-cover { position: relative; display: grid; align-items: end; min-height: clamp(500px, 76vh, 760px); overflow: hidden; background: var(--night2); color: #fff; isolation: isolate; } .ahead-cover > .ph { position: absolute; inset: 0; z-index: -1; } .ahead-cover > .ph img { animation: settle 9s var(--ease) both; } .ahead-cover > .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 16 28 / .95), rgb(6 16 28 / .55) 55%, rgb(6 16 28 / .12)); } .ahead-cover h1 { color: #fff; }
.ahead-split .ahead-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4.500vw, 4.500rem); align-items: center; } .ahead-p { position: relative; animation: inRight 1s .15s var(--ease) both; } .ahead-p::before { content: ''; position: absolute; inset: 22px -16px -16px 22px; border-radius: 20px; background: var(--taxi); } .ahead-p .ph { position: relative; aspect-ratio: 5/4; border-radius: 20px; } .ahead-split h1 { font-size: clamp(2rem, 3.500vw, 3.100rem); }
.ahead-banner .ahead-in { display: grid; gap: clamp(1.500rem, 3vw, 2.500rem); } .ahead-full img { width: 100%; border-radius: 18px; animation: inZoom 1s .15s var(--ease) both; } .photo-note { margin-top: .75rem; color: var(--soft); font-size: .9375rem; }

/* Trip details */
.trip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: clamp(1.500rem, 3vw, 2.500rem); overflow: hidden; border-radius: 18px; background: #23405f; color: #fff; } .trip.n-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .trip.n-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .trip.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .trip.n-2 { grid-template-columns: 1fr 1fr; } .trip.n-1 { grid-template-columns: 1fr; } .trip > div { padding: 1.25rem 1.3rem; background: var(--night); } .trip .ic { margin-bottom: .75rem; color: var(--taxi); } .trip dt { color: #bccddb; font-size: .9375rem; } .trip dd { font-weight: 700; line-height: 1.35; }

/* Story: tools, text, contents */
.abody { display: grid; grid-template-columns: 88px minmax(0, 720px) 300px; justify-content: space-between; gap: clamp(1.500rem, 3vw, 3rem); padding-block: clamp(2rem, 4.500vw, 4rem) var(--sp); align-items: stretch; }
.acts { position: sticky; top: 100px; display: grid; gap: .35rem; align-self: start; } .acts :is(button, a) { display: grid; justify-items: center; gap: .25rem; width: 88px; padding: .7rem .2rem; border: 0; border-radius: 12px; background: none; color: var(--night); font-size: .875rem; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .2s; } .acts :is(button, a):hover { background: var(--sky); } .acts em { font-style: normal; } .acts [aria-pressed="true"] { background: var(--butter); font-weight: 650; } .acts #save[aria-pressed="true"] .ic { fill: var(--taxi); } .acts .i-b, .acts [aria-pressed="true"] .i-a { display: none; } .acts [aria-pressed="true"] .i-b { display: block; }
.points { margin-bottom: 2.250rem; padding: 1.500rem 1.750rem 1.600rem; border-radius: 18px; background: var(--butter); } .points h2 { margin-bottom: .9rem; font-size: 1.375rem; } .points ul { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; font-size: 1.125rem; line-height: 1.45; } .points li { display: flex; gap: .8rem; } .points .ic { box-sizing: content-box; width: 18px; height: 18px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--taxi); }
.aside-s { position: sticky; top: 100px; display: grid; gap: 1.500rem; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: thin; } .toc-h { margin-bottom: .75rem; color: var(--night); font: 700 1.1875rem/1.3 var(--d); } .toc ol, .toc-m ol { margin: 0; padding: 0; list-style: none; } .toc li a { display: block; padding: .5rem 0 .5rem 1rem; box-shadow: inset 3px 0 var(--line); color: var(--soft); font-size: 1rem; line-height: 1.35; text-decoration: none; transition: box-shadow .3s, color .3s; } .toc li a:hover { color: var(--night); } .toc [aria-current] { box-shadow: inset 4px 0 var(--t, var(--taxi)); color: var(--night); font-weight: 700; } .toc-m { display: none; }
.cta { display: grid; justify-items: start; gap: .8rem; padding: 1.500rem; border-radius: 18px; background: var(--taxi); color: var(--night2); } .cta h2 { font-size: 1.500rem; } .cta .btn { width: 100%; } .cta .btn:hover { background: var(--night2); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 2.250rem; } .tags a { padding: .4rem .9rem; border-radius: 8px; background: var(--sky); text-decoration: none; } .tags a:hover { background: var(--taxi); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2.500rem; padding: 1.25rem 1.500rem; border-radius: 16px; background: var(--sky); } .share p { flex: 1 1 200px; font-weight: 700; font-size: 1.125rem; } .share a { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .4rem 1rem; border-radius: 9px; background: #fff; font-weight: 600; text-decoration: none; } .share a:hover { background: var(--taxi); }
.author { display: flex; align-items: center; gap: 1.500rem; margin-top: 1.500rem; padding: 1.500rem; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); } .author img { flex: none; border-radius: 50%; } .author h2 { margin-bottom: .3rem; font-size: 1.375rem; }
.pn { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.500rem; } .pn a { position: relative; display: flex; align-items: end; min-height: 210px; overflow: hidden; border-radius: 16px; color: #fff; text-decoration: none; isolation: isolate; } .pn .ph { position: absolute; inset: 0; z-index: -1; } .pn .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(6 16 28 / .94), rgb(6 16 28 / .25)); } .pn span { padding: 1.25rem; } .pn b { display: block; font: 650 1.1875rem/1.32 var(--d); } .pn small { font-size: .9375rem; }
.related { padding-block: var(--sp); background: var(--sky); }
.zoom { max-width: min(1240px, 96vw); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: var(--night2); color: #fff; } .zoom[open] { animation: inZoom .35s var(--ease); } .zoom::backdrop { background: rgb(6 16 28 / .88); } .zoom img { width: auto; max-height: 84vh; margin: auto; } .zoom p { padding: .8rem 1.25rem; } .zoom p:empty { display: none; } .zoom .tool { position: absolute; right: 10px; top: 10px; z-index: 1; }

/* Comments and forms */
.comments { margin-top: 3rem; } .comments h2, .comment-reply-title { margin: 0 0 1.25rem; color: var(--night); font: 700 1.600rem/1.25 var(--d); } .comment-list, .comment-list ol { display: grid; gap: 1.500rem; margin: 0 0 2.500rem; padding: 0; list-style: none; } .comment-list ol { margin: 1.500rem 0 0 1.500rem; } .comment-author { display: flex; align-items: center; gap: .7rem; } .comment-author img { border-radius: 50%; } .comment-metadata, .says, .comment-notes { color: var(--soft); font-size: .9375rem; }
.comment-form, .wpcf7-form { display: grid; gap: 1.1rem; } .comment-form p, .wpcf7-form p { display: grid; gap: .4rem; justify-items: start; margin: 0; } .comment-form label, .wpcf7-form label { display: block; width: 100%; font: 650 1.0625rem/1.5 var(--b); } .comment-form :is(input:not([type="submit"], [type="checkbox"]), textarea), .wpcf7-form :is(input:not([type="submit"], [type="checkbox"]), textarea) { display: block; width: 100%; min-height: 52px; margin-top: .35rem; padding: .75rem 1rem; border: 2px solid #7d8e9b; border-radius: 10px; background: #fff; font: 400 1.0625rem/1.5 var(--b); } .comment-form :is(input, textarea):focus, .wpcf7-form :is(input, textarea):focus { border-color: var(--air); } .comment-form .comment-form-cookies-consent { display: flex; gap: .7rem; } .comment-form-cookies-consent label { font-weight: 400; } .wpcf7-form br { display: none; } .wpcf7-submit { min-height: 52px; padding: .6rem 1.750rem; border: 0; border-radius: 9px; background: var(--night); color: #fff; font: 700 1.0625rem var(--b); } .wpcf7-submit:hover { background: var(--taxi); color: var(--night2); } .wpcf7-not-valid-tip, .required { color: #a51d12; }

/* About and contact */
.about-p { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; } .topics-s { padding-block: var(--sp); background: var(--sky); } .topics-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; } .topic-c { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; text-decoration: none; transition: translate .3s var(--ease); } .topic-c:hover { translate: 0 -6px; } .topic-c .ph { aspect-ratio: 16/10; } .topic-c > div:last-child { display: grid; gap: .5rem; padding: 1.25rem 1.4rem 1.500rem; } .topic-c h3 { color: var(--t); font-size: 1.500rem; } .topic-c p { color: var(--soft); } .topic-c span { font-weight: 700; }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.500rem, 4vw, 4rem); align-items: start; } .ways { display: grid; gap: .9rem; } .way { display: flex; align-items: center; gap: 1.25rem; min-height: 96px; padding: 1.1rem 1.4rem; border-radius: 16px; background: var(--sky); text-decoration: none; transition: background-color .25s, translate .3s var(--ease); } .way:hover { background: var(--butter); translate: 8px 0; } .way .ic { box-sizing: content-box; padding: 14px; border-radius: 13px; background: var(--night); color: var(--taxi); } .way small { display: block; color: var(--soft); font-size: 1rem; } .way b { font: 700 1.3125rem/1.3 var(--d); overflow-wrap: anywhere; } .pbody > .contact-f { max-width: none; padding: clamp(1.25rem, 3vw, 2.500rem); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), 0 40px 70px -56px rgb(10 24 41 / .9); }

@media (max-width: 1279px) { .abody { grid-template-columns: minmax(0, 720px) 280px; } .acts { position: static; grid-column: 1 / -1; display: flex; flex-wrap: wrap; } .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trip.n-6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) {
	.abody { grid-template-columns: minmax(0, 1fr); } .amain { max-width: 760px; } .aside .toc { display: none; } .aside-s { position: static; max-height: none; } .toc-m { display: block; margin-bottom: 2rem; border-radius: 14px; background: var(--sky); } .toc-m summary, .filters summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: .6rem 1.25rem; color: var(--night); font: 700 1.1875rem/1.3 var(--d); cursor: pointer; list-style: none; } .toc-m ol { padding: 0 1.25rem 1rem; } .toc-m li a { display: block; padding: .65rem 0; border-top: 1px solid var(--line); text-decoration: none; }
	.browse, .pbody-toc, .about-p, .contact { grid-template-columns: minmax(0, 1fr); } .filters { position: static; padding: 0; } .filters summary::-webkit-details-marker, .toc-m summary::-webkit-details-marker { display: none; } .filters-d > :not(summary) { margin-inline: 1.1rem; } .filters-d[open] { padding-bottom: 1.1rem; } .filters-go { width: calc(100% - 2.200rem); } .pbody-toc .toc { position: static; } [open] > summary > .ic { transform: rotate(180deg); }
	.trip, .trip.n-6, .trip.n-5, .trip.n-4 { grid-template-columns: repeat(2, 1fr); } .trip:is(.n-3, .n-5) > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) { .ahead-split .ahead-in { grid-template-columns: minmax(0, 1fr); } .ahead-p::before { inset: 16px -8px -8px 16px; } .stories .card-big { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; } }
@media (max-width: 600px) {
	.stories { grid-template-columns: minmax(0, 1fr); } .stories.list .card { grid-template-columns: 36% 1fr; gap: 1rem; } .stories.list .card > .ph { aspect-ratio: 1; } .stories.list .card :is(h2, h3) { font-size: 1.125rem; } .stories.list .card p { display: none; } .found-t { width: 100%; } .found-t select { flex: 1; min-width: 0; } .found-t label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.ahead-cover { min-height: 540px; } .trip > div { padding: 1rem; } .points { padding: 1.25rem; } .author { align-items: start; flex-direction: column; }
	/* Story tools become a bar along the bottom of the phone */
	.acts { position: fixed; inset: auto 0 0; z-index: 45; flex-wrap: nowrap; justify-content: space-around; gap: 0; padding: .25rem .25rem calc(.25rem + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -10px 24px -14px rgb(10 24 41 / .5); } .acts :is(button, a) { flex: 1; width: auto; min-width: 0; min-height: 54px; padding: .4rem .1rem; font-size: .8125rem; } .acts #print { display: none; } .dock-story { bottom: 84px; } .single-post .foot { padding-bottom: 72px; }
}
@media print { .acts, .aside, .share, .pn, .comments, .related, .progress, .also, .toc-m { display: none !important; } .abody { display: block; } .ahead-cover { min-height: 0; color: #000; } .ahead-cover h1 { color: #000; } .ahead-cover > .ph { display: none; } }

/* ---- Phones ---- */
@media (max-width: 600px) {
	.phead { padding-block: 2.25rem; } .phead-b { min-height: 320px; } .phead h1 { font-size: clamp(2rem, 9.5vw, 2.6rem); } .phead p { margin-top: .7rem; font-size: 1.0938rem; } .phead .search { margin-top: 1.25rem; } .pbody { padding-top: 2rem; }
	.browse { gap: 1.5rem; padding-top: 1.5rem; } .found-h { gap: .6rem; margin-bottom: 1.1rem; } .stories .card-big { padding: .8rem; } .load { width: 100%; margin-top: 2rem; }
	.ahead h1, .ahead-split h1 { font-size: clamp(1.8rem, 8.2vw, 2.3rem); } .ahead-d { margin-top: .8rem; font-size: 1.125rem; } .by { margin-top: 1.1rem; } .ahead-cover { min-height: min(540px, 82svh); } .ahead-cover > .ph::after { background: linear-gradient(0deg, rgb(6 16 28 / .96), rgb(6 16 28 / .72) 60%, rgb(6 16 28 / .2)); } .ahead-full { margin-inline: calc(-1 * var(--gut)); } .ahead-full img { border-radius: 0; } .ahead-p { margin-right: 8px; } .ahead-p .ph { aspect-ratio: 4/3; }
	.abody { gap: 0; padding-top: 1.5rem; } .points { margin-bottom: 1.5rem; } .points ul { font-size: 1.0625rem; } .share { padding: 1.1rem; } .share p { flex-basis: 100%; } .share a { flex: 1; justify-content: center; padding-inline: .6rem; } .aside { margin-top: 2rem; } .pn a { min-height: 170px; } .author { padding: 1.1rem; } .related .head .btn { width: 100%; }
	.way { gap: 1rem; min-height: 82px; padding: .9rem 1rem; } .way .ic { padding: 11px; } .way b { font-size: 1.1875rem; } .wpcf7-submit, .comment-form .btn { width: 100%; } .topics-g { gap: 1rem; } .zoom { width: 100vw; max-width: 100vw; border-radius: 0; }
}
@media (max-width: 359px) { .trip, .trip.n-6, .trip.n-5, .trip.n-4 { grid-template-columns: 1fr; } .related .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Photos and videos ---- */
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 0 2.25rem; } .vid { margin: 0; } .vids > .vid:not(.vid-tall):first-child, .vids .vid:only-child { grid-column: 1 / -1; } .story + .vids { margin-block: 2.5rem 0; }
.vid > :is(.yt, iframe, video) { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; background: var(--night2); } .vid video { object-fit: contain; } .vid-tall > :is(.yt, iframe, video) { aspect-ratio: 9 / 16; } .vid-tall:only-child { width: min(100%, 360px); justify-self: center; } .vid figcaption { margin-top: .6rem; color: var(--soft); font-size: .9688rem; }
.yt { position: relative; overflow: hidden; } .yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); } .yt:hover img { transform: scale(1.04); } .vid-tall .yt img, .vid-tall .yt:hover img { transform: scale(1.36); } .yt::after { content: ''; position: absolute; inset: 0; background: rgb(6 16 28 / .28); } .yt-b { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--taxi); color: var(--night2); translate: -50% -50%; transition: scale .25s var(--ease); } .yt-b .ic { fill: currentColor; } .yt:hover .yt-b { scale: 1.1; }
.photos { margin-top: 2.75rem; } .photos h2 { margin-bottom: 1rem; font-size: 1.75rem; } .photos-g { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } .photos figure { grid-column: span 2; margin: 0; } .photos img { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; object-fit: cover; cursor: zoom-in; } .photos figcaption { margin-top: .45rem; color: var(--soft); font-size: .9375rem; line-height: 1.4; }
.photos-g:is(.n-2, .n-4) figure { grid-column: span 3; } .photos-g.n-1 figure { grid-column: 1 / -1; } .photos-g.n-1 img { aspect-ratio: auto; }
.zoom .z-close { z-index: 2; } .zoom :is(.z-prev, .z-next) { top: 50%; right: auto; left: 10px; translate: 0 -50%; } .zoom .z-next { left: auto; right: 10px; } .zoom.one :is(.z-prev, .z-next) { display: none; }
@media (max-width: 600px) { .vids { gap: .75rem; margin-bottom: 1.6rem; } .vids > .vid:not(.vid-tall) { grid-column: 1 / -1; } .vid > :is(.yt, iframe, video) { border-radius: 14px; } .yt-b { width: 64px; height: 64px; } .photos-g { gap: 8px; } .photos-g figure, .photos-g:is(.n-2, .n-4) figure { grid-column: span 3; } .photos-g:is(.n-3, .n-5, .n-7, .n-9) figure:first-child, .photos-g.n-1 figure { grid-column: 1 / -1; } .photos img { border-radius: 10px; } }
@media print { .vids, .photos { display: none; } }
