@charset "UTF-8";
/* Harcovníci Web - Moderní design podle HTML návrhu, jednoduchý a čistý */

/* === INFO BOXES (z designu) === */

.info-box {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.info-box:hover::before {
    opacity: 1;
}

.box-icon {
    font-size: 48px;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.info-box:hover .box-icon {
    transform: scale(1.15) rotate(5deg);
}

.box-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #212529;
}

.box-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.box-link {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.info-box:hover .box-link {
    transform: translateX(5px);
}

/* Barevné varianty info-boxů */
.box-red { color: #dc2626; }
.box-red:hover { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); }

.box-orange { color: #ea580c; }
.box-orange:hover { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); }

.box-green { color: #16a34a; }
.box-green:hover { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }

.box-blue { color: #0891b2; }
.box-blue:hover { background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%); }

.box-purple { color: #9333ea; }
.box-purple:hover { background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%); }

.box-brown { color: #92400e; }
.box-brown:hover { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }

.box-yellow { color: #ca8a04; }
.box-yellow:hover { background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%); }

.box-pink { color: #db2777; }
.box-pink:hover { background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%); }

/* === CARDS (z designu) === */

.card {
    background: transparent !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0;
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: none;
}
.card.card-green,
div.card.card-green,
#plan-harcu-card,
div#plan-harcu-card.card.card-green {
    background: #3a3a3a !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card-header {
    background: transparent !important;
    color: #000000 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.card-header h3 {
    margin: 0;
    font-size: 28px !important;
    font-weight: 600;
    color: #ffffff !important;
    background: transparent !important;
    text-align: center !important;
    padding: 1rem 0 !important;
}
.card-header::before, .card-header::after {
    display: none !important;
    content: none !important;
}
.card::before, .card::after {
    display: none !important;
    content: none !important;
}
/* Remove all icons everywhere */
i, i[class*="fa-"], i[class*="fas"], i[class*="far"], i[class*="fab"],
.fa-arrow-left, .fa-arrow-right, .fa-chevron-left, .fa-chevron-right,
.fa-bars, .fa-list, .fa-campground, [class*="arrow"], [class*="chevron"],
[class*="fa-"], [class*="icon"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
}
a .fa-arrow-left, a .fa-arrow-right, a .fa-chevron-left, a .fa-chevron-right,
a i, a i[class*="fa-"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Různé barevné varianty karet */
.card-orange .card-header {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.card-blue .card-header {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.card-purple .card-header {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
}

.card-red .card-header {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.card-yellow .card-header {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.card-brown {
    border-left: none;
    border-left-color: transparent;
}

.card-brown .card-header {
    background: linear-gradient(135deg, #92400e 0%, #78350f 100%);
}

.card-orange {
    border-left: none;
    border-left-color: transparent;
}

.card-blue {
    border-left: none;
    border-left-color: transparent;
}

.card-purple {
    border-left: none;
    border-left-color: transparent;
}

.card-red {
    border-left: none;
    border-left-color: transparent;
}

.card-yellow {
    border-left: none;
    border-left-color: transparent;
}

/* === NEWS ITEMS (z designu) === */

.news-item {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-date {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 0.25rem;
}

.news-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.news-excerpt {
    color: #495057;
    font-size: 14px;
    line-height: 1.4;
}

/* === SOCIAL LINKS (z designu) === */

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    min-height: 120px;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    color: black;

.social-link i {
    margin-bottom: 0.5rem;
}

.social-link span {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* === GRID SYSTEM (z designu) === */

.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* === BUTTONS (z designu) === */

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c2410c 0%, #dc2626 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #d97706;
    border: 2px solid #d97706;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
    color: white;
    border-color: transparent;
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 18px;
    font-weight: 600;
}

/* === BADGES (z designu) === */

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge-success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.badge-warning {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #212529;
}

.badge-danger {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* === FOOTER (z designu) === */

.footer {
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem 2rem 1rem;
    margin-top: 2rem;
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #16a34a 0%, #d97706 33%, #ea580c 66%, #dc2626 100%) 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
    font-size: 14px;
}

/* === NOVÝ FOOTER === */

#footer {
    background: #e8f5e9;
    color: #000000;
    padding: 2rem 1rem;
    margin-top: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-section {
    width: 100% !important;
    max-width: 100% !important;
    border: none;
    margin: 0;
    padding: 0;
    background: #3a3a3a;
    border-radius: 12px;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    flex-shrink: 0;
    color: #ffffff;
    display: block !important;
    float: none !important;
}

.footer-section:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#footer .kontakt,
#footer .komunita {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

#footer h1 {
    font-size: 15px;
    color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0.75rem;
    text-align: center;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
    background: #3a3a3a;
}

#footer .kontakt p {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

#footer .kontakt ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .kontakt li {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 15px;
}

#footer .kontakt a {
    color: #86efac;
    text-decoration: none;
}

#footer .kontakt a:hover {
    text-decoration: underline;
    color: #bbf7d0;
}

#footer .kontakt .italic {
    font-style: italic;
    color: #d1d5db;
    font-size: 14px;
}

#footer .kontakt > *:not(h1),
#footer .komunita > *:not(h1) {
    padding: 1rem 1.5rem;
    color: #ffffff;
}

#footer .kontakt p {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    margin: 0;
}

#footer .kontakt ul {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1rem;
    margin: 0;
}

#footer .komunita > *:not(h1) {
    padding: 1.5rem;
}

#footer .kontakt ul li {
    display: list-item;
    list-style: none;
}

#footer .kontakt ul li:before {
    content: "• ";
    margin-right: 0.25rem;
}

