@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
#nav {
    position: sticky;
    top: 0;
    z-index: 9999;
 background: linear-gradient(158deg, rgba(255, 191, 0, 1) 0%, rgba(255, 235, 173, 1) 25%, rgba(237, 180, 7, 1) 38%, rgba(255, 228, 145, 1) 64%, rgba(255, 194, 10, 1) 73%, rgba(255, 191, 0, 1) 90%);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease;
    opacity: 1;
    box-shadow: none;
}

/* SCROLL DOLŮ — zmizí, ztmavne, bez světla */
#nav.hide-nav {
    transform: translateY(-100%);
    opacity: 0;
    background-color: rgba(255,191,0,0.4);
    box-shadow: none;
}

/* SCROLL NAHORU — vyjede + přidáme světelný „glow“ dole */
#nav.show-nav {
    transform: translateY(0);
    opacity: 1;
background: linear-gradient(158deg, rgba(255, 191, 0, 1) 0%, rgba(255, 235, 173, 1) 25%, rgba(237, 180, 7, 1) 38%, rgba(255, 228, 145, 1) 64%, rgba(255, 194, 10, 1) 73%, rgba(255, 191, 0, 1) 90%);
box-shadow: 0 6px 18px rgba(40, 40, 40, 0.85);
}
.kab-moto img {
  width: 50px;
  border: 1px solid #666;
  margin-top: -10px;
  transition: 0.3s ease;
}
.kab-moto img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(3, 3, 3, 0.6);
    border-color: #666;
}
@media (max-width: 640px) {
    #nav {
        position: static !important;   /* ← NE sticky, NE fixed */
        transform: none !important;
        opacity: 1 !important;
        background-color: #ffbf00 !important;
        box-shadow: none !important;
        transition: none !important;
    }

    #nav.hide-nav,
    #nav.show-nav {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        box-shadow: none !important;
    }
}
body {
background: #eaeaea;
color: #333;
margin: 0;
 font-family: "Rubik", sans-serif;
} 
 body {
font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.125rem); /* fluidní základ textu */
  line-height: 1.45;
}
h1 {
font-size: clamp(1.6rem, 1.2rem + 4.0vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 0.6em;
  text-align: center;
  font-weight: 500;
}
h2 {
  font-size: clamp(1.25rem, 1.0rem + 2.5vw, 2.2rem);
  margin: 0 0 0.6em;
  font-weight: 500;
}
.button, button, button.btn, input.btn, .btn {
border: none;
  background: #efbb1a;
  font-size: 18px;
  padding: 7px 20px;
  text-shadow: none;
}
.tck-article.com-content-article.item-page .tck-article-title {
  display: none;
}
/* Hero sekce */
.hero {
    width: 100%;
    height: 80vh;
    background: url("/images/sablona/dmk-klub-800.jpg"); center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 5%;
    position: relative;
  background-repeat: no-repeat;
}
/* Polotransparentní overlay pro lepší čitelnost */
.hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
}
.hero-text {
    position: relative;
    max-width: 600px;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
}
/* Nadpisy */
.hero-text h1 {
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 110%;
  color: white;
  text-align: left;
}
.hero-text h2 {
    font-size: 32px;
    font-weight: 400;
    margin: 0;
  color: white;
}
/* RESPONSIVITA */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 48px;
    }
    .hero-text h2 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
 .hero {
    height: 80vh !important;
    padding-left: 5%;
    background: url("/images/sablona/dmk-klub-650.jpg");
    background-size: auto !important;
    background-repeat: no-repeat !important;
    background-position: right !important;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 22px;
    }
}

.provozni-rad-kab {
  max-width: 800px;
  margin: 0px auto;
}
.col.dark-box {
  align-items: center;
  align-content: center;
  padding: 2em;
background: #FFBF00;
background: linear-gradient(158deg, rgba(255, 191, 0, 1) 0%, rgba(255, 235, 173, 1) 25%, rgba(237, 180, 7, 1) 38%, rgba(255, 228, 145, 1) 64%, rgba(255, 194, 10, 1) 73%, rgba(255, 191, 0, 1) 90%);
border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
  text-align: left;
}
.col.dark-box-ucime {
  align-items: center;
  align-content: center;
  padding: 2em;
  background: #F9BA00;
background: 2D4B9B;
background: linear-gradient(158deg, rgba(0, 0, 0, 1) 0%, rgba(71, 120, 255, 1) 30%, rgba(0, 0, 0, 1) 39%, rgba(56, 96, 201, 1) 71%, rgba(61, 104, 219, 1) 77%, rgba(0, 16, 56, 1) 90%);
  color: #fff;
border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
}
.col.lineblue-box {
  align-items: center;
  align-content: center;
  padding: 2em;
border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
background: #f7f7f7;
  text-align: left;
}
.col img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 0px 6px 18px 8px rgba(58,58,58,0.43); 
box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 0px 6px 18px 8px rgba(58,58,58,0.43);
}
.row.radek {
    display: flex;
    gap: 20px;
    position: relative;
}
.row.radek:nth-child(even) {
    flex-direction: row-reverse;
}
.row {
display: flex;
flex-wrap: wrap;
margin-bottom: 70px;
min-height: 420px;
}

