/* ==========================================================================
   FOOTER - CORPORATE GLASSMORPHISM
   ========================================================================== */

.paticka-web {
    background: linear-gradient(135deg, #661217 0%, #8f1b21 55%, #4a0d11 100%);
    color: #f4d9dc;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    flex-shrink: 0; /* Sticky footer - nepřizpůsobuje se, zůstává dole */
}

.landing-page .paticka-web {
    margin-top: 0;
}

.paticka-web::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d64850 0%, var(--primary-blue) 55%, #7c1117 100%);
}

.paticka-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.paticka-columns {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* Logo sloupec */
.paticka-logo {
    display: flex;
    flex-direction: column;
}

.paticka-logo-panel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #fff8f8 0%, #f6e7e8 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(48, 7, 10, 0.22);
}

.paticka-logo img {
    max-width: 250px;
    height: auto;
    margin-bottom: 0;
    filter: none;
    opacity: 1;
}

.paticka-popis {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 232, 235, 0.82);
    margin-bottom: 2rem;
}

.socialni-site {
    display: flex;
    gap: 0.75rem;
}

.socialni-site a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 245, 246, 0.08);
    border: 1px solid rgba(255, 233, 235, 0.16);
    border-radius: var(--border-radius-sm);
    color: #fff1f2;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.125rem;
}

.socialni-site a:hover {
    background: #fff4f5;
    border-color: #fff4f5;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Standardní sloupce */
.paticka-sloupec h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff7f7;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.paticka-sloupec h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary-blue);
}

.paticka-sloupec ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.paticka-sloupec ul li {
    margin-bottom: 0.625rem;
}

.paticka-sloupec ul a {
    color: rgba(255, 232, 235, 0.82);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
}

.paticka-sloupec ul a::before {
    content: '›';
    margin-right: 0.5rem;
    color: var(--primary-blue);
    font-weight: bold;
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition);
}

.paticka-sloupec ul a:hover {
    color: #fff7f7;
    padding-left: 1rem;
}

.paticka-sloupec ul a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.paticka-sloupec ul a i {
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.paticka-admin-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 230, 233, 0.16);
}

.paticka-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem !important;
    border: 1px solid rgba(255, 236, 238, 0.22);
    border-radius: 999px;
    background: rgba(255, 245, 246, 0.08);
    color: #fff4f5 !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    opacity: 1;
}

.paticka-admin-link::before {
    display: none;
}

.paticka-admin-link:hover {
    background: #fff4f5;
    border-color: #fff4f5;
    color: var(--primary-blue) !important;
    padding-left: 0.85rem !important;
    transform: translateY(-1px);
}

/* Kontaktní sloupec */
.paticka-kontakt .kontakt-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 232, 235, 0.82);
    margin-bottom: 1.25rem;
}

.paticka-kontakt .kontakt-item i {
    color: var(--primary-blue);
    font-size: 1.125rem;
    min-width: 20px;
    margin-top: 0.125rem;
}

.paticka-kontakt .kontakt-item span,
.paticka-kontakt .kontakt-item a {
    flex: 1;
}

.paticka-kontakt strong {
    color: white;
    font-weight: 600;
    min-width: 80px;
    margin-right: 0.5rem;
}

.paticka-kontakt a {
    color: rgba(255, 232, 235, 0.82);
    text-decoration: none;
    transition: color 0.2s ease;
}

.paticka-kontakt a:hover {
    color: #fff7f7;
}

/* Dolní část footer */
.paticka-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 230, 233, 0.14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.paticka-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 220, 224, 0.68);
}

