/* 
 * Tábor Vlna - Layout & Structure
 * Verze: 3.0 - Optimalizovaná
 * Vytvořeno: 2026-01-30
 */

/* ═══════════════════════════════════════════════════════════════════════
   RESET & ZÁKLADY
   ═══════════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

/* ═══════════════════════════════════════════════════════════════════════
   UTILITY TŘÍDY
   ═══════════════════════════════════════════════════════════════════════ */

.breaker {
    clear: both;
    border: 0;
}

.in {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 30px;
}

/* Skrytí admin boxu */
.admin_box {
    display: none;
}

/* Skrytí prázdných sekcí */
.next_articles:empty {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   CHYBOVÉ & INFO BOXY
   ═══════════════════════════════════════════════════════════════════════ */

div.error_box,
div.success_box,
div.info_box,
div.warning_box {
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════
   ZÁHLAVÍ - HEADER
   ═══════════════════════════════════════════════════════════════════════ */

#header_zahlavi {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

#zahlavi .in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0px;
    min-height: 80px;
}

/* Logo */
#zahlavi .logo {
    flex-shrink: 0;
}

#zahlavi .logo a {
    display: flex;
    align-items: center;
}

#zahlavi .logo img {
    height: 90px;
    width: auto;
}

/* Navigace */
#zahlavi nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════
   MENU - DESKTOP
   ═══════════════════════════════════════════════════════════════════════ */

#menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

#menu ul {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

#menu ul li {
    position: relative;
}

#menu ul li a {
    display: block;
    padding: 10px 5px;
    transition: all 0.25s ease;
}

#menu ul li.active a {
    border-bottom: 2px dashed;
}

/* Call-to-Action tlačítko - absolutně vpravo */
#menu ul li.special.call-to-action {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#menu ul li.special.call-to-action a {
    padding: 12px 28px;
    border-radius: 25px;
    border: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   MENU - BURGER (MOBILNÍ)
   ═══════════════════════════════════════════════════════════════════════ */

.nav_toggle {
    display: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
    background: transparent;
}

.nav_toggle_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 28px;
    height: 20px;
}

.nav_toggle_bar {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav_toggle_bar:nth-child(2) {
    margin: 5px 0;
}

/* Animace burger menu */
.nav_toggle[aria-expanded="true"] .nav_toggle_bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav_toggle[aria-expanded="true"] .nav_toggle_bar:nth-child(2) {
    opacity: 0;
}

.nav_toggle[aria-expanded="true"] .nav_toggle_bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Drawer overlay */
.nav_drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav_drawer.open {
    opacity: 1;
    visibility: visible;
}

.nav_drawer[hidden] {
    display: none !important;
}

/* Drawer panel */
.nav_drawer_inner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(85vw, 380px);
    padding: 80px 30px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.nav_drawer.open .nav_drawer_inner {
    transform: translateX(0);
}

/* Close button */
.nav_close {
    position: absolute;
    right: 20px;
    top: 20px;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

/* Mobilní menu seznam */
.menu_all {
    list-style: none;
}

.menu_all li {
    margin-bottom: 5px;
}

.menu_all li a {
    display: block;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.25s ease;
}

/* Zablokování scrollu při otevřeném menu */
body.no_scroll {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════
   HLAVNÍ OBSAH
   ═══════════════════════════════════════════════════════════════════════ */

#content_obsah {
    min-height: 50vh;
}

#content_obsah.hp main {
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   HP INTRO SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

#hp_intro {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 30px 80px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

#hp_intro .col-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hp_intro .col-left .label-vlna {
    margin-bottom: 15px;
}

#hp_intro .col-left h2 {
    margin-bottom: 20px;
    line-height: 1.1;
}

#hp_intro .col-left p {
    margin-bottom: 25px;
    line-height: 1.7;
}

#hp_intro .col-left p:last-of-type {
    margin-bottom: 30px;
}

#hp_intro .col-right img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

#hp_intro .col-left .btn {
    display: inline-block;
    align-self: flex-start;
}

/* ═══════════════════════════════════════════════════════════════════════
   HP BENEFITS SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   HP BENEFITS SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

#hp_benefits {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px 100px;
}

#hp_benefits .benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#hp_benefits .benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: rgba(39, 237, 0, 0.08);
    border-radius: 15px;
    border-left: 4px solid var(--color-secondary, #27ed00);
}

#hp_benefits .benefit_icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary, #27ed00);
    color: white;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: bold;
}

#hp_benefits .benefit p {
    margin: 0;
    line-height: 1.6;
    font-size: 1.6rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   HP COUNTDOWN SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

#hp_countdown_wrapper {
    position: relative;
}

/* Vlna nahoře */
#hp_countdown_wrapper::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%2327ed00' d='M0,50 C360,100 720,0 1080,50 C1260,75 1380,60 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}