#footer .komunita {
    text-align: center;
}

#footer .komunita a {
    display: inline-block;
    margin: 0.25rem;
    transition: transform 0.2s ease;
}

#footer .komunita a:hover {
    transform: scale(1.1);
}

#footer .komunita img {
    width: 40px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

#footer .komunita img:hover {
    opacity: 1;
}

/* === CONTAINER & SECTION === */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 1.5rem 0;
}

/* === GLOBAL STYLES === */

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

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    color: #212529 !important;
    background: #fffef0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* === NAVIGATION === */

.navbar {
    background: #000000 !important;
    padding: 0.5rem 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-radius: 0 0 12px 12px !important;
    width: 100vw !important;
}

.navbar .container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.navbar-brand {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif !important;
    font-style: italic !important;
    font-size: 22px !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: normal !important;
    letter-spacing: 0.5px !important;
}

.navbar-nav {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    flex: 1;
}

.navbar-nav li {
    margin: 0;
}

.nav-link {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-size: 18px !important;
    padding: 0.25rem 0 !important;
    font-weight: normal !important;
    letter-spacing: 0.3px !important;
}

.nav-link:hover {
    font-style: italic;
    opacity: 0.9;
    text-decoration: underline;
}

a.nav-button,
.navbar a.nav-button {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%) !important;
    color: #000000 !important;
    padding: 0.4rem 1rem !important;
    border-radius: 10px !important;
    border: 2px solid #16a34a !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    font-style: normal !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif !important;
}

a.nav-button:hover,
.navbar a.nav-button:hover {
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%) !important;
    color: #000000 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    border-color: #15803d !important;
}

/* === HEADER / HERO === */

#head {
    background: url('https://img42.rajce.idnes.cz/d4203/19/19647/19647264_9eb458dc09e0851d923f943ec6cc92da/images/DSC_0267.jpg?ver=0') center center !important;
    background-size: cover !important;
    min-height: 400px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 0 !important;
    text-align: center !important;
    width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

#head > a > img {
    margin: 0;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.3));
}


/* === MENU - buttony v hero banneru === */

#menu {
    display: none;
}

#menu.hero-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    padding: 0 2rem;
}

.menuItem {
    width: 69px;
    height: 69px;
    flex-shrink: 0;
}