/* Výchozí stav – desktop, nic neměníme */
.row {
  display: flex;
  align-items: center;
}

/* Obrázky pro jistotu 100% */
.row img {
  width: 100%;
  height: auto;
}

/* MOBILNÍ STYLY */
/* 📱 Mobil: všechny pod sebe (nezáleží na pořadí) */
@media (max-width: 768px) {
    .row.radek {
        flex-direction: column !important;
        text-align: center;
    }
}
/* Rozvržení pouze pro sekci Co se učíme */
.row.radek .dark-box-ucime {
    flex: 0 0 calc(66.66% - 10px);
    max-width: calc(66.66% - 10px);
}

.row.radek .col.ucime-img {
    flex: 0 0 calc(33.33% - 10px);
    max-width: calc(33.33% - 10px);
    display: flex;
    align-items: center;
}

/* obrázek */
.row.radek .ucime-img img {
    width: 100%;
    border-radius: 10px;
}

/* střídání řádků */
.row.radek:nth-child(even) {
    flex-direction: row-reverse;
}

/* mobilní verze */
@media (max-width: 768px) {
    .row.radek {
        flex-direction: column !important;
        text-align: center;
    }

    .row.radek .dark-box-ucime,
    .row.radek .col.ucime-img {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Kontejner – 4 boxy vedle sebe */
.dmk-four-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}
/* Kontejner – 3 boxy vedle sebe */
.dmk-free-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

/* BOX */
.dmk-box {
background: 2D4B9B;
background: linear-gradient(158deg, rgba(0, 0, 0, 1) 0%, rgba(71, 120, 255, 1) 30%, rgba(0, 0, 0, 1) 39%, rgba(56, 96, 201, 1) 71%, rgba(61, 104, 219, 1) 77%, rgba(0, 16, 56, 1) 90%);
    box-shadow: 9px 13px 32px -3px rgba(34, 60, 80, 0.64);
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* vše zarovná dolů rovnoměrně */
    text-align: left;
}

/* Nadpis */
.dmk-box h3 {
    color: #ffbf00;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
}

/* Obrázek */
.dmk-box img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    margin-bottom: 15px;
}

/* Text */
.dmk-box p {
    flex-grow: 1;
    margin-bottom: 15px;
}

/* Tlačítko */
.dmk-btn {
    display: inline-block;
    background: #ffbf00;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    margin-left: auto;  /* posune tlačítko doprava */
    transition: 0.2s;
}

.dmk-btn:hover {
    filter: brightness(1.1);
}
@keyframes boxPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

/* ANIMACE – střídání */
.dmk-box {
  animation: boxPulse 3s ease-in-out infinite;
}

/* druhý a čtvrtý box mají jinou prodlevu */
.dmk-box:nth-child(2) {
  animation-delay: 1.5s;
}

.dmk-box:nth-child(4) {
  animation-delay: 1.5s;
}

/* 🟦 RESPONSIVITA */
@media (max-width: 1100px) {
    .dmk-four-boxes, .dmk-free-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dmk-four-boxes, .dmk-free-boxes {
        grid-template-columns: 1fr;
    }
}
/* ODDELOVAC VLAJKA */
.race-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 800px;
  margin: 60px auto;
}
/* DVOJITÁ LINKA (3px čára – 1px mezera – 3px čára) */
.race-divider .line {
  width: 40%;
  min-width: 150px;
  height: 9px; /* prostor pro 3 + 1 + 3 */
  position: relative;
}

/* horní čára */
.race-divider .line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #fccb3b;
}

/* spodní čára */
.race-divider .line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #000b94;
}

/* pouze vlajka pulzuje */
.race-divider.pulse-only .flag {
  display: inline-block;
  animation: pulseFlag 1.8s ease-in-out infinite;
  transform-origin: center;
}

/* PNG vlajka */
.race-divider .flag img {
  width: 100px;
  height: auto;
  display: block;
}

/* PULZ ANIMACE */
@keyframes pulseFlag {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}
ul.pneu-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
}