.paticka-copyright a {
    color: rgba(255, 238, 240, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.paticka-copyright a:hover {
    color: #fff7f7;
}

.paticka-credit {
    font-size: 0.8125rem;
    color: rgba(255, 220, 224, 0.76);
    text-align: center;
}

.paticka-credit a {
    color: #fff4f5;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 244, 245, 0.32);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.paticka-credit a:hover {
    color: #fff7f7;
    border-bottom-color: rgba(255, 247, 247, 0.72);
}

.paticka-links {
    display: flex;
    gap: 1.5rem;
}

.paticka-links a {
    font-size: 0.8125rem;
    color: rgba(255, 238, 240, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.paticka-links a:hover {
    color: #fff7f7;
}

/* ==========================================================================
   SIDEBAR - MODERN GLASSMORPHISM DESIGN
   ========================================================================== */

/* Sidebar Layout - Obsah vlevo, Sidebar vpravo */
.page-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 0 3rem 0;
}

.content-shell {
    min-width: 0; /* Prevent grid blowout */
}

/* Pokud se ve sidebar layoutu použije .page-content (např. page builder),
   nesmí omezovat šířku na 900px. */
.page-with-sidebar > .page-content {
    max-width: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

/* Sidebar - Floating s glassmorphism efektem */
.layout-sidebar {
    position: sticky;
    top: calc(var(--menu-height) + var(--menu-top-height) + 1.5rem);
    align-self: start;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 0;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.layout-sidebar:hover {
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(23, 94, 230, 0.15);
}

/* Sidebar Sections */
.sidebar-section {
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-section:last-child {
    border-bottom: none;
}

/* Sidebar Title */
.sidebar-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--glass-border);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary-blue);
}

.sidebar-title i {
    font-size: 0.9375rem;
    color: var(--primary-blue);
}

.widget {
    margin-bottom: 3rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.875rem;
    border-bottom: 2px solid var(--glass-border);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--primary-blue);
}

/* Sidebar Articles List */
.sidebar-articles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-articles li {
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.sidebar-articles li:last-child {
    border-bottom: none;
}

.sidebar-article {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-article:hover {
    transform: translateX(4px);
}

.sidebar-article:hover .sidebar-article-title {
    color: var(--primary-blue);
}

.sidebar-article-title {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: color 0.2s;
    line-height: 1.5;
    margin-bottom: 0.375rem;
}

.sidebar-article-excerpt {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Události widget */
.widget-events {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-event-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.03) 0%, rgba(23, 94, 230, 0.06) 100%);
    border: 1px solid rgba(23, 94, 230, 0.1);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.widget-event-item:hover {
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.06) 0%, rgba(23, 94, 230, 0.1) 100%);
    border-color: rgba(23, 94, 230, 0.2);
    box-shadow: 0 4px 12px rgba(23, 94, 230, 0.08);
}

.widget-event-date {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    color: white;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.widget-event-day {
    font-size: 1.375rem;
    line-height: 1;
}

.widget-event-month {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.125rem;
}

/* Sidebar Social Links */
.sidebar-social {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.sidebar-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-sm);
    background: rgba(23, 94, 230, 0.05);
    border: 1px solid rgba(23, 94, 230, 0.1);
    color: var(--primary-blue);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.sidebar-social-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 94, 230, 0.25);
}

/* Sidebar Contact - Minimalistický */
.sidebar-contact {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.sidebar-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-medium);
    font-size: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sidebar-contact-item:hover {
    color: var(--primary-blue);
}

.sidebar-contact-item i {
    font-size: 0.75rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* Sidebar Contact */
.sidebar-contact {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(23, 94, 230, 0.03);
    border-radius: var(--border-radius-sm);
    color: var(--text-dark);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.sidebar-contact-item:hover {
    background: rgba(23, 94, 230, 0.08);
    border-color: rgba(23, 94, 230, 0.15);
    color: var(--primary-blue);
    transform: translateX(4px);
}

.sidebar-contact-item i {
    font-size: 1rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* Sidebar Support Button */
.sidebar-support {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(23, 94, 230, 0.05) 0%, rgba(23, 94, 230, 0.08) 100%);
    border-bottom: none;
}

.sidebar-support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.25rem;
    background: var(--primary-blue);
    color: white;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(23, 94, 230, 0.2);
}

.sidebar-support-link:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 94, 230, 0.4);
}

.sidebar-support-link i:first-child {
    font-size: 1.125rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.sidebar-support-link i:last-child {
    font-size: 0.75rem;
    margin-left: auto;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .paticka-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .page-with-sidebar {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .layout-sidebar {
        position: static;
        order: 2; /* Na mobilech sidebar dole */
    }
    
    .content-shell {
        order: 1;
    }
}

@media (max-width: 768px) {
    .paticka-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .paticka-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .page-with-sidebar {
        padding: 2rem 1rem;
    }
    
    .sidebar-section {
        padding: 1.2

.sidebar-contact-item i {
    font-size: 1rem;
    color: var(--primary-blue);
    flex-shrink: 0