
/* BG-WEB-17 • hospitality and leisure pages, aligned to BG-WEB's light editorial design */
.hs-page{background:#f4f1e9;color:#142536;font:15px/1.7 "Segoe UI",Arial,sans-serif;margin:0}
.hs-page *{box-sizing:border-box}
.hs-page a{text-underline-offset:5px}
.hs-page :is(a,button,summary):focus-visible{outline:3px solid #bf9253;outline-offset:3px}
.hs-shell{width:min(1370px,calc(100% - 96px));margin:0 auto}
.hs-header{background:#fbf9f3;border-bottom:1px solid #d8cebd}
.hs-header-in{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:74px}
.hs-wordmark{font:650 12px/1.3 "Segoe UI",sans-serif;text-decoration:none;color:#172b3c;letter-spacing:.2em}
.hs-wordmark span{font-weight:400}
.hs-menu{display:flex;flex-wrap:wrap;align-items:center;gap:11px 25px}
.hs-menu a{text-decoration:none;color:#233b4a;font-size:12px;padding:10px 0}
.hs-menu a:hover{color:#957041;text-decoration:underline}
.hs-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;color:#83693d;text-transform:uppercase;letter-spacing:.13em;font-size:10px;padding:28px 0 24px}
.hs-breadcrumb a{color:inherit}
.hs-kicker{margin:0 0 12px;font-size:10px;font-weight:700;letter-spacing:.2em;color:#b89257;text-transform:uppercase}
.hs-hero{position:relative;min-height:min(69vw,580px);height:clamp(390px,51vw,610px);overflow:hidden;isolation:isolate;background:#162f3c;color:#fff;box-shadow:0 15px 45px #1024341c}
.hs-slide{position:absolute;inset:0;width:100%;height:100%;opacity:0;visibility:hidden;transition:opacity 900ms ease,visibility 0s linear 900ms;pointer-events:none}
.hs-slide.is-active{opacity:1;visibility:visible;transition:opacity 900ms ease,visibility 0s;pointer-events:auto}
.hs-slide img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 50%;transform:scale(1.06);transition:transform 6000ms linear;filter:saturate(.89)}
.hs-slide.is-active img{transform:scale(1)}
.hs-hero:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#081521e8 0%,#081b2cb3 36%,#05152130 83%),linear-gradient(0deg,#091723dd,transparent 35%); }
.hs-hero-copy{position:relative;z-index:2;width:min(690px,78%);padding:clamp(52px,7.7vw,110px) 0 102px clamp(28px,5vw,78px);pointer-events:none}
.hs-hero-copy h1{font:400 clamp(42px,5.5vw,82px)/1.07 Georgia,serif;letter-spacing:-.055em;margin:0 0 20px;color:#fff}
.hs-hero-copy>p:not(.hs-kicker){font-size:clamp(13px,1.3vw,17px);line-height:1.75;color:#f3efe6;max-width:540px;margin:0}
.hs-hero-copy .hs-buttons{pointer-events:auto;margin-top:27px}
.hs-buttons{display:flex;flex-wrap:wrap;gap:11px}
.hs-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 19px;min-height:47px;color:#172a38;text-decoration:none;background:#dfbc7c;border:1px solid #f4d49f;font-size:12px;font-weight:650;transition:background .2s,transform .2s}
.hs-button:hover{background:#f0d39a;transform:translateY(-2px)}
.hs-button--light{background:#f7f4eb;color:#18313e;border-color:#d6c5a5}
.hs-button--line{color:#fff;background:#152f3baa;border-color:#d4bb87}
.hs-button--line:hover{background:#304653;color:#fff}
.hs-controls{position:absolute;bottom:22px;right:25px;left:25px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:15px}
.hs-controls-left,.hs-controls-right{display:flex;align-items:center;gap:9px}
.hs-controls button{display:grid;place-items:center;min-width:39px;min-height:39px;color:#fff;background:#0f243ab5;border:1px solid #eee1c77a;cursor:pointer}
.hs-controls button:hover{background:#9b7549}
.hs-count{font-size:12px;min-width:60px;text-align:center;font-variant-numeric:tabular-nums;color:#fff}
.hs-dots{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.hs-dots button{min-width:0;min-height:0;width:9px;height:9px;border:1px solid #fff9;border-radius:50%;padding:0;background:#ffffff55}
.hs-dots button[aria-current="true"]{background:#eccb90;box-shadow:0 0 0 4px #eacb8544;border-color:#eccb90}
.hs-progress{position:absolute;inset:auto 0 0;height:3px;z-index:4;background:#ffffff30}
.hs-progress span{display:block;height:100%;width:0;background:#e6bf79;transition:width 100ms linear}
.hs-slide-caption{position:absolute;bottom:77px;right:25px;z-index:3;color:#f7ecd2;font-size:11px;letter-spacing:.06em;text-shadow:0 2px 12px #000b}
.hs-section{padding:65px 0;border-bottom:1px solid #d9cfbe}
.hs-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.hs-section h2{font:400 clamp(30px,3.6vw,50px)/1.15 Georgia,serif;letter-spacing:-.04em;margin:0}
.hs-section-head>p{font-size:13px;line-height:1.8;color:#526670;max-width:540px;margin:0}
.hs-lead{font-size:16px;color:#4f6069;line-height:1.9;max-width:950px}
.hs-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hs-feature{padding:25px;background:#fdfbf7;border:1px solid #dfd5c6;min-height:220px;transition:transform .25s,border-color .25s}
.hs-feature:hover{transform:translateY(-4px);border-color:#b28c53}
.hs-feature strong{display:block;font:italic 22px Georgia,serif;color:#b48a51;margin-bottom:20px}
.hs-feature h3{font:400 24px/1.22 Georgia,serif;margin:0 0 12px;color:#192f3d}
.hs-feature p{font-size:13px;line-height:1.75;margin:0;color:#57676d}
.hs-two-col{display:grid;grid-template-columns:1fr 1fr;gap:42px}
.hs-two-col h3{font:400 28px/1.25 Georgia,serif;margin:0 0 12px}
.hs-two-col p,.hs-two-col li{font-size:14px;line-height:1.9;color:#50636c}
.hs-two-col ul{margin:15px 0 0;padding:0;list-style:none}
.hs-two-col li{border-top:1px solid #d3c8b8;padding:10px 0 10px 24px;position:relative}
.hs-two-col li:before{content:"✓";position:absolute;left:2px;color:#a88042}
.hs-quote{background:#e8dfd0;border-left:3px solid #bd9658;padding:25px 28px;font:400 clamp(23px,2.7vw,34px)/1.35 Georgia,serif;color:#192c38;margin:24px 0}
.hs-photo-grid{display:grid;grid-template-columns:1.55fr 1fr 1fr;gap:12px}
.hs-thumb{display:block;position:relative;overflow:hidden;border:0;background:#1c3542;padding:0;cursor:pointer;min-height:190px}
.hs-thumb:first-child{grid-row:span 2}
.hs-thumb img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .45s}
.hs-thumb:hover img{transform:scale(1.055)}
.hs-thumb span{position:absolute;inset:auto 0 0;display:block;background:linear-gradient(transparent,#091725db);padding:22px 13px 12px;color:white;text-align:left;font-size:11px}
.hs-faq{border-top:1px solid #d6cdbb}
.hs-faq details{border-bottom:1px solid #d6cdbb}
.hs-faq summary{padding:18px 42px 18px 5px;cursor:pointer;list-style:none;position:relative;font:400 21px/1.5 Georgia,serif}
.hs-faq summary::-webkit-details-marker{display:none}
.hs-faq summary:after{content:"+";position:absolute;right:8px;color:#9c783c;font:25px/1.4 "Segoe UI",Arial,sans-serif}
.hs-faq details[open] summary:after{content:"−"}
.hs-faq details p{font-size:14px;color:#52626b;line-height:1.85;max-width:840px;margin:0 0 20px 5px}
.hs-contact{background:#172f3e;color:#f9efdb;padding:54px 0}
.hs-contact-in{display:flex;justify-content:space-between;align-items:center;gap:24px}
.hs-contact h2{font:400 clamp(29px,3vw,43px)/1.2 Georgia,serif;margin:0 0 10px}
.hs-contact p{font-size:13px;color:#cdd6d7;margin:0;line-height:1.7;max-width:700px}
.hs-nearby{background:#ede8de}
.hs-footer{background:#132734;color:#e9dec5;padding:30px 0;font-size:12px}
.hs-footer-in{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap}
.hs-footer a{color:inherit}
.hs-footer nav{display:flex;gap:16px;flex-wrap:wrap}
.hs-footer button{border:0;background:none;padding:0;cursor:pointer;font:inherit;color:inherit}
.hs-lightbox{border:1px solid #bca16e;padding:0;width:min(1180px,calc(100% - 32px));max-height:calc(100dvh - 30px);background:#101e2b;color:#fff;overflow:auto;box-shadow:0 30px 80px #0009}
.hs-lightbox::backdrop{background:#06111de5}
.hs-lightbox figure{margin:0;display:flex;align-items:center;justify-content:center;min-height:min(72dvh,670px);position:relative}
.hs-lightbox img{object-fit:contain;max-width:100%;max-height:77dvh}
.hs-lightbox figcaption{position:absolute;left:0;right:0;bottom:0;padding:18px 45px;text-align:center;background:linear-gradient(transparent,#091624e8);font-size:13px}
.hs-lightbox-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-bottom:1px solid #fff4}
.hs-lightbox button{padding:8px 13px;min-height:40px;border:1px solid #d5b980;background:#1b3444;color:#fff;cursor:pointer}
.hs-lightbox button:hover{background:#b18c57;color:#101f29}
.hs-lightbox-close{font-size:23px!important;line-height:1!important}
.hs-muted{font-size:11px;color:#6c7475}
@media(max-width:1050px){.hs-shell{width:calc(100% - 58px)}.hs-hero-copy{width:min(660px,90%)}.hs-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.hs-photo-grid{grid-template-columns:repeat(2,1fr)}.hs-thumb:first-child{grid-row:span 1;min-height:260px}}
@media(max-width:690px){.hs-shell{width:calc(100% - 30px)}.hs-header-in{flex-wrap:wrap;gap:4px;padding:12px 0}.hs-menu{gap:3px 15px}.hs-hero{height:550px}.hs-hero:after{background:linear-gradient(0deg,#061523e8 0%,#0b1d2aba 60%,#08152140)}.hs-hero-copy{width:100%;padding:112px 20px 120px}.hs-hero-copy h1{font-size:clamp(37px,10vw,56px)}.hs-controls{left:12px;right:12px;bottom:18px}.hs-slide-caption{bottom:71px;right:14px;font-size:10px}.hs-section{padding:43px 0}.hs-section-head{display:block}.hs-section-head>p{margin-top:10px}.hs-highlights,.hs-two-col,.hs-photo-grid{grid-template-columns:1fr}.hs-thumb,.hs-thumb:first-child{min-height:210px}.hs-contact-in{display:block}.hs-contact .hs-button{margin-top:23px}.hs-hero .hs-buttons{display:flex;gap:8px}.hs-button{padding:11px 13px}.hs-faq summary{font-size:18px}}
@media(prefers-reduced-motion:reduce){.hs-slide,.hs-slide img,.hs-thumb img,.hs-feature,.hs-button{transition:none!important;transform:none!important}}

/* BG-WEB-18 hero hierarchy: independent gallery toolbar, no copy/control overlap */
.hs-hero {
  height:auto;
  min-height:clamp(550px,48vw,625px);
  display:flex;
  align-items:center;
}
.hs-hero-copy {
  width:min(710px,73%);
  max-width:none;
  padding:58px 0 145px clamp(26px,4.6vw,74px);
  margin:0;
}
.hs-hero-copy h1 {
  font-size:clamp(39px,4.45vw,61px);
  line-height:1.085;
  letter-spacing:-.04em;
  max-width:690px;
  margin-bottom:17px;
  text-wrap:balance;
}
.hs-hero-copy>p:not(.hs-kicker) {
  max-width:590px;
  font-size:clamp(13px,1.08vw,15px);
  line-height:1.7;
}
.hs-hero-copy .hs-buttons {
  margin-top:23px;
  row-gap:10px;
}
.hs-hero-copy .hs-button {
  min-height:46px;
}
.hs-controls {
  display:flex;
  left:0;
  right:0;
  bottom:0;
  height:69px;
  min-height:69px;
  padding:12px 22px;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  background:linear-gradient(90deg,rgba(14,31,44,.99),rgba(20,41,53,.98));
  border-top:1px solid rgba(222,190,131,.38);
}
.hs-controls button {width:41px;height:41px;min-width:41px;min-height:41px}
.hs-controls .hs-dots button {
  width:10px;height:10px;min-width:10px;min-height:10px;
}
.hs-count {color:#f2e3cb;min-width:53px}
.hs-slide-caption {
  right:22px;
  bottom:86px;
  max-width:42%;
  text-align:right;
}
.hs-progress {height:3px;bottom:0}
.hs-hero {touch-action:pan-y}
@media (min-width:691px) and (max-width:1050px) {
  .hs-hero-copy {width:min(680px,86%);padding-top:51px;padding-bottom:141px}
  .hs-hero-copy h1 {font-size:clamp(40px,5.1vw,55px)}
}
@media (max-width:690px) {
  .hs-hero {
    height:auto;
    min-height:640px;
    display:flex;
    align-items:center;
  }
  .hs-hero-copy {
    width:100%;
    padding:48px 18px 170px;
  }
  .hs-hero-copy h1 {
    font-size:clamp(34px,9vw,44px);
    line-height:1.1;
    max-width:100%;
    margin-bottom:15px;
  }
  .hs-hero-copy>p:not(.hs-kicker) {
    font-size:13px;
    line-height:1.65;
    max-width:100%;
  }
  .hs-hero-copy .hs-buttons {margin-top:19px;gap:9px}
  .hs-hero-copy .hs-button {font-size:11px;min-height:43px}
  .hs-controls {
    display:grid;
    grid-template-areas:"nav tools" "dots dots";
    grid-template-columns:minmax(0,1fr) auto;
    align-content:center;
    gap:12px 7px;
    height:111px;
    min-height:111px;
    padding:10px 14px 13px;
  }
  .hs-controls-left {grid-area:nav}
  .hs-controls-right {grid-area:tools}
  .hs-controls .hs-dots {grid-area:dots;justify-content:center;gap:11px}
  .hs-slide-caption {left:15px;right:15px;bottom:127px;max-width:none;text-align:right}
}
@media (max-width:380px) {
  .hs-hero-copy {padding-top:35px;padding-bottom:181px}
  .hs-hero-copy h1 {font-size:34px}
  .hs-hero-copy .hs-buttons {display:grid;grid-template-columns:1fr}
  .hs-hero-copy .hs-button {justify-content:center}
}
@media (prefers-reduced-motion:reduce) {
  .hs-hero-copy h1 {text-wrap:wrap}
}

/* BG-WEB-20: compact 24-photo navigation for Amber without wrapping/overlap */
.hs-controls .hs-dots {
  display:flex;
  flex-wrap:nowrap;
  justify-content:flex-start;
  align-items:center;
  gap:9px;
  overflow-x:auto;
  overflow-y:hidden;
  max-width:min(580px,48vw);
  width:auto;
  min-height:42px;
  padding:10px 6px;
  scrollbar-width:thin;
  scrollbar-color:#ac9162 transparent;
  scroll-behavior:smooth;
}
.hs-controls .hs-dots button {
  display:block;
  flex:0 0 10px;
  width:10px;
  min-width:10px;
  height:10px;
  min-height:10px;
  border-radius:50%;
  padding:0;
}
@media(max-width:690px) {
  .hs-controls .hs-dots {
    grid-area:dots;
    width:100%;
    max-width:100%;
    justify-content:flex-start;
    min-height:34px;
    padding:8px 5px;
    touch-action:pan-x;
  }
}

/* BG-WEB-23: clean hospitality photos — no visible caption overlays.
   Alt text on photos, button aria-labels and gallery status remain accessible. */
.hs-page .hs-photo-grid .hs-thumb > span,
.hs-page .hs-hero .hs-slide-caption,
.hs-page .hs-lightbox figure > figcaption {
  display: none !important;
}
/* BG-WEB-24: precisely centered close glyph in square buttons */
.hs-lightbox .hs-lightbox-close, .dialog-close, .mg-project-close { display:inline-grid!important; place-items:center!important; width:44px; height:44px; min-width:44px; min-height:44px; box-sizing:border-box; padding:0!important; margin-block:0; text-align:center; line-height:1!important; vertical-align:middle; font-family:Arial,sans-serif; font-size:25px!important; font-weight:400; }

/* BG-WEB-25: same official brand within the R27 hospitality subpage */
.hs-hero .hs-r27-official-brand {
  position:absolute;
  top:21px;
  right:23px;
  z-index:3;
  display:block;
  width:clamp(140px,16vw,193px);
  height:auto;
  padding:8px 11px;
  box-sizing:border-box;
  border:1px solid #dbbd85;
  background:#fffdf7;
  box-shadow:0 10px 24px #06142172;
  pointer-events:none;
}
@media(max-width:690px) {
  .hs-hero .hs-r27-official-brand {top:12px;right:12px;width:135px;padding:6px 9px;}
}

/* BG-WEB-26 — R27 subpage logo: transparent, top-left without covering content */
.hs-hero .hs-r27-official-brand {
  left:23px;
  right:auto;
  top:8px;
  width:104px;
  height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  filter:none;
}
@media (max-width:690px) {
  .hs-hero .hs-r27-official-brand {
    left:14px;
    right:auto;
    top:7px;
    width:92px;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
  }
}

/* BG-WEB-27 Aizputes logo within the leisure-complex hero */
.hs-hero .hs-aizpute-approved-logo {
  position:absolute;
  z-index:3;
  right:23px;
  left:auto;
  top:19px;
  display:block;
  width:clamp(155px,20vw,232px);
  max-width:34%;
  height:auto;
  pointer-events:none;
  filter:drop-shadow(0 3px 12px rgba(0,0,0,.65));
}
.hs-hero .hs-aizpute-approved-logo svg {
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}
@media (max-width:690px) {
  .hs-hero .hs-aizpute-approved-logo {
    right:13px;
    top:10px;
    width:128px;
    max-width:37%;
  }
}

/* BG-WEB-28: clean Aizputes emblem in the hospitality hero */
.hs-hero .hs-aizpute-approved-logo {
  top:18px;
  right:22px;
  left:auto;
  z-index:3;
  width:200px;
  max-width:30%;
  height:auto;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  filter:drop-shadow(0 2px 9px rgba(0,0,0,.68));
  pointer-events:none;
}
.hs-hero .hs-aizpute-approved-logo img {
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
@media(max-width:690px) {
  .hs-hero .hs-aizpute-approved-logo {
    top:10px;
    right:12px;
    width:130px;
    max-width:36%;
    padding:0;
    box-shadow:none;
    background:transparent;
  }
}


/* BG-WEB-33 — Aizputes vēsture: compact teaser, accessible expandable chronology */
.hs-history{scroll-margin-top:28px}
.hs-history-shell{
  position:relative;overflow:hidden;
  background:linear-gradient(133deg,#faf7ef 0%,#f1e9da 100%);
  border:1px solid #d6c5aa;border-top:3px solid #bf995c;
  padding:clamp(28px,4.6vw,64px);
}
.hs-history-shell:before{
  content:"";position:absolute;pointer-events:none;
  width:320px;height:320px;right:-120px;top:-170px;
  border:1px solid rgba(162,124,64,.14);border-radius:50%;
  box-shadow:0 0 0 45px rgba(162,124,64,.04),0 0 0 91px rgba(162,124,64,.03);
}
.hs-history-head{position:relative;display:flex;gap:24px;align-items:flex-end;justify-content:space-between}
.hs-history-head h2{font:400 clamp(31px,3.8vw,54px)/1.12 Georgia,serif;letter-spacing:-.045em;color:#142b39;margin:0}
.hs-history-period{
  flex-shrink:0;white-space:nowrap;font:italic 18px Georgia,serif;
  color:#997343;border-bottom:1px solid #c2a676;padding-bottom:7px;margin-bottom:5px;
}
.hs-history-lead{position:relative;max-width:970px;margin:22px 0 0;font-size:15px;line-height:1.9;color:#354c57}
.hs-history-lead-accent{margin-top:13px;font-weight:600;color:#263c45}
.hs-history-details{margin-top:26px}
.hs-history-toggle{
  display:inline-flex;align-items:center;gap:20px;justify-content:space-between;
  min-height:49px;min-width:215px;max-width:100%;
  background:#172e3d;color:#f5e6c8;padding:12px 18px;
  border:1px solid #172e3d;cursor:pointer;list-style:none;
  font-size:12px;font-weight:650;transition:background .2s ease;
}
.hs-history-toggle::-webkit-details-marker{display:none}
.hs-history-toggle::marker{content:""}
.hs-history-toggle:hover{background:#304b56}
.hs-history-toggle .hs-history-show,.hs-history-toggle .hs-history-hide{display:inline-flex;align-items:center;gap:12px;white-space:nowrap}
.hs-history-toggle .hs-history-hide{display:none}
.hs-history-details[open] .hs-history-show{display:none}
.hs-history-details[open] .hs-history-hide{display:inline-flex}
.hs-history-readtime{
  color:#efd6a4;font-size:10px;font-weight:400;letter-spacing:.03em;
  padding-left:16px;border-left:1px solid rgba(246,222,181,.28)
}
.hs-history-full{border-top:1px solid #d8c8af;margin-top:27px;padding-top:28px}
.hs-history-prologue{margin:0 0 34px;max-width:880px;font:400 17px/1.75 Georgia,serif;color:#334a55}
.hs-history-timeline{list-style:none;counter-reset:hs-event;margin:0;padding:0}
.hs-history-event{
  position:relative;display:grid;grid-template-columns:minmax(135px,215px) 1fr;
  gap:clamp(19px,3.5vw,52px);border-top:1px solid #d7cbb8;padding:25px 0 25px 28px;
}
.hs-history-event:before{
  content:"";position:absolute;top:30px;left:1px;width:9px;height:9px;
  border-radius:50%;background:#b1894a;box-shadow:0 0 0 4px #e8dfce;
}
.hs-history-event:after{
  content:"";position:absolute;left:5px;top:43px;bottom:-1px;
  border-left:1px solid #c7ad80;
}
.hs-history-event:last-child:after{display:none}
.hs-history-date{font:italic 21px/1.3 Georgia,serif;color:#9d743e}
.hs-history-event-copy h3{font:400 clamp(21px,2.2vw,29px)/1.25 Georgia,serif;margin:0 0 11px;color:#142b39}
.hs-history-event-copy p{max-width:820px;margin:0 0 12px;color:#4c6069;font-size:13px;line-height:1.85}
.hs-history-event-copy p:last-child{margin-bottom:0}
.hs-history-heritage{background:#eae2d3;border-left:3px solid #ad854a;padding:24px 26px;margin:30px 0}
.hs-history-heritage p:last-child{font-size:13px;color:#435762;line-height:1.85;margin:0}
.hs-history-sources{border-top:1px solid #d0bf9f;padding-top:26px}
.hs-history-sources h3{font:400 25px Georgia,serif;margin:0 0 8px}
.hs-history-sources>p{font-size:13px;color:#51616a;margin:0 0 13px}
.hs-history-sources ul{margin:0;padding-left:20px}
.hs-history-sources li{font-size:12px;line-height:1.8;margin:8px 0;color:#394e5a}
.hs-history-sources a{color:#775827;text-decoration:underline;text-underline-offset:4px}
.hs-history-end{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:31px;padding-top:23px;border-top:1px solid #d2c4ad}
.hs-history-end p{font:400 22px Georgia,serif;color:#203946;margin:0}
.hs-history-close{min-height:44px;padding:11px 19px;background:#172e3d;color:#f3e2c1;border:1px solid #172e3d;cursor:pointer;font:650 12px 'Segoe UI',Arial,sans-serif}
.hs-history-close:hover{background:#304b56}
@media(max-width:750px){
  .hs-history-shell{padding:25px 20px}
  .hs-history-head{display:block}
  .hs-history-period{display:inline-block;margin-top:18px;font-size:16px}
  .hs-history-lead{font-size:13px;line-height:1.8}
  .hs-history-toggle{width:100%}
  .hs-history-readtime{font-size:9px}
  .hs-history-event{grid-template-columns:1fr;gap:9px;padding:23px 0 24px 24px}
  .hs-history-date{font-size:18px}
  .hs-history-event-copy h3{font-size:23px}
  .hs-history-heritage{padding:19px 17px}
}
@media(max-width:420px){.hs-history-readtime{display:none}.hs-history-toggle{justify-content:center}}
@media(prefers-reduced-motion:reduce){.hs-history-toggle{transition:none}}