ul.pneu-list li {
  position: relative;
  padding-left: 28px; /* odsazení textu */
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Ikona pneumatiky jako bullet */
ul.pneu-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("/images/sablona/pneu.png");
  background-size: cover;
  background-repeat: no-repeat;
}
.co-se-ucime p {
  margin: 0;
}
.co-se-ucime .uce-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.co-se-ucime .uce-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 18px;
  text-align: left;
}
/* Kruh s číslem */
.uce-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: #fdcf47;
    color: #000;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.row.faq-blok {
    display: flex;
    gap: 30px;
    margin: 50px 0;
    align-items: flex-start;
}
/* celý wrapper FAQ */
.faq-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 40px 0;
}

/* levá sekce */
.faq-left {
    flex: 0 0 66.66%;
    background: #0f1c3f;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 9px 13px 32px -3px rgba(34, 60, 80, 0.64);
    color: #fff;
}

/* pravá sekce s obrázkem */
.faq-right {
    flex: 0 0 33.33%;
    display: flex;
    align-items: center;
}

.faq-right img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 8px 12px 28px rgba(0,0,0,0.4);
}

/* FAQ akordeon */
.col.faq-box {
background: linear-gradient(158deg, rgba(0, 0, 0, 1) 0%, rgba(71, 120, 255, 1) 30%, rgba(0, 0, 0, 1) 39%, rgba(56, 96, 201, 1) 71%, rgba(61, 104, 219, 1) 77%, rgba(0, 16, 56, 1) 90%);
  padding: 2em 1em;
  color: #fff;
  border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
}

.faq-item {
    margin-bottom: 14px;
}

.faq-q {
    width: 100%;
    background: #152e66;
    color: #ffbf00;
    font-size: 18px;
    padding: 12px 15px;
    text-align: left;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}
.faq-a {
  display: none;
  padding: 12px 15px;
  margin-top: 1px;
  background: #1c2a4d;
  border-radius: 10px;
  color: #fff;
  margin-left: 20px;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
}
.faq-q:hover {
  background: #ffbf00;
}
.faq-a a {
  color: #fee189;
}
/* mobilní zobrazení */
@media (max-width: 800px) {
    .faq-wrapper {
        flex-direction: column;
    }
    .faq-left,
    .faq-right {
        flex: 0 0 100%;
    }
}
.kontakt-wrapper {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

/* levý sloupec */
.kontakt-left {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* každý box */
.kontakt-box {
    padding: 22px 25px;
    color: #fff;
    border-left: 6px solid #ffbf00;
    box-shadow: 9px 13px 32px -3px rgba(34, 60, 80, 0.64);
  background: linear-gradient(158deg, rgba(0, 0, 0, 1) 0%, rgba(71, 120, 255, 1) 30%, rgba(0, 0, 0, 1) 39%, rgba(56, 96, 201, 1) 71%, rgba(61, 104, 219, 1) 77%, rgba(0, 16, 56, 1) 90%);
}

.kontakt-left h2 {
    color: #ffbf00;
    margin-bottom: 10px;
}

.kontakt-box h3 {
    margin-bottom: 10px;
}

.kontakt-box p {
    font-size: 18px;
    line-height: 1.4;
}

.kontakt-box a {
    color: #ffbf00;
    font-weight: 600;
}

/* PRAVÁ část */
.kontakt-right {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
}

.kontakt-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.4);
}

/* MOBILNÍ VERZE */
@media (max-width: 768px) {
    .kontakt-wrapper {
        flex-direction: column;
    }
    .kontakt-left,
    .kontakt-right {
        flex: 0 0 100%;
    }
}
.logo-row-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 40px 5px 15px 5px;
  flex-wrap: wrap;
}

.logo-row-3 .logo-col {
    flex: 0 0 auto;
    text-align: center;
}

.logo-row-3 img {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo-row-3 .text-col {
    padding: 20px;
    border-left: 6px solid #ffbf00;
    box-shadow: 4px 4px 12px 3px rgba(0, 0, 0, 0.28);
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
}
/* Mobilní zobrazení */
@media (max-width: 768px) {
    .logo-row-3 {
        flex-direction: column;
        gap: 20px;
    }

    .logo-row-3 .text-col {
        max-width: 100%;
    }
}
#footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    list-style: none;
    margin: 0;
}

#footer-links li {
    position: relative;
    padding: 0 12px;
}

/* závodní pruh mezi položkami */
#footer-links li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        #ffbf00 0 7px,
        #000 7px 14px
    );
    border-radius: 2px;
}

#footer-links a {
    color: #ffbf00;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    letter-spacing: 1px;
}

#footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255,255,255,0.7);
}