#menu.hero-menu .menuItem {
    width: 90px;
    height: 90px;
}

.menuItem a {
    width: 69px;
    height: 69px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.menuItem a img {
    display: none;
}

#menu.hero-menu .menuItem a {
    width: 90px;
    height: 90px;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.menuItem a:hover {
    border-color: rgba(255,255,255,0.9);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    background-color: rgba(255,255,255,1);
}

.menuItem a:hover span {
    display: block;
}

#menu.hero-menu .menuItem a:hover {
    border-color: rgba(255,255,255,0.9);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.menuItem a.casopis {background-image: url('design/button-casopis.gif'); background-size: contain;}
.menuItem a.forum {background-image: url('design/button-forum.gif'); background-size: contain;}
.menuItem a.fotky {background-image: url('design/button-fotky.gif'); background-size: contain;}
.menuItem a.harcy {background-image: url('design/button-harcy.gif'); background-size: contain;}
.menuItem a.kdo-jsou-harcovnici {background-image: url('design/button-kdo-jsou-harcovnici.gif'); background-size: contain;}
.menuItem a.kdo-nas-vede {background-image: url('design/button-kdo-nas-vede.gif'); background-size: contain;}
.menuItem a.navstevni-kniha {background-image: url('design/button-navstevni-kniha.gif'); background-size: contain;}
.menuItem a.ples {background-image: url('design/button-ples.gif'); background-size: contain;}
.menuItem a.tabory {background-image: url('design/button-tabory.gif'); background-size: contain;}
.menuItem a.uvodni-strana {background-image: url('design/button-uvodni-strana.gif'); background-size: contain;}
.menuItem a.videa {background-image: url('design/button-videa.gif'); background-size: contain;}
.menuItem a.vseharcovnicky-scuk {background-image: url('design/button-vseharcovnicky-scuk.gif'); background-size: contain;}
.menuItem a.vzkazy {background-image: url('design/button-vzkazy.gif'); background-size: contain;}
.menuItem a.zpevnik {background-image: url('design/button-zpevnik.gif'); background-size: contain;}

.menuItem a span {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    line-height: 1.4;
    background: rgba(0,0,0,0.9);
    color: white;
    font-size: 13px;
    font-weight: normal;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 100;
    white-space: normal;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.menuItem a:hover span {
    display: block;
}

#menu.hero-menu .menuItem a span {
    top: calc(100% + 12px);
}

.menuItem a:hover span {
    display: block;
}

.menuItem a:hover {
    background-position: -69px 0px;
}

#menuLabel {
    background: url('design/menuLabel.png') no-repeat center;
    background-size: contain;
    width: 225px;
    height: 55px;
    margin-top: 20px;
    color: #212529;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* === MAIN CONTAINER === */

#mainL {
    width: 100vw;
    margin: 0;
    background: none;
    padding-left: 0;
}

#mainR {
    width: 100%;
    background: none;
    padding-right: 0;
}

#mainU {
    width: 100%;
    margin: 0;
    background: none;
    height: 0;
    display: none;
}

#mainD {
    width: 100%;
    margin: 0;
    background: none;
    height: 0;
    display: none;
}

#main {
    width: 100vw;
    min-height: 600px;
    margin: 0;
    background: #fffef0;
    color: #212529;
    padding: 2rem 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    border-radius: 0;
    box-shadow: none;
    justify-content: center;
}

/* === SIDEBAR - karty s barevnými hlavičkami === */

#side {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    order: 2;
}

#side:first-of-type {
    margin-top: 0;
}

#side > div {
    width: 100%;
    border: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    flex-shrink: 0;
    color: #000000;
}

.pristiharc {
    border-left: none;
}

.ktaboru {
    border-left: none;
}

.novinky {
    border-left: none;
}

.fototydne {
    border-left: none;
}

.komunita {
    border-left: none;
}

.kontakt {
    border-left: none;
}

