/* Location 1.2.0 — archive: city groups and location cards. The single page is built from
   blocks, which bring their own styles. */

/* Contact — phone and e-mail, tokens so it reads on every appearance */
.lvd-location-contact                          {list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px;}
.lvd-location-contact li                       {display:flex; align-items:center; gap:8px; margin:0;}
.lvd-location-contact svg                      {flex:none; width:16px; height:16px; fill:var(--lvd-cc-keyword);}
.lvd-location-contact a                        {color:var(--lvd-cc-text); text-decoration:none;}
.lvd-location-contact a:hover                  {color:var(--lvd-cc-link-hover);}

/* Buttons to each city (from three cities); the style is a Customizer choice. Buttons, not
   chips: chips are the theme's non-interactive tags. */
.lvd-locations-cities ul                       {margin:0 0 48px; padding:0; list-style:none;} /* layout and gap: .lvd-button-group */
.lvd-locations-cities li                       {margin:0;}
/* An anchored city clears the sticky header */
.lvd-locations-group                           {scroll-margin-top:calc(var(--lvd-sticky-top, 0px) + 24px);}

/* City groups — the city on the left, its locations stacked on the right (desktop) */
.lvd-locations-group                           {display:grid; grid-template-columns:minmax(200px, 1fr) 3fr; gap:48px; align-items:start;}
.lvd-locations-group-single                    {grid-template-columns:minmax(0, 1fr);}
.lvd-locations-group + .lvd-locations-group    {margin-top:64px;}
.lvd-locations-city                            {position:sticky; top:calc(var(--lvd-sticky-top, 0px) + 24px); transition:top .35s var(--lvd-header-ease, ease);}
.lvd-locations-city .lvd-section-title         {margin-bottom:4px;}
.lvd-locations-city .lvd-section-title a       {color:inherit; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.2em;} /* a city with a page of its own */
.lvd-locations-city .lvd-section-title a:hover {text-decoration-thickness:2px;}
.lvd-locations-count                           {margin:0; color:var(--lvd-cc-text); font-size:var(--lvd-text-s1);}
.lvd-locations-list                            {display:flex; flex-direction:column; gap:24px; min-width:0;}

/* Card — a content card (Grid Cards standard: --lvd-rounded, 32px inset), horizontal: the
   image flush with the left edge, the button at the bottom of the text column. */
.lvd-location-card                             {display:grid; grid-template-columns:2fr 3fr; overflow:hidden; border-radius:var(--lvd-rounded);}
.lvd-location-card .lvd-img                    {overflow:hidden; aspect-ratio:auto; min-height:240px;} /* fills the card's height, whatever the text */
.lvd-location-card .lvd-img img                {width:100%; height:100%; object-fit:cover; display:block;}
.lvd-location-card .lvd-content                {display:flex; flex-direction:column; min-width:0; padding:32px;}
/* Embedded map instead of the photo (Customizer): fills the column like the photo does */
.lvd-location-card-map                         {position:relative; background:color-mix(in srgb, var(--lvd-cc-text) 6%, transparent);}
.lvd-location-card-map iframe                  {position:absolute; inset:0; width:100%; height:100%; border:0; display:block;}
.lvd-location-card-placeholder                {display:flex; align-items:center; justify-content:center; background:color-mix(in srgb, var(--lvd-cc-text) 6%, transparent);}
.lvd-location-card-placeholder svg            {width:40px; height:40px; fill:var(--lvd-cc-icon-tertiary); opacity:.6;}
.lvd-location-card .lvd-title                  {margin-bottom:12px;}
.lvd-location-card-address                     {font-style:normal; margin-bottom:12px; color:var(--lvd-cc-text);}
.lvd-location-card-cta                         {margin-top:auto; padding-top:24px; margin-bottom:0; align-items:center;} /* the two button styles may differ in size */

/* Side gutter below the viewport width */
.lvd-locations-archive                         {padding-left:0; padding-right:0;}

/* Bt: the city goes above its locations; the cards stay horizontal */
@media (max-width:1024px)
{
.lvd-locations-group                           {grid-template-columns:minmax(0, 1fr); gap:20px;}
.lvd-locations-city                            {position:static;}
}

/* Bm: vertical cards, image on top (3:2) */
@media (max-width:767px)
{
.lvd-locations-archive                         {padding-left:16px; padding-right:16px;}
.lvd-locations-group + .lvd-locations-group    {margin-top:40px;}
.lvd-location-card                             {grid-template-columns:minmax(0, 1fr);}
.lvd-location-card .lvd-img                    {aspect-ratio:3 / 2; min-height:0;}
.lvd-location-card .lvd-content                {padding:24px;}
}

/* Bt + Full HD */
@media (min-width:768px) and (max-width:1344px)
{
.lvd-locations-archive                         {padding-left:24px; padding-right:24px;}
}
