:root{
  --dme-hotel-bronze:#4b2a1b;
  --dme-hotel-bronze-deep:#321b12;
  --dme-hotel-bronze-mid:#6e442d;
  --dme-hotel-bronze-soft:#8d6042;
  --dme-hotel-ivory:#f6eee6;
  --dme-hotel-ivory-2:#fcf8f3;
  --dme-hotel-cream:#fffaf5;
  --dme-hotel-ink:#2f1e17;
  --dme-hotel-muted:#715d52;
  --dme-hotel-border:#decbbc;
  --dme-hotel-accent:#e9cabb;
}

.dme-dynamic-hotel-archive,
.dme-hotel-archive-page{
  background:var(--dme-hotel-ivory-2);
  color:var(--dme-hotel-ink);
}

.dme-hotel-hero,
.dme-hotel-gallery,
.dme-hotel-archive-seo{
  box-sizing:border-box;
  width:100%;
}

/* -------------------------------------------------------------------------
   Bronze Luxe Hero — aligned to the selected prototype
   ---------------------------------------------------------------------- */
.dme-hotel-hero{
  padding-top:calc(var(--dme-hotel-header-clearance,94px) + 20px) !important;
  background:linear-gradient(90deg,#3a2116 0%,#512f1e 43%,#321c13 100%);
  overflow:hidden;
}

.dme-hotel-hero__shell{
  width:min(1440px,100%);
  margin:0 auto;
  min-height:500px;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:#3d2116;
  box-shadow:none;
}

.dme-hotel-hero__content{
  flex:0 0 43%;
  padding:66px 34px 58px 58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:2;
  background:linear-gradient(90deg,#3a2116 0%,#492919 74%,rgba(73,41,25,.90) 100%);
}

.dme-hotel-hero__eyebrow,
.dme-hotel-discovery__eyebrow{
  font-size:11px;
  line-height:1.3;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:700;
  color:#e5bea8;
}

.dme-hotel-hero__heading{
  margin:14px 0 18px;
  max-width:610px;
  color:#fff8f1;
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(48px,5vw,78px);
  line-height:.98;
  font-weight:500;
  letter-spacing:-.035em;
}

.dme-hotel-hero__description{
  max-width:585px;
  color:#f0e4da;
  font-size:16px;
  line-height:1.62;
}

.dme-hotel-hero__description p{margin:0;}

.dme-hotel-hero__proofs{
  display:flex;
  flex-wrap:wrap;
  gap:12px 22px;
  margin-top:24px;
}

.dme-hotel-hero__proof{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#fff6ed;
  font-size:12px;
  font-weight:600;
}

.dme-hotel-hero__proof>span:first-child{
  width:30px;
  height:30px;
  border:1px solid rgba(232,199,181,.58);
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#e8c7b5;
  font-size:12px;
}

.dme-hotel-hero__media{
  flex:1 1 57%;
  position:relative;
  min-width:0;
  min-height:500px;
  align-self:stretch;
  overflow:hidden;
  isolation:isolate;
  background:#3d2116;
}

.dme-hotel-hero__image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  display:block;
}

.dme-hotel-hero__shade{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(61,33,22,.58) 0%,rgba(61,33,22,.12) 25%,rgba(26,17,12,.05) 62%,rgba(38,22,14,.38) 100%),
    linear-gradient(180deg,rgba(44,25,16,.02) 55%,rgba(44,25,16,.20) 100%);
  pointer-events:none;
}

.dme-hotel-hero__image-note{
  position:absolute;
  z-index:2;
  right:30px;
  top:50%;
  transform:translateY(-50%);
  max-width:155px;
  padding-left:18px;
  border-left:1px solid rgba(255,239,224,.76);
  color:#f2d2be;
  font-family:Georgia,'Times New Roman',serif;
  font-size:13px;
  line-height:1.58;
  letter-spacing:.16em;
  text-transform:uppercase;
}

/* -------------------------------------------------------------------------
   Warm Ivory Discovery
   ---------------------------------------------------------------------- */
.dme-hotel-gallery{
  background:var(--dme-hotel-ivory-2);
  padding:28px 28px 70px;
}

.dme-hotel-gallery__inner{
  width:min(1440px,100%);
  margin:0 auto;
}