#side > div:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#side h1 {
    font-size: 15px;
    color: #000000;
    width: 100%;
    margin: 0;
    padding: 0.5rem 0.75rem;
    text-align: center !important;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
    background: #ffffff;
}
/* Centrování všech nadpisů v okenkách */
#side h1, #side h2, #side h3,
#side > div h1, #side > div h2, #side > div h3,
.pristiharc h1, .novinky h1, .ktaboru h1,
#side .pristiharc h1, #side .novinky h1, #side .ktaboru h1,
div.pristiharc h1, div.novinky h1, div.ktaboru h1,
fieldset legend {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Barevné varianty hlaviček */
.pristiharc h1 {
    background: #ffffff;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.ktaboru h1 {
    background: #ffffff;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.novinky h1 {
    background: #ffffff;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.fototydne h1 {
    background: #ffffff;
}

.komunita h1 {
    background: #ffffff;
}

.kontakt h1 {
    background: #ffffff;
}

#side > div > *:not(h1) {
    padding: 0.75rem;
    color: #000000;
}

#side > div > *:not(h1) a {
    color: #000000;
}

#side img.week {
    width: 100%;
    max-width: 156px;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

#side li.alert a {
    color: #dc2626;
    font-size: 14px;
    line-height: 14px;
    font-weight: 600;
}

/* === CONTENT === */

#content {
    flex: 1;
    min-width: 300px;
    max-width: calc(100% - 260px);
    text-align: justify;
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
    background: #ffffff;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    color: #000000;
    order: 1;
}

#content p {
    margin-bottom: 15px;
    color: #000000;
    font-size: 14px;
    line-height: 1.6;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}
.card p, .card p a {
    color: #000000 !important;
    font-size: 17px !important;
    font-weight: normal !important;
    background: #e8f5e9 !important;
    padding: 0.75rem !important;
    margin-bottom: 0 !important;
    border-radius: 6px !important;
}
.card p + p {
    margin-top: 0.5rem !important;
}

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

#content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 15px;
    color: #000000;
}

#content ul,
#content ol {
    background: transparent;
    padding: 15px 15px 15px 40px;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 15px;
}

#content table {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 15px;
    width: 100%;
}

#content > *:not(.index):not(.indexhr):not(.index-title):not(.index-content):not(.index-image):not(.index-text):not(p):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(ul):not(ol):not(table) {
    background: transparent;
    padding: 15px;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 15px;
}

#content span:not(.bold):not(.right):not(.center):not(.index-title *) {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline;
    margin: 0;
}

#content .center {
    background: transparent;
    padding: 15px;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 15px;
    text-align: center;
}

#bottom {
    width: 100%;
    clear: both;
    font-size: 1px;
}

/* === TYPOGRAPHY === */

p {
    display: block;
    margin: 0 0 15px 0;
    color: #495057;
}

p.compact {
    margin: 0;
}

a {
    text-decoration: none;
    color: #000000;
    transition: color 0.2s ease;
}

a:hover {
    color: rgba(0,0,0,0.8);
}
    text-decoration: underline;
}

ul, ol {
    margin: 15px 0;
    padding-left: 25px;
}

ul {
    list-style-type: square;
}

ul p, ol p {
    margin: 20px 0;
}

/* === NEWS & CONTENT SECTIONS === */

div.novinky ul {
    list-style-position: inside;
    padding: 0;
}

div.novinky li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

div.novinky li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

div.pristiharc table {
    width: 100%;
}

/* Příští harc – velikosti textu */
.pristiharc .pristiharc-inner strong {
    font-size: 16px !important;
}
.pristiharc .pristiharc-inner .pristiharc-datum {
    font-size: 14px !important;
}
.pristiharc .pristiharc-inner .pristiharc-btn {
    font-size: 14px !important;
    padding: 4px 10px !important;
}

div.ktaboru li {
    margin-bottom: 0.5rem;
    font-size: 14px;
}