#hp_countdown {
    width: 100%;
    padding: 50px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.count-left {
    flex: 1;
    min-width: 280px;
}

.count-left .count-label-small {
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.count-left .count-title {
    line-height: 1.2;
}

.count-right {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.count-item {
    padding: 25px 28px;
    border-radius: 15px;
    text-align: center;
    min-width: 100px;
}

.count-item .count-number {
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.count-item .count-label {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════════════
   KDO JSME SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

#kdo_jsme_wrapper {
    position: relative;
}

/* Vlna dole */
#kdo_jsme_wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%230637fe' d='M0,30 C240,80 480,0 720,40 C960,80 1200,20 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat top center;
    background-size: 100% 100%;
}

#kdo_jsme {
    width: 100%;
    padding: 80px 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

#kdo_jsme .col-left {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

#kdo_jsme .col-left .label-vlna {
    margin-bottom: 15px;
}

#kdo_jsme .col-left h2 {
    margin-bottom: 20px;
    line-height: 1.2;
}

#kdo_jsme .col-left p {
    margin-bottom: 30px;
    line-height: 1.7;
}

#kdo_jsme .col-right {
    flex: 2;
    min-width: 300px;
}

#kdo_jsme .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

#kdo_jsme .box {
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#kdo_jsme .box:hover {
    transform: translateY(-5px);
}

#kdo_jsme .box .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 12px;
}

#kdo_jsme .box h3 {
    margin-bottom: 12px;
    line-height: 1.3;
}

#kdo_jsme .box p {
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════
   HP SLOVO VEDOUCÍHO SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

#hp_slovo_wrapper {
    position: relative;
}

#hp_slovo {
    width: 100%;
    padding: 100px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

#hp_slovo .col-left {
    flex: 0 0 auto;
}

#hp_slovo .col-left img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

#hp_slovo .col-right {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

#hp_slovo .col-right p {
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
    padding-left: 30px;
}

#hp_slovo .col-right p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    opacity: 0.3;
}

#hp_slovo .col-right > div:first-of-type {
    margin-bottom: 5px;
}

/* ═══════════════════════════════════════════════════════════════════════
   HP GALERIE SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

#hp_galerie {
    padding: 80px 30px;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}

#hp_galerie .label-vlna {
    margin-bottom: 10px;
}

#hp_galerie h2 {
    margin-bottom: 40px;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.galerie-grid a {
    display: block;
    border-radius: 15px;
    overflow: hidden;
}

.galerie-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.galerie-grid a:hover img {
    transform: scale(1.03);
}

.galerie-btn { 
    margin-top: 70px;
    transform: translateY(-50%);

}
.galerie-btn a:hover {
    background-color: var(--color-primary-dark);
    box-shadow: var(--shadow-primary);
}

.galerie-btn a { 
    padding: 12px 28px;
    border-radius: 25px;
    border: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   HP INFO SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

#hp_info_wrapper {
    position: relative;
}

/* Vlna nahoře */
#hp_info_wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%2327ed00' d='M0,60 C180,20 360,80 540,50 C720,20 900,70 1080,40 C1260,10 1380,50 1440,40 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}

#hp_info {
    width: 100%;
    padding: 60px 30px 90px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.info-left {
    flex: 1;
    min-width: 250px;
}

.info-left .label-vlna {
    margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════
   HP CALL TO ACTION SEKCE
   ═══════════════════════════════════════════════════════════════════════ */

#hp_call_to_action_wrapper {
    position: relative;
}

/* Vlna nahoře */
#hp_call_to_action_wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%230637fe' d='M0,50 C360,10 720,90 1080,50 C1260,30 1380,60 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}

#hp_call_to_action {
    padding: 100px 30px;
    text-align: center;
}

#hp_call_to_action > div:first-child {
    margin-bottom: 15px;
}

#hp_call_to_action > div:nth-child(2) {
    margin-bottom: 35px;
}

/* ═══════════════════════════════════════════════════════════════════════
   TLAČÍTKA - BTN
   ═══════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   PATIČKA - FOOTER
   ═══════════════════════════════════════════════════════════════════════ */

footer {
    position: relative;
}

/* Vlna nahoře patičky */
footer::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 70px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%231a2332' d='M0,40 C240,80 480,10 720,50 C960,90 1200,30 1440,60 L1440,100 L0,100 Z'/%3E%3C/svg%3E") no-repeat bottom center;
    background-size: 100% 100%;
}

#paticka {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 30px 50px;
}

#paticka .column {
    min-width: 200px;
}

#paticka .column h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

#paticka .column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

#paticka .column ul {
    list-style: none;
}

