/* STRÁNKA - UZLY */
.knots-page {
  background: #fff;
  padding: 60px 20px;
  color: #222;
}

.knots-page .container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 18px;
  color: #555;
}

.category-block {
  margin-bottom: 60px;
  text-align: left;
}

.category-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #333;
	text-align:center;
}

.knot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.knot-item {
  flex: 1 1 calc(33.333% - 13.33px); /* 3 boxy na desktopu */
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.25s;
}

.knot-item:hover {
  border-color: #c5c5c5;
  transform: translateY(-4px);
  box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
}

.knot-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.knot-item p {
  font-size: 15px;
  margin: 0 0 10px;
  text-align: center;
}

.knot-item a.video-link {
  font-weight: 700;
  color: #e6242e;
  text-decoration: none;
  margin-bottom: 10px;
}

.knot-item a.video-link:hover {
  text-decoration: underline;
  color: #000;
}

.knot-item img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 10px;
}

/* RESPONSIVITA */
@media (max-width: 1000px) {
  .knot-item {
    flex: 1 1 calc(50% - 10px); /* 2 boxy */
  }
}

@media (max-width: 700px) {
  .knot-item {
    flex: 1 1 100%; /* 1 box na mobilu */
  }
  .knot-item img {
    max-width: 150px;
  }
}

/* STRANA - Jak vybrat */
.kajman-morske-pruty {
  margin: 0 auto;
  padding: 3rem 1.2rem;
  color: #1e1e1e;
  line-height: 1.8;
  background: #fff;
}

.kajman-morske-pruty .hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.kajman-morske-pruty h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
}

.kajman-morske-pruty .intro {
  font-size: 1.1rem;
  color: #555;
  margin: 0 auto;
}


.kajman-morske-pruty h2 {
  color: #222;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.kajman-morske-pruty p {
  margin-bottom: 1rem;
  color: #333;
}

.kajman-morske-pruty blockquote {
  background: #f8f8f8;
  border-left: 4px solid #73be43;
  margin: 1.8rem 0;
  padding: 1rem 1.3rem;
  font-style: italic;
  color: #444;
}

.kajman-morske-pruty a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.kajman-morske-pruty a:hover {
  text-decoration: underline;
}

.kajman-morske-pruty .illustration {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.kajman-morske-pruty .cta {
  background: #f3f3f3;
  color: #111;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  margin-top: 3rem;
}

.kajman-morske-pruty .cta h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.kajman-morske-pruty .cta a {
  color: #006b56;
  font-weight: 600;
}

.kajman-morske-pruty .cta p {
  color: #444;
  margin: 0;
}

/* STRANA REKLAMACE */

.section-title {
    font-size: 1.8em;           
    font-weight: 700;           
    color: #222222;             
    line-height: 1.25;          
    margin: 50px 0 20px 0;      /* horní i spodní margin */
    padding-bottom: 8px;        
    border-bottom: 2px solid #e0e0e0; 
    display: inline-block;      
}
/* Tablety a menší obrazovky */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5em;           /* menší font */
        margin: 30px 0 15px 0;      /* menší horní a spodní margin */
        padding-bottom: 6px;        
    }
}

/* Mobilní telefony */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.3em;           /* kompaktní font */
        margin: 20px 0 12px 0;      /* menší odsazení od vrchu a spodku */
        padding-bottom: 5px;        
    }
}

.section-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Jemný hover efekt pro desktop */
@media (hover: hover) and (pointer: fine) {
    .section-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    }
}

/* Nadpisy uvnitř boxů */
.section-box h4,
.section-box h5,
.section-box h6 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222222;
    line-height: 1.3;
}

.section-box h4 {
    font-size: 1.5em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 6px;
}

.section-box h5 {
    font-size: 1.3em;
}

.section-box h6 {
    font-size: 1.15em;
}

/* Text a důraz */
.section-box strong {
    font-weight: 600;
}

/* Akcentní červená pro upozornění */
.section-box span[style*="color: #fb000a"] {
    color: #fb000a;
}

/* Odkazy */
.section-box a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.section-box a:hover {
    color: #bfc1bd;
    text-decoration: underline;
}

/* Seznamy */
.section-box ul {
    padding-left: 22px;
    margin: 12px 0;
}

.section-box li {
    margin-bottom: 10px;
}

/* Odstavec s upozorněním */
.section-box h6 {
    background-color: #fff5f5;
    padding: 12px 15px;
    border-left: 5px solid #fb000a;
    border-radius: 6px;
    font-weight: 600;
}

/* Oddělení jednotlivých sekcí */
.section-box + .section-box {
    margin-top: 30px;
}

