/* WordPress additions on top of the mock stylesheet (site.css). Same tokens as the mock. */

/* ---------- page / post body (pages outside the mock, posts) ---------- */
/* pages keep the site width (their content was laid out for the old theme's ~1140px column); posts read narrower */
.entry{color:var(--ink-soft)}
.single .entry,.entry.center{max-width:calc(820px + 2 * var(--gutter))}
.entry:not(.entry-raw){font-size:16px;line-height:1.95}
.entry:not(.entry-raw) > * + *{margin-top:1.1em}
.entry:not(.entry-raw) h2,.entry:not(.entry-raw) h3,.entry:not(.entry-raw) h4{color:var(--ink);font-family:var(--maru);line-height:1.5;word-break:auto-phrase;margin-top:2em}
.entry:not(.entry-raw) h2{font-size:clamp(22px,2.6vw,28px);padding-bottom:.4em;border-bottom:2px solid var(--aqua-pale)}
.entry:not(.entry-raw) h3{font-size:clamp(19px,2.2vw,22px)}
.entry:not(.entry-raw) h4{font-size:18px}
.entry:not(.entry-raw) p{margin:0}
.entry:not(.entry-raw) a:not(.btn):not(.wp-block-button__link):not(.vk_button_link){color:var(--aqua-text);text-decoration:underline;text-underline-offset:3px}
.entry:not(.entry-raw) img{max-width:100%;height:auto;border-radius:12px}
.entry:not(.entry-raw) figure{margin-inline:0}
.entry:not(.entry-raw) figcaption{font-size:13px;color:var(--ink-soft);margin-top:6px;text-align:center}
.entry:not(.entry-raw) ul,.entry:not(.entry-raw) ol{padding-left:1.4em}
.entry:not(.entry-raw) li + li{margin-top:.3em}
.entry:not(.entry-raw) table{width:100%;border-collapse:collapse;font-size:15px;display:block;overflow-x:auto}
.entry:not(.entry-raw) table th,.entry:not(.entry-raw) table td{border:1px solid var(--line);padding:10px 14px;text-align:left;vertical-align:top}
.entry:not(.entry-raw) table th{background:var(--mist);color:var(--ink);white-space:nowrap}
.entry:not(.entry-raw) hr,.entry:not(.entry-raw) .wp-block-separator{border:0;border-top:1px solid var(--line);margin-block:2em}
.entry:not(.entry-raw) iframe{max-width:100%}
.entry:not(.entry-raw) .wp-block-button__link,.entry:not(.entry-raw) .vk_button_link{display:inline-flex;align-items:center;justify-content:center;padding:12px 26px;border-radius:999px;background:var(--sakura);color:var(--white);font-family:var(--maru);font-weight:700;text-decoration:none}
.entry:not(.entry-raw) .wp-block-columns{gap:24px}
.entry:not(.entry-raw) .wp-block-cover,.entry:not(.entry-raw) .vk_outer{border-radius:16px;overflow:hidden}
.entry:not(.entry-raw) .vk_outer_container{max-width:100%}
.entry:not(.entry-raw) .alignwide,.entry:not(.entry-raw) .alignfull{margin-inline:0;max-width:100%}
.entry-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px}
.entry-meta time{font-family:var(--en);font-weight:600;letter-spacing:.1em;color:var(--aqua-text)}
.entry-meta a{display:inline-block;padding:2px 12px;border-radius:999px;background:var(--aqua-pale);color:var(--aqua-text);text-decoration:none!important}
.entry-thumb{display:block;width:100%;border-radius:16px}
.entry-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;margin-top:3em;padding-top:2em;border-top:1px solid var(--line);font-size:14px}
.entry-nav .next{text-align:right}
.entry-nav a{color:var(--aqua-text)}
.entry.center{text-align:center}
.entry-empty{text-align:center;color:var(--ink-soft)}
@media (max-width:760px){
  .entry:not(.entry-raw){font-size:16.5px}
  .entry-nav{grid-template-columns:1fr;text-align:center}
  .entry-nav .next{text-align:center}
}

/* ---------- news cards without a featured image, pagination ---------- */
.ncard .noimg{display:grid;place-items:center;aspect-ratio:16/10;background:var(--mist)}
.ncard .noimg img{width:46%;aspect-ratio:auto;object-fit:contain;opacity:.7}
.ncard h3{word-break:auto-phrase}
.navigation.pagination{margin-top:40px}
.navigation.pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.navigation.pagination .page-numbers{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:999px;border:1.5px solid var(--line);background:var(--white);color:var(--ink);font-family:var(--en);font-weight:600}
.navigation.pagination .page-numbers.current{background:var(--aqua-text);border-color:var(--aqua-text);color:var(--white)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}

