/* The inner pages (round 30, Joshua: "use the design we've established on this page and update the other pages";
   no wide photo at the top, photos used smaller). Same language as the home page (home.css): Poppins headings in the
   site's sage, 20px Open Sans text, sections alternating cream and pale sage with the leaf on a seam, the facts row,
   the gold and white buttons (buttons.css), photo tiles that open the frosted lightbox. Loaded after style.css. */
:root {
  --pg-sage: #5F7F6B; --pg-sage-dd: #3E5A48; --pg-gold: #D8B35A; --pg-paper: #FAFAF7; --pg-ink: #2F2F2F; --pg-ink-soft: #4A4A4A;
  --pg-section: clamp(52px, 5.2vw, 88px);
  --pg-line: rgba(95, 127, 107, .25);
}
.pg { text-wrap: pretty; color: var(--pg-ink); }
.pg section { padding: var(--pg-section) 0; overflow: visible; }
.pg a:not(.cc-btn):not(.pg-tile):not(.pg-map) { color: var(--pg-sage-dd); text-decoration: underline; text-decoration-color: rgba(62, 90, 72, .4); text-underline-offset: .18em; }
.pg a:not(.cc-btn):not(.pg-tile):not(.pg-map):hover { text-decoration-color: currentColor; }
.pg p, .pg li { font-size: 20px; line-height: 1.65; }
.pg p { margin: 0 0 1em; }
.pg h1 { margin: 0 0 18px; font: 600 clamp(36px, 1.5rem + 1.6vw, 54px)/1.12 "Poppins", sans-serif; color: var(--pg-sage-dd); text-wrap: balance; }
.pg h2 { margin: 0 0 14px; padding-bottom: 15px;   /* round 32 (Joshua) */ font: 600 clamp(30px, 1.3rem + 1vw, 42px)/1.2 "Poppins", sans-serif; color: var(--pg-sage); text-align: center; text-wrap: balance; }
.pg h3 { margin: 0 0 10px; font: 600 25px/1.25 "Poppins", sans-serif; color: var(--pg-sage-dd); }
.pg .pg-sub { max-width: 980px; margin: 0 auto 36px; font-size: 21px; line-height: 1.55; color: var(--pg-ink-soft); text-align: center; }
.pg-band { position: relative; background: rgba(228, 238, 231, .55); }
.pg-plain { position: relative; background: rgba(246, 242, 234, .72); }
.pg-seam-leaf { position: absolute; left: 50%; top: 0; z-index: 2; width: clamp(120px, 10vw, 160px); height: auto; transform: translate(-50%, -50%); pointer-events: none; }
.pg-band.has-leaf, .pg-plain.has-leaf { padding-top: calc(var(--pg-section) + clamp(14px, 1.4vw, 24px)); }

/* the opening section: heading and intro, and at most one small snapshot print */
.pg-intro { background: rgba(246, 242, 234, .72); }
.pg-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 28%, 400px); gap: clamp(32px, 4vw, 72px); align-items: center; }
.pg-intro-grid.no-print { grid-template-columns: minmax(0, 1fr); }   /* full container width (round 34: Travel's intro on one line) */
.pg-lead { font-size: 22px !important; line-height: 1.6 !important; color: var(--pg-ink); }
.pg-print { margin: 0; padding: 10px 10px 34px; background: #FFFEFB; border-radius: 3px; rotate: 2deg;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 10px 26px rgba(40, 50, 35, .18); }
.pg-print img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }   /* (round 48: any photo the editor chooses keeps the print's shape) */

/* a full-width photo strip at the top of a page (round 40, Joshua: the motel's whole row, wide and short). Its own
   proportions (2000x610) on desktop; never shorter than 210px, so on phones it trims the sides around the flags. */
.pg-banner { margin: 0; background: #DCE6EE; line-height: 0; }
.pg-banner img { display: block; width: 100%; height: clamp(210px, 30.5vw, 610px); object-fit: cover; object-position: 50% 62%; }

/* the facts row, as on the home page: one panel, slanted lines between, straight on tablets and phones */
.pg-facts { list-style: none; margin: clamp(32px, 3.4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--pg-paper); border: 1px solid var(--pg-line); border-radius: 14px; box-shadow: 0 6px 18px rgba(40, 60, 45, .06); }
.pg-facts li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 118px; padding: 16px 22px; text-align: center; }
.pg-facts li + li::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: rgba(95, 127, 107, .32);
  transform: skewX(-20deg); pointer-events: none; }
