#groups.home-groups-compact{background:#fffef9;color:#173b32;padding:64px 0}
#groups.home-groups-compact > .wrap{max-width:none}
#groups.home-groups-compact .curated-heading{margin-bottom:45px;gap:30px;align-items:end}
#groups.home-groups-compact .eyebrow{color:#52685a}
#groups.home-groups-compact .curated-heading h2{font-size:clamp(38px,4.3vw,62px);line-height:1.3;font-weight:900;margin:18px 0 0;color:#173b32}
#groups.home-groups-compact .curated-heading>p{color:#52685a;font-size:14px;line-height:1.8;max-width:340px;margin:0 0 6px}
#groups.home-groups-compact .curated-count{font-size:12px;color:#52685a;margin:0 0 14px}
#groups.home-groups-compact .curated-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
#groups.home-groups-compact .curated-card{display:block;min-width:0;padding:20px;background:#fff;border:1px solid #dedfd3;border-radius:10px;box-shadow:none;transition:border-color .15s;overflow:visible}
#groups.home-groups-compact .curated-card:hover{transform:none;box-shadow:none;border-color:#93a28b}
#groups.home-groups-compact .curated-card-meta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;margin:0 0 10px;font-size:12px;line-height:1.65;color:#173b32}
#groups.home-groups-compact .curated-place-marker,#groups.home-groups-compact .curated-guarantee{font-weight:600;color:#173b32;padding:.06em .35em;border:0;border-radius:0;background-color:transparent;background-size:100% 86%;background-position:center;background-repeat:no-repeat;box-decoration-break:clone;-webkit-box-decoration-break:clone;white-space:normal}
#groups.home-groups-compact .curated-place-marker{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpolygon fill='%23F9DDB6' points='2,5 24,3 49,4 73,2 98,4 100,19 77,21 52,20 27,22 0,20'/%3E%3C/svg%3E")}
#groups.home-groups-compact .curated-guarantee{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none'%3E%3Cpolygon fill='%23DFE9CC' points='2,5 24,3 49,4 73,2 98,4 100,19 77,21 52,20 27,22 0,20'/%3E%3C/svg%3E")}
#groups.home-groups-compact .curated-compact-heading{display:flow-root}
#groups.home-groups-compact h3{flex:1;min-width:0;font-size:20px;line-height:1.4;font-weight:700;margin:0;color:#173b32;min-height:0}
#groups.home-groups-compact h3 a{display:inline;color:inherit;text-decoration:none}
#groups.home-groups-compact .curated-photo{position:relative;float:right;width:144px;height:96px;margin:0 0 8px 12px;padding:0;border:0;border-radius:8px;overflow:hidden;background:#f0f3ea;cursor:pointer}
#groups.home-groups-compact .curated-photo img{display:block;width:100%;height:100%;object-fit:cover}
#groups.home-groups-compact .curated-photo-count{position:absolute;right:0;bottom:0;font-size:11px;line-height:1.6;background:#173b32;color:#fffef9;padding:1px 5px;border-radius:5px 0 0 0}
#groups.home-groups-compact .curated-compact-highlights{display:flex;flex-wrap:wrap;gap:5px;padding:0;margin:8px 0 0;list-style:none}
#groups.home-groups-compact .curated-compact-highlights li{font-size:11px;line-height:1.5;color:#173b32;background:#f0f3ea;padding:2px 4px;border-radius:3px}
#groups.home-groups-compact .curated-trip{display:flex;flex-direction:row;flex-wrap:wrap;gap:2px 10px;font-size:13px;line-height:1.6;color:#52685a;margin:10px 0 0}
#groups.home-groups-compact .curated-price{display:flex;flex-direction:row;align-items:baseline;gap:8px;margin:12px 0;min-height:0;padding:0;border:0}
#groups.home-groups-compact .curated-price small{font-size:12px;color:#52685a}
#groups.home-groups-compact .curated-price strong{font-size:26px;line-height:1.15;color:#173b32;font-variant-numeric:tabular-nums}
#groups.home-groups-compact .curated-actions{display:flex;flex-direction:row;gap:8px;margin:0;padding:0;border:0}
#groups.home-groups-compact .curated-actions a{display:flex;align-items:center;justify-content:center;flex:1;min-height:44px;padding:8px 6px;font-size:13px;line-height:1.4;font-weight:600;border-radius:6px;text-decoration:none}
#groups.home-groups-compact .curated-line{background:#f7931e;color:#173b32;border:1px solid #f7931e}
#groups.home-groups-compact .curated-share{background:transparent;color:#173b32;border:1px solid #173b32}
#groups.home-groups-compact .curated-conditions{margin:8px 0 0;padding:0;border:0}
#groups.home-groups-compact .curated-conditions p{margin:0;font-size:12px;line-height:1.65;color:#52685a}
#groups.home-groups-compact a:focus-visible,#groups.home-groups-compact button:focus-visible,.home-group-gallery button:focus-visible{outline:3px solid #173b32;outline-offset:3px}
.home-group-gallery{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:16px;border:1px solid #dedfd3;border-radius:12px;background:#fffef9;color:#173b32;overflow:auto}
.home-group-gallery::backdrop{background:rgba(10,25,18,.75)}
.group-gallery-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.group-gallery-header h2{font-size:18px;line-height:1.4;margin:0;color:#173b32}
.home-group-gallery button{min-width:44px;min-height:44px;padding:8px 12px;border:1px solid #173b32;border-radius:6px;background:#fffef9;color:#173b32;font:inherit;cursor:pointer}
.home-group-gallery button:disabled{opacity:.4;cursor:default}
.group-gallery-image{background:#f0f3ea;border-radius:8px;overflow:hidden}
.group-gallery-image img{display:block;width:100%;height:auto;max-height:60dvh;object-fit:contain}
.group-gallery-caption{font-size:14px;line-height:1.6;margin:12px 0;color:#173b32}
.group-gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:12px}
.group-gallery-controls p{margin:0;font-size:13px;font-variant-numeric:tabular-nums}
@media(max-width:1023px){#groups.home-groups-compact .curated-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){#groups.home-groups-compact{padding:40px 0}#groups.home-groups-compact > .wrap{padding-left:0;padding-right:0}#groups.home-groups-compact .curated-heading{display:block;margin-bottom:29px}#groups.home-groups-compact .curated-heading h2{font-size:40px}#groups.home-groups-compact .curated-heading>p{font-size:13px;margin:20px 0 6px}#groups.home-groups-compact .curated-grid{grid-template-columns:minmax(0,1fr)}#groups.home-groups-compact .curated-card{padding:16px}#groups.home-groups-compact h3{font-size:19px}#groups.home-groups-compact .curated-photo{width:clamp(128px,calc(29vw + 35px),148px);height:auto;aspect-ratio:3/2}#groups.home-groups-compact .curated-price strong{font-size:24px}.home-group-gallery{padding:12px}.group-gallery-header h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){#groups.home-groups-compact .curated-card{transition:none}}

/* Cancel the legacy whole-card link overlay so photo and CTA targets stay distinct. */
#groups.home-groups-compact h3 a:after{content:none}
#groups.home-groups-compact h3 a:focus-visible{outline:3px solid #173b32;outline-offset:3px}
#groups.home-groups-compact .curated-trip time{font-size:13px;line-height:1.6;font-weight:600;color:#173b32}

/* Homepage highlights follow the approved source order; the full catalog stays at 12. */
#groups.home-groups-compact .home-group-count-mobile{display:none}
@media(max-width:640px){#groups.home-groups-compact [data-curated-card]:nth-child(n+4){display:none}#groups.home-groups-compact .home-group-count-desktop{display:none}#groups.home-groups-compact .home-group-count-mobile{display:inline}}

/* Original company travel mark; no official immigration agency, dates or certification. */
@font-face{font-family:AlwaysTravelEntry;src:url('/front-assets/fonts/barlow-condensed-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
#groups .curated-entry-stamp{position:relative;box-sizing:border-box;display:flex;flex:0 0 76px;width:76px;height:40px;align-items:center;justify-content:center;flex-direction:row;gap:5px;margin:0;padding:3px 6px;border:1.5px solid #173b32;border-radius:3px;background:#fffef9;color:#173b32;pointer-events:none;transform:rotate(-2deg);line-height:1}
#groups .curated-entry-stamp:before{content:"";position:absolute;inset:3px;border:1px solid #173b32;border-radius:1px;opacity:.35;pointer-events:none}
#groups .curated-entry-stamp .curated-entry-brand{position:relative;display:block;width:18px;height:18px;object-fit:contain;flex:none;border-radius:0}
#groups .curated-entry-stamp .curated-entry-copy{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:0}
#groups .curated-entry-stamp .curated-entry-code{position:relative;display:block;font-family:AlwaysTravelEntry,sans-serif;font-size:18px;font-weight:700;letter-spacing:.3px;line-height:18px;white-space:nowrap}
#groups .curated-entry-stamp .curated-entry-city{position:relative;display:block;font-size:11px;font-weight:600;letter-spacing:0;line-height:12px;white-space:nowrap}
#groups .curated-entry-brand-only{gap:0}
#groups .curated-entry-brand-only .curated-entry-brand{width:24px;height:24px}
#groups .curated-entry-brand-only .curated-entry-city{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#groups .curated-catalog-heading{display:flow-root;margin-top:12px;margin-bottom:12px}
#groups .curated-catalog-heading h3{min-width:0;margin:0}
#groups .curated-catalog-heading h3 a{display:inline}
#groups .curated-catalog-heading .curated-photo{position:relative;display:block;float:right;width:144px;height:96px;margin:0 0 8px 12px;padding:0;border:0;border-radius:8px;overflow:hidden;background:#f0f3ea;cursor:pointer}
#groups .curated-catalog-heading .curated-photo img{display:block;width:100%;height:100%;object-fit:cover}
#groups .curated-catalog-heading .curated-photo-count{position:absolute;right:0;bottom:0;font-size:11px;line-height:1.6;background:#173b32;color:#fffef9;padding:1px 5px}
#groups .curated-catalog-heading button:focus-visible{outline:3px solid #173b32;outline-offset:3px}
@media(prefers-reduced-motion:reduce){#groups .curated-entry-stamp{transform:none}}

/* Keep real album controls above the existing stretched itinerary link. */
#groups .curated-photo{position:relative;z-index:2}

/* A balanced information row keeps the smaller mark centered between region and guarantee. */
#app #groups .curated-card-meta{display:grid;grid-template-columns:minmax(min-content,1fr) 76px minmax(min-content,1fr);align-items:center;gap:6px 8px}
#app #groups .curated-card-meta>span:first-child{min-width:0;max-width:none;justify-self:start}
#app #groups .curated-card-meta>.curated-entry-stamp{margin:0;justify-self:center}
#app #groups .curated-card-meta>.curated-guarantee{min-width:0;margin:0;justify-self:end}
@media(max-width:640px){#groups .curated-catalog-heading .curated-photo{width:clamp(128px,calc(29vw + 35px),148px);height:auto;aspect-ratio:3/2}}

/* Independent group catalogue: full-width title/intro, original album beside trip facts. */
#groups.groups-catalog .curated-catalog-heading{display:block}
#groups.groups-catalog .curated-catalog-lower{display:grid;grid-template-columns:minmax(0,1fr) 144px;align-items:start;gap:12px;margin:12px 0}
#groups.groups-catalog .curated-catalog-facts{min-width:0}
#groups.groups-catalog .curated-catalog-facts .curated-trip{margin-top:0}
#groups.groups-catalog .curated-catalog-lower .curated-photo{position:relative;display:block;float:none;width:144px;height:auto;aspect-ratio:3/2;margin:0;padding:0;border:0;border-radius:8px;overflow:hidden;background:#f0f3ea;cursor:pointer}
#groups.groups-catalog .curated-catalog-lower .curated-photo img{display:block;width:100%;height:100%;object-fit:cover}
#groups.groups-catalog .curated-catalog-lower .curated-photo-count{position:absolute;right:0;bottom:0;font-size:11px;line-height:1.6;background:#173b32;color:#fffef9;padding:1px 5px}
@media(max-width:640px){#groups.groups-catalog .curated-catalog-lower{grid-template-columns:minmax(0,1fr) clamp(108px,32vw,128px);gap:10px}#groups.groups-catalog .curated-catalog-lower .curated-photo{width:100%}}

/* The trip's original duration becomes a separate ticket stub beside departure facts. */
#groups .curated-departure-ticket-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;min-width:0}
#groups .curated-departure-ticket-row .curated-trip{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0}
#groups .curated-duration-ticket{position:relative;flex:0 0 76px;box-sizing:border-box;min-width:76px;padding:7px 9px 7px 14px;text-align:center;background:#f9f1e3;border-left:1px dashed #d9ded2;border-radius:0 5px 5px 0;color:#173b32}
#groups .curated-duration-ticket:before,#groups .curated-duration-ticket:after{content:"";position:absolute;left:-5px;width:9px;height:9px;border-radius:50%;background:#fff}
#groups .curated-duration-ticket:before{top:-4px}#groups .curated-duration-ticket:after{bottom:-4px}
#groups .curated-duration-label{display:block;font-size:11px;line-height:1.4;color:#52685a;margin-bottom:2px;white-space:nowrap}
#groups .curated-duration-value{display:flex;align-items:baseline;justify-content:center;gap:3px;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap}
#groups .curated-duration-value strong{font-size:32px;font-weight:700;color:inherit}
#groups .curated-duration-value>span{font-size:12px;color:inherit}
#groups.groups-catalog .curated-departure-ticket-row{flex-wrap:wrap;margin:0 0 10px;gap:8px}
#groups.groups-catalog .curated-duration-ticket{flex-basis:70px;min-width:70px;padding-left:10px}

#app #groups [data-group-place-label]{display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:4px;row-gap:0}
#app #groups [data-group-place-label]>.curated-place-city,#app #groups [data-group-place-label]>.curated-place-region{white-space:nowrap}
#app #groups [data-group-place-label]>.curated-place-separator{display:none}

/* Route mark occupies the removed status badge position; business status remains in source data. */
#app #groups .curated-card-meta{grid-template-columns:minmax(0,1fr) 76px}
#app #groups .curated-card-meta>.curated-entry-stamp{justify-self:end}
#groups.groups-catalog .curated-title-ending{display:inline-block;white-space:nowrap}
#groups.groups-catalog .curated-title-ending>span{margin-left:2px}
#groups.groups-catalog .curated-card>.curated-price{margin:0}
@media(min-width:641px){
 #groups.groups-catalog .curated-grid{align-items:stretch;row-gap:12px}
 #groups.groups-catalog .curated-card{display:grid;grid-row:span 7;grid-template-rows:subgrid;row-gap:12px;align-content:start}
 #groups.groups-catalog .curated-card>.curated-card-meta,#groups.groups-catalog .curated-card>.curated-catalog-heading,#groups.groups-catalog .curated-card>.curated-card-description,#groups.groups-catalog .curated-card>.curated-catalog-lower,#groups.groups-catalog .curated-card>.curated-actions,#groups.groups-catalog .curated-card>.curated-conditions{margin-top:0;margin-bottom:0}
 #groups.groups-catalog .curated-card>.curated-conditions{align-self:end}
 #groups.groups-catalog .curated-card>.curated-catalog-lower{align-self:start}
}
@media(max-width:640px){#groups.groups-catalog .curated-card>.curated-price{margin:12px 0}#groups.groups-catalog .curated-card{height:auto}}

@media(min-width:641px){#groups.groups-catalog .curated-card>.curated-card-meta{grid-row:1}#groups.groups-catalog .curated-card>.curated-catalog-heading{grid-row:2}#groups.groups-catalog .curated-card>.curated-card-description{grid-row:3}#groups.groups-catalog .curated-card>.curated-catalog-lower{grid-row:4}#groups.groups-catalog .curated-card>.curated-price{grid-row:5}#groups.groups-catalog .curated-card>.curated-actions{grid-row:6}#groups.groups-catalog .curated-card>.curated-conditions{grid-row:7}}
@media(max-width:640px){#groups.groups-catalog .curated-card>.curated-price{margin-top:0;padding-top:0}}
#groups.groups-catalog h3 .curated-title-ending{color:inherit}#groups.groups-catalog h3 .curated-title-ending>span{color:#bd5e28}