div.ktaboru li a {
    color: inherit;
    font-size: inherit;
    font-weight: 600 !important;
}

div.ktaboru li a:hover {
    color: inherit;
}

div.komunita {
    text-align: center;
    padding: 15px 0;
}

div.komunita a img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 5px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    border-radius: 4px;
}

div.komunita a:hover img {
    opacity: 1;
    transform: scale(1.05);
}

div.kontakt div {
    margin: 10px 0;
}

div.kontakt hr {
    border-top: 1px solid #dee2e6;
    border-bottom: none;
    margin: 15px 0;
}

div.kontakt p {
    margin: 10px 0 0 0;
    font-style: italic;
    text-align: center;
    color: #6c757d;
    font-weight: 600;
    font-size: 13px;
}

div.kontakt ul {
    list-style-position: inside;
    padding: 0;
    font-size: 13px;
}

div.kontakt li {
    margin-top: 10px;
    font-weight: 600;
}

div.kalendar {
    text-align: center;
    padding: 15px 0;
}

div.kalendar>span {
    display: block;
    width: 100%;
    margin-left: 0;
    position: relative;
}

div.kalendar>span div {
    position: absolute;
    display: none;
    left: 0;
    top: 100%;
    width: 100%;
    max-width: 584px;
    min-height: 114px;
    margin: 15px auto;
    padding: 20px;
    color: #212529;
    background: white;
    border: 1px solid #dee2e6;
    text-align: justify;
    font-style: italic;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 10;
    border-radius: 6px;
    font-size: 13px;
}

div.kalendar>span:hover div {
    display: block;
}

div.kalendar>span div span.code {
    display: block;
    padding: 10px;
    margin: 10px 0;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    text-align: center;
    cursor: text;
    word-break: break-all;
    border-radius: 4px;
}

div.kalendar>span img {
    margin-top: 8px;
    max-width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

div.index,
p.index {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    font-size: 13px !important;
    margin-bottom: 1rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-top: none;
    color: #000000;
}

div.index.hot,
p.index.hot,
div.indexhr.hot,
p.indexhr.hot {
    background: #fff9e6;
    color: #212529;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

div.index.hot *,
p.index.hot *,
div.indexhr.hot *,
p.indexhr.hot * {
    color: #212529;
}

div.index.hot a,
p.index.hot a,
div.indexhr.hot a,
p.indexhr.hot a {
    color: #212529;
    text-decoration: underline;
}


div.index:last-child,
p.index:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

div.indexhr,
p.indexhr {
    border-bottom: 2px solid rgba(0,0,0,0.3);
    padding: 20px 0;
    margin-bottom: 1rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-top: none;
    color: #000000;
}

.index-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    background: transparent;
    padding: 0;
}

.index-title-name {
    font-weight: 600;
    font-size: 17px;
    flex: 1;
}

.index-title-date {
    font-weight: 600;
    font-size: 14px;
    color: #666;
    margin-left: 1rem;
}

.index-title .bold {
    font-weight: 600;
    font-size: 15px;
}

.index-content {
    display: flex;
    gap: 20px;
    align-items: center;
    background: transparent;
}

.index-image {
    flex-shrink: 0;
    width: 300px;
    max-width: 40%;
    background: transparent;
}

.index-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    border: none;
}

.index-text {
    flex: 1;
    text-align: justify;
    line-height: 1.6;
    background: transparent;
    font-size: 13px !important;
    margin-top: 0;
    padding-top: 0;
}

.index-text p,
.index-text div,
.index-text span,
.index-text li {
    font-size: 13px !important;
}

/* Žádné velké mezery mezi odstavci v novinkách na úvodní stránce */
.index-text p,
.index-text div {
    margin: 0 0 0.2em 0 !important;
    padding: 0 !important;
}

.index-text .right {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-style: italic;
    color: rgba(0,0,0,0.8);
}

div.hot {
    background: #fff9e6;
    color: #212529;
    padding: 12px;
    font-weight: 600;
    border-radius: 0;
    border: none;
}