#paticka .column ul li {
    margin-bottom: 12px;
    line-height: 1.5;
}

#paticka .column ul li a {
    transition: all 0.25s ease;
}

#paticka .column ul li a:hover {
    text-decoration: none;
    padding-left: 5px;
}

#paticka .column p {
    line-height: 1.7;
}

/* Social link */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 15px;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.25s ease;
}

.social-link svg {
    width: 30px;
    height: 30px;
    display: block;
    flex-shrink: 0;
    fill: currentColor;
}

.social-link span {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.social-link:hover {
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   COPYRIGHT
   ═══════════════════════════════════════════════════════════════════════ */

#copyright {
    padding: 25px 30px;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}

#copyright span {
    display: inline;
}

#copyright span:not(:first-child)::before {
    content: " • ";
    margin: 0 8px;
}

#copyright a {
    transition: all 0.25s ease;
}

#copyright a:hover {
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   STRÁNKY - STRUKTURA (TEXTOVÉ STRÁNKY)
   ═══════════════════════════════════════════════════════════════════════ */

#content_obsah.struktura main {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px 110px 30px;
}

.obsah_uvod header h1 {
    margin-bottom: 30px;
}

/* ═══════════════════════════════════════════════════════════════════════
   UDÁLOSTI - VÝPIS
   ═══════════════════════════════════════════════════════════════════════ */

#content_obsah.udalosti main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px;
}

.udalosti_uvod header h1 {
    margin-bottom: 40px;
    text-align: center;
}

.udalosti_vypis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.udalosti_vypis .udalost {
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.udalosti_vypis .udalost::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 20px 0 0 20px;
}

.udalosti_vypis .udalost:hover {
    transform: translateY(-5px);
}

.udalosti_vypis .udalost strong {
    display: block;
    margin-bottom: 12px;
}

.udalosti_vypis .udalost > a {
    display: block;
    line-height: 1.4;
    margin-bottom: 15px;
}

