/* Each part of the campsite has its own ground colour and a darker ink for actions. */
.mc-site--camping, body:has(.mc-site--camping) {
  --section-paper:#fcf2cc; --section-wash:#f0d985; --section-ink:#55491d; --section-dark:#5c4d20;
}
.mc-site--stays, body:has(.mc-site--stays) {
  --section-paper:#fff0df; --section-wash:#f1bd97; --section-ink:#813d24; --section-dark:#773b25;
}
.mc-site--bar, body:has(.mc-site--bar) {
  --section-paper:#fce6dc; --section-wash:#edaa96; --section-ink:#872f2b; --section-dark:#892e29;
}
.mc-site:is(.mc-site--camping,.mc-site--stays,.mc-site--bar) {
  background:var(--section-paper); --line:color-mix(in srgb,var(--section-ink) 28%, transparent);
}
body:has(.mc-site:is(.mc-site--camping,.mc-site--stays,.mc-site--bar)) .mc-header {
  background:color-mix(in srgb,var(--section-wash) 32%,#fff8ed);
  border-bottom-color:color-mix(in srgb,var(--section-ink) 30%,transparent);
}
.mc-site:is(.mc-site--camping,.mc-site--stays,.mc-site--bar) :is(.mc-marquee,.mc-section--green) {
  background:var(--section-dark); color:#fff9ec;
}
.mc-site:is(.mc-site--camping,.mc-site--stays,.mc-site--bar) .mc-section--green .mc-heading-row>p {color:#fff3e3;}
.mc-site:is(.mc-site--camping,.mc-site--stays,.mc-site--bar) .mc-section--green .mc-services>article {border-color:#ffffff60;}
.mc-site:is(.mc-site--camping,.mc-site--stays,.mc-site--bar) .mc-band { background:var(--section-wash); }
.mc-site:is(.mc-site--camping,.mc-site--stays,.mc-site--bar) .mc-hero__actions .mc-link {background:var(--section-wash);color:#2d281c;}
.mc-site--bar .mc-hero {border-bottom:.35rem solid #ac493e;}
.mc-site--camping .mc-hero {border-bottom:.35rem solid #d4ac42;}
.mc-site--stays .mc-hero {border-bottom:.35rem solid #d88d5c;}
.mc-site :is(.mc-section,.mc-band) .mc-link:not(.mc-link--linen) {background:var(--section-ink,var(--palm));color:white;}
.mc-site :is(.mc-section,.mc-band) .mc-link:hover {filter:brightness(1.12);}
.mc-route-strip {border:0;background:#fff7e7;}
.mc-route-strip__inner {max-width:112rem;padding:0;grid-template-columns:repeat(3,minmax(0,1fr));}
.mc-route-strip .mc-route-strip__inner a {
  display:flex; justify-content:center; align-items:center; gap:clamp(.4rem,1.7vw,1.6rem);
  min-width:0; min-height:5.9rem; padding:.65rem .35rem; color:#2a392c;
  font:400 clamp(1.23rem,2.5vw,2.25rem)/1.1 var(--serif); text-align:center;
  border:0; border-bottom:3px solid transparent; isolation:isolate;
}
.mc-route-strip a:nth-child(1) {background:#f5e3a4; --route-ink:#7e641e;}
.mc-route-strip a:nth-child(2) {background:#f3c5a6; --route-ink:#8d482f;}
.mc-route-strip a:nth-child(3) {background:#ecc0b3; --route-ink:#973e36;}
.mc-route-strip a:is(:hover,[aria-current]) {border-bottom-color:var(--route-ink);}
.mc-route-strip a:focus-visible {outline:3px solid var(--palm);outline-offset:-5px;}
.mc-route-strip .zone-art {display:block;width:clamp(4.25rem,7.2vw,7.15rem);height:auto;aspect-ratio:104/64;flex:none;}
.mc-route-strip a span:last-child {text-decoration:none!important;}
.mc-home-local-links {display:flex;align-items:center;gap:.7rem 1.35rem;flex-wrap:wrap;}
@media(max-width:680px) {
  .mc-route-strip .mc-route-strip__inner a {min-height:5.05rem; flex-direction:column; gap:.02rem; padding:.35rem .1rem .55rem; font-size:clamp(.99rem,4.7vw,1.4rem);}
  .mc-route-strip .zone-art {width:clamp(3.5rem,16vw,5.25rem);}
}

/* Bring the film into the three coloured entrances without covering their links. */
.mc-site--home > .mc-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(2rem, 5.3svh, 3.8rem);
  pointer-events: none;
  background: linear-gradient(90deg, #f5e3a4 0 31%, #f3c5a6 36% 64%, #ecc0b3 69% 100%);
  mask-image: linear-gradient(to bottom, transparent, rgb(0 0 0 / .12) 24%, rgb(0 0 0 / .57) 65%, black);
}
.mc-site--home::after {
  content: "";
  display: block;
  height: clamp(1.8rem, 4vw, 3.8rem);
  background: linear-gradient(to bottom, transparent, rgb(16 47 40 / .12) 27%, rgb(16 47 40 / .57) 69%, var(--deep));
  pointer-events: none;
}

.mc-site--bar #terraza .local-photo-credit {
  width: min(100%, 24.5rem);
  margin-inline: auto;
}
.mc-site--bar #terraza .mc-photo { aspect-ratio: 4 / 5; }
img[src^="/assets/visitar/terraza-playa.webp"] { object-position: 50% 64%; }
