/* wedyara-php — small additions on top of atelier.css + vibrant.css */
/* Include padding and borders in component widths, including form controls. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, video { max-width: 100%; }
button, input, select, textarea { min-width: 0; }

/* Grid and flex children must be able to shrink around long page content. */
:is(.at-wrap, .vb-hero__in, .at-split, .at-contact, .at-head--split,
    .at-footer__grid, .vb-qf__grid, .vb-quote, .vb-twocol,
    .at-dgrid, .at-services, .at-albums, .at-posts) > * { min-width: 0; }
.at-header__logo, .at-header__cta { flex-shrink: 0; }
.at-drawer { height: 100dvh; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
.at-drawer__top, .at-drawer__foot { flex-shrink: 0; }
.at-drawer nav { min-height: 0; overscroll-behavior: contain; }
html.has-open-menu { overflow: hidden !important; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 3000; background: #fff; color: #282828; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; width: auto; height: auto; clip: auto; }
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 800; }
.whatsapp-float a { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #25D366; color: #fff; font-size: 1.8rem; border: 2px solid #282828; box-shadow: 3px 3px 0 #282828; text-decoration: none; }
.site-flash { position: fixed; left: 50%; top: 6.4rem; transform: translateX(-50%); z-index: 1500; max-width: min(92vw, 40rem); padding: 1rem 1.4rem; border: 2px solid #282828; border-radius: 1rem; background: #fff; box-shadow: 5px 5px 0 #E03068; font-weight: 700; transition: opacity .5s, transform .5s; }
.site-flash--error { background: #282828; color: #fff; }
.site-flash.is-out { opacity: 0; transform: translate(-50%, -1rem); pointer-events: none; }
.at-hp { position: absolute; left: -9999px; }
main { min-height: 60vh; }
.at-header { --at-header-h: 7rem; }
.pager { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.pager a, .pager span { padding: .55rem 1rem; border: 2px solid #282828; border-radius: 99px; font-weight: 800; text-decoration: none; color: #282828; background: #fff; }
.pager .is-on { background: #E03068; color: #fff; }
.site-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(40,40,40,.96); display: none; align-items: center; justify-content: center; padding: 3rem 1rem; }
.site-lb.is-open { display: flex; }
.site-lb img, .site-lb video { max-width: 94vw; max-height: 82vh; border-radius: .6rem; }
.site-lb iframe { width: min(94vw, 62rem); aspect-ratio: 16/9; border: 0; border-radius: .6rem; }
.site-lb button { position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid #fff; background: #E03068; color: #fff; font-size: 1.4rem; cursor: pointer; }
.gal-grid { columns: 3; column-gap: 1rem; }
.gal-grid > * { break-inside: avoid; margin: 0 0 1rem; }
.gal-tile { position: relative; display: block; width: 100%; padding: 0; border: 2px solid #282828; border-radius: 1.2rem; overflow: hidden; background: #F3F3F3; cursor: zoom-in; box-shadow: 4px 4px 0 #282828; }
.gal-tile img, .gal-tile video { display: block; width: 100%; height: auto; }
.gal-tile .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 3.2rem; background: rgba(40,40,40,.25); }
@media (max-width: 900px) { .gal-grid { columns: 2; } }
@media (max-width: 560px) { .gal-grid { columns: 1; } }
.venue-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.empty { padding: 4rem 1rem; text-align: center; border: 2px dashed #282828; border-radius: 1.5rem; background: #fff; }

@media (max-width: 1080px) {
    .at-header__in { gap: 1rem; }
    .vb-copy { max-width: 44rem; }
}

@media (max-width: 760px) {
    :root { --at-header-h: 5.5rem; }
    .at-header, .at-header.is-solid { padding-block: .65rem; }
    .at-header__in { padding: .45rem .5rem .45rem .9rem; }
    .at-header__logo img, .at-header.is-solid .at-header__logo img { height: 2.3rem; }
    .at-burger, .at-drawer__close { flex-shrink: 0; min-width: 2.75rem; }
    .vb-hero { padding-top: calc(var(--at-header-h) + 1rem); }
    .vb-hero__in { gap: 2rem; }
    .vb-modes { display: grid; grid-template-columns: 1.2fr 1fr; width: 100%; max-width: 28rem; }
    .vb-modes button { min-width: 0; min-height: 2.75rem; padding: .65rem .6rem; font-size: .7rem; line-height: 1.4; letter-spacing: .03em; }
    .vb-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; font-size: .75rem; align-items: start; }
    .vb-trust b { display: block; margin: 0 0 .35rem; }
    .vb-art { width: calc(100% - 1rem); }
    .at-head--split { align-items: flex-start; gap: 1.25rem; }
    .at-contact { gap: 2.5rem; }
    .at-section { padding-block: 3.5rem; }
    .at-cta { padding-block: 3.5rem; }
    .at-pagehero { padding-top: calc(var(--at-header-h) + 2rem); }
    .at-service { min-height: 20rem; aspect-ratio: auto; }
    .at-service__body { padding: 1.4rem; }
    .at-service p { max-height: none; }
    .at-stats > div { padding: 1.5rem .75rem; }
    .at-stats span { font-size: .7rem; letter-spacing: .06em; }
    .at-footer__bottom .at-wrap { padding-right: 3.5rem; }
    .whatsapp-float { right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); }
    .whatsapp-float a { width: 3rem; height: 3rem; font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .vb-cta, .at-hero__actions, .at-cta__actions { flex-direction: column; align-items: stretch; }
    .vb-cta .at-btn, .at-hero__actions .at-btn, .at-cta__actions .at-btn { width: 100%; }
    .at-dests { grid-template-columns: minmax(0, 1fr); }
    .at-dest, .at-dest:nth-child(1), .at-dest:nth-child(6) { grid-column: auto; aspect-ratio: 4/3; }
    .at-pagehero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
    .at-cta h2 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .vb-qf { padding: 1.25rem !important; }
    .vb-qf__badge { font-size: .65rem; line-height: 1.4; }
    .at-dcard__foot { flex-wrap: wrap; }
    .at-dcard__foot .at-btn { flex-basis: 100%; }
    .at-masonry { columns: 1; }
    .at-drawer { padding: 1rem; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
    .at-drawer__top { margin-bottom: 1rem; }
    .at-drawer nav a { padding-block: .75rem; font-size: 1.7rem; }
}

@media (max-height: 500px) and (max-width: 1080px) {
    .at-drawer { padding-block: .75rem; }
    .at-drawer__top { margin-bottom: .5rem; }
    .at-drawer nav a { padding-block: .5rem; font-size: 1.4rem; }
    .at-drawer__foot { padding-top: .75rem; gap: .5rem; }
}