.dme-hotel-discovery{
  padding:24px 26px 22px;
  border:1px solid var(--dme-hotel-border);
  border-radius:22px;
  background:linear-gradient(145deg,#fffaf6 0%,#f5eae0 100%);
  box-shadow:0 14px 35px rgba(95,61,42,.06);
}

.dme-hotel-discovery__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:18px;
}

.dme-hotel-discovery__title-wrap{min-width:0;}

.dme-hotel-discovery__heading,
.dme-hotel-gallery__summary h2,
.dme-hotel-archive-seo__heading{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:500;
  letter-spacing:-.025em;
  color:var(--dme-hotel-ink);
}

.dme-hotel-discovery__heading{
  margin:6px 0 0;
  font-size:clamp(30px,3vw,46px);
  line-height:1.05;
}

.dme-hotel-discovery__close{display:none;}

.dme-hotel-discovery__popular{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  max-width:62%;
}

.dme-hotel-discovery__popular-label{
  margin-right:3px;
  font-size:11px;
  font-weight:700;
  color:#694d3e;
}

.dme-hotel-discovery__popular button{
  min-height:34px;
  padding:7px 13px;
  border:1px solid #d9c3b2;
  border-radius:999px;
  background:#f5e7db;
  color:#4d3428;
  font-size:11px;
  cursor:pointer;
}

.dme-hotel-discovery__popular button:hover,
.dme-hotel-discovery__popular button:focus-visible{
  background:#ead2c1;
  border-color:#b88769;
}

.dme-hotel-discovery__clear{
  margin-left:10px;
  background:transparent!important;
  border-color:transparent!important;
  text-decoration:underline;
  padding-left:5px!important;
  padding-right:5px!important;
}

.dme-hotel-discovery__controls{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px 16px;
  align-items:end;
}

.dme-hotel-control{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
}

.dme-hotel-control>span{
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:800;
  color:#765747;
}

.dme-hotel-control input,
.dme-hotel-control select{
  width:100%;
  min-height:46px;
  padding:0 14px;
  border:1px solid #d9c4b4;
  border-radius:10px;
  background:#fffaf6;
  color:#35231b;
  font:inherit;
  font-size:13px;
  box-sizing:border-box;
  outline:none;
}

