/* ============================================================
   Preserve A Spot — LEGACY PORT (0.45.0)
   ------------------------------------------------------------
   What this file is for: the old design's rules lived in Divi → Theme
   Options → Custom CSS. That panel is being emptied. Most of it was styling
   we have replaced — but eleven blocks were LOAD-BEARING: they styled markup
   that the event functions still emit (member overlays, sold-out chips, the
   fees table, TEC's own Photo/List views, the tag archive, the progress bar).
   Deleting those without a replacement would leave that markup unstyled or,
   worse, default-blue.
   Every rule here is the ported equivalent in the real palette:
   oxblood #8f2418 · ink #1c1a17 · paper #faf6ed · bone #f4ede0 · gold #c9a159.
   Nothing from the old palette (#ae8e45, #B89441, #af3700, #C64317) survives.
   ============================================================ */
:root{--lg-ink:#1c1a17;--lg-paper:#faf6ed;--lg-bone:#f4ede0;--lg-gold:#c9a159;--lg-ox:#8f2418;
  --lg-line:rgba(201,161,89,.22);--lg-mut:#a59c8c}
html.lodge-light{--lg-line:rgba(28,26,23,.14);--lg-mut:#6f675a}

/* --- 1. headings. The old panel forced Playfair on h1-h3 with !important;
       the theme should own this, and it needs to reach h4-h6 too. --- */
h1,h2,h3,h4,h5,h6{font-family:"Playfair Display",Georgia,serif}

/* --- 2. never let a link fall back to browser blue --------------------- */
a{color:var(--lg-gold)}
a:hover,a:focus{color:var(--lg-paper)}
html.lodge-light a{color:var(--lg-ox)}
html.lodge-light a:hover,html.lodge-light a:focus{color:var(--lg-ink)}
a[href^="tel"]{color:inherit;text-decoration:inherit}
/* old helper classes still sitting on Divi text modules in event pages —
   they forced white; scoped so they inherit the ground instead of going blue */
.linkRegisterEvent a,.phoneReservation a,.whiteLinkColor a,
.linkRegisterEvent .et_pb_text_inner a,.whiteLinkColor .et_pb_text_inner{color:var(--lg-gold)!important}
.linkRegisterEvent a:hover,.phoneReservation a:hover,.whiteLinkColor a:hover{color:var(--lg-paper)!important}
html.lodge-light .linkRegisterEvent a,html.lodge-light .phoneReservation a,
html.lodge-light .whiteLinkColor a,html.lodge-light .whiteLinkColor .et_pb_text_inner{color:var(--lg-ox)!important}

/* --- 3. members overlay + extra event fields.
       These classes are printed by the EVENT FUNCTIONS, not by Divi — they
       have to keep working. Old colour #ae8e45 → gold. --- */
.member-only-overlay{position:absolute;z-index:2;background:var(--lg-gold);color:#1c150a;
  padding:4px 16px 4px 12px;border-radius:0;font-family:"JetBrains Mono",monospace;
  font-size:9.5px;letter-spacing:.18em;text-transform:uppercase}
.theme-extra-event-fields{background:var(--lg-gold);color:#1c150a;text-align:center;
  font-family:"JetBrains Mono",monospace;font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;padding:3px 8px}
.theme-photo-event-fields{width:auto;min-width:58px;background:var(--lg-gold)!important;color:#1c150a;
  border-radius:0!important;display:inline-block;text-align:center;
  font-family:"JetBrains Mono",monospace;font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;
  line-height:1.2;padding:8px 10px!important;margin:0!important;height:auto!important}

/* --- 4. sold out chip (printed by the reservation router) --------------- */
.soldout{display:block;text-align:center;margin:2px 0 20px!important;padding:11px 14px;
  border:1px solid var(--lg-gold);background:transparent;color:var(--lg-gold);border-radius:0;
  font-family:"Montserrat",sans-serif;font-weight:600;font-size:11px;letter-spacing:.18em;
  text-transform:uppercase;line-height:1.3}
html.lodge-light .soldout{border-color:var(--lg-ox);color:var(--lg-ox)}

/* --- 5. the fees table. Real content inside event descriptions; without a
       rule it renders as an unstyled browser table. --- */
.fees{width:100%;border-collapse:collapse;font-family:"Montserrat",sans-serif}
.fees th,.fees td{padding:8px 10px;border-right:1px solid var(--lg-line);border-bottom:1px solid var(--lg-line)}
.fees th{font-family:"JetBrains Mono",monospace;font-size:9.5px;font-weight:400;letter-spacing:.18em;
  text-transform:uppercase;text-align:center;white-space:nowrap;color:var(--lg-gold);background:transparent}
.fees td{font-size:13px;color:var(--lg-bone);background:rgba(0,0,0,.28)}
.fees .active td{background:var(--lg-gold);color:#1c150a;font-weight:600}
.fees .over td{color:var(--lg-mut);text-decoration:line-through}
html.lodge-light .fees th{color:var(--lg-ox)}
html.lodge-light .fees td{color:#3a352d;background:#fff}
html.lodge-light .fees .active td{background:var(--lg-ox);color:var(--lg-paper)}

/* --- 6. event description typography (.contentEvent wrapper).
       Old rules pinned the Abel font; use the site's faces. --- */
.contentEvent{font-family:"Montserrat",sans-serif}
.contentEvent h1,.contentEvent h2,.contentEvent h3,
.contentEvent h4,.contentEvent h5,.contentEvent h6{font-family:"Playfair Display",Georgia,serif!important}
.contentEvent h1{font-size:clamp(26px,3vw,36px)}
.contentEvent h2{font-size:clamp(23px,2.4vw,29px)}
.contentEvent h3{font-size:clamp(20px,2vw,25px)}
.contentEvent h4{font-size:19px}
.contentEvent h5{font-size:17px}
.contentEvent h6{font-family:"JetBrains Mono",monospace!important;font-size:10.5px;
  letter-spacing:.2em;text-transform:uppercase;color:var(--lg-gold)}
.contentEvent ul{list-style:none;padding-left:1.1em}
.contentEvent ul li{position:relative}
.contentEvent ul li::before{content:"\25B8";position:absolute;left:-1.1em;color:var(--lg-gold);font-weight:700}
html.lodge-light .contentEvent ul li::before,html.lodge-light .contentEvent h6{color:var(--lg-ox)}
.galWordpress ul li::before{display:none!important}

/* --- 7. content helpers used inside pages ----------------------------- */
.twocolLI{columns:2;column-gap:36px}
@media(max-width:799px){.twocolLI{columns:1}}
.title-full{text-align:center;position:relative;display:inline-block;white-space:nowrap}
.title-full::before,.title-full::after{content:"";position:absolute;top:50%;width:50%;height:1px;
  background:var(--lg-line)}
.title-full::before{right:100%;margin-right:16px}
.title-full::after{left:100%;margin-left:16px}
.pa-heading-line-both h3{display:flex;width:100%;justify-content:center;align-items:center;text-align:center;gap:20px}
.pa-heading-line-both h3::before,.pa-heading-line-both h3::after{content:"";border-top:1px solid var(--lg-line);flex:1 0 20px}
#menuPress ul{padding:0!important;margin:0!important;list-style:none;display:flex;flex-wrap:wrap;gap:20px}
#menuPress li{padding:0}

/* --- 8. TEC's own Photo + List views. Still reachable at
       /events-calendar/photo/ and /list/, so they cannot go unstyled. --- */
.tribe-events-pro-photo__event-title a{border-bottom:0!important;color:var(--lg-paper)!important}
.tribe-events-pro-photo__event-title a:hover{color:var(--lg-gold)!important}
.tribe-events-pro-photo__event-details-wrapper{border-radius:0!important}
.tribe-events-pro-photo__event-details-wrapper .row-title{flex-direction:column-reverse;
  background:linear-gradient(to top,rgba(13,10,7,.9),rgba(13,10,7,.15));border-radius:0!important}
.tribe-events-pro .tribe-events-pro-photo__event-date-tag{border-top-left-radius:0!important}
.tribe-events-calendar-list__event-row{background:transparent!important;border-radius:0;
  border-bottom:1px solid var(--lg-line);box-shadow:none!important;padding:26px 0!important;margin:0!important}
.tribe-events .tribe-events-calendar-list__event-featured-image{object-fit:cover;max-height:340px;width:100%}
.tribe-events-calendar-list__event-date-tag-weekday,
.tribe-events-calendar-list__event-date-tag-daynum{background:transparent!important;color:var(--lg-gold)!important}
.tribe-events-c-small-cta{display:none!important}
.tribe-events .tribe-events-calendar-month__body{background:transparent!important}
.tribe-common .tribe-common-h8{border-left:2px solid var(--lg-gold);padding-left:6px}
html.lodge-light .tribe-events-pro-photo__event-title a{color:var(--lg-ink)!important}
html.lodge-light .tribe-events-pro-photo__event-title a:hover{color:var(--lg-ox)!important}
html.lodge-light .tribe-events-calendar-list__event-date-tag-weekday,
html.lodge-light .tribe-events-calendar-list__event-date-tag-daynum,
html.lodge-light .tribe-common .tribe-common-h8{color:var(--lg-ox)!important;border-color:var(--lg-ox)}

/* --- 9. the TEC tag archive. The old grid was the only thing making
       /events-calendar/tag/… presentable; ported to the palette. --- */
body.tax-post_tag #left-area,body.tribe_events_cat #left-area{display:grid;
  grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:26px;margin-top:26px}
body.tax-post_tag #left-area article.et_pb_post,
body.tribe_events_cat #left-area article.et_pb_post{background:rgba(0,0,0,.22);border:1px solid var(--lg-line);
  border-radius:0;overflow:hidden;padding:0 0 16px;box-shadow:none;transition:border-color .2s,transform .2s}
body.tax-post_tag #left-area article.et_pb_post:hover{transform:translateY(-3px);border-color:var(--lg-gold)}
body.tax-post_tag #left-area .entry-featured-image-url img{width:100%;height:210px;object-fit:cover;display:block}
body.tax-post_tag #left-area .entry-title{font-size:20px;line-height:1.3;margin:16px 18px 8px}
body.tax-post_tag #left-area .entry-title a{color:var(--lg-paper);text-decoration:none}
body.tax-post_tag #left-area .entry-title a:hover{color:var(--lg-gold)}
body.tax-post_tag #left-area .pagination{grid-column:1/-1;text-align:center;margin-top:26px}
html.lodge-light body.tax-post_tag #left-area article.et_pb_post{background:#fff;border-color:rgba(28,26,23,.12)}
html.lodge-light body.tax-post_tag #left-area .entry-title a{color:var(--lg-ink)}
html.lodge-light body.tax-post_tag #left-area .entry-title a:hover{color:var(--lg-ox)}

/* --- 10. the events progress bar (plugin markup) ---------------------- */
.progress-bar-container.progress-bar-container{background:transparent;border:1px solid var(--lg-line);
  border-radius:0;padding:10px 14px;color:var(--lg-bone);font-family:"Montserrat",sans-serif;font-weight:600}
.progress-bar-container .progress-bar-container__background{background:var(--lg-line)}
.progress-bar-container .progress-bar-container__progressbar{background:var(--lg-gold);height:4px;margin-top:0}
.progress-bar-container .progress-bar-container__ball{border:2px solid var(--lg-gold);background:var(--lg-ink);
  margin-top:-2px;margin-left:-4px}
html.lodge-light .progress-bar-container .progress-bar-container__progressbar{background:var(--lg-ox)}
html.lodge-light .progress-bar-container .progress-bar-container__ball{border-color:var(--lg-ox);background:var(--lg-paper)}

/* --- 11. odds and ends that were doing real work --------------------- */
/* GF price labels the owner deliberately hid */
.ginput_product_price_label{display:none}
.ginput_price{font-weight:400}
/* the order total was bright green (#cfc/#090) — the only green on the site */
.ginput_total{background:transparent!important;color:var(--lg-gold)!important;font-weight:600}
html.lodge-light .ginput_total{color:var(--lg-ox)!important}
/* WP Maps Pro UI: was pure black buttons */
.wpgmp_tabs_container .wpgmp_tabs li a.active,.wpgmp_direction_container p input.wpgmp_find_direction,
.wpgmp_nearby_container .wpgmp_find_nearby_button,.wpgmp_pagination span.current,
.wpgmp_pagination a:hover,.wpgmp_toggle_main_container input[type=submit]{
  background:var(--lg-gold)!important;color:#1c150a!important;border-radius:0!important}
.wpgmp_infowindow.fc-infowindow-default .fc-item-title{font-family:"Playfair Display",Georgia,serif!important;
  text-transform:capitalize!important}
.tooltipster-base{background:var(--lg-ink)!important;border:1px solid var(--lg-line)!important;color:var(--lg-bone)!important}
html.lodge-light .tooltipster-base{background:#fff!important;color:var(--lg-ink)!important}
/* plugin chrome the owner hid */
.imp-footer,.customize-unpreviewable{display:none}
.imp-title-heading{width:100%;text-align:center}
/* Divi gallery, 3-up then 2-up */
.et_gallery_item{float:left;width:32%;margin:0 2% 2% 0}
.et_gallery_item li{list-style:none!important}
@media(max-width:800px){
  .et_gallery_item{width:47%!important}
  .et_gallery_item:nth-child(3n+1){clear:unset}
  .et_gallery_item:nth-child(3n){margin-right:2%!important}
}
sup{bottom:5px;font-size:.7em}
