/* ==========================================================================
   Josepho — city rental page. Loaded after city-guide.css:
   reuses every cg- component; the few new ones are prefixed rt-.
   ========================================================================== */

/* ---------- hero ---------- */
.rt-points { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; position: relative; z-index: 1; }
@media (min-width: 640px) { .rt-points { grid-template-columns: 1fr 1fr; } }
.rt-points li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; font-size: 15.5px; line-height: 1.45; color: var(--cg-ink-soft); }
.rt-points li b { font-family: "CentraNo1-Extrabold"; font-weight: normal; color: var(--cg-ink); display: block; }
.rt-points .rt-points__ic { width: 34px; height: 34px; border-radius: 50%; background: var(--cg-beige); display: grid; place-items: center; font-size: 17px; }
.rt-cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; position: relative; z-index: 1; }
.rt-cta .btn { min-height: 50px; }
.rt-cta .cg-link-btn { font-family: "CentraNo1-Extrabold"; font-size: 15px; color: var(--cg-secondary); text-decoration: underline; text-underline-offset: 3px; }

.rt-visual { position: relative; margin: 0; border-radius: var(--cg-radius); overflow: hidden; min-height: 300px; background-size: cover; background-position: center 40%; box-shadow: var(--cg-shadow-lift); }
.rt-visual__price { position: absolute; top: 16px; right: 16px; background: var(--cg-primary); color: #fff; border-radius: 18px; padding: 10px 16px 9px; text-align: center; transform: rotate(3deg); box-shadow: var(--cg-shadow); line-height: 1.05; }
.rt-visual__price small { display: block; font-family: "CentraNo1-Extrabold"; font-size: 12.5px; letter-spacing: .04em; }
.rt-visual__price b { font-family: "CentraNo1-Black"; font-weight: normal; font-size: 30px; }
.rt-visual__price span { display: block; font-size: 12px; }
.rt-visual figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-family: "CentraNo1-Extrabold"; font-size: 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }

