body {overflow-x: hidden;  --acc-color: #d3d405;}
:root {
   --t4-heading-color: #770b01; 
   --t4-gray-500: #99a5a5;
   --t4-gray-600: #aab6b6;
   --t4-secondary-color: #99a5a5;
   --podcast--inner-bg: #eff8f4;
   --color-success: #770b01;
   --color-masthead-h: #9cd9d4;
   --color-masthead-desc: #fefefe;
   --body-bg-color: #fafaf6;
    --border-color: #282828;
    --body-link-color: #770b01;
    --body-link-hover-color: #881c12;
    --t4-border-color: #282828;
    --t4-primary-bg-subtle: #ffe69c;
    --input-bg: rgba(225, 225, 225, 0.1);
    --input-focus-border: rgba(225, 225, 225, .5);
    --input-placeholder: #A7A6A6;
    --mainnav-link-color: #02080a;
    --mainnav-link-active-color: #02080a;
    --mainnav-link-hover-color: #881c12;
    --t4-heading-color: #770b01;
    --t4-white: #000;
    --t4-dark: #fff;
    --color-dark: #fff;
    --color-white: #000;
    --color-primary: #770b01;
    --color-tag: #d3d40544;
    --color-tag-text: #505802;
    --t4-gray-900: #F8F8F8;
    --t4-gray-800: #e9ecef;
    --t4-gray-700: #dee2e6;
    --t4-gray-600: #7C7C7C;
    --t4-gray-500: #A7A6A6;
    --t4-gray-400: #7C7C7C;
    --t4-gray-300: #464646;
    --t4-gray-200: #303e40;
    --t4-gray-100: #1B1B1B;
    --podcast--inner-bg: #323c3d;
    --t4-body-color: #323c3d;
    --body-text-color: #02080a;
    --color-dark: #323c3d;
    --headings-color: #323c3d;
    --body-font-size: 1.0rem;
    --t4-font-family: Inter;
    --t4-font-size: 1.1rem;
}

.dark-active {
    --body-bg-color: #323c3d;
    --body-text-color: #ebebeb;
    --border-color: #282828;
    --body-link-color: #d3d405;
    --body-link-hover-color: #adeae5;
    --t4-border-color: #282828;
    --t4-primary-bg-subtle: #ffe69c;
    --input-bg: rgba(225, 225, 225, 0.1);
    --input-focus-border: rgba(225, 225, 225, .5);
    --input-placeholder: #A7A6A6;
    --mainnav-link-color: #d3d405;
    --mainnav-link-active-color: #9cd9d4;
    --mainnav-link-hover-color: #9cd9d4;
    --t4-heading-color: #d3d405;
    --t4-white: #000;
    --t4-dark: #fff;
    --color-dark: #fff;
    --color-white: #000;
    --color-primary: #d3d405;
    --t4-gray-900: #F8F8F8;
    --t4-gray-800: #e9ecef;
    --t4-gray-700: #dee2e6;
    --t4-gray-600: #ced4da;
    --t4-gray-500: #A7A6A6;
    --t4-gray-400: #7C7C7C;
    --t4-gray-300: #464646;
    --t4-gray-200: #303e40;
    --t4-gray-100: #1B1B1B;
    --podcast--inner-bg: #323c3d;
    --t4-body-color: #161b1d;
    --color-masthead-h: #d3d405;
    --color-masthead-desc: #ebebeb;
}
.btn-primary {color: var(--acc-color)}
.btn.btn-primary, .t4-wrapper .btn.btn-outline-dark {background: var(--acc-color); color: var(--t4-body-color); border: 0; border-color: none}
.btn.btn-dark {background: var(--mainnav-link-color); border: 0 }
.bg-dark {background-color: var(--t4-gray-200) !important}
.navigation-default-horizontal .t4-header {
  background: none;
  border-bottom: 2px solid var(--acc-color);
}
.navbar-brand.logo-text > a:before {display: none}
@media (max-width: 768px) { 
  :root {
    /* Zde prepiseme POUZE H1, zbytek se automaticky prizpusobi */
    --h1: 2.0rem; 
  }
}
@media (min-width: 768px) {
    .timeline-highlight .other-item .blog-item .item-image {
        max-width: 190px;
    }
    .logo-mobile {display: none !important}
:root {
    /* Zde prepiseme POUZE H1, zbytek se automaticky prizpusobi */
    --h1: 2.5rem; 
  } 
}
h1, h2, h3, h4 {margin-top: 3rem}

.rating_count.bg-danger {background-color: var(--acc-color) !important}
.logo-img {width: 160px; z-index: 99999; margin-left: -3px}
.logo-img-sm {width: 100px}
.dark-active .d-light, .light-active .logo-text {
    cursor: pointer;
    filter: invert(1) hue-rotate(180deg);
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px; /* Výška musí pokrýt průměr toho puntíku */
    
    /* Magie pomocí gradientů: radiální udělá puntík, lineární udělá linku */
    background: 
        radial-gradient(circle, #a3b83b 3px, transparent 3px) no-repeat center center,
        linear-gradient(to right, #a3b83b, #a3b83b) no-repeat center center;
        
    /* Velikost: Puntík má 6x6px, linka má výšku 2px (roztáhne se na 100% šířky) */
    background-size: 6px 6px, 100% 2px; 
    
    /* Animace a zobrazení */
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;}
.nav-item:hover::after {
    transform: scaleX(1);
}

/* 2. Stav ACTIVE - Aktivní položka drží */
.nav-item.active::after {
    transform: scaleX(1);
}
.navigation-default-horizontal.dark-active .d-light, .navigation-default-horizontal.light-active .d-dark {
background: transparent; 
color: var(--color-white); 
}
.dark-active .finance-light, .dark-active .d-light {
display: block; 
}
.ja-dark-mode svg {
				fill: var(--t4-gray-500);
}
.dropdown-menu h3 {color: var(--acc-color)}
.dark-active .d-light  {padding: 1rem 0}
figure figcaption {background: transparent}
.wt_content_like_btn.btn.btn-sm.position-relative {float: right; margin: 0.5rem 2rem 0.2rem 5px; background-color: var(--t4-heading-color); border-radius: 50%; --t4-btn-padding-y: .2rem;
    --t4-btn-padding-x: .40rem;}
.timeline-items figure figcaption, .timeline-items .wt_content_like_btn, .timeline-items .reading-time, .module-live .reading-time, .columns-3 .reading-time, .columns-3 .tags, .columns-3 .caption, .columns-3 .wt_content_like_btn {display: none}
.ratio-4x3 {
    --t4-aspect-ratio: 60%;
}
.timeline-article .timeline-item .wrap-content .item-content .page-header, .timeline-highlight .main-item .item-title, .timeline-article > h1, .slide-layout .blog-item .item-title {
    text-transform: none;
}
.timeline-article h1.module-title {display: none}
@media (min-width: 1400px) {
  .t4-col {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .article-inner .col-md-3 {display: none}
  .article-inner .col-md-9 {width: 100%}

/* .view-article .t4-section .t4-section-inner {
  position: relative;
  display: flex;
}*/
.t4-module.module-hilite {padding-top: 3rem}
  .view-article .t4-row.row {flex: 0 0 74%}
  .view-article.item-182 .t4-row.row {flex: 0 0 99%}
  .t4-col.component.col-md {flex: 0 0 74%}
  .view-article .t4-col.component.col-md {flex: 0 0 90%}
  .item-page.default-article {
  max-width: 100%;
}
.item-104 .t4-col.component.col-md {flex: 0 0 99%}
  .t4-col.sidebar-r.col-sm {width: 24%}
}
 .blog-item .item-content {max-width: 90%}

.sidebar-r .custom {padding: 0 1.5rem 1.5rem 1.5rem; overflow: clip; scrollbar-width: none;
  background-color: transparent;}

#Mod115 ul.mod-list li {background: var(--t4-gray-200)}
#Mod115 .module-title {color: var(--acc-color)}
.retrovibes-callout {
    background-color: #d3d40522;
    border-left: 6px solid var(--acc-color);
    padding: 1.6rem 2.4rem;
    margin: 2rem 0 3rem 0;
    border-radius: var(--t4-border-radius);
}
.retrovibes-callout h3, .retrovibes-callout h4 {padding: 0 !important}
.home .com-content-cateroy-featured {display: none}
.t4-section-acymailing {width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  background-image: url(../../../images/retro_background.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 0;}
.module-footer-acymailing .acym_module_form {display: block}
.module-footer-acymailing .acym_introtext {
    width: 100%;
}
.module-footer-acymailing .acym_module .acym_module_form .acym_form {
    width: 100%; margin: 2rem 0 0 0
}
.ja-masthead .ja-masthead-detail .ja-masthead-title {
    font-size: var(--h1);
    font-weight: 600;
    margin: 0;
}
.nadpis-audio h2 {max-width: 1340px; margin-left: auto; margin-right: auto; padding: 4rem 0; font-size: 3rem}
.t4-section-acymailing .module-inner {padding: 2rem 6rem 4rem 6rem; background-color: transparent}
.acym_module input[type="email"] {background: #00000055}
.nav-link .fas {margin-top: 5px}
.t4-footer-nav .d-light {padding: 1.5rem 0}
.embed-video {
    max-width: 33.333333%;
    flex-basis: 33.333333%;
}
.embed-responsive {
    width: 100%;
    height: 66%;
    border: 0;
}
.home-intro {background: var(--t4-gray-200); padding: 1.8rem !important}
.btn {margin: 0.5rem 0}
.infobox {    float: right;
    margin-left: 25px;
    width: 300px;
    background: #303635;
    font-size: 13px;
    padding: 15px;
    border-radius: 4px;}
.timeline-item li.zdroj {display: none}
.acym_introtext, .acym_introtext h3, .acym_introtext h4 {color: #9cd9d4}

/*info caption*/
.image-caption-hover {
    margin: 0;
}

.image-caption-hover .image-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.image-caption-hover img {
    display: block;
    transition: transform 0.3s ease;
}

.caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 30px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.caption-overlay p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.image-caption-hover:hover .caption-overlay {
    transform: translateY(0);
}

.image-caption-hover:hover img {
    transform: scale(1.05);
}
.timeline-item .tags {display: none}
.dark-active .com-content-article .tags.list-inline li a {
    background: var(--color-primary); color: var(--body-bg-color)
}

/*video playlist*/
.youtube-playlist-gallery {
            margin: 30px 0;
        }
        
        .youtube-playlist-gallery .playlist-title {
            font-size: 24px;
            margin-bottom: 20px;
            font-weight: 600;
        }
        
        .video-grid {
            display: grid;
            grid-template-columns: repeat(var(--columns, 3), 1fr);
            gap: 20px;
            margin: 0;
        }
        
        @media (max-width: 992px) {
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 576px) {
            .video-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .video-item {
            background: var(--color-primary);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .video-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        }
        
        .video-thumbnail {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            overflow: hidden;
            background: #000;
        }
        
        .video-thumbnail img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: opacity 0.3s ease;
        }
        
        .video-thumbnail:hover img {
            opacity: 0.8;
        }
        
        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
            opacity: 0.9;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        
        .video-thumbnail:hover .play-button {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        .video-link {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        
        .video-info {
            padding: 15px;
        }
        
        .video-title {
            font-size: 16px;
            font-weight: 600;
            margin: 0 0 8px 0;
            line-height: 1.4;
            color: #333;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .video-description {
            font-size: 14px;
            color: #666;
            margin: 0;
            line-height: 1.5;
        }

@media (min-width: 1400px){
    .view-article .t4-masthead .t4-section .t4-section-inner {display: block}
    .view-article .nadpis-audio2 {width: 110vw;
    margin-left: -15vw; 
    margin-right: -15vw;
    left: 0;
    right: 0;
        box-shadow: inset 0 0 0 50vw rgba(0,0,0,0.7);
    }
    .view-article  .ja-masthead .ja-masthead-detail h1, .view-article  .ja-masthead .ja-masthead-detail .ja-masthead-description {margin: 0 20px 0 -1vw} 
}
@media (max-width: 1024px) {
   .view-article  .ja-masthead .ja-masthead-detail h1, .view-article  .ja-masthead .ja-masthead-detail .ja-masthead-description {padding: 0 2rem} 
}
@media (max-width: 1399px) {
/*.view-article #t4-masthead {display: none}*/
.view-article .nadpis-audio2 {width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: 50% 0;
    box-shadow: inset 0 0 0 50vw rgba(0,0,0,0.7);
  padding: 2rem 0;
margin-top: -48px}
.t4-module.module-hilite {padding-top: 3rem}
.view-article  .ja-masthead .ja-masthead-detail h1, .view-article  .ja-masthead .ja-masthead-detail .ja-masthead-description {margin: 0 20px}
}
@media (min-width: 1700px) {
    .view-article  .ja-masthead .ja-masthead-detail h1, .view-article  .ja-masthead .ja-masthead-detail .ja-masthead-description {margin: 0 20px 0 -7vw} 
}
.view-article  .ja-masthead .ja-masthead-detail {
    padding: 4rem 0 0 0;
    max-width: 1240px;
    text-align: left;
}
.view-article  .ja-masthead .ja-masthead-detail .ja-masthead-description { 
    font-size: 1.25rem;    /* Cca o 20-25 % větší než běžný text */
    font-style: italic;    /* Ta kurzíva tomu dodá šmrnc */
    line-height: 1.6;      /* Trochu víc vzduchu mezi řádky, aby se to dobře četlo */
    font-weight: 300;      /* Pokud má tvůj font lehčí váhu, vypadá to v kurzívě luxusně */
    max-width: 1000px;      /* Dobrý tip: Nenechávej perex roztáhnout na celou šířku, hůř se to čte */
    margin: 0 auto;        /* Vycentrování, pokud máš i nadpis na střed */
    color: var(--color-masthead-desc)
    
}
.view-article  .ja-masthead .ja-masthead-detail h1 {text-wrap: balance; color: var(--color-masthead-h)}
.view-article .page-header {display: none}
.dark-active .sidebar-r a {color: var(--body-link-color)}
.sidebar-r .navbar-nav > li {font-family: var(--megamenu-font-family)}
/*galerie plugin*/
.simple-gallery {
            margin: 30px 0;
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(var(--columns, 4), 1fr);
            gap: 15px;
        }
        
        @media (max-width: 1200px) {
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .gallery-item {
            background: transparent;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .gallery-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        .gallery-thumbnail {
            position: relative;
            padding-bottom: 75%; /* 4:3 aspect ratio */
            overflow: hidden;
            cursor: pointer;
        }
        
        .gallery-thumbnail img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .gallery-thumbnail:hover img {
            transform: scale(1.05);
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .gallery-thumbnail:hover .gallery-overlay {
            opacity: 1;
        }
        
        .gallery-zoom-icon {
            font-size: 32px;
            color: #ffffff88;
        }
        
        .gallery-link {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        
        .gallery-caption {
            padding: 10px;
            font-size: 14px;
            color: var(--t4-gray-400);
            text-align: center;
            line-height: 1.4;
        }
        
        /* Lightbox Styles */
        .gallery-lightbox {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: fadeIn 0.3s ease;
        }
        
        .gallery-lightbox.active {
            display: flex;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .gallery-lightbox-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.95);
        }
        
        .gallery-lightbox-content {
            position: relative;
            z-index: 10000;
            max-width: 90vw;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .gallery-lightbox-image-wrapper {
            position: relative;
            max-width: 100%;
            max-height: calc(90vh - 80px);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .gallery-lightbox-image {
            max-width: 100%;
            max-height: calc(90vh - 80px);
            object-fit: contain;
            border-radius: 4px;
            animation: scaleIn 0.3s ease;
        }
        
        @keyframes scaleIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }
        
        .gallery-lightbox-caption {
            color: white;
            margin-top: 15px;
            font-size: 16px;
            text-align: center;
            max-width: 800px;
        }
        
        .gallery-lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            font-size: 32px;
            line-height: 1;
            cursor: pointer;
            padding: 5px 15px;
            border-radius: 4px;
            transition: background 0.2s ease;
            z-index: 10001;
        }
        
        .gallery-lightbox-close:hover {
            background: rgba(255,255,255,0.3);
        }
        
        .gallery-lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            font-size: 32px;
            cursor: pointer;
            padding: 15px 20px;
            border-radius: 4px;
            transition: background 0.2s ease;
            z-index: 10001;
        }
        
        .gallery-lightbox-nav:hover {
            background: rgba(255,255,255,0.3);
        }
        
        .gallery-lightbox-nav.disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        
        .gallery-lightbox-prev {
            left: 20px;
        }
        
        .gallery-lightbox-next {
            right: 20px;
        }
        
        .gallery-lightbox-counter {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            background: rgba(0,0,0,0.5);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
        }
        
        @media (max-width: 768px) {
            .gallery-lightbox-nav {
                font-size: 24px;
                padding: 10px 15px;
            }
            
            .gallery-lightbox-close {
                font-size: 28px;
                padding: 5px 12px;
            }
            
            .gallery-lightbox-prev {
                left: 10px;
            }
            
            .gallery-lightbox-next {
                right: 10px;
            }
        }
        
        body.gallery-lightbox-open {
            overflow: hidden;
        }
.mostread li .item-title {font-size: var(--h6-font-size);}
.com-content-article .fields-container li, .timeline-items .fields-container li {display: block; font-size: 0.9rem}
.navic-video::before {font-family: "Font Awesome 5 Free";
   content: "\f03d";
   display: inline-block;
   padding-right: 3px;
   vertical-align: middle;
   font-weight: 900;}
.navic-video .field-value {display: none}
.navic-galerie::before {font-family: "Font Awesome 5 Free";
   content: "\f03e";
   display: inline-block;
   padding-right: 3px;
   vertical-align: middle;
   font-weight: 900;}
.navic-galerie .field-value {display: none}
.navic-audio::before {font-family: "Font Awesome 5 Free";
   content: "\f028";
   display: inline-block;
   padding-right: 3px;
   vertical-align: middle;
   font-weight: 900;}
.navic-audio .field-value {display: none}
.article-icons-overlay {margin-left: 0; background: var(--t4-gray-600);}
.timeline-items .article-icons-overlay, .grid-layout .article-icons-overlay {background: none}
.article-icons-overlay span {
    color: #b0b3b4;
    font-size: 0.8rem;
    display: inline-block;
    padding: 0 0.2rem
}
.other-item .article-icons-overlay span {
    color: #000;
    font-size: 0.8rem;
}
.dark-active .other-item .article-icons-overlay span, .dark-active .article-icons-overlay span {color: #eaebecbb;}
.vnitrni {background-color: var(--t4-gray-200);}
.vnitrni h3 {color: var(--acc-color); margin-top: 0; padding: 0 !important}
.com-content-article .col-lg-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 100%;
    }
.com-content-article .relateditems .blog-item .item-inner {flex-direction: row;}
.com-content-article .col-lg-4 .item-image {width: 35%}
.com-content-article .col-lg-4 .item-content {width: 60%; padding-left: 2rem}
/* center the blockquote in the page */
.blockquote-wrapper {
   display: flex;
   height: 100vh;
   padding: 0 20px;
}

/* Blockquote main style */
.blockquote {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--acc-color);
    padding: 30px 0;
    width: 100%;
    max-width: 500px;
    z-index: 1;
    margin: 80px auto;
    align-self: center;
    border-top: solid 1px;
    border-bottom: solid 1px;
}

/* Blockquote header */
.blockquote h3 {
    position: relative;
    color: var(--body-text-color);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

/* Blockquote right double quotes */
.blockquote:after {
    position: absolute;
    content: "”";
    color: var(--acc-color);
    font-size: 10rem;
    line-height: 0;
    bottom: -43px;
    right: 30px;
}

/* increase header size after 600px */
@media all and (min-width: 600px) {
    .blockquote h3 {
        font-size: 1.4rem;
   }

}

/* Blockquote subheader */
.blockquote h4 {
    position: relative;
    color: var(--t4-gray-400);
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1;
    margin: 5px 0 0 0;
    padding-top: 20px;
    z-index: 1;
}
.spotify-lite {
    border: 1px solid #464646;
    padding: 12px;
    margin: 2.3rem 0 2.7rem 0;
    cursor: pointer;
    background: var(--podcast--inner-bg);
    border-radius: 18px;
    transition: box-shadow 0.2s ease;
}
.spotify-lite::after {
    content: '\f1bc';
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-size: 20px;
    float: right;
    margin-top: -26px;
}
.spotify-lite-artist {
    font-size: 0.9rem;
    color: var(--t4-gray-500);
    margin-bottom: 8px;
}
#t4-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;

}
.t4-topbar {color: var(--body-bg-color); background: var(--body-link-color); padding-top: 0.33333334rem;
    padding-bottom: 0.33333334rem;}
.t4-topbar p {font-size: 0.85rem}
.card {background: var(--color-masthead-desc); border: none; box-shadow: 2px 2px 8px 1px rgb(0 0 0 / 10%);}
h5.card-title {font-size: 1.2rem; font-weight: 700}
.card-footer  {border-top: solid 1px var(--acc-color)}
.ff-tag {background: var(--color-tag); color: var(--color-tag-text);  padding: 0.2rem 0.5rem}
/* Třída, kterou přidá JS při skrolu dolů */
#t4-header.header-hide {
  transform: translateY(-100%); /* Header vyjede úplně nahoru mimo obrazovku */
}
#t4-header {
  position: sticky;
  top: 0;
  z-index: 9999; /* Musí být nad vším, i nad Spotify embedy */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Trochu elegantnější pohyb */
  will-change: transform; /* Optimalizace pro prohlížeč */
  backdrop-filter: blur(10px); background: rgba(255,240,125,.1);
}
.sidebar-r .custom, .sidebar-r .mod-banners {border-bottom: 1px solid var(--border-color); margin: 4rem 0}
.sidebar-r .custom h3 {background-color: var(--t4-gray-200); color: var(--body-text-color); padding: 1rem; border-radius: var(--t4-border-radius); margin: 3rem 0 2rem 0} 
.page-detail-heading {font-size: 1.1rem;      /* Mírně větší */
    text-transform: uppercase; /* Pokud chceš zkusit ty verzálky */
    letter-spacing: 1.5px;
    opacity: 0.8;           /* Aby to nepřebíjelo nadpis */
    border-top: 1px solid #444; /* Jemná linka nad */
    padding-top: 10px;
    position: relative;
}
.reading-time {
    font-weight: 300 !important;
    display: inline;
    position: absolute;
    right: 0;
}
.view-article dd.category-name {margin-left: -1rem}
.relateditems dd.category-name {margin-left: 0}
.t4-col.sidebar-r {padding-top: 0rem}
.video-desc {background: var(--color-masthead-h); color: var(--body-bg-color); padding: 0.5rem 0.5rem 1rem 0.5rem; font-size: 0.9 rem; font-weight: 700; border-radius: 0.5rem 0.5rem 0 0; margin: 3rem 0 0 0}
.yt-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: -0.5rem 0 3rem 0;
  overflow: hidden;
  border-radius: var(--t4-border-radius) !important;
    z-index: 2
}
.com-content-article .article-body iframe[src*="youtube.com"],
.com-content-article .article-body iframe[src*="youtube-nocookie.com"] {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--t4-border-radius);
  display: block;
  margin: 2.5rem 0 3rem 0;
}

.yt-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  margin: 0 !important;
}

.module-live {padding: 0 0 0 1rem}
.module-live ul {margin: 0; padding: 0}
.module-live li {list-style-type: none; margin:0}
.module-live h5 {font-size: 1.0rem; font-family: var(--body-font-family)}
.module-live .mod-articles-item-content {display: flex; flex-direction: row-reverse; column-gap: 1.5rem;}
.module-live figcaption.caption {display: none}
.module-live .ratio-4x3 {
    --t4-aspect-ratio: 100%;
}
.module-live .pull-mod-articles-image {max-width: 25%; height: auto; display: block}
@media (min-width: 1024px) {
.com-content-article .article-body p, .com-content-article .article-body h3, .com-content-article .article-body h4 {padding: 0 3rem} 
.com-content-article .article-body ul, .com-content-article .article-body ol {padding: 0 0 0 6rem}
}
@media (max-width: 1023px) {
.com-content-article .article-body p, .com-content-article .article-body h3, .com-content-article .article-body h4 {padding: 0 1.5rem} 
.com-content-article .article-body ul, .com-content-article .article-body ol {padding: 0 0 0 5rem}}
@media (max-width: 560px) {
.com-content-article .article-body p, .com-content-article .article-body h3, .com-content-article .article-body h4 {padding: 0 0.5rem} 
.com-content-article .article-body ul, .com-content-article .article-body ol {padding: 0 0 0 3rem}}
@media (max-width: 1400px) {
    .module-live .mod-articles-item-content {display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;}
}
/*purity*/
.top-large {padding: 0}
div.owl-carousel .owl-dots .owl-dot.active span {background-color: var(--acc-color)}
#acm-hero-wrap-153 .hero-content, #acm-hero-wrap-153 .hero-content h2.hero-heading {color: var(--t4-body-color)}
#acm-hero-wrap-153 .hero-content ul {text-align: left}

/*článek*/
.headliner-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -70px;
}
.headliner-hero .article-header-image {
  position: relative;
}
.headliner-hero .article-header-image img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}
.headliner-gradient-overlay {
  content: "";
  position: absolute;
  background: linear-gradient(to bottom, transparent, var(--bg-base));
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50%; /* Třeba na spodní polovině */
  z-index: 10;
}
.headliner-hero .article-body {
  padding: 0 4rem;
  margin-top: -230px;
  z-index: 20;
  position: relative;
  display: flex;
  gap: 2rem;
}
.headliner-hero .article-body .article-sidebar {
  flex: 0 0 25%;
}
.headliner-hero .article-body .article-content {
  flex: 1;
  padding-top: 8rem;
}
@media only screen and (max-width: 764px) {
  .headliner-hero .article-body {
    padding: 0 4rem;
    margin-top: -60px;
    z-index: 20;
    position: relative;
    display: block;
  }
  .headliner-hero .article-body .article-sidebar {
    display: block;
    width: 100%;
  }
  .headliner-hero .article-body .article-content {
    display: block;
    width: 100%;
  }
}
.headliner-hero i.fa-solid,
.headliner-hero i.fa-brands {
  font-size: 1.5rem;
}
.headliner-hero h1.article-title {
  font-size: 4rem;
}
.field-interpret-v-siti {
  text-transform: uppercase;
  margin: 20px 0;
}
.field-interpret-v-siti .field-value div {
  display: flex;
  gap: 0.8rem;
}
.field-interpret-v-siti .field-value a {
  color: var(--color-acc);
}
.field-interpret-v-siti .field-value a:hover,
.field-interpret-v-siti .field-value a:active {
  transform: scale(1.03);
  color: var(--color-head);
}
.field-program .field-label {
  display: none;
}
.field-program a {
  margin: 10px 0 30px 0;
  color: var(--color-acc);
  font-weight: 700;
  font-size: 1.2rem;
  display: block;
  text-decoration: none;
}
.field-program a i {
  margin-right: 1rem;
}
/* Kontejner, který drží fotku a badge pohromadě */
.card-image-wrapper, .grid-layout .inner {
    position: relative;
    display: block;
}

/* Kruhová pečeť s upraveným brandmarkem Porty */
.porta-partner-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 60px;
    height: 60px;
    background-color: #ffffff; /* Bílé kruhové pozadí, aby logo vyniklo na jakékoliv fotce */
    background-image: url('../../../../images/porta_badge.png'); /* Tvůj upravený brandmark s hvězdičkou */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Aby pečeť opticky vystupovala z fotky */
    cursor: help;
    transition: transform 0.2s ease-in-out;
    z-index: 2;
}
.col-md-4 .porta-partner-badge, .grid-layout .inner .porta-partner-badge {top: 8px;
    left: 8px;
width: 40px;
    height: 40px;
background-size: 34px 34px}

/* Drobná animace při najetí myší */
.porta-partner-badge:hover {
    transform: scale(1.1);
}

/* Záložní styl, pokud festival nemá fotku (textová vínová varianta) */
.badge-porta-partner {
    background-color: #5c061e;
    color: #ffffff;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
}
.porta-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
left: 0;
    right: auto;
    width: 240px;
    max-width: calc(100vw - 20px);
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 1000;
    font-size: 0.8rem
}

.porta-partner-badge:hover .porta-tooltip {
    opacity: 1;
    visibility: visible;}
.intro {padding: 2 rem 3rem; text-align: center; color: var(--body-text-color)}
.intro h2 {color: var(--t4-heading-color); font-weight: 700}
.folkfesty-search-widget {margin: 2rem 3rem 0 3rem}
/*.home .t4-main-body {display: none}*/
.magz-layout .blog-item .inner{background: var(--footer-bg-color); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); padding: 0; border-radius: 12px;}
.magz-layout .item-image img {border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.magz-layout .blog-item .inner .item-content-wrap {padding: 0 1rem 1rem 1rem}
.magz-layout .item-title a {color: var(--body-link-color); font-weight: 700; font-size: 1.2rem}
/*widget*/
.ffnav-wrap {margin-top: 3rem}
.ffnav-wrap {
    font-family: inherit;
}

.ffnav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ffnav-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6b2737;
    margin: 0;
}

