/* CRO rollout styles, santorinisunsetcruises.org, 2026-09-26.
   Palette (site.config "Caldera Dusk Light"): whitewash #F9F7F2, Aegean ink #22283A,
   sea-blue #29618E links, sunset coral #C44F2B CTA (white text), amber #9A6A10 ratings,
   dusk navy #1C2E4A. Versioned by query string in cro-render.py; bump on change. */
body[data-cro-article] { padding-bottom: 0 !important; }
.cro { font-size: 16px; line-height: 1.65; box-sizing: border-box; color: #22283a; }
.cro [hidden], .cro[hidden] { display: none !important; }
.cro p { margin: 0 0 .8rem; }
.cro h2, .cro h3 { font-family: inherit; line-height: 1.25; letter-spacing: -.02em; color: #22283a; }
.cro-kicker { font-size: .76rem !important; line-height: 1.5 !important; letter-spacing: .07em; font-weight: 750; text-transform: uppercase; color: #29618e; }

/* Opening card: a complete compact card after the answer, with a visible
   background, border, padding and radius, and an explicit gap between the
   affiliate CTA and the end-module navigation button (Oleg, 2026-09-25). */
.cro-intro { background: #ffffff; border: 1px solid #d8dde9; border-radius: 14px; padding: 1.15rem 1.3rem 1.25rem; margin: 1.6rem 0 2.2rem; box-shadow: 0 1px 3px rgba(34, 40, 58, .05); }
.cro-intro p { margin-bottom: .9rem; }
.cro-intro .cro-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.cro-inline-link { font-weight: 700; }
.cro button { cursor: pointer; font: inherit; }
.cro-jump { border: 1px solid #c3cdd9; border-radius: 8px; background: #fff; padding: .6rem .95rem; color: #29618e; font-weight: 650; min-height: 46px; }
.cro-jump:hover { border-color: #29618e; }

/* Contextual surfaces */
.cro-context { margin: 2rem 0 2.7rem; padding: 1.2rem 1.4rem; border-left: 3px solid #c44f2b; background: #f2f4f8; border-radius: 0 12px 12px 0; }
.cro-text { background: transparent; padding: .8rem 1.2rem; border-color: #b9c6d8; }
.cro-image { display: grid; grid-template-columns: 200px 1fr; gap: 1.2rem; border: 1px solid #ccd5e2; border-left: 3px solid #c44f2b; padding: 0; overflow: hidden; border-radius: 0 12px 12px 0; background: #fff; }
.cro-image > img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; margin: 0; }
.cro-image > div { padding: 1.2rem 1.3rem 1.2rem 0; }
@media (max-width: 640px) {
  .cro-image { grid-template-columns: 1fr; border-left: none; border-top: 3px solid #c44f2b; border-radius: 0 0 12px 12px; }
  .cro-image > img { min-height: 0; height: auto; }
  .cro-image > div { padding: 1rem 1.2rem 1.2rem; }
}

/* Booking actions */
.cro .cro-book { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; max-width: 100%; padding: .72rem 1.05rem; border-radius: 8px; color: #fff !important; background: #c44f2b; text-decoration: none !important; font-weight: 750; line-height: 1.4; text-align: center; border: 2px solid transparent; box-sizing: border-box; }
.cro .cro-book:hover { background: #a03d1e; }
.cro a:focus-visible, .cro button:focus-visible, .cro input:focus-visible, .cro select:focus-visible, .cro summary:focus-visible { outline: 3px solid #29618e; outline-offset: 3px; }
.cro-facts, .cro small { display: block; color: #4f5b70; font-size: .79rem; line-height: 1.55; margin-top: .65rem; }

/* End booking module: the single consolidated surface after editorial + FAQ */
.cro-end { border: 1px solid #ccd5e2; border-radius: 16px; background: #ffffff; padding: 1.6rem !important; margin: 3rem auto !important; scroll-margin-top: 100px; }
.cro-end h2 { font-size: 1.65rem; margin: 0 0 1rem; }
.cro-end h3 { font-size: 1.2rem; margin: 1.1rem 0 .7rem; }
.cro-initial { color: #4f5b70; font-size: .85rem; }
.cro-support { border-block: 1px solid #dfe4ee; margin: 1rem 0; padding: .9rem 0; }
.cro-support summary { font-weight: 700; cursor: pointer; min-height: 44px; }
.cro-selector { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin: 1rem 0; }
.cro label { display: flex; flex-direction: column; gap: .25rem; font-size: .84rem; font-weight: 650; min-width: 0; }
.cro select, .cro input { width: 100%; min-height: 44px; min-width: 0; font: inherit; font-size: 16px; border: 1px solid #9daabb; border-radius: 6px; padding: .55rem; background: #fff; color: #22283a; box-sizing: border-box; }
.cro select { max-width: 100%; }
.cro-reset { border: 1px solid #c3cdd9; border-radius: 6px; background: #fff; padding: .5rem .75rem; color: #29618e; font-weight: 650; min-height: 44px; }
@media (max-width: 640px) { .cro-selector { grid-template-columns: 1fr; } }
.cro-screen-note { font-size: .79rem; color: #4f5b70; }
.cro-alternatives { padding-left: 1.2rem; font-size: .9rem; }
.cro-alternatives li { margin-bottom: .8rem; }
.cro-cost { padding-top: 1rem; border-top: 1px solid #dfe4ee; }
.cro-cost label { margin: .5rem 0; }
.cro-cost output { display: block; font-weight: 700; margin-top: .8rem; }
.cro-result { font-weight: 650; }
.cro-current { border: 1px solid #ccd5e2; background: #f9f7f2; border-radius: 12px; padding: 1.1rem 1.2rem; margin-top: 1.2rem; }
.cro-current-title { margin: 0 0 .5rem; }
.cro-current .cro-book { margin-top: .6rem; }
.cro-rating { color: #9a6a10; font-weight: 700; }

/* Schedule / provider widgets */
.cro-calendar { padding: 1rem 0; }
.cro-date-status { font-size: .84rem; margin: .5rem 0 !important; }
.cro-native { min-height: 160px; max-width: 100%; }
.cro-native iframe, .cro-native ins, .cro-native div { max-width: 100% !important; }
.gyg-fallback-note { font-size: .79rem; color: #4f5b70; }

/* Desktop sticky / mobile slide-in: one element, two presentations. */
.cro-float { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 1rem; align-items: center; justify-content: space-between; background: #1c2e4a; color: #fff; padding: .7rem clamp(1rem, 3vw, 2rem); box-shadow: 0 -4px 18px rgba(28, 46, 74, .28); }
.cro-float[hidden] { display: none !important; }
.cro-float-title { font-weight: 750; margin: 0 !important; }
.cro-float p:not(.cro-float-title) { margin: 0 !important; font-size: .82rem; color: #d7deea; }
.cro-float .cro-book { flex-shrink: 0; }
.cro-dismiss { background: none; border: none; color: #d7deea; font-size: 1.35rem; line-height: 1; padding: .5rem; cursor: pointer; }
@media (min-width: 768px) {
  .cro-float { border-radius: 0; }
}
@media (max-width: 767px) {
  .cro-float { left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); border-radius: 14px; flex-wrap: wrap; gap: .5rem; padding: .85rem 1rem; }
  .cro-float-title { font-size: .95rem; }
  .cro-dismiss { position: absolute; top: .25rem; right: .25rem; }
}

/* Exit-intent dialog */
.cro-exit { border: 1px solid #ccd5e2; border-radius: 16px; background: #fff; color: #22283a; padding: 1.6rem; max-width: 430px; width: calc(100% - 2rem); box-shadow: 0 18px 50px rgba(28, 46, 74, .35); }
.cro-exit::backdrop { background: rgba(28, 46, 74, .45); }
.cro-exit h2 { font-size: 1.35rem; margin: .4rem 0 .6rem; }
.cro-exit-product { font-weight: 750; }
.cro-exit-close { position: absolute; top: .5rem; right: .5rem; background: none; border: none; font-size: 1.35rem; cursor: pointer; color: #4f5b70; padding: .5rem; }