.rt-guidecard { background: var(--cg-secondary); color: #fff; border-radius: var(--cg-radius); padding: 18px; display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; text-decoration: none; box-shadow: var(--cg-shadow-lift); position: relative; overflow: hidden; }
.rt-guidecard::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 170px; height: 170px; border-radius: 50%; background: rgba(144, 218, 222, .22); pointer-events: none; }
.cg-page a.rt-guidecard, .cg-page a.rt-guidecard:hover, .cg-page a.rt-guidecard:focus { color: #fff; }
.rt-guidecard__thumb { position: relative; width: 92px; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #0a3bb0 center / cover no-repeat; }
.rt-guidecard__thumb i { position: absolute; left: 6px; bottom: 6px; background: rgba(0, 0, 0, .6); border-radius: 6px; padding: 1px 6px; font-style: normal; font-size: 11.5px; font-family: "CentraNo1-Extrabold"; }
.rt-guidecard__kicker { display: block; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; font-family: "CentraNo1-Extrabold"; color: var(--cg-cyan); margin-bottom: 4px; }
.rt-guidecard__title { display: block; font-family: "CentraNo1-Black"; font-size: 19px; line-height: 1.2; }
.rt-guidecard__text { display: block; font-size: 14px; opacity: .92; margin-top: 4px; line-height: 1.45; }
.rt-guidecard__cta { display: block; margin-top: 8px; font-family: "CentraNo1-Extrabold"; font-size: 14px; position: relative; z-index: 1; }
.rt-guidecard__cta::after { content: " →"; }
.rt-miniproof { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rt-miniproof > * { background: var(--cg-white); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--cg-ink-soft); box-shadow: var(--cg-shadow); text-decoration: none; }
.rt-miniproof b { font-family: "CentraNo1-Black"; font-weight: normal; color: var(--cg-secondary); font-size: 22px; display: block; line-height: 1.1; }

/* ---------- included ---------- */
.rt-included { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.rt-included li { background: var(--cg-white); border: 2px solid var(--cg-line); border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.rt-included li span { margin-right: 6px; }

/* ---------- delivery timeline ---------- */
.rt-timeline { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: rt; }
@media (min-width: 860px) { .rt-timeline { grid-template-columns: repeat(3, 1fr); } }
.rt-timeline li { background: var(--cg-white); border-radius: var(--cg-radius); padding: 18px 20px; box-shadow: var(--cg-shadow); position: relative; }
.rt-timeline li::before { content: attr(data-day); display: inline-block; background: var(--cg-secondary); color: #fff; border-radius: 999px; padding: 4px 12px; font-family: "CentraNo1-Extrabold"; font-size: 13px; margin-bottom: 10px; }
.rt-timeline li:nth-child(2)::before { background: var(--cg-primary); }
.rt-timeline li:nth-child(3)::before { background: var(--cg-ink); }
.rt-timeline b { display: block; font-family: "CentraNo1-Black"; font-weight: normal; font-size: 18px; margin-bottom: 4px; }
.rt-timeline p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cg-ink-soft); }

.rt-two { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 900px) { .rt-two { grid-template-columns: 1fr 1fr; } }
.rt-box { background: var(--cg-white); border-radius: var(--cg-radius); padding: 20px 22px; box-shadow: var(--cg-shadow); }
.rt-box h3 { font-family: "CentraNo1-Black"; font-size: 1.2rem; margin: 0 0 10px; color: var(--cg-ink); }
.rt-box p { margin: 0 0 8px; font-size: 15px; line-height: 1.55; }
.rt-box--tip { background: var(--cg-beige); box-shadow: none; }
.rt-box--tip h3::before { content: "📍 "; }
.rt-parcels { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rt-parcels td { padding: 8px 0; border-bottom: 1px solid #f2e6dd; }
.rt-parcels td:last-child { text-align: right; font-family: "CentraNo1-Extrabold"; white-space: nowrap; }
.rt-parcels tr:last-child td { border-bottom: 0; }
.rt-communes summary { cursor: pointer; font-family: "CentraNo1-Extrabold"; color: var(--cg-secondary); margin-top: 16px; }
.rt-communes p { font-size: 14px; line-height: 1.7; color: var(--cg-ink-soft); margin: 10px 0 0; }

/* ---------- halls table ---------- */
.rt-halls { table-layout: fixed; }
.rt-halls th:nth-child(1) { width: 26%; }
.rt-halls th:nth-child(2), .rt-halls th:nth-child(3) { width: 37%; }
.rt-halls td:nth-child(2) { font-size: 14.5px; line-height: 1.5; }
.rt-halls .cg-src { font-size: 12.5px; }
.rt-halls td.rt-booth { background: #fffaf7; font-size: 14.5px; line-height: 1.5; }
.rt-halls td.rt-booth::before { content: "📸 "; }
@media (max-width: 760px) {
  .rt-halls thead { display: none; }
  .rt-halls caption { display: block; text-align: left; padding: 14px 16px; }
  .rt-halls, .rt-halls tbody, .rt-halls tr, .rt-halls td { display: block; width: 100%; }
  .rt-halls tr { padding: 12px 4px; border-bottom: 1px solid #f2e6dd; }
  .rt-halls td { border: 0; padding: 4px 16px; }
  .rt-halls td.rt-booth { margin: 6px 12px 0; width: auto; border-radius: 10px; padding: 10px 12px; }
}
.rt-tablefoot { font-size: 14px; color: var(--cg-gray); margin: 12px 4px 0; }
.rt-tablefoot a { color: var(--cg-secondary); font-family: "CentraNo1-Extrabold"; }

/* ---------- local special ---------- */
.rt-special { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.rt-special article { background: var(--cg-white); border-radius: var(--cg-radius); padding: 18px 20px 14px; box-shadow: var(--cg-shadow); display: flex; flex-direction: column; gap: 6px; }
.rt-special article h3 { font-family: "CentraNo1-Black"; font-size: 17px; margin: 0; line-height: 1.25; color: var(--cg-ink); }
.rt-special article .rt-special__emoji { font-size: 26px; line-height: 1; }
.rt-special article p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cg-ink-soft); }
.rt-special article .cg-src { margin-top: auto; padding-top: 6px; }

/* ---------- guide band ---------- */
.rt-guideband { margin-top: clamp(44px, 7vw, 84px); background: var(--cg-white); border-radius: var(--cg-radius); box-shadow: var(--cg-shadow); padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .rt-guideband { grid-template-columns: 1.6fr 1fr; } }
.rt-guideband h2 { font-family: "CentraNo1-Black"; color: var(--cg-primary); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 8px; }
.rt-guideband p { margin: 0; font-size: 16px; line-height: 1.55; }
.rt-guideband ul { margin: 10px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.6; }
.rt-guideband .btn { justify-self: start; }
@media (min-width: 900px) { .rt-guideband .btn { justify-self: end; } }

/* ---------- source links ---------- */
.rt-page a.cg-src { font-size: 12.5px; color: rgba(51, 51, 51, .7); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.rt-page a.cg-src:hover { color: var(--cg-secondary); }

/* Integration with the shared header and the native GET booking form. */
.rt-page main { padding-bottom: 60px; }
.rt-page #dispo { scroll-margin-top: calc(var(--cg-header-h) + 76px); }
.rt-page .cg-quickform form > div { min-width: 0; }
.rt-page .cg-quickform input, .rt-page .cg-quickform select { min-width: 0; max-width: 100%; }
.rt-page .cg-quickform .btn, .rt-cta .btn, .rt-guideband .btn { max-width: 100%; white-space: normal; }
.rt-page .cg-mobilebar .btn { max-width: 55%; white-space: normal; flex-shrink: 0; }
.rt-page .cg-mobilebar { bottom: max(10px, env(safe-area-inset-bottom)); }