.pg-facts strong { font: 600 clamp(26px, 1.1rem + .9vw, 36px)/1.05 "Poppins", sans-serif; color: var(--pg-sage); white-space: nowrap; }
.pg-facts span { font-size: 18px; line-height: 1.3; color: var(--pg-ink-soft); }
.pg-facts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* price cards */
.pg-rates { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; max-width: var(--rates-w, none); margin: 0 auto; }
.pg-rate { background: var(--pg-paper); border: 1px solid rgba(95, 127, 107, .2); border-radius: 16px; box-shadow: 0 8px 26px rgba(40, 60, 45, .08); overflow: hidden; }
.pg-rate h3 { margin: 0; padding: 18px 22px 16px; background: #B29033; color: #fff; text-align: center; font-size: 24px;
  box-shadow: inset 0 0 0 3px #B29033, inset 0 0 0 4px rgba(255, 240, 200, .5); }
.pg-rate dl { margin: 0; padding: 8px 24px 14px; }
.pg-rate div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(95, 127, 107, .16); }
.pg-rate div:last-child { border-bottom: 0; }
.pg-rate dt { font-size: 19px; font-weight: 600; color: var(--pg-ink); }
.pg-rate dd { margin: 0; font: 600 24px/1 "Poppins", sans-serif; color: var(--pg-sage-dd); white-space: nowrap; }
.pg-rate dd small { font: 400 16px "Open Sans", sans-serif; color: var(--pg-ink-soft); }
.pg-note { max-width: 980px; margin: 22px auto 0 !important; text-align: center; color: var(--pg-ink-soft); font-size: 18.5px !important; }

/* a notice: the cancellation policy, the call-us message */
.pg-notice { display: flex; gap: 16px; align-items: flex-start; max-width: 1100px; margin: 30px auto 0; padding: 20px 24px;
  background: var(--pg-paper); border: 1px solid rgba(95, 127, 107, .22); border-left: 6px solid #B29033; border-radius: 12px; }
.pg-notice .bi { flex: none; font-size: 26px; line-height: 1; color: #8C7026; margin-top: 4px; }
.pg-notice p { margin: 0 !important; font-size: 19px !important; }
.pg-notice.call { border-left-color: var(--pg-sage-dd); }
.pg-notice.call .bi { color: var(--pg-sage-dd); }

/* photo tiles that open the lightbox */
.pg-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 13vw, 230px); gap: 14px; }
/* five photos: the first large, two by two, beside four; six: an even three by two */
.pg-gallery:not(.six) .pg-tile:first-child { grid-column: span 2; grid-row: span 2; }
.pg-gallery .pg-tile.tall { grid-column: -2; grid-row: 1 / span 2; }   /* a tall photo two rows high at the right (round 47: the motel bathroom) */
.pg-gallery.six { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 15vw, 270px); }
.pg-tile { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #DCE5DA; box-shadow: 0 6px 18px rgba(40, 60, 45, .12);
  cursor: zoom-in; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.pg-tile img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.pg-tile:hover img { transform: scale(1.04); }
.pg-tile:focus-visible { outline: 3px solid var(--pg-sage-dd); outline-offset: 3px; }
.pg-tile .pg-cap { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px; font: 600 15px/1.2 "Poppins", sans-serif;
  color: var(--pg-sage-dd); background: rgba(250, 250, 247, .9); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.pg-more { margin: 22px 0 0 !important; text-align: center; }

/* a rental unit */
.pg-unit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 3.4vw, 60px); align-items: start; }
.pg-unit + .pg-unit { margin-top: clamp(48px, 5vw, 80px); padding-top: clamp(48px, 5vw, 80px); border-top: 1px solid var(--pg-line); }
.pg-unit h2 { text-align: left; margin-bottom: 8px; }
.pg-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.pg-specs li { padding: 5px 12px; border-radius: 999px; background: rgba(95, 127, 107, .12); color: var(--pg-sage-dd); font: 600 16px/1.3 "Poppins", sans-serif; }
.pg-unit .pg-rate { margin: 22px 0 0; }
.pg-unit .pg-rate dl { padding-top: 4px; }
.pg-unit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.pg-unit-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 9vw, 160px); gap: 12px; }
.pg-unit-photos .pg-tile:first-child { grid-column: span 3; grid-row: span 2; }
.pg-unit-photos .pg-tile.extra { display: none; }
.pg-unit-photos .pg-tile .pg-count { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(30, 45, 35, .48);
  color: #fff; font: 600 20px/1 "Poppins", sans-serif; }
.pg-airbnb { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 4px; }   /* round 34: centred under the unit, both columns */
/* the Airbnb card draws its own card; the page's old white box round it goes */
.pg-airbnb .airbnb-embed-frame { margin: 0 !important; max-width: 100%; background: none !important; box-shadow: none !important; }
/* the iframe draws its own white backing round the card: round its corners to match the site's cards */
.pg-airbnb iframe { border-radius: 16px; box-shadow: 0 8px 26px rgba(40, 60, 45, .08); }
.pg-soon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 5vw, 80px); }
.pg-soon .pg-card { padding: 22px 24px; }