p.hot {
    background: #fff9e6;
    color: #212529;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 0;
}

p.hot a {
    color: #212529;
    text-decoration: underline;
}

/* === TABLES === */

table.fototydne {
    margin: 0;
    width: 100% !important;
    border-collapse: collapse;
}

table.fototydne td {
    border: 1px solid #dee2e6;
    text-align: center;
    padding: 10px;
    vertical-align: top;
    width: 100% !important;
}

table.fototydne td.noborder {
    border: none;
}

table.fototydne img {
    margin-top: 5px;
    max-width: 90% !important;
    width: 90% !important;
    height: auto !important;
    border-radius: 4px;
}

p.vzkaz {
    background: url('design/vzkaz.png') no-repeat center;
    background-size: cover;
    color: #212529;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

/* Silné CSS pravidlo pro nadpis přihlášky */
#signin > div > h1,
#signin div[style*="background"] h1,
div#signin > div h1 {
  font-size: 3rem !important;
  font-weight: bold !important;
}

p.vzkaz .h1 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

p.vzkaz .line {
    display: block;
    padding-bottom: 5px;
}

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

table.vedouci td {
    width: 50%;
    text-align: center;
    padding: 20px;
    vertical-align: top;
}

table.vedouci img {
    width: 100%;
    max-width: 240px;
    height: auto;
    margin-top: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

div.vedouci {
    margin: 15px 0;
    padding: 15px 0;
}

div.vedouci h3 {
    color: #212529;
    text-align: center;
    padding: 10px;
    font-size: 17px;
    margin-bottom: 15px;
}

div.vedouci .vedimg {
    float: right;
    width: 200px;
    max-width: 40%;
    margin: 4px 0 4px 20px;
    border-width: 3px 3px 1px 3px;
    border-style: solid;
    border-radius: 6px;
}

div.vedouci img.hi {
    width: 200px;
    max-width: 100%;
    height: auto;
}

div.vedouci img.lo {
    width: 64px;
    height: 48px;
    margin-right: -1px;
    cursor: pointer;
    border-radius: 4px;
}

div.vedouci hr {
    clear: both;
    border: none;
    margin: 20px 0;
}

div.vedouci .r {background: #B21313; border: none; border-color: transparent;}
div.vedouci .y {background: #FEFE3B; border: none; border-color: transparent; color: #212529;}
div.vedouci .g {background: #007113; border: none; border-color: transparent;}
div.vedouci .b {background: #13109F; border: none; border-color: transparent; color: white;}

table.harcy {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}

table.harcy td.zlom {
    padding-top: 30px;
    text-align: center;
    border-top: 1px solid #dee2e6;
}

div.harc {
    margin: 30px 0 50px 0;
    padding: 20px 0;
    border-bottom: 1px solid #dee2e6;
}

div.harc:last-child {
    border-bottom: none;
}

div.harc p {
    margin: 15px 0;
    font-size: 14px;
}

div.harc img {
    float: right;
    margin: 10px 0 10px 25px;
    max-width: 580px;
    width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

div.harc p.participants {
    padding: 8px 12px;
    font-weight: 600;
    font-style: italic;
    color: #212529;
    background: #f8f9fa;
    display: inline-block;
    margin: 10px 0;
    border-radius: 4px;
}

div.border {
    border: 1px solid #dee2e6;
    padding: 20px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 6px;
}

/* === UTILITY CLASSES === */

.center {
    display: block;
    text-align: center;
}

.left {
    display: block;
    text-align: left;
}

.right {
    display: block;
    text-align: right;
}

.leftfloat {
    float: left;
    margin: 15px;
}

.rightfloat {
    float: right;
    margin: 15px;
}

.bold {
    font-weight: 600 !important;
}

.italic {
    font-style: italic !important;
}

.noborder {
    border: none !important;
}

/* === ENDORA ADS === */

#ads1 {
    height: 16px;
    background: #f8f9fa;
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6;
}

#ads2 {
    height: 12px;
    background: #f8f9fa;
    color: #6c757d;
    margin-top: 0;
    padding: 8px;
    text-align: center;
    font-size: 0.8em;
    font-style: italic;
    border-top: 1px solid #dee2e6;
}

/* === RESPONSIVE === */

@media (max-width: 1200px) {
    #head {
        padding: 2rem 1.5rem;
    }
    
    #main {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navbar-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    #head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-height: 300px;
        padding: 1.5rem 1rem;
    }
    
    #head > a > img {
        margin: 0 auto;
    }
    
    #menu {
        justify-content: center;
        width: 100%;
        max-width: 225px;
        margin: 1rem auto;
    }
    
    #main {
        flex-direction: column;
        padding: 1rem;
    }
    
    /* Na mobilu: obsah nahoře, sidebar s Příští harc a Nadcházející akce dole */
    #content {
        width: 100%;
        order: 1;
    }
    
    #side {
        width: 100%;
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Footer sekce pod sebou na mobilu */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .footer-section {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    #footer {
        padding: 1.5rem 0.75rem;
    }
    
    div.vedouci .vedimg {
        float: none;
        width: 100%;
        max-width: 200px;
        margin: 15px auto;
        display: block;
    }
    
    div.harc img {
        float: none;
        margin: 15px auto;
        display: block;
    }
    
    table.vedouci td {
        width: 100%;
        display: block;
    }
    
    .menuItem a span {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
    }
}