/* ---------- ExUnit output outside the designed pages ---------- */
.veu_socialSet,.veu_contentAddSection{max-width:820px;margin:2.5em auto 0}
/* the new design has no page-top button (ExUnit adds one whatever the theme) */
#page_top{display:none!important}

/* ---------- Contact Form 7 (production form 542: table.inquiry) in the mock's .cf card ---------- */
main .wpcf7{max-width:760px;margin:28px auto 0;background:var(--white);border-radius:28px;box-shadow:var(--shadow);padding:clamp(24px,4vw,44px)}
main .wpcf7 form{display:grid;gap:18px}
main .wpcf7 .inquiry,main .wpcf7 .inquiry tbody,main .wpcf7 .inquiry tr,main .wpcf7 .inquiry th,main .wpcf7 .inquiry td{display:block;width:100%;border:0;padding:0;background:none;text-align:left}
main .wpcf7 .inquiry tr + tr{margin-top:18px}
main .wpcf7 .inquiry p{margin:0}
main .wpcf7 .inquiry th p{display:flex;align-items:center;font-family:var(--maru);font-weight:700;font-size:15.5px;color:var(--ink);margin-bottom:8px}
main .wpcf7 .haveto,main .wpcf7 .any{display:inline-block;font-family:var(--maru);font-weight:700;font-size:12px;border-radius:6px;padding:1px 8px;margin-right:8px}
main .wpcf7 .haveto{background:var(--sakura-pale);color:var(--sakura-deep)}
main .wpcf7 .any{background:var(--mist);color:var(--ink-soft);border:1px solid var(--line)}
main .wpcf7 input[type=text],main .wpcf7 input[type=email],main .wpcf7 input[type=tel],main .wpcf7 select,main .wpcf7 textarea{font:inherit;font-size:16px;color:var(--ink);background:var(--white);border:1.5px solid #C9D9DF;border-radius:12px;padding:12px 14px;width:100%;max-width:100%}
main .wpcf7 input:focus,main .wpcf7 select:focus,main .wpcf7 textarea:focus{outline:3px solid var(--aqua-pale);border-color:var(--aqua)}
main .wpcf7 .wpcf7-acceptance .wpcf7-list-item{margin:0;display:block}
main .wpcf7 .wpcf7-acceptance label{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;line-height:1.6;color:var(--ink-soft);background:var(--mist);border-radius:12px;padding:12px 14px;cursor:pointer}
main .wpcf7 .wpcf7-acceptance input{margin-top:4px;width:18px;height:18px;accent-color:var(--aqua-deep);flex:none}
main .wpcf7 center{display:block;text-align:center}
main .wpcf7 input[type=submit]{display:inline-flex;min-width:220px;justify-content:center;padding:14px 26px;border:0;border-radius:999px;background:var(--sakura) var(--wash-sakura) center/cover;color:var(--white);font-family:var(--maru);font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 8px 20px rgba(226,115,150,.32)}
main .wpcf7 input[type=submit]:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
main .wpcf7 .wpcf7-spinner{display:block;margin:10px auto 0}
main .wpcf7 .wpcf7-not-valid-tip{display:block;color:var(--sakura-deep);font-size:13px;margin-top:6px}
main .wpcf7 .wpcf7-response-output{margin:0;border-radius:12px;padding:12px 16px;font-size:14px;text-align:center}

/* ---------- booking (MTS) bits the mock did not draw ---------- */
#booking-checkboxes{display:grid;gap:10px;max-width:500px;margin:20px auto;text-align:left}
.booking-consent-error{color:var(--sakura-deep);font-size:13px;margin:0 0 0 28px}
.mtssb-missing{text-align:center;background:var(--mist);border-radius:16px;padding:20px}
.tk-plugin-tail .veu_socialSet,.tk-plugin-tail .veu_contentAddSection,.tk-plugin-tail .veu_cta{display:none}
/* the real MTS inputs carry content-text classes, not the mock's .form-control */
.mtssb #booking-form input[type=text],.mtssb #booking-form input[type=email],.mtssb #booking-form input[type=tel],.mtssb #booking-form select,.mtssb #booking-form textarea{font:inherit;font-size:16px;color:var(--ink);background:var(--white);border:1.5px solid #C9D9DF;border-radius:10px;padding:10px 12px;max-width:100%}
.mtssb #booking-form input:focus,.mtssb #booking-form select:focus,.mtssb #booking-form textarea:focus{outline:3px solid var(--aqua-pale);border-color:var(--aqua)}
.mtssb #booking-form .fat,.mtssb #booking-form textarea{width:100%}
.mtssb #booking-form .small{width:8.5em}
.mtssb #booking-form .medium{width:14em}
/* the page's own notice above the form (production writes it in red) gets the mock's calm lead */
.mtssb > p.wp-block-paragraph:first-child{text-align:center;color:var(--ink-soft)!important;margin:0 0 24px;font-weight:400}
.mtssb > p.wp-block-paragraph:first-child strong{font-weight:500}
@media (max-width:760px){.mtssb > p.wp-block-paragraph:first-child{text-align:left}.mtssb > p.wp-block-paragraph:first-child br{display:none}}

/* ---------- live 7-day tiles (bookbox) ---------- */
.bookbox .cal:empty{display:none}
.bookbox .cal .d{display:block;text-decoration:none;line-height:1.35}
.bookbox .cal .d em{display:block;font-style:normal;font-family:var(--sans);font-weight:700;font-size:12px;margin-top:2px}
.bookbox .cal a.d{transition:transform .15s,background .15s}
.bookbox .cal a.d.ok em{color:var(--aqua-text)}
.bookbox .cal .d.low{background:#FDF1E4}
.bookbox .cal .d.low em{color:#B86A1E}
.bookbox .cal a.d:hover,.bookbox .cal a.d:focus-visible{background:var(--aqua) var(--wash-deep) center/cover;color:var(--white);transform:translateY(-2px)}
.bookbox .cal a.d:hover small,.bookbox .cal a.d:hover em,.bookbox .cal a.d:focus-visible small,.bookbox .cal a.d:focus-visible em{color:rgba(255,255,255,.95)}
.bookbox .cal .d.x em{color:#9AAAB2}
.bookbox .cal .d.off{background:#EEF2F4;color:#A9B6BD}
.bookbox .cal .d.off small,.bookbox .cal .d.off em{color:#A9B6BD}

/* ---------- phone menu (the mock's burger had none) ---------- */
.drawer{position:fixed;left:0;right:0;top:var(--tk-header-h,67px);z-index:49;max-height:calc(100vh - var(--tk-header-h,67px));max-height:calc(100dvh - var(--tk-header-h,67px));overflow-y:auto;background:var(--white);border-radius:0 0 24px 24px;box-shadow:0 24px 40px rgba(42,61,74,.16);padding:8px var(--gutter) 24px}
.drawer[hidden]{display:none}
.drawer-nav,.drawer-sub{display:grid}
.drawer-nav a{display:flex;align-items:center;justify-content:space-between;padding:15px 4px;border-bottom:1px solid var(--line);font-family:var(--maru);font-weight:700;font-size:17px;color:var(--ink)}
.drawer-nav a::after{content:'→';color:var(--sakura);font-family:var(--en)}
.drawer-nav a.on{color:var(--aqua-text)}
.drawer-label{margin:18px 4px 6px;font-family:var(--en);font-weight:600;font-size:12px;letter-spacing:.16em;color:var(--aqua-text)}
.drawer-sub{grid-template-columns:1fr 1fr;gap:8px}
.drawer-sub a{display:block;padding:12px 14px;border-radius:12px;background:var(--mist);font-family:var(--maru);font-weight:700;font-size:15px;color:var(--ink)}
.drawer-cta{display:grid;gap:10px;margin-top:20px}
.drawer-cta .btn{width:100%;margin:0}
@media (min-width:901px){.drawer{display:none!important}}
/* the sticky header sits below the admin bar when logged in */
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}
@media (max-width:600px){.admin-bar .site-header{top:0}}

/* the menu replaces the bottom bar while it is open */
body.nav-open .mbar{display:none}

/* ---------- plugin CSS that shares the mock's class names ----------
   VK Blocks loads a Bootstrap subset (and ExUnit some .btn/.row rules) whatever the theme is.
   Keep the mock's buttons and rows as designed. */
html .btn{line-height:inherit;vertical-align:baseline;-webkit-user-select:auto;user-select:auto}
html .btn:focus{box-shadow:none}
html .btn:focus-visible{outline:3px solid var(--aqua-light);outline-offset:2px}
html .btn-primary:hover,html .btn-primary:focus,html .btn-primary:active{color:var(--white);background-color:var(--sakura);border-color:transparent}
html .btn-secondary:hover,html .btn-secondary:focus,html .btn-secondary:active{color:var(--sakura-deep);border-color:var(--sakura-light)}
html .btn-ghost:hover,html .btn-ghost:focus{color:var(--ink)}
html .info .row{margin-left:0;margin-right:0}
/* form buttons keep the browser's own line height, as in the mock; disabled buttons keep the mock's colour */
html button.btn{line-height:normal}
html .btn:disabled{opacity:1}
/* old page content on phones: long button labels wrap, plugin forms shrink to the screen */
.entry .vk_button_link,.entry .wp-block-button__link,.entry .btn{white-space:normal;max-width:100%;text-align:center}
.entry fieldset{min-width:0;max-width:100%}
.entry input,.entry select,.entry textarea{max-width:100%}