.udalosti_vypis .udalost p {
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   DETAIL UDÁLOSTI
   ═══════════════════════════════════════════════════════════════════════ */

#content_obsah.udalost_detail main {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}

.udalost_uvod header h1 {
    margin-bottom: 30px;
    line-height: 1.3;
}

.udalost_info_table {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
}

.udalost_info_table table {
    width: 100%;
    border-collapse: collapse;
}

.udalost_info_table th,
.udalost_info_table td {
    padding: 15px 20px;
    text-align: left;
}

.udalost_info_table th {
    width: 40%;
}

.udalost_info_table tr:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.kapacita_volna {
    margin-left: 10px;
}

.registrace_open,
.registrace_closed {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════
   FORMULÁŘ REGISTRACE
   ═══════════════════════════════════════════════════════════════════════ */

.udalost_registrace_form {
    margin-top: 50px;
    padding: 40px;
    border-radius: 20px;
}

.udalost_registrace_form h2 {
    margin-bottom: 30px;
}

.udalost_registrace_form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Sekce formuláře */
.form_section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.form_section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.form_section h3 {
    margin-bottom: 20px;
}

.form_subsection {
    margin-top: 25px;
}

.form_subsection h4 {
    margin-bottom: 15px;
}

.form_note {
    font-size: 1.4rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Řádky formuláře */
.form_line {
    margin-bottom: 25px;
}

.form_line label {
    display: block;
    margin-bottom: 8px;
}

.form_line .inputdiv,
.form_line .inputdivokraj {
    width: 100%;
}

.form_line input[type="text"],
.form_line input[type="email"],
.form_line input[type="tel"],
.form_line input[type="date"],
.form_line input[type="number"],
.form_line textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid;
    border-radius: 12px;
    transition: all 0.25s ease;
    outline: none;
}

.form_line textarea {
    resize: vertical;
    min-height: 120px;
}

/* Inline řádky */
.form_line_inline {
    display: flex;
    gap: 20px;
}

.form_line_half {
    flex: 1;
}

.form_line_third {
    flex: 1;
}

.form_line_two_thirds {
    flex: 2;
}

/* Radio/Checkbox options */
.form_line_platba .inputdiv {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platba_option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.platba_option input[type="radio"],
.platba_option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.platba_option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.platba_option_with_input {
    flex-wrap: wrap;
}

.platba_option .input_inline {
    width: 100%;
    margin-top: 10px;
    padding: 10px 15px;
}

/* Příplatky badge */
.priplatek_badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 1.2rem;
    margin-left: 8px;
}

.priplatek_zero {
    opacity: 0.6;
}

/* Platební poznámka */
.platba_note {
    display: block;
    font-size: 1.3rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Checkbox řádky */
.form_line_checkbox .inputdiv {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form_line_checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form_line_checkbox label {
    margin: 0;
    line-height: 1.5;
}

/* Souhrn ceny */
.cena_summary {
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.cena_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.cena_row_total {
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    padding-top: 15px;
}

/* Submit tlačítko */
.udalost_registrace_form button[type="submit"] {
    margin-top: 20px;
    padding: 18px 50px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.udalost_registrace_form button[type="submit"]:hover {
    transform: translateY(-3px);
}

/* Honeypot */
#form_control_point {
    display: none;
}

/* Tlačítko přidat další dítě */
.btn_secondary {
    background-color: transparent;
    border: 2px dashed;
    padding: 12px 25px;
    margin-top: 15px;
}

.btn_secondary:hover {
    transform: none;
    box-shadow: none;
}

/* Tlačítko odebrat dítě */
.btn_remove_dite {
    display: inline-block;
    padding: 8px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.25s ease;
}

/* Další dítě - řádek */
.dalsi_dite_row {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════
   KONTAKTY - TABULKY
   ═══════════════════════════════════════════════════════════════════════ */

.tinymce table.kontakty {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 40px;
}

.tinymce table.kontakty.adresy th,
.tinymce table.kontakty.adresy td {
    padding: 20px;
    vertical-align: top;
}

.tinymce table.kontakty.lide td {
    padding: 25px;
    vertical-align: middle;
}

.tinymce table.kontakty.lide td:last-child {
    width: 200px;
    min-width: 200px;  /* klíčové - zabrání zúžení */
}

.tinymce table.kontakty.lide td img {
    width: 190px;
    min-width: 190px;  /* klíčové - obrázek se nezúží */
    height: 190px;
    border-radius: 50%;
    object-fit: cover;
}

/* ═══════════════════════════════════════════════════════════════════════
   TINYMCE OBSAH
   ═══════════════════════════════════════════════════════════════════════ */

.tinymce {
    line-height: 1.8;
}

.tinymce p {
    margin-bottom: 20px;
}

.tinymce p:last-child {
    margin-bottom: 0;
}

.tinymce h2 {
    margin: 40px 0 20px;
}

.tinymce h2:first-child {
    margin-top: 0;
}

.tinymce h3 {
    margin: 30px 0 15px;
}

.tinymce ul,
.tinymce ol {
    margin: 20px 0;
    padding-left: 30px;
}

.tinymce li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.tinymce ul ul,
.tinymce ol ol {
    margin: 10px 0;
}

/* Zvýraznění seznam */
.tinymce ul.zvyrazneni {
    list-style: none;
    padding: 0;
}

.tinymce ul.zvyrazneni li {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 4px solid;
}

/* Tabulky v TINYMCE */
.tinymce table.galerie {
    width: 100%;
    margin: 20px 0;
}

.tinymce table.galerie td {
    padding: 5px;
}

.tinymce table.galerie img {
    width: 100%;
    border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════
   FAQ - DETAILS/SUMMARY
   ═══════════════════════════════════════════════════════════════════════ */

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 25px;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 50px;
    transition: background-color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-content {
    padding: 0 25px 20px;
}

.faq-content p:first-child {
    padding-top: 20px;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   GALERIE MINI
   ═══════════════════════════════════════════════════════════════════════ */

.galerie_mini {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.galerie_mini a {
    height: 120px;
    display: block;
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.galerie_mini img {
    height: 120px;
    width: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galerie_mini a:hover img {
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════════
   PEREX BOX (VÝPIS ČLÁNKŮ)
   ═══════════════════════════════════════════════════════════════════════ */

.vypis_box.perex {
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.vypis_box.perex h2 {
    margin: 0 0 15px;
}

.vypis_box.perex h2 a {
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   SUCCESS STRÁNKA - REGISTRACE
   ═══════════════════════════════════════════════════════════════════════ */

#content_obsah.udalost_registrace_success main {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 30px;
}

.success_message {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.registrace_summary {
    padding: 30px;
    border-radius: 15px;
}

.registrace_summary h2 {
    margin: 30px 0 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.registrace_summary h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.registrace_summary table {
    width: 100%;
    border-collapse: collapse;
}

.registrace_summary th,
.registrace_summary td {
    padding: 10px 0;
    text-align: left;
}

.registrace_summary th {
    width: 45%;
    opacity: 0.8;
}

.registrace_summary .row_total {
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.registrace_summary .row_total th,
.registrace_summary .row_total td {
    padding-top: 15px;
}

.qr_platba {
    text-align: center;
    margin-top: 30px;
    padding: 25px;
    border-radius: 15px;
}

.qr_platba img {
    max-width: 200px;
    margin: 15px auto;
}

.important_notice {
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.important_notice h3 {
    margin-bottom: 15px;
}

.registrace_actions {
    text-align: center;
    margin-top: 40px;
}