/* Desktop: 3 sloupce vedle sebe */
@media (min-width: 993px) {
    .footer-content {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
    }
    
    .footer-section {
        display: block !important;
        float: none !important;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    /* Na tabletích: footer sekce ve 2 sloupcích */
    .footer-content {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    #head {
        min-height: 250px;
        padding: 1rem 0.5rem;
    }
    
    .menuItem {
        width: 60px;
        height: 60px;
    }
    
    .menuItem a {
        width: 60px;
        height: 60px;
    }
    
    #main {
        padding: 0.75rem;
    }
    
    #side > div {
        padding: 0.75rem;
    }
    
    /* Na mobilu: footer sekce pod sebou */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        padding: 1rem;
    }
}

/* === ZPĚVNÍK === */

.zpevnik-item:hover,
.zpevnik-song:hover {
    background: #e9ecef !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.zpevnik-item img,
.zpevnik-song img {
    transition: transform 0.2s ease;
}

.zpevnik-item:hover img,
.zpevnik-song:hover img {
    transform: scale(1.1);
}

/* === FOTKY === */

.foto-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.foto-album {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.foto-album:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.foto-album img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.foto-album-title {
    padding: 0.75rem;
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    text-align: center;
}

.foto-album-date {
    padding: 0 0.75rem 0.75rem;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

/* === VIDEA === */

.video-item:hover {
    background: #e9ecef !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.video-item:hover .fa-play-circle {
    transform: scale(1.1);
}

/* === ČASOPIS === */

.casopis-item:hover {
    background: #e9ecef !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.casopis-item:hover .fa-file-pdf {
    transform: scale(1.1);
}

/* === VEDOUCI === */

.vedouci-item:hover {
    background: #e9ecef !important;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.vedouci-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .vedouci-item[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
}

/* Remove all colored borders from subpages */
.box-red, .box-green, .box-orange, .box-blue, .box-purple, .box-brown, .box-yellow, .box-pink {
    border-left: none !important;
    border-color: transparent !important;
}
[class*="box-"] {
    border-left: none !important;
    border-color: transparent !important;
}

/* ABSOLUTNÍ PRIORITA - Centrování nadpisů v okenkách */
#side .pristiharc h1,
#side .novinky h1,
#side .ktaboru h1,
#side > div.pristiharc > h1,
#side > div.novinky > h1,
#side > div.ktaboru > h1 {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}
