/*
Theme Name: Nordbus Liberec
Description: Vlastní hlavička, barevné pozadí a stránky Nordbusu. Dceřiná šablona Blocksy.
Author: Nordbus
Template: blocksy
Version: 1.17.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: nordbus
License: GPL-2.0-or-later
*/

body.nb-site {
  --nb-ink: #123f31;
  --nb-gold: #edc86f;
  --nb-paper: #fffdf7;
  --nb-width: 1200px;
  margin: 0;
  color: var(--nb-paper);
  background: #063d2c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  min-width: 280px;
}
.nb-site *, .nb-site *::before, .nb-site *::after { box-sizing: border-box; }
.nb-site a { color: inherit; }
.nb-site button { font: inherit; }
.nb-site :focus-visible { outline: 3px solid #d38a17; outline-offset: 5px; }
.nb-site .nb-wrap { width: min(var(--nb-width), calc(100% - 64px)); margin-inline: auto; }
.nb-site .nb-backdrop {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(105deg, rgba(3, 53, 39, .94), rgba(7, 74, 50, .84)), var(--nb-background-image, url("assets/nordbus-background.png"));
  background-position: center; background-size: cover;
}
.nb-site .nb-skip { position: fixed; left: 20px; top: -100px; z-index: 100000; padding: 10px 20px; color: #153d2b; background: white; }
.nb-site .nb-skip:focus { top: 15px; }
.nb-site .nb-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nb-site .nb-top { color: #496252; background: #fffdf7; font-size: 12px; letter-spacing: .03em; border-bottom: 1px solid #d7dccf; }
.nb-site .nb-top-inner { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding-block: 8px; }
.nb-site .nb-top-brand { display: flex; align-items: center; gap: 9px; font-weight: 650; }
.nb-site .nb-dot { width: 6px; height: 6px; display: inline-block; background: #43855d; border-radius: 50%; }
.nb-site .nb-contact { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.nb-site .nb-contact a { color: #34513e; text-underline-offset: 4px; }
.nb-site .nb-banner {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: #efc76b;
  background-image: linear-gradient(90deg, rgba(255, 250, 229, .16), rgba(205, 165, 46, .03)), var(--nb-banner-image, url("assets/nordbus-background.png"));
  background-position: center 53%; background-size: cover;
}
.nb-site .nb-banner::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, #2c6540, #e5ba47, #215332); }
.nb-site .nb-brand { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 0 49px; text-align: center; }
.nb-site .nb-logo { display: block; margin-bottom: 15px; }
.nb-site .nb-logo img { display: block; width: auto; max-width: 220px; max-height: 112px; object-fit: contain; }
.nb-site .nb-kicker { margin: 0 0 12px; color: #385b39; font-size: 11px; font-weight: 750; letter-spacing: .25em; text-transform: uppercase; }
.nb-site .nb-title { margin: 0; color: #16442d; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.6vw, 78px); line-height: 1.1; font-weight: 700; letter-spacing: -.045em; }
.nb-site .nb-title a { text-decoration: none; }
.nb-site .nb-brand-line { width: 56px; height: 2px; margin-top: 25px; background: #a8893b; }
.nb-site .nb-nav-shell { background: #063d2c; border-bottom: 1px solid rgba(233, 206, 120, .27); }
.nb-site .nb-nav { display: flex; justify-content: center; }
.nb-site .nb-menu, .nb-site .nb-menu ul { list-style: none; margin: 0; padding: 0; }
.nb-site .nb-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 13px; }
.nb-site .nb-menu > li { position: relative; display: flex; align-items: center; }
.nb-site .nb-menu a { display: block; padding: 22px 15px; font-size: 15px; font-weight: 550; text-decoration: none; color: #f7f5e8; line-height: 1.5; }
.nb-site .nb-menu > li > a { position: relative; }
.nb-site .nb-menu > li > a::after { content: ""; position: absolute; bottom: 13px; left: 15px; right: 15px; height: 2px; background: var(--nb-gold); transform: scaleX(0); transition: transform .18s ease; }
.nb-site .nb-menu > li.current-menu-item > a::after,
.nb-site .nb-menu > li.current-menu-ancestor > a::after,
.nb-site .nb-menu > li > a:hover::after { transform: scaleX(1); }
.nb-site .nb-menu a:hover, .nb-site .nb-menu a[aria-current="page"] { color: #f3cf78; }
.nb-site .nb-menu .sub-menu { position: absolute; z-index: 20; top: 100%; left: 0; min-width: 230px; max-width: min(290px, calc(100vw - 48px)); padding: 7px; background: #104b38; border: 1px solid #577449; border-radius: 0 0 9px 9px; box-shadow: 0 14px 35px #001f2450; }
.nb-site .nb-menu .sub-menu li { position: relative; }
.nb-site .nb-menu .sub-menu a { padding: 12px 15px; font-size: 14px; overflow-wrap: anywhere; }
.nb-site .nb-menu .sub-menu .sub-menu { position: static; width: auto; margin-left: 12px; border: 0; border-left: 1px solid #67815a; box-shadow: none; min-width: 0; }
.nb-site .nb-menu .sub-menu { display: none; }
.nb-site:not(.nb-enhanced) .nb-menu li:hover > .sub-menu,
.nb-site:not(.nb-enhanced) .nb-menu li:focus-within > .sub-menu { display: block; }
.nb-site.nb-enhanced .nb-menu .sub-menu:not([hidden]) { display: block; }
.nb-site [hidden] { display: none !important; }
.nb-site .nb-sub-toggle { display: flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; padding: 0; margin-left: -8px; color: #f3cf78; background: transparent; border: 0; border-radius: 4px; cursor: pointer; }
.nb-site .nb-sub-toggle::before { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nb-site .nb-sub-toggle[aria-expanded="true"]::before { transform: rotate(225deg) translate(-1px, -1px); }
.nb-site .nb-sub-toggle:hover { background: #ffffff12; }
.nb-site .nb-menu .sub-menu .nb-sub-toggle { position: absolute; right: 0; top: 0; }
.nb-site .nb-menu .sub-menu .menu-item-has-children > a { padding-right: 38px; }
.nb-site .nb-menu-toggle { display: none; }
.nb-site .nb-main { padding-block: 47px 68px; min-height: 330px; }
.nb-site .nb-home-hero { margin: 0 0 32px; padding: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 58px #001e2129; }
.nb-site .nb-home-hero img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; }
.nb-site .nb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; color: #c8d5b9; margin-bottom: 18px; }
.nb-site .nb-breadcrumb a { text-decoration: none; }
.nb-site .nb-breadcrumb a:hover { text-decoration: underline; }
.nb-site .nb-panel { color: var(--nb-ink); background: #fffdf7; border-top: 3px solid #e2bd61; border-radius: 3px 3px 12px 12px; padding: clamp(28px, 4vw, 54px); box-shadow: 0 18px 58px #001e211f; overflow-wrap: anywhere; }
.nb-site .nb-page-label { margin: 0 0 9px; color: #66806b; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.nb-site .nb-heading { margin: 0 0 20px; color: #174331; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 40px); line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.nb-site .nb-content { color: #4d6155; font-size: 16px; }
.nb-site .nb-content > :last-child { margin-bottom: 0; }
.nb-site .nb-content a { color: #236442; text-decoration: underline; text-underline-offset: 3px; }
.nb-site .nb-content img { height: auto; max-width: 100%; }
.nb-site .nb-content h2, .nb-site .nb-content h3 { color: #174331; }
.nb-site .nb-empty { margin: 0; padding-block: 3px 6px; color: #5d7162; }
.nb-site .nb-edit { display: inline-block; margin-top: 25px; color: #235e42; font-size: 13px; text-underline-offset: 4px; }
.nb-site .nb-post + .nb-post { margin-top: 25px; }
.nb-site .nb-footer { border-top: 1px solid #ffffff1c; }
.nb-site .nb-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; min-height: 83px; padding-block: 21px; color: #c6d4bc; font-size: 12px; }
.nb-site .nb-footer-name { color: #eed49a; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 700; }
.nb-site .nb-footer p { margin: 0; }
.nb-site .nb-social { display: flex; gap: 18px; flex-wrap: wrap; }
.nb-site .nb-social a { color: #dce4cc; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .nb-site .nb-menu { gap: 0; }
  .nb-site .nb-menu a { font-size: 14px; padding-inline: 11px; }
}
@media (max-width: 760px) {
  .nb-site .nb-wrap { width: calc(100% - 36px); }
  .nb-site .nb-top-inner { min-height: 38px; gap: 5px 12px; font-size: 10px; }
  .nb-site .nb-contact-hint { display: none; }
  .nb-site .nb-brand { min-height: 250px; padding-block: 37px 42px; }
  .nb-site .nb-title { font-size: clamp(35px, 8.5vw, 60px); }
  .nb-site .nb-kicker { font-size: 9px; letter-spacing: .19em; }
  .nb-site .nb-logo img { max-height: 85px; }
  .nb-site .nb-brand-line { margin-top: 20px; }
  .nb-site .nb-nav { display: block; }
  .nb-site .nb-menu-toggle:not([hidden]) { display: flex; width: 100%; align-items: center; justify-content: space-between; color: #fff7da; background: transparent; border: 0; border-radius: 0; min-height: 60px; padding: 14px 0; font-size: 14px; cursor: pointer; }
  .nb-site .nb-menu-icon { width: 21px; height: 13px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; position: relative; }
  .nb-site .nb-menu-icon::before { content: ""; position: absolute; left: 0; top: 5px; width: 21px; border-top: 1px solid currentColor; }
  .nb-site.nb-enhanced .nb-nav[data-open="false"] > .nb-menu { display: none; }
  .nb-site .nb-menu { display: block; padding-block: 5px 15px; }
  .nb-site .nb-menu > li { flex-wrap: wrap; }
  .nb-site .nb-menu > li > a { flex: 1; padding: 14px 12px; }
  .nb-site .nb-menu > li > a::after { left: 12px; right: auto; width: 24px; bottom: 7px; }
  .nb-site .nb-sub-toggle { min-width: 48px; margin: 0; }
  .nb-site .nb-menu .sub-menu { position: static; width: 100%; max-width: none; min-width: 0; margin: 0 0 8px; border: 0; border-left: 1px solid #d4b96b; box-shadow: none; border-radius: 0; }
  .nb-site .nb-main { padding-block: 27px 38px; min-height: 270px; }
  .nb-site .nb-home-hero { margin-bottom: 24px; border-radius: 8px; }
  .nb-site .nb-panel { padding: 28px 23px; }
  .nb-site .nb-content { font-size: 15px; }
  .nb-site .nb-footer-inner { gap: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) { .nb-site *, .nb-site *::before, .nb-site *::after { transition: none !important; scroll-behavior: auto !important; } }
