/* Kilipath — WordPress additions: makes text written in the WordPress editor match the design. */

/* Photos, lists and quotes inside page sections */
.art-sec figure.wp-block-image, .pp-block figure.wp-block-image { margin: 0 0 22px; border-radius: 10px; overflow: hidden; }
.art-sec figure.wp-block-image img, .pp-block figure.wp-block-image img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.art-sec figure.wp-block-image figcaption { font-size: .85rem; color: var(--muted, #6b5d4d); padding: 8px 2px 0; margin: 0; }
.art-sec > ul:not([class]), .art-sec ul.wp-block-list, .pp-block > ul:not([class]), .pp-block ul.wp-block-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 12px; }
.art-sec > ul:not([class]) li, .art-sec ul.wp-block-list li, .pp-block > ul:not([class]) li, .pp-block ul.wp-block-list li { position: relative; padding-left: 26px; }
.art-sec > ul:not([class]) li::before, .art-sec ul.wp-block-list li::before, .pp-block > ul:not([class]) li::before, .pp-block ul.wp-block-list li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange, #f9a94a); }
.art-sec ol.wp-block-list, .pp-block > ol:not([class]) { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 10px; }
.art-sec blockquote, .pp-block blockquote { margin: 0 0 18px; padding: 14px 18px; border-left: 3px solid var(--orange, #f9a94a); background: #fbf6ee; border-radius: 0 10px 10px 0; }
.art-sec h3, .pp-block > h3 { font: 600 22px/1.3 var(--head); color: var(--ink); margin: 26px 0 10px; }
.art-sec h4, .pp-block > h4 { font: 600 17px/1.4 var(--head); color: var(--teal-ink); margin: 20px 0 8px; }
.art-sec table, .pp-block > table, .wp-block-table table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.art-sec td, .art-sec th, .wp-block-table td, .wp-block-table th { border: 1px solid #e6dfd4; padding: 10px 12px; text-align: left; }
.art-sec .wp-block-buttons, .pp-block .wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.art-sec .wp-block-embed, .art-sec iframe { max-width: 100%; border-radius: 10px; overflow: hidden; }
.art-sec .wp-block-embed__wrapper { position: relative; aspect-ratio: 16/9; }
.art-sec .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-sec img { max-width: 100%; height: auto; }

/* Pages with the quote form switched off */
.pp-layout--full { grid-template-columns: minmax(0, 1fr) !important; max-width: 900px; }

/* Blog list pagination */
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid #e2d8ca; background: #fff; color: var(--espresso, #2b2118); text-decoration: none; font-family: var(--ui, 'Jost', sans-serif); }
.pagination .page-numbers.current { background: var(--espresso, #2b2118); color: #fff; border-color: var(--espresso, #2b2118); }

/* WordPress admin bar (logged-in editors) keeps the sticky header below it */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .header { top: 0; } }

/* Screen-reader text used by WordPress */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Related tours at the bottom of a tour page: 4 across on laptops, 5 on big screens */
.pp-related__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-related__grid > :nth-child(n+5) { display: none; }
@media (min-width: 1600px) {
  .pp-related__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pp-related__grid > :nth-child(5) { display: flex; }
}
@media (max-width: 1100px) { .pp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .pp-related__grid { grid-template-columns: minmax(0, 1fr); } }

/* "Prefer to talk?" contact card under the quote form */
.pp-help { display: block; margin-top: 12px; padding: 22px; border-radius: 10px; background: var(--espresso, #2b2118); color: rgba(255, 255, 255, .78); font-size: 14px; }
.pp-help .ic { width: auto; height: auto; padding: 0; border-radius: 0; background: none; }
.pp-help__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pp-help__badge { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange, #f9a94a); color: var(--espresso, #2b2118); }
.pp-help__badge .ic { width: 22px; height: 22px; color: inherit; }
.pp-help__kicker { margin: 0 0 2px; font: 600 11px/1.3 var(--ui, 'Jost', sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--orange, #f9a94a); }
.pp-help__title { margin: 0; font: 500 21px/1.2 var(--head, 'Cormorant', serif); color: #fff; }
.pp-help__list { list-style: none; margin: 0; padding: 0; }
.pp-help__list li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.pp-help__list a { display: flex; align-items: center; gap: 14px; padding: 12px 6px; margin: 0 -6px; border-radius: 10px; color: #fff; text-decoration: none; transition: background .2s; }
.pp-help__list a:hover { background: rgba(255, 255, 255, .06); }
.pp-help__ic { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.pp-help__ic .ic { width: 17px; height: 17px; color: var(--orange, #f9a94a); }
.pp-help__ic--wa .ic { color: #3ccf6e; }
.pp-help__txt { display: grid; min-width: 0; flex: 1; }
.pp-help__txt small { font: 500 11px/1.4 var(--ui, 'Jost', sans-serif); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pp-help__txt b { font: 500 15px/1.35 var(--sans, 'Inter', sans-serif); color: #fff; overflow-wrap: anywhere; }
.pp-help__go { flex: 0 0 auto; width: 16px !important; height: 16px !important; color: rgba(255, 255, 255, .35); transition: transform .2s, color .2s; }
.pp-help__list a:hover .pp-help__go { color: var(--orange, #f9a94a); transform: translateX(3px); }

/* Homepage quote form: no coloured stripe along the top */
.planner::before { display: none; }

/* "Show more tours" under long tour lists */
.list-more { text-align: center; margin: 36px 0 0; }
.list-more .btn[hidden] { display: none; }

/* "Why choose us" bar: one brand colour on top, room for four points */
.trust .stripe { background: var(--orange, #f9a94a); }
.trust__list--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) and (min-width: 721px) {
  .trust__list--4 { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .trust__list--4 li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__list--4 li:nth-child(4) { border-left: 1px solid var(--line); padding-left: 20px; }
}

/* =====================================================================
   Pop-up quote form (template-parts/quote-modal.php)
   ===================================================================== */
.qm { width: min(960px, calc(100% - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: visible; color: var(--espresso, #2b2118); }
.qm::backdrop { background: rgba(20, 14, 8, .62); backdrop-filter: blur(3px); }
.qm[open] { animation: qm-in .35s cubic-bezier(.2, .8, .2, 1); }
.qm[open]::backdrop { animation: qm-fade .3s ease; }
@keyframes qm-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes qm-fade { from { opacity: 0; } to { opacity: 1; } }
.qm__box { position: relative; display: grid; grid-template-columns: 340px minmax(0, 1fr); max-height: inherit; border-radius: 24px; overflow: hidden; background: #fffaf3; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.qm__close { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e7dccb; border-radius: 50%; background: #fff; color: var(--espresso, #2b2118); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.qm__close:hover { background: var(--espresso, #2b2118); color: #fff; transform: rotate(90deg); }
.qm__close .ic { width: 16px; height: 16px; }
.qm__side { position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--espresso, #2b2118); }
.qm__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.qm__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43, 33, 24, .15), rgba(43, 33, 24, .95) 70%); }
.qm__side-body { position: relative; z-index: 1; padding: 30px 28px; }
.qm__ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; background: var(--orange, #f9a94a); color: var(--espresso, #2b2118); }
.qm__ic .ic { width: 24px; height: 24px; }
.qm__side-title { margin: 0 0 8px; font: 600 28px/1.12 var(--head); }
.qm__side-text { margin: 0 0 18px; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.55; }
.qm__points { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14.5px; }
.qm__points li { display: flex; align-items: center; gap: 8px; }
.qm__points .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(249, 169, 74, .22); color: var(--orange, #f9a94a); }
.qm__faces { display: flex; align-items: center; }
.qm__faces img { width: 38px; height: 38px; border: 2px solid #3d2f22; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.qm__faces img + img { margin-left: -10px; }
.qm__faces span { margin-left: 12px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.qm__main { padding: 34px 34px 28px; overflow-y: auto; }
.qm__kicker { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink, #a8620a); }
.qm__title { margin: 0 0 6px; padding-right: 40px; font: 600 32px/1.1 var(--head); text-transform: none; }
.qm__title::first-letter { text-transform: uppercase; }
.qm__sub { margin: 0 0 18px; color: #6b5f52; font-size: 15px; line-height: 1.55; }
.qm__form .sent { margin-top: 0; }
html.qm-lock { overflow: hidden; }
@media (max-width: 820px) {
  .qm { width: 100%; max-width: none; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
  .qm__box { grid-template-columns: 1fr; height: 100%; border-radius: 0; }
  .qm__side { display: none; }
  .qm__main { padding: 28px 18px 24px; }
  .qm__title { font-size: 28px; }
}