.ffnav-more {
    font-size: 0.85rem;
    color: #8B6914;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ffnav-more:hover {
    text-decoration: underline;
}

/* Měsíce */
.ffnav-months {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ffnav-month-tile {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.ffnav-month-tile:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-color: #8B6914;
    color: inherit;
}

.ffnav-month-tile.ffnav-empty {
    opacity: 0.5;
    pointer-events: none;
}

.ffnav-month-icon {
    width: 36px;
    height: 36px;
    color: var(--acc-color);
    flex-shrink: 0;
}

.ffnav-month-icon svg {
    width: 100%;
    height: 100%;
}

.ffnav-month-name {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #333;
    display: block;
}

.ffnav-month-count {
    font-size: 0.8rem;
    color: #888;
    display: block;
}

/* Žánry */
.ffnav-genres {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ffnav-genre-tile {
    flex: 1;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.ffnav-genre-tile:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-color: #8B6914;
    color: inherit;
}

.ffnav-genre-icon {
    width: 44px;
    height: 44px;
    color: var(--acc-color);
}

.ffnav-genre-icon svg {
    width: 100%;
    height: 100%;
}

.ffnav-genre-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.ffnav-genre-count {
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 768px) {
    .ffnav-months,
    .ffnav-genres {
        gap: 8px;
    }
    .ffnav-month-tile {
        min-width: calc(50% - 4px);
        flex: none;
    }
    .ffnav-genre-tile {
        min-width: calc(33% - 6px);
        flex: none;
    }
}
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #666;
    background-color: #fff;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

/* Co se stane po zaškrtnutí - zmodrá a hodí vnitřní tečku/fajfku */
input[type="checkbox"]:checked {
    background-color: var(--acc-color); /* Bootstrap modrá, klidně změň */
    border-color: var(--acc-color);
    position: relative;
}

.navbar-nav.add li  {background: var(--acc-color); margin-right: 0.5rem; --t4-nav-link-padding-x: 0.6rem;
    --t4-nav-link-padding-y: 0.1rem; border-radius: 5px}
.navbar-nav.add li .nav-link {margin-left: 0 !important; font-size: 0.8rem; color: var(--body-text-color); font-weight: 500}
.add .nav-item::after {display: none}
#jtl .modal {background-color: transparent; left: 0}
.plg_system_webauthn_login_button svg {width: 15%}
.dark-mode-status {background: #00000066}
.home #t4-main-body {padding: 1rem 0}
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--headings-color);
    -webkit-box-shadow: 0 0 0px 1000px var(--input-bg) inset;
    -webkit-transition: background-color 5000s ease-in-out 0s;
    transition: background-color 5000s ease-in-out 0s;}
.folkfesty-detail h1 {margin-top: 1rem; font-weight: 700; font-size: 2rem}