/* 📱 MOBILNÍ ZOBRAZENÍ – odkazy pod sebe */
@media (max-width: 640px) {

    #footer-links {
        flex-direction: column;
        gap: 12px;
    }

    #footer-links li {
        padding: 0;
    }

    /* odstraníme pruhy mezi položkami */
    #footer-links li::after {
        display: none !important;
    }
  .race-divider {
  gap: 0px !important;
  margin: 60px auto 30px !important;
  }
}

@media (max-width: 760px) {
#zahlavi {
  display: none;
}
}
#zapati {
	background: #2A4898;
	background: linear-gradient(158deg, rgba(0, 0, 0, 1) 0%, rgba(71, 120, 255, 1) 30%, 
rgba(0, 0, 0, 1) 39%, rgba(56, 96, 201, 1) 71%, rgba(61, 104, 219, 1) 77%, rgba(0, 16, 56, 1) 90%);
}
[data-id="mobilemenuck-1"] .mobilemenuck-bar-button {
  background: #000;
  height: 63px;
  width: 63px;
  color: #FFFFFF;
  font-size: 3.0em;
  border: 1px solid #e7e7e7;
}
[data-id="mobilemenuck-1"] .mobilemenuck-bar-title {
  font-weight: 400;
  line-height: 65px;
  font-size: 20px;
  background: linear-gradient(158deg, rgba(255, 191, 0, 1) 0%, rgba(255, 235, 173, 1) 25%, rgba(237, 180, 7, 1) 38%, rgba(255, 228, 145, 1) 64%, rgba(255, 194, 10, 1) 73%, rgba(255, 191, 0, 1) 90%);
}
[data-id="mobilemenuck-1"] .mobilemenuck-item > .level1 {
  background: #027EA600;
}
[data-id="mobilemenuck-1"].mobilemenuck {
  background: #1c3e8e;
}
[data-id="mobilemenuck-1"] .mobilemenuck-item > .level1:not(.headingck):hover{
  background: #191919;
}
.mobilemenuck-beforetext  ,.mobilemenuck-aftertext {
  font-size: 16px;
  font-weight: 400;
  padding: 20px;
}
.mobilemenuck-logo-left {
  background: #f0bc1d;
}
.race-divider-dmk {
  width: 100%;
  height: 3px;
  background-image: repeating-linear-gradient( 45deg, #ffbf00 0 12px, #000 12px 24px );
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
/* Parent item – kvůli absolutnímu nadpisu */
.com-content-category-blog__item {
    position: relative;
    overflow: hidden;
}

/* Nadpis posunutý výš (100px nad spodkem obrázku) */
.com-content-category-blog__item .tck-article-title {
    position: absolute;
    left: 0;
    bottom: 100px; /* ← TVOJE ÚPRAVA */
    width: 100%;
    margin: 0;
    padding: 14px 18px;
    background: rgba(0,0,0,0.55);
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    z-index: 10;
    box-sizing: border-box;

    /* Slide animace */
    transform: translateY(0);
    transition: transform 0.35s ease, background 0.3s ease;
}

/* Odkaz v nadpisu */
.com-content-category-blog__item .tck-article-title a {
    color: #fff !important;
    text-decoration: none;
}

.com-content-category-blog__item .tck-article-title a:hover {
    color: #ffbf00 !important;
}

/* Obrázek – zoom + stín + radius */
.com-content-category-blog__item figure img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;

    /* TVŮJ DESIGN */
    -webkit-box-shadow: -10px 0px 13px -7px #000000,
                        10px 0px 13px -7px #000000,
                        0px 6px 18px 8px rgba(58,58,58,0.43);
    box-shadow:          -10px 0px 13px -7px #000000,
                        10px 0px 13px -7px #000000,
                        0px 6px 18px 8px rgba(58,58,58,0.43);
}

/* Zoom obrázku při hoveru */
.com-content-category-blog__item:hover figure img {
    transform: scale(1.08);
}

/* Nadpis při hoveru vyskočí výš (slide-up) */
.com-content-category-blog__item:hover .tck-article-title {
    transform: translateY(-10px);
    background: rgba(0,0,0,0.65);
}

/* Rezerva pro absolutní nadpis */
.com-content-category-blog__item .item-content {
    padding-top: 50px;
}
.com-content-category-blog.blog.tck-blog .blog-home-uvod {
  border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 0px 6px 18px 8px rgba(58,58,58,0.43);
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 0px 6px 18px 8px rgba(58,58,58,0.43);
}
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 20px;
    margin:;
}

.social-icons li {
    border: 1px solid #000;
    border-radius: 8px;
    padding: 6px;
    transition: 0.3s ease;
}

.social-icons li:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255,191,0,0.6);
    border-color: #ffbf00;
}

.social-icons img {
    width: 30px;
    height: 30px;
    display: block;
}