/* cards (attractions, travel, the rules) */
.pg-card { background: var(--pg-paper); border: 1px solid rgba(95, 127, 107, .2); border-radius: 16px; box-shadow: 0 8px 26px rgba(40, 60, 45, .08); }
.pg-cards { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 24px; }
.pg-att { display: grid; grid-template-rows: auto auto 1fr; overflow: hidden; }
.pg-att-img { aspect-ratio: 16 / 10; overflow: hidden; background: #DCE5DA; }
.pg-att-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pg-att-img.is-logo { display: grid; place-items: center; background: #fff; }
.pg-att-img.is-logo img { width: auto; height: auto; max-width: 82%; max-height: 80%; object-fit: contain; }
.pg-att h3 { padding: 18px 20px 0; font-size: 22px; }
.pg-att h3 a { color: var(--pg-sage-dd) !important; text-decoration: none !important; }
.pg-att h3 a:hover { text-decoration: underline !important; }
.pg-att p { padding: 0 20px 20px; margin: 0 !important; font-size: 17.5px !important; line-height: 1.55 !important; color: var(--pg-ink-soft); }
/* restaurants: three across on desktop, two on tablets, one on phones (round 36: an inline --cols held three on phones) */
.pg-cards.eats { --cols: 3; }
@media (max-width: 1199px) { .pg-cards.eats { --cols: 2; } }
@media (max-width: 767px) { .pg-cards.eats { --cols: 1; } }
.pg-eat { padding: 20px 22px; }
.pg-eat h3 { font-size: 21px; margin-bottom: 6px; }
.pg-eat h3 a { color: var(--pg-sage-dd) !important; text-decoration: none !important; }
.pg-eat h3 a:hover { text-decoration: underline !important; }
.pg-eat p { margin: 0 !important; font-size: 17.5px !important; line-height: 1.5 !important; color: var(--pg-ink-soft); }

/* the rules */
/* in columns, not rows, so cards of different lengths leave no gaps */
.pg-rules { columns: 2; column-gap: 24px; }
.pg-rules .pg-card { display: inline-block; width: 100%; margin: 0 0 24px; padding: 22px 26px 18px; break-inside: avoid; }
.pg-rules h3 { display: flex; align-items: center; gap: 12px; }
.pg-rules h3 .bi { font-size: 26px; color: #8C7026; }
.pg-rules ul { margin: 0; padding: 0; list-style: none; }
.pg-rules li { position: relative; padding: 0 0 10px 22px; font-size: 18.5px !important; line-height: 1.55 !important; }
.pg-rules li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: #B29033; }

/* the site map: the picture is the button */
.pg-map { position: relative; display: block; max-width: 1470px;   /* the image's own width (round 34) */ margin: 0 auto; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  box-shadow: 0 10px 30px rgba(40, 60, 45, .14); border: 1px solid rgba(95, 127, 107, .2); background: #fff; }
.pg-map img { display: block; width: 100%; height: auto; }
.pg-map .pg-cap { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font: 600 16px/1 "Poppins", sans-serif; color: var(--pg-sage-dd); background: rgba(250, 250, 247, .94); box-shadow: 0 2px 10px rgba(0, 0, 0, .16); }
.pg-map:focus-visible { outline: 3px solid var(--pg-sage-dd); outline-offset: 3px; }

/* travel */
.pg-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid rgba(95, 127, 107, .2); box-shadow: 0 10px 30px rgba(40, 60, 45, .12); }
.pg-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-cards.travel { --cols: 2; margin-top: 30px; }
.pg-cards.travel .pg-card { padding: 24px 26px; }
.pg-cards.travel h3 { display: flex; align-items: center; gap: 12px; }
.pg-cards.travel h3 .bi { font-size: 26px; color: #8C7026; }
.pg-cards.travel .cc-btn { margin-top: 6px; }

/* the reservation request */
.pg-request { max-width: 1100px; margin: 0 auto; }
.pg-request .pg-notice { margin: 0 0 24px; max-width: none; }
.pg-form { margin-top: 28px; padding: clamp(18px, 2.4vw, 34px); background: #fff; border: 1px solid rgba(95, 127, 107, .2); border-radius: 16px; box-shadow: 0 8px 26px rgba(40, 60, 45, .08); }
/* with the reservation steps on (round 31) the form draws its own card */
.pg-form:has(#theForm.rsv-on) { padding: 0; background: none; border: 0; box-shadow: none; }
.pg-form #theForm:not(.rsv-on) table { width: 100%; }
.pg-form #theForm:not(.rsv-on) td, .pg-form #theForm:not(.rsv-on) td * { font-size: 17px !important; line-height: 1.45 !important; }
.pg-form #theForm:not(.rsv-on) td { padding-top: 7px; padding-bottom: 7px; }
.pg-form #theForm:not(.rsv-on) .mailer_leftCol { color: #2F2F2F; font-weight: 600; padding-right: 14px; }
.pg-form #theForm:not(.rsv-on) :is(input[type=text], input[type=email], input[type=tel], select, textarea) { min-height: 44px; padding: 8px 12px; font-size: 17px; border: 1px solid rgba(62, 90, 72, .45); border-radius: 8px; background: #fff; }

/* thanks */
.pg-thanks { max-width: 760px; margin: 0 auto; padding: clamp(28px, 3vw, 44px); text-align: center; }
.pg-thanks .pg-lead { margin-bottom: 26px !important; }
.pg-thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* reveal on scroll (pages.js adds the classes) */
.rv-ready .pg .rv.rv-wait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rv-d, 0ms); }
.rv-ready .pg .rv.rv-wait.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv-ready .pg .rv.rv-wait { transform: none !important; transition: opacity .4s ease; } }

/* GLightbox on light frosted glass, as on the home page */
.glightbox-container .goverlay { background: rgba(246, 242, 234, .72) !important; -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.glightbox-container, .glightbox-container button { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.glightbox-container img { -webkit-user-drag: none; }
.glightbox-container .gslide-description { background: transparent !important; }
.glightbox-container .gslide-title { -webkit-user-select: text; user-select: text; font: 600 20px/1.3 "Poppins", sans-serif !important; color: #3E5A48 !important; margin: 0 !important; text-align: center; }
.glightbox-container .gdesc-inner { padding: 12px 10px 0 !important; }
.glightbox-clean .gnext, .glightbox-clean .gprev, .glightbox-clean .gclose { background: rgba(62, 90, 72, .85) !important; border-radius: 50%; }
/* round, as on the home page (round 38: they kept GLightbox's 40x50 box and drew as ovals) */
.glightbox-clean .gnext, .glightbox-clean .gprev { width: 48px !important; height: 48px !important; }
.glightbox-clean .gclose { width: 40px !important; height: 40px !important; }
.glightbox-clean .gslide-media { box-shadow: 0 14px 50px rgba(30, 45, 35, .28) !important; }

@media (max-width: 1199px) {
  .pg-cards { --cols: 2; }
  .pg-rates { --cols: 2 !important; }
  .pg-unit { grid-template-columns: 1fr; }
  .pg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); position: relative; }
  .pg-facts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-facts:not(.three) li + li::before { display: none; }
  .pg-facts:not(.three)::before { content: ""; position: absolute; left: 50%; top: 18px; bottom: 18px; width: 1px; background: var(--pg-line); }
  .pg-facts:not(.three) li:nth-child(n+3)::after { content: ""; position: absolute; top: -1px; height: 1px; background: var(--pg-line); }
  .pg-facts:not(.three) li:nth-child(3)::after { left: 18px; right: 0; }
  .pg-facts:not(.three) li:nth-child(4)::after { left: 0; right: 18px; }
  .pg-facts.three li + li::before { transform: none; width: 1px; top: 18px; bottom: 18px; }
}
@media (max-width: 991px) {
  .pg-intro-grid { grid-template-columns: 1fr; }
  .pg-print { width: min(100%, 420px); margin: 0 auto; }
  .pg-rules { columns: 1; }
  .pg-cards.travel { --cols: 1; }
  .pg-gallery, .pg-gallery.six { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 30vw, 260px); }
  .pg-gallery .pg-tile.tall { grid-column: 2; grid-row: 3 / span 2; }   /* under the large photo, beside the other two */
}
@media (max-width: 767px) {
  .pg p, .pg li { font-size: 19px; }
  .pg-lead { font-size: 20px !important; }
  .pg-rates { --cols: 1 !important; }
  .pg-cards { --cols: 1; }
  .pg-soon { grid-template-columns: 1fr; }
  .pg-facts.three { grid-template-columns: 1fr; }
  .pg-facts.three li + li::before { left: 18px; right: 18px; top: -1px; bottom: auto; width: auto; height: 1px; }
  .pg-facts li { min-height: 100px; padding: 14px; }
  .pg-facts span { font-size: 17px; }
  .pg-unit-photos { grid-auto-rows: clamp(90px, 27vw, 140px); }
  .pg-airbnb .airbnb-embed-frame { width: 100% !important; }
  .pg-form #theForm:not(.rsv-on) td { display: block; width: 100% !important; text-align: left !important; }
}