/* --- Responzivní úpravy pro mobil --- */
@media (max-width: 768px) {
    .section-box {
        padding: 20px 18px;
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

    .section-box h4 {
        font-size: 1.35em;
    }

    .section-box h5 {
        font-size: 1.15em;
    }

    .section-box h6 {
        font-size: 1em;
    }

    .section-box ul {
        padding-left: 18px;
    }
}

@media (max-width: 480px) {
    .section-box {
        padding: 15px 12px;
    }

    .section-box h4 {
        font-size: 1.2em;
    }

    .section-box h5 {
        font-size: 1.05em;
    }

    .section-box h6 {
        font-size: 0.95em;
    }

    .section-box ul {
        padding-left: 15px;
    }
}


/* vzhled subkategorií */

.subcategories-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px; /* mezery mezi podkategoriemi */
	margin-bottom: 40px;
	justify-content: flex-start;
}

.subcategory-item {
	flex: 1 1 calc(33.333% - 30px); /* 3 vedle sebe */
	text-align: center;
	border: 1px solid #ddd; /* jemné orámování */
	border-radius: 6px;
	padding: 8px; /* menší padding → nižší blok */
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06); /* lehčí stín */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcategory-item:hover {
	transform: scale(1.03); /* lehké zvětšení při hover */
	box-shadow: 0 4px 8px rgba(0,0,0,0.12); /* decentní zvýraznění stínu */
}

.subcategory-item img {
	width: 100%; 
	height: auto;
	margin-bottom: 8px; 
	border-radius: 4px;
}

.subcategory-item h3 {
	font-size: 1.05em;
	margin: 4px 0 2px; 
	color: #333;
	font-weight: 600;
}

.subcategory-item p {
	font-size: 0.85em;
	color: #666;
	margin: 0;
	line-height: 1.2em;
}

/* Responzivní úprava pro mobil */
@media screen and (max-width: 768px) {
	.subcategory-item {
		flex: 1 1 100%; /* 1 podkategorie na řádek */
	}
}

/* STRANA - EXKLUZIVNĚ OD KAJMAN */

.exkluzivne-kajman {
  margin: 0 auto;
  padding: 0rem 1.2rem;
  color: #1e1e1e;
  line-height: 1.8;
  background: #fff;
text-align: center;
}

.exkluzivne-kajman .hero {
  text-align: center;
  margin-bottom: 3.5rem;
}


.exkluzivne-kajman h1 {
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
  text-align: center;
 display: inline-block;
border-bottom: 2px solid #e6242e;
  padding-bottom: 0.2rem;

}


.exkluzivne-kajman .intro {
  font-size: 1.1rem;
  color: #555;
  margin: 0 auto;
text-align: center;


}

.exkluzivne-kajman h2 {
  color: #222;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-align: center;
  display: inline-block;         
border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

.exkluzivne-kajman h3 {
  color: #222;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-align: center;
  display: inline-block;     
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2rem;
}
.exkluzivne-kajman p {
  margin-bottom: 1rem;
  color: #333;
text-align: center;
margin-bottom: 2.5rem;

}

.exkluzivne-kajman blockquote {
  background: #f8f8f8;
  border-left: 4px solid #73be43;
  margin: 1.8rem 0;
  padding: 1rem 1.3rem;
  color: #444;
}

.exkluzivne-kajman a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.exkluzivne-kajman a:hover {
  text-decoration: underline;
}

.exkluzivne-kajman .illustration {
  width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.exkluzivne-kajman .cta {
  background: #f3f3f3;
  color: #111;
  text-align: center;
  padding: 1rem 1rem;
  border-radius: 10px;
  margin-bottom: 3rem;
 margin-top: 0rem;
}

.exkluzivne-kajman .cta h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.exkluzivne-kajman .cta a {
  color: #fff; 
  background-color: #333; 
  font-weight: 600;
  font-size: 16px;
  text-decoration: none; 
  padding: 5px 10px;
  border-radius: 12px; 
  border: 2px solid #333; 
  display: inline-block; 
  transition: background-color 0.3s; 
}

.exkluzivne-kajman .cta a:hover {
  background-color: #666; 
  border-color: #333; 
  color: #fff; 
}

/* Styl pro link - zpět na výběr - subkategorie */

.back-to-category-wrapper {
    display: flex;
    justify-content: flex-end; /* tlačítko vpravo */
    flex-wrap: wrap;           /* umožní zalomení na menších obrazovkách */
    margin-bottom: 15px;
}

/* Styl tlačítka */
.back-to-category-link {
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    margin-top: -70px;       /* posun proti nadpisu na desktop */
    display: inline-block;
    transition: color 0.2s;
}

/* Hover – pouze změna barvy textu */
.back-to-category-link:hover {
    color: #555;
}

/* Responsivní úpravy pro menší obrazovky */
@media (max-width: 768px) {
    .back-to-category-link {
        margin-top: -30px;   /* menší posun na mobilech */
        font-size: 14px;     /* trochu menší text, aby se vešel */
    }
}
