/* DOSPORTU.cz – doplňky vzhledu pro obsah z administrace (AceCMS) */
/* skryté pole proti robotům (modul Formuláře) */
.hp-field{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
/* chybová hláška formuláře ze serveru */
.cbox-form .ferr-top{ margin:0 0 16px; padding:12px 14px; border-radius:12px; background:rgba(180,35,24,.14); color:#FFD7D2; font-weight:700; }
.btn-send[disabled]{ opacity:.7; cursor:progress; }
/* obsah článků psaný v editoru (starší výzvy: nadpisy h3, tučné popisky, obrázky, tabulky) */
.prose h3{ font-size:clamp(19px,1.8vw,22px); margin:28px 0 10px; }
.prose h3:first-child{ margin-top:0; }
.prose h4{ font-size:17px; margin:22px 0 8px; color:var(--ink); }
.prose img{ border-radius:14px; margin:12px 0; height:auto !important; }
.prose iframe{ max-width:100%; border:0; border-radius:14px; }
.prose p:empty{ display:none; }
.prose a{ overflow-wrap:anywhere; }
.prose > *:last-child{ margin-bottom:0; }
/* stránka bez obsahu nad patičkou */
.phead + .sec-top:last-child{ padding-bottom:clamp(48px,7vw,96px); }

/* skrytá stránka „Ceník účto“ (/uce-kalk, šablona calc ze starého webu) – základní vzhled bez Bootstrapu */
.tpl-calc main .container{ max-width:920px; margin:0 auto; padding-inline:var(--gut); }
.tpl-calc main .bg-brand-2{ background:linear-gradient(135deg,var(--deep),var(--blue)); padding:clamp(36px,6vw,72px) 0; }
.tpl-calc main .text-white{ color:#fff; }
.tpl-calc main .text-center{ text-align:center; }
.tpl-calc main .m-section{ padding:clamp(32px,5vw,64px) 0; }
.tpl-calc main h3{ font-size:clamp(20px,2.2vw,26px); margin-bottom:24px; }
.tpl-calc main .m-form-group{ background:var(--tint); border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin-bottom:10px; }
.tpl-calc main .m-form-group label{ display:block; font-weight:700; color:var(--ink); margin-bottom:6px; }
.tpl-calc main .a-form-input{ width:100%; font:inherit; padding:10px 12px; border:1px solid #C9D5E3; border-radius:10px; background:#fff; color:var(--ink); }
.tpl-calc main .row{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin:16px 0; }
.tpl-calc main .row > [class*="col-"]{ flex:1 1 200px; max-width:280px; }
.tpl-calc main h4{ font-size:24px; font-weight:800; }
.tpl-calc main .mt-3{ margin-top:16px; } .tpl-calc main .mb-4{ margin-bottom:24px; }

/* ------------------------------------------------------------------ cookie lišta CMS ve vzhledu webu */
#ace-cookie-root .ace-cookie-bar{
  left:24px; right:auto; bottom:24px; max-width:440px; margin:0; padding:24px 24px 22px;
  background:var(--ink); color:#fff; border:0; border-radius:var(--r); font-family:var(--font);
  box-shadow:0 24px 60px -18px rgba(10,22,48,.55);
  animation:dsp-cb-in .45s var(--ease) both;
}
#ace-cookie-root .ace-cookie-bar::before{
  content:""; display:block; width:44px; height:44px; margin-bottom:14px; border-radius:14px;
  background:var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313284F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5'/%3E%3Cpath d='M8.5 8.5v.01M16 15.5v.01M12 12v.01M11 17v.01M7 14v.01'/%3E%3C/svg%3E") center/24px no-repeat;
}
#ace-cookie-root .ace-cookie-bar__text{ margin:0 0 18px; color:rgba(255,255,255,.86); font-size:15px; line-height:1.55; font-weight:500; }
#ace-cookie-root .ace-cookie-bar__actions{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
#ace-cookie-root .ace-cookie-btn{
  min-height:46px; padding:10px 16px; border-radius:999px; border:1.5px solid rgba(255,255,255,.35);
  background:transparent; color:#fff; font:inherit; font-size:15px; font-weight:700; cursor:pointer;
  transition:background .2s, border-color .2s, color .2s;
}
#ace-cookie-root .ace-cookie-btn:hover{ border-color:#fff; background:rgba(255,255,255,.08); }
#ace-cookie-root .ace-cookie-btn--primary{ grid-column:1 / -1; background:var(--volt); border-color:var(--volt); color:var(--volt-ink, var(--ink)); }
#ace-cookie-root .ace-cookie-btn--primary:hover{ background:#fff; border-color:#fff; color:var(--ink); }
#ace-cookie-root .ace-cookie-btn--link{ display:inline; min-height:0; padding:0; border:0; background:none; color:var(--volt); font-size:inherit; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
#ace-cookie-root .ace-cookie-btn--link:hover{ background:none; color:#fff; }
#ace-cookie-root .ace-cookie-btn:focus-visible{ outline:3px solid var(--cyan); outline-offset:3px; }
#ace-cookie-root .ace-cookie-settings{ margin-top:16px; padding-top:16px; border-top:1px solid rgba(255,255,255,.16); }
#ace-cookie-root .ace-cookie-settings.is-open{ display:grid; gap:4px; }
#ace-cookie-root .ace-cookie-row{ display:flex; align-items:center; gap:10px; margin:4px 0; color:#fff; font-size:15px; font-weight:600; cursor:pointer; }
#ace-cookie-root .ace-cookie-row input{ width:20px; height:20px; accent-color:var(--volt); }
#ace-cookie-root .ace-cookie-settings .ace-cookie-btn{ margin-top:10px; background:var(--volt); border-color:var(--volt); color:var(--volt-ink, var(--ink)); }
#ace-cookie-root .ace-cookie-bar--modal{ left:50%; top:50%; bottom:auto; transform:translate(-50%,-50%); animation:none; }
#ace-cookie-root .ace-cookie-backdrop{ background:rgba(10,22,48,.55); backdrop-filter:blur(3px); }
.ace-cookie-reopen{
  left:16px; right:auto !important; bottom:16px; width:44px; height:44px; padding:0 !important; border:0 !important;
  border-radius:50% !important; font-size:0 !important; color:transparent; background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5'/%3E%3Cpath d='M8.5 8.5v.01M16 15.5v.01M12 12v.01M11 17v.01M7 14v.01'/%3E%3C/svg%3E") center/22px no-repeat !important;
  box-shadow:0 8px 22px -8px rgba(10,22,48,.6) !important; transition:transform .2s var(--ease);
}
.ace-cookie-reopen:hover{ transform:scale(1.08); }
@keyframes dsp-cb-in{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ #ace-cookie-root .ace-cookie-bar{ animation:none; } }
@media (max-width:600px){
  #ace-cookie-root .ace-cookie-bar{ left:10px; right:10px; bottom:10px; max-width:none; padding:20px 18px 18px; }
  #ace-cookie-root .ace-cookie-bar::before{ display:none; }
  #ace-cookie-root .ace-cookie-bar__text{ font-size:14px; margin-bottom:14px; }
  .ace-cookie-reopen{ bottom:84px; }
  body:has(.mbar.off) .ace-cookie-reopen, body:not(:has(.mbar.show)) .ace-cookie-reopen{ bottom:16px; }
}

/* patička – autor webu */
.ftr-bot .ftr-made a{ color:inherit; font-weight:700; text-decoration:none; }
.ftr-bot .ftr-made a:hover{ color:var(--volt); text-decoration:underline; }
/* tlačítko „Cookies“ jen když je lišta zavřená; patička mu nechá místo */
#ace-cookie-root:not([style*="none"]) + .ace-cookie-reopen{ display:none; }
body:has(.ace-cookie-reopen) .ftr{ padding-bottom:76px; }
