/* Test-domain-only presentation. The CMS remains the sole content source. */
body.poezdka-content-v3 {
  --pz-paper: #f8fafc;
  --pz-paper-deep: #eef4f6;
  --pz-card: #fff;
  --pz-ink: #183653;
  --pz-ink-soft: #506579;
  --pz-accent: #087b7f;
  --pz-line: #dce5eb;
  --pz-radius: 12px;
  --pz-shadow: none;
  color: var(--pz-ink);
  background: var(--pz-paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.poezdka-content-v3 *, body.poezdka-content-v3 *::before, body.poezdka-content-v3 *::after { box-sizing: border-box; }
body.poezdka-content-v3 a { color: var(--pz-accent); text-underline-offset: 3px; }
body.poezdka-content-v3 a:hover { text-decoration: underline; }
body.poezdka-content-v3 :focus-visible { outline: 3px solid #087b7f; outline-offset: 4px; }
body.poezdka-content-v3 .pz-skip-link { position: absolute; left: 16px; top: -100px; z-index: 9999; padding: 12px 20px; background: #fff; }
body.poezdka-content-v3 .pz-skip-link:focus { top: 12px; }
body.poezdka-content-v3 #bg { background: transparent; }
body.poezdka-content-v3 #header_lp { background: #fff; border-bottom: 1px solid var(--pz-line); box-shadow: none; }
body.poezdka-content-v3 .header_wr { grid-template-columns: 190px minmax(0, 1fr); min-height: 104px; gap: 24px; width: min(1180px, calc(100% - 48px)); }
body.poezdka-content-v3 .poezdka-wordmark { font: 800 32px/1.1 system-ui, sans-serif; text-transform: none; letter-spacing: -.04em; color: var(--pz-ink); }
body.poezdka-content-v3 .poezdka-tagline { font-size: 11px; text-transform: none; letter-spacing: 0; color: var(--pz-ink-soft); }
body.poezdka-content-v3 .header_pad { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; width: auto; min-width: 0; }
body.poezdka-content-v3 .header_right_l { grid-column: 2; grid-row: 1; width: auto; min-width: 0; gap: 12px; }
body.poezdka-content-v3 .header_bottom { grid-column: 1; grid-row: 1; min-width: 0; }
body.poezdka-content-v3 .header_right_l form { display: flex; flex-direction: row-reverse; align-items: center; gap: 0; width: 180px; min-width: 0; }
body.poezdka-content-v3 .header_right, body.poezdka-content-v3 .header_right_l .search { position: static; float: none; margin: 0; }
body.poezdka-content-v3 .header_right_l .search { width: calc(100% - 40px); min-width: 0; }
body.poezdka-content-v3 .header_right_l .search input { width: 100%; border-radius: 6px 0 0 6px; }
body.poezdka-content-v3 .for_search { position: relative; width: 40px; height: 44px; border-radius: 0 6px 6px 0 !important; padding: 0 !important; }
body.poezdka-content-v3 .for_search::before { content: ""; position: absolute; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; top: 12px; left: 12px; }
body.poezdka-content-v3 .for_search::after { content: ""; position: absolute; width: 7px; height: 2px; background: #fff; top: 26px; left: 23px; transform: rotate(45deg); }
body.poezdka-content-v3 #topmenu { gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
body.poezdka-content-v3 #topmenu li, body.poezdka-content-v3 #topmenu li a { background: transparent; border: 0 !important; box-shadow: none; }
body.poezdka-content-v3 .header_pad > .clr { display: none; }
body.poezdka-content-v3 #topmenu li.active a { color: var(--pz-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; background: transparent; }
body.poezdka-content-v3 #topmenu a { color: var(--pz-ink); font-size: 14px; font-weight: 650; text-transform: none; letter-spacing: 0; }
body.poezdka-content-v3 .header_picture { height: 150px; margin: 0 auto; border-radius: 0 0 12px 12px; box-shadow: none; }
body.poezdka-content-v3 .header_picture:not(:has(img, form, iframe, a, p, h1, h2)) { height: 0; background: none; }
body.poezdka-content-v3 #main-content { max-width: 1180px; width: min(1180px, calc(100% - 48px)); padding: 28px 0 48px; gap: 24px; align-items: start; }
body.poezdka-content-v3 .white, body.poezdka-content-v3 .white_flat, body.poezdka-content-v3 .padding { padding: 26px; }
body.poezdka-content-v3 .main p { margin: 0 0 1em; }
body.poezdka-content-v3 .acctitle, body.poezdka-content-v3 .acctitle h1 { background: transparent; }
body.poezdka-content-v3 p, body.poezdka-content-v3 li, body.poezdka-content-v3 td { font-size: 16px; line-height: 1.7; }
body.poezdka-content-v3 h1, body.poezdka-content-v3 h2, body.poezdka-content-v3 h3,
body.poezdka-content-v3 .sn_hln, body.poezdka-content-v3 .marked_title { font-family: inherit; letter-spacing: -.025em; font-weight: 750; }
body.poezdka-content-v3 #main-content h1 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.15; margin-bottom: 22px; max-width: 960px; }
body.poezdka-content-v3 h2 { font-size: 26px; line-height: 1.25; margin: 1.35em 0 .65em; }
body.poezdka-content-v3 h3, body.poezdka-content-v3 .sn_hln { font-size: 21px; line-height: 1.35; }
body.poezdka-content-v3 .breadcrumb { margin-bottom: 20px; }
body.poezdka-content-v3 #menu.breadcrumb li, body.poezdka-content-v3 #menu.breadcrumb a, body.poezdka-content-v3 #menu.breadcrumb span { color: var(--pz-ink-soft) !important; font-weight: 450; font-size: 13px; text-transform: none; letter-spacing: 0; }
body.poezdka-content-v3 .image_block_acc { float: right; width: min(42%, 320px); margin: 0 0 20px 24px; }
body.poezdka-content-v3 #ie_img_blck { float: right; width: min(38%, 340px); margin: 0 0 22px 26px; }
body.poezdka-content-v3 .image_block_acc #ie_img_blck { float: none; width: 100%; margin: 0; }
body.poezdka-content-v3.module-images #ie_img_blck { float: none; width: 100%; margin: 0 0 22px; }
body.poezdka-content-v3 .image_block_acc .image_block { border: 0; border-radius: 0; margin: 0; background: transparent; }
body.poezdka-content-v3 .image_block img, body.poezdka-content-v3 .image_block_acc img { height: auto; max-height: none; object-fit: contain; }
body.poezdka-content-v3 .image_block_acc .im_credit { float: none; font-size: 12px; padding: 7px 10px; }
body.poezdka-content-v3 .white:empty { display: none; }
body.poezdka-content-v3 .after-main-elements:not(:has(:not(.clr))) { display: none; }
body.poezdka-content-v3 .after-main-elements { clear: both; border: 0; background: transparent !important; }
body.poezdka-content-v3 .booking-box { border: 1px solid var(--pz-line) !important; border-radius: 12px !important; background: #edf6f6 !important; padding: 24px !important; }
body.poezdka-content-v3 .booking-box a { background: var(--pz-accent) !important; color: #fff !important; border-radius: 7px !important; }
/* Top slot is captured once in Smarty and placed beside the complete article. */
body.poezdka-content-v3 #main-content.pz-with-booking { grid-template-columns: minmax(0, 1fr) 370px; }
body.poezdka-content-v3 .pz-with-booking > .block1,
body.poezdka-content-v3 .pz-with-booking > .block_int { display: contents; }
body.poezdka-content-v3 .pz-with-booking > .block1 > *,
body.poezdka-content-v3 .pz-with-booking > .block_int > * { grid-column: 1; min-width: 0; }
body.poezdka-content-v3 .pz-with-booking > .block1 > .breadcrumb,
body.poezdka-content-v3 .pz-with-booking > .block_int > .breadcrumb { grid-column: 1 / -1; grid-row: 1; margin: 0; }
body.poezdka-content-v3 .pz-with-booking #container { grid-column: 1; grid-row: 2; }
body.poezdka-content-v3 .pz-with-booking #container .white { padding: 0; border: 0; background: transparent !important; box-shadow: none; }
body.poezdka-content-v3 .pz-with-booking > .block1 > .white:has(.addresslist),
body.poezdka-content-v3 .pz-with-booking > .block_int > .white:has(.addresslist) { grid-column: 1 / -1; }
body.poezdka-content-v3 .pz-with-booking > .block2 { grid-column: 2; grid-row: auto; }
body.poezdka-content-v3 #main-content > .clr,
body.poezdka-content-v3 #main-content > .block3:not(:has(:not(.clr))),
body.poezdka-content-v3 .pz-with-booking > .block1 > .clr { display: none; }
body.poezdka-content-v3 .pz-booking-sidebar { grid-column: 2; grid-row: 2; min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--pz-line); border-top: 4px solid var(--pz-accent); border-radius: 12px; box-shadow: 0 8px 30px #18365308; }
body.poezdka-content-v3 .pz-booking-sidebar h2 { margin: 0 0 10px; font-size: 24px; }
body.poezdka-content-v3 .pz-booking-sidebar p { margin: 0 0 16px; color: var(--pz-ink-soft); font-size: 14px; line-height: 1.55; }
body.poezdka-content-v3 .pz-booking-sidebar .pz-partner-note { font-size: 12px; margin: 14px 0 0; }
body.poezdka-content-v3 .pz-booking-sidebar .search_boxes_wrapper_lp,
body.poezdka-content-v3 .pz-booking-sidebar #search_boxes_wrapper,
body.poezdka-content-v3 .pz-booking-sidebar #maxtdBookingSearch { position: static !important; float: none !important; transform: none !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.poezdka-content-v3 #maxtdBookingSearchForm { display: block; }
body.poezdka-content-v3 .maxtd-booking-row { display: flex !important; flex-wrap: wrap; gap: 10px !important; margin: 0 0 12px !important; }
body.poezdka-content-v3 .maxtd-booking-field { flex: 1 1 0; width: auto !important; min-width: 0 !important; border: 0 !important; background: transparent !important; overflow: visible !important; }
body.poezdka-content-v3 .maxtd-booking-row-options { flex-direction: column; }
body.poezdka-content-v3 .maxtd-booking-row-options .maxtd-booking-field { flex: 0 0 auto; height: auto !important; }
body.poezdka-content-v3 #maxtdBookingSearch input:not([type=hidden]),
body.poezdka-content-v3 #maxtdBookingSearch select { width: 100%; min-width: 0; height: 46px; border: 1px solid #c4d1db; border-radius: 6px; font-size: 14px; background: #fff; color: var(--pz-ink); padding: 10px; }
body.poezdka-content-v3 #maxtdBookingSearch label { color: var(--pz-ink-soft); font-size: 12px; }
body.poezdka-content-v3 #maxtdBookingSearch .maxtd-booking-submit { width: 100%; background: var(--pz-accent); color: #fff; border-radius: 6px; min-height: 48px; }
body.poezdka-content-v3 .maxtd-booking-place-list { z-index: 20; }
body.poezdka-content-v3 .addresslist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
body.poezdka-content-v3 .addresslist > div { width: auto; float: none; padding: 0; margin: 0; }
body.poezdka-content-v3 .addresslist a { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border: 1px solid var(--pz-line); border-radius: 7px; background: #fff; font-size: 15px; line-height: 1.4; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
body.poezdka-content-v3 .addresslist a:hover { background: #edf6f6; border-color: var(--pz-accent); text-decoration: underline; }
/* Existing configured cards: keep every title, image, excerpt and link. */
body.poezdka-content-v3 .bl:has(> .box) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
body.poezdka-content-v3 .bl > .box { float: none; width: auto; min-width: 0; margin: 0; overflow: hidden; }
body.poezdka-content-v3 .bl > .box .title { height: auto; padding: 12px 16px; background: #edf4f6; border: 0; }
body.poezdka-content-v3 .bl > .box .title strong { color: var(--pz-ink) !important; font-size: 17px; line-height: 1.4 !important; text-align: left !important; }
body.poezdka-content-v3 .bl > .box table { width: 100%; }
body.poezdka-content-v3 .bl > .box td { height: auto !important; padding: 0; }
body.poezdka-content-v3 .bl > .box table.content img { width: 100%; height: 165px; object-fit: cover; display: block; margin: 0; }
body.poezdka-content-v3 .bl > .box table.content .f13 { display: block; font-size: 14px; line-height: 1.65; padding: 16px; }
body.poezdka-content-v3 .bl > .box .title a { font-size: 14px; }
body.poezdka-content-v3 #footer { background: #183653; padding: 32px 0; }
body.poezdka-content-v3 #footer .wrapper { background: transparent; }
body.poezdka-content-v3 #footer p, body.poezdka-content-v3 #footer li { font-size: 14px; }
@media (max-width: 980px) {
  body.poezdka-content-v3 .header_wr { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  body.poezdka-content-v3 .header_pad { grid-column: 1; grid-template-columns: 1fr; }
  body.poezdka-content-v3 .header_right_l { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  body.poezdka-content-v3 .header_bottom { grid-column: 1; grid-row: 2; }
  body.poezdka-content-v3 #main-content.pz-with-booking { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  body.poezdka-content-v3 .image_block_acc { float: none; width: min(100%, 320px); margin: 0 0 20px; }
  body.poezdka-content-v3 .addresslist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.poezdka-content-v3 .bl:has(> .box) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body.poezdka-content-v3 #main-content, body.poezdka-content-v3 .header_wr, body.poezdka-content-v3 #footer .wrapper { width: calc(100% - 32px); }
  body.poezdka-content-v3 .header_pad { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; }
  body.poezdka-content-v3 .header_pad > .open_menu { grid-column: 2; grid-row: 1; width: 44px; height: 44px; padding: 0; }
  body.poezdka-content-v3 .header_pad > .header_bottom { grid-column: 1 / -1; grid-row: 2; }
  body.poezdka-content-v3 .header_right_l { position: static; display: flex; width: 100%; justify-content: space-between; }
  body.poezdka-content-v3 .header_right_l .search, body.poezdka-content-v3 .header_right_l .for_search, body.poezdka-content-v3 #lang { display: block; }
  body.poezdka-content-v3 #topmenu { flex-wrap: wrap; gap: 6px 18px; }
  body.poezdka-content-v3 #topmenu a { min-height: 36px; display: flex; align-items: center; white-space: normal; }
  body.poezdka-content-v3 .header_bottom { overflow: visible; }
  body.poezdka-content-v3 #main-content.pz-with-booking { display: flex; flex-direction: column; gap: 20px; }
  body.poezdka-content-v3 .pz-with-booking > .block1 > *, body.poezdka-content-v3 .pz-with-booking > .block_int > *, body.poezdka-content-v3 .pz-booking-sidebar { width: 100%; }
  body.poezdka-content-v3 .pz-with-booking .breadcrumb { order: 0; }
  body.poezdka-content-v3 .pz-with-booking #container { order: 1; }
  body.poezdka-content-v3 .pz-booking-sidebar { order: 2; }
  body.poezdka-content-v3 .pz-with-booking .white:has(.addresslist) { order: 3; }
  body.poezdka-content-v3 .pz-with-booking > .block2, body.poezdka-content-v3 .pz-with-booking > .block3 { order: 4; }
  body.poezdka-content-v3 #main-content h1 { font-size: 32px; line-height: 1.2; }
  body.poezdka-content-v3 h2 { font-size: 24px; }
  body.poezdka-content-v3 .white, body.poezdka-content-v3 .white_flat, body.poezdka-content-v3 .padding, body.poezdka-content-v3 .pz-booking-sidebar { padding: 20px; }
  body.poezdka-content-v3 .addresslist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.poezdka-content-v3 .addresslist a { font-size: 14px; padding: 10px; }
  body.poezdka-content-v3 table.content { width: 100%; }
  body.poezdka-content-v3 img { max-width: 100%; height: auto; }
  body.poezdka-content-v3 #ie_img_blck { float: none; width: min(100%, 340px); margin: 0 0 22px; }
  body.poezdka-content-v3 .image_block_acc #ie_img_blck { margin: 0; }
  body.poezdka-content-v3 .bl:has(> .box) { grid-template-columns: minmax(0, 1fr); }
}