.dme-hotel-control input::placeholder{color:#957f72;}

.dme-hotel-control input:focus,
.dme-hotel-control select:focus{
  border-color:#9a6446;
  box-shadow:0 0 0 3px rgba(154,100,70,.11);
}

.dme-hotel-discovery__view{
  min-height:46px;
  border:0;
  border-radius:999px;
  padding:0 22px;
  background:linear-gradient(135deg,#72472f,#986647);
  color:#fff8f1;
  font-weight:700;
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  cursor:pointer;
}

.dme-hotel-discovery__view:hover,
.dme-hotel-discovery__view:focus-visible{
  background:#513022;
  color:#fff;
}

.dme-hotel-gallery__mobile-toolbar{display:none;}

.dme-hotel-gallery__summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:22px 8px 14px;
}

.dme-hotel-gallery__summary h2{
  margin:0;
  font-size:30px;
}

.dme-hotel-gallery__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

/* -------------------------------------------------------------------------
   Ivory architectural Hotel cards
   ---------------------------------------------------------------------- */
.dme-hotel-card{
  min-width:0;
  overflow:hidden;
  border:1px solid #e0cbbb;
  border-radius:16px;
  background:#fffaf5;
  box-shadow:0 8px 24px rgba(82,52,36,.07);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.dme-hotel-card:hover{
  transform:translateY(-3px);
  box-shadow:0 17px 35px rgba(82,52,36,.12);
  border-color:#c7a68f;
}

.dme-hotel-card__media{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#e8d9cd;
}

.dme-hotel-card__image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}

/* Legacy Showcase images are often hotel logos. Keep the full mark visible
   until a dedicated Archive Card Image is assigned. */
.dme-hotel-card__media--showcase{
  background:linear-gradient(145deg,#eaded4,#f6eee7);
}
.dme-hotel-card__image--showcase{
  object-fit:contain;
  object-position:center center;
  padding:18px 22px;
  box-sizing:border-box;
  transform:none!important;
}
.dme-hotel-card:hover .dme-hotel-card__image--showcase{transform:none;}

.dme-hotel-card:hover .dme-hotel-card__image{transform:scale(1.03);}

.dme-hotel-card__placeholder{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,#d8bca7,#8a5b3d);
}

.dme-hotel-card__badges{
  position:absolute;
  top:9px;
  left:9px;
  right:9px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.dme-hotel-card__badges span{
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,248,241,.94);
  color:#4b2f21;
  border:1px solid rgba(92,58,40,.18);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.dme-hotel-card__body{padding:14px 14px 13px;}

.dme-hotel-card__title{
  margin:0;
  font-family:Georgia,'Times New Roman',serif;
  font-size:22px;
  line-height:1.05;
  font-weight:500;
}

.dme-hotel-card__title a{color:#2d1c15;text-decoration:none;}

.dme-hotel-card__location{
  margin-top:5px;
  color:#7b5e4e;
  font-size:12px;
}

.dme-hotel-card__excerpt{
  margin:9px 0 11px;
  min-height:54px;
  color:#66554c;
  font-size:12px;
  line-height:1.46;
}

.dme-hotel-card__facts{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.dme-hotel-card__facts span{
  padding:5px 8px;
  border:1px solid #ead7c8;
  border-radius:999px;
  background:#f6eae0;
  color:#5b4032;
  font-size:9px;
  line-height:1.2;
}

.dme-hotel-card__button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:39px;
  width:100%;
  border-radius:999px;
  background:linear-gradient(135deg,#6f432d,#966547);
  color:#fff7ef!important;
  text-decoration:none!important;
  font-size:11px;
  font-weight:700;
}

.dme-hotel-card__button:hover,
.dme-hotel-card__button:focus-visible{background:#4f2d20;}

.dme-hotel-gallery__empty{
  margin:30px 0;
  padding:28px;
  border:1px dashed #c9ad99;
  border-radius:16px;
  text-align:center;
  background:#fff9f4;
}

.dme-hotel-gallery__overlay{display:none;}

/* -------------------------------------------------------------------------
   Editorial / SEO close
   ---------------------------------------------------------------------- */
.dme-hotel-archive-seo{
  padding:0 28px 58px;
  background:var(--dme-hotel-ivory-2);
}

.dme-hotel-archive-seo__inner{
  width:min(1384px,100%);
  margin:0 auto;
  padding:31px 34px;
  border:1px solid #ddc9b8;
  border-radius:22px;
  background:linear-gradient(120deg,#f1dfd1 0%,#fbf3ec 100%);
}

.dme-hotel-archive-seo__heading{
  margin:0 0 14px;
  max-width:900px;
  font-size:clamp(32px,3.5vw,50px);
  line-height:1.02;
}

.dme-hotel-archive-seo__content{
  max-width:1040px;
  color:#59463d;
  font-size:15px;
  line-height:1.68;
}

.dme-hotel-archive-seo__content h3,
.dme-hotel-archive-seo__content h4{
  font-family:Georgia,'Times New Roman',serif;
  color:#332018;
}

@media (max-width:1180px){
  .dme-hotel-hero__content{flex-basis:46%;padding-left:38px;}
  .dme-hotel-gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .dme-hotel-discovery__controls{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dme-hotel-discovery__popular{max-width:52%;}
}

@media (max-width:767px){
  html.dme-hotel-filter-open{overflow:hidden;}

  .dme-hotel-hero{padding-top:0!important;}
  .dme-hotel-hero__shell{display:flex;flex-direction:column;min-height:0;}
  .dme-hotel-hero__media{order:1;flex:none;width:100%;height:250px;min-height:250px;align-self:auto;overflow:hidden;}
  .dme-hotel-hero__image{position:absolute;inset:0;min-height:0;width:100%;height:100%;}
  .dme-hotel-hero__shade{background:linear-gradient(180deg,rgba(58,33,23,.04) 35%,rgba(58,33,23,.68) 100%);}
  .dme-hotel-hero__image-note{right:14px;top:auto;bottom:14px;transform:none;max-width:130px;font-size:9px;line-height:1.48;}
  .dme-hotel-hero__content{order:2;flex:none;padding:25px 16px 27px;background:#45271b;}
  .dme-hotel-hero__heading{font-size:43px;line-height:.98;margin:10px 0 14px;}
  .dme-hotel-hero__description{font-size:14px;line-height:1.56;}
  .dme-hotel-hero__proofs{display:grid;gap:9px;margin-top:19px;}
  .dme-hotel-hero__proof{font-size:12px;}

  .dme-hotel-gallery{padding:10px 6px 46px;}
  .dme-hotel-gallery__mobile-toolbar{
    display:flex;
    gap:8px;
    margin:14px 0 12px;
  }
  .dme-hotel-gallery__mobile-toolbar button,
  .dme-hotel-gallery__mobile-toolbar span{
    flex:1;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #ceb39f;
    border-radius:999px;
    background:#f4e4d7;
    color:#4d3327;
    font-size:12px;
    font-weight:700;
  }

  .dme-hotel-discovery{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:100002;
    max-height:min(88dvh,820px);
    overflow:auto;
    border-radius:24px 24px 0 0;
    padding:18px 14px calc(18px + env(safe-area-inset-bottom));
    transform:translateY(105%);
    opacity:0;
    pointer-events:none;
    transition:transform .28s ease,opacity .2s ease;
    box-shadow:0 -20px 60px rgba(49,28,19,.28);
  }
  .dme-hotel-gallery.is-filter-open .dme-hotel-discovery{transform:translateY(0);opacity:1;pointer-events:auto;}
  .dme-hotel-discovery__head{align-items:flex-start;margin-bottom:16px;}
  .dme-hotel-discovery__popular{display:none;}
  .dme-hotel-discovery__close{
    display:inline-flex;
    flex:0 0 40px;
    width:40px;
    height:40px;
    align-items:center;
    justify-content:center;
    border:1px solid #c6a891;
    border-radius:999px;
    background:#fff8f1;
    color:#4b3024;
    font-size:24px;
  }
  .dme-hotel-discovery__controls{grid-template-columns:1fr;gap:11px;}
  .dme-hotel-discovery__heading{font-size:30px;}
  .dme-hotel-control input,
  .dme-hotel-control select{min-height:46px;}
  .dme-hotel-discovery__view{min-height:48px;margin-top:2px;}
  .dme-hotel-gallery__overlay{
    position:fixed;
    inset:0;
    z-index:100001;
    background:rgba(28,17,12,.62);
    backdrop-filter:blur(3px);
  }
  .dme-hotel-gallery.is-filter-open .dme-hotel-gallery__overlay{display:block;}

  .dme-hotel-gallery__summary{margin:12px 2px 10px;scroll-margin-top:84px;}
  .dme-hotel-gallery__summary h2{font-size:25px;}
  .dme-hotel-gallery__grid{grid-template-columns:1fr;gap:12px;}
  .dme-hotel-card{border-radius:16px;}
  .dme-hotel-card__body{padding:14px;}
  .dme-hotel-card__title{font-size:25px;}
  .dme-hotel-card__excerpt{min-height:0;}
  .dme-hotel-card__button{min-height:44px;}

  .dme-hotel-archive-seo{padding:0 6px 40px;}
  .dme-hotel-archive-seo__inner{padding:24px 16px;border-radius:18px;}
  .dme-hotel-archive-seo__heading{font-size:34px;}
}

@media (prefers-reduced-motion:reduce){
  .dme-hotel-card,
  .dme-hotel-card__image,
  .dme-hotel-discovery{transition:none!important;}
}


/* Phase 1.2 — Grid / Map and live-rate card details */
.dme-hotel-gallery__summary{display:flex;align-items:center;justify-content:space-between;gap:16px}.dme-hotel-gallery__view-toggle{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--dme-hotel-border);border-radius:999px;background:#fffaf5}.dme-hotel-gallery__view-toggle button{border:0;background:transparent;color:var(--dme-hotel-ink);border-radius:999px;padding:8px 13px;font-size:12px;cursor:pointer}.dme-hotel-gallery__view-toggle button.is-active{background:var(--dme-hotel-bronze-soft);color:#fff}.dme-hotel-card__rate{margin:12px 0 10px;padding-top:11px;border-top:1px solid #eadbd0;display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:4px 8px}.dme-hotel-card__rate span{font-size:11px;color:var(--dme-hotel-muted)}.dme-hotel-card__rate strong{font-family:Georgia,serif;font-size:23px;color:var(--dme-hotel-ink)}.dme-hotel-card__rate small{grid-column:1/-1;color:var(--dme-hotel-muted);font-size:10px}.dme-hotel-card__rate--pending strong{font-size:16px;font-family:inherit;font-weight:700;color:#765747}.dme-hotel-card__rate--pending span{font-weight:700;color:#5d4032}.dme-hotel-gallery__map{position:relative;min-height:620px;border:1px solid var(--dme-hotel-border);border-radius:20px;overflow:hidden;background:#eadbd0}.dme-hotel-gallery__map-canvas{height:620px;width:100%}.dme-hotel-gallery__map-status{position:absolute;inset:auto 18px 18px;z-index:500;background:#fffaf5;border:1px solid var(--dme-hotel-border);border-radius:12px;padding:10px 14px;color:var(--dme-hotel-ink);font-size:12px;display:none}.dme-hotel-gallery__map-status:not(:empty){display:block}.dme-hotel-map-marker{width:28px;height:28px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:#8d6042;border:3px solid #fffaf5;box-shadow:0 5px 16px rgba(52,28,18,.3)}.dme-hotel-map-marker:after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#fffaf5;left:8px;top:8px}.dme-hotel-map-popup{min-width:180px;color:#2f1e17}.dme-hotel-map-popup strong{font-family:Georgia,serif;font-size:16px;display:block}.dme-hotel-map-popup span{display:block;color:#715d52;margin:3px 0}.dme-hotel-map-popup b{display:block;margin:5px 0}.dme-hotel-map-popup a{display:inline-block;margin-top:5px;color:#6e442d;font-weight:700}.dme-hotel-gallery.is-map-view .dme-hotel-gallery__grid{display:none}.dme-hotel-gallery.is-map-view .dme-hotel-gallery__map{display:block!important}@media(max-width:767px){.dme-hotel-gallery__summary{align-items:center}.dme-hotel-gallery__summary h2{font-size:24px}.dme-hotel-gallery__view-toggle button{padding:7px 10px;font-size:11px}.dme-hotel-gallery__map,.dme-hotel-gallery__map-canvas{min-height:58vh;height:58vh;border-radius:14px}.dme-hotel-card__rate strong{font-size:20px}}

/* -------------------------------------------------------------------------
   Phase 1.5 — robust equal-height Hero media fill
   UiCore/Elementor can apply generic responsive image rules after widget CSS.
   Use a two-column grid on desktop so the media column always equals the
   content column height, and pin the image to that full grid area.
   ---------------------------------------------------------------------- */
@media (min-width:768px){
  .elementor-widget-dme-hotel-archive-hero .dme-hotel-hero__shell{
    display:grid;
    grid-template-columns:minmax(0,43%) minmax(0,57%);
    align-items:stretch;
  }
  .elementor-widget-dme-hotel-archive-hero .dme-hotel-hero__content{
    width:auto;
    min-width:0;
    height:auto;
  }
  .elementor-widget-dme-hotel-archive-hero .dme-hotel-hero__media{
    width:auto;
    min-width:0;
    min-height:500px;
    height:auto;
    align-self:stretch;
    position:relative!important;
  }
  body .elementor-widget-dme-hotel-archive-hero .dme-hotel-hero__media > img.dme-hotel-hero__image{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    min-height:100%!important;
    margin:0!important;
    padding:0!important;
    object-fit:cover!important;
    display:block!important;
  }
}
@media (min-width:768px) and (max-width:1180px){
  .elementor-widget-dme-hotel-archive-hero .dme-hotel-hero__shell{
    grid-template-columns:minmax(0,46%) minmax(0,54%);
  }
}
@media (max-width:767px){
  .elementor-widget-dme-hotel-archive-hero .dme-hotel-hero__shell{
    display:flex;
    grid-template-columns:none;
  }
  body .elementor-widget-dme-hotel-archive-hero .dme-hotel-hero__media > img.dme-hotel-hero__image{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    min-height:100%!important;
    margin:0!important;
    padding:0!important;
    object-fit:cover!important;
    display:block!important;
  }
}
