/* Preserve the chosen artwork's aspect ratio; never crop or stretch the printed buttons. */
body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure){padding:0!important;min-height:0!important;max-height:none!important;overflow:hidden;border-radius:22px;background:#071b2d;border-color:#db73214d}
body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure)::before{display:none}
.gv-consult-brochure{position:relative;display:block;width:100%;aspect-ratio:2/3;isolation:isolate;line-height:0}
.gv-consult-brochure img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;border:0;border-radius:0;margin:0}
.gv-consult-brochure-action{position:absolute;display:block;box-sizing:border-box;left:20.2%;width:60%;margin:0;padding:0;border:0;border-radius:9px;background:transparent;cursor:pointer;touch-action:manipulation;z-index:2;color:transparent;text-decoration:none}
.gv-consult-brochure-request{top:70%;height:6.3%}
.gv-consult-brochure-whatsapp{top:77.4%;height:6.2%}
.gv-consult-brochure-action:hover{background:#ffffff0c}
.gv-consult-brochure-action:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 4px #d77321}
@media(max-width:1200px),(max-width:1600px) and (any-pointer:coarse){body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure){max-width:380px;margin-inline:auto}}

/* Desktop cards follow the complete gallery height, with undistorted artwork. */
@media(min-width:1201px){body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure){display:flex;align-items:center;justify-content:center;height:var(--gv-sidebar-card-height,auto);min-height:var(--gv-sidebar-card-height,0px)!important;max-height:var(--gv-sidebar-card-limit,none)!important;isolation:isolate}body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure)::after{content:"";position:absolute;inset:-16px;background:linear-gradient(#071b2d60,#071b2d80),url(/assets/images/consultation/luxury-istanbul-consultation.webp) center/cover;filter:blur(12px);z-index:-1}.gv-consult-brochure{flex-shrink:0}}
@media(max-width:1600px) and (any-pointer:coarse){body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure){display:block;height:auto;min-height:0!important;max-height:none!important}body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure)::after{display:none}}

.gv-consult-brochure picture{display:block}
body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure.is-desktop)::after{display:none}
.gv-consult-brochure.is-desktop{height:100%;aspect-ratio:auto}
.gv-consult-brochure.is-desktop picture{height:100%}
.gv-consult-brochure.is-desktop img{height:100%;aspect-ratio:auto;object-fit:fill}
.gv-consult-brochure.is-desktop .gv-consult-brochure-action{left:12%;width:76.4%}
.gv-consult-brochure.is-desktop .gv-consult-brochure-request{top:58.2%;height:4.4%}
.gv-consult-brochure.is-desktop .gv-consult-brochure-whatsapp{top:63.4%;height:4.3%}

/* Square artwork exclusively for tablet layouts. */
body #mainLayout .gv-detail-sidebars .consult-card:has(.gv-consult-brochure.is-tablet){width:100%;max-width:760px}
.gv-consult-brochure.is-tablet,.gv-consult-brochure.is-tablet img{aspect-ratio:1/1;height:auto}
.gv-consult-brochure.is-tablet .gv-consult-brochure-action{left:29.4%;width:41.6%}
.gv-consult-brochure.is-tablet .gv-consult-brochure-request{top:70.7%;height:6.6%}
.gv-consult-brochure.is-tablet .gv-consult-brochure-whatsapp{top:78.2%;height:6.2%}

/* Dedicated laptop artwork fills the existing card, with its own button positions. */
.gv-consult-brochure.is-laptop .gv-consult-brochure-action{left:19.8%;width:60.6%}
.gv-consult-brochure.is-laptop .gv-consult-brochure-request{top:59%;height:4.8%}
.gv-consult-brochure.is-laptop .gv-consult-brochure-whatsapp{top:64.6%;height:4.5%}
