/* 
   MÔJMARTIN.SK - MODERNIZED PORTAL DESIGN SYSTEM
   Style: Modern Civic / Cultural Portal (Martin & Turiec)
   Palette: Deep Navy (#002855), Warm Gold (#9c824a), Crisp Alabaster (#f8fafc)
*/

:root {
    --primary: #002855;
    --primary-light: #003e80;
    --primary-dark: #001835;
    --secondary: #9c824a;
    --secondary-light: #b89c5e;
    --accent: #e63946;
    --success: #10b981;
    --warning: #f59e0b;

    --bg-main: #f8fafc;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    --bg-glass: rgba(255, 255, 255, 0.92);

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f1f5f9;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px -1px rgba(0, 40, 85, 0.08), 0 2px 4px -1px rgba(0, 40, 85, 0.04);
    --shadow-lg: 0 12px 24px -4px rgba(0, 40, 85, 0.12), 0 4px 8px -2px rgba(0, 40, 85, 0.05);
    --shadow-hover: 0 20px 28px -5px rgba(0, 40, 85, 0.15), 0 10px 10px -5px rgba(0, 40, 85, 0.05);

    --border-color: rgba(0, 40, 85, 0.08);
    --border: #e2e8f0;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TOP UTILITY BAR (STRICT 1-LINE ON DESKTOP) */
.top-bar {
    background: var(--primary-dark);
    color: #cbd5e1;
    font-size: 12.5px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 14px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.top-bar-sep {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.top-bar-muted {
    opacity: 0.72;
    font-size: 11.5px;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.top-bar-item i {
    color: var(--secondary-light);
    font-size: 14px;
}

.top-bar a:hover {
    color: #fff;
}

.top-pill {
    background: rgba(156, 130, 74, 0.24);
    color: #f8fafc;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    border: 1px solid rgba(156, 130, 74, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-pill:hover {
    background: var(--secondary);
    color: #fff;
}

/* STICKY GLASS HEADER */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,40,85,0.12));
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtext {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-main);
    position: relative;
    padding: 6px 2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn, .mobile-menu-btn {
    background: #f1f5f9;
    border: 1px solid transparent;
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover, .mobile-menu-btn:hover {
    background: var(--primary);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 40, 85, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 40, 85, 0.28);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-danger {
    background: var(--accent);
    color: #fff;
}

/* SEARCH DRAWER */
.search-bar-drawer {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    box-shadow: var(--shadow-md);
}

.search-bar-drawer.open {
    display: block;
}

.search-form-inline {
    display: flex;
    gap: 12px;
    max-width: 780px;
    margin: 0 auto;
}

.search-form-inline input {
    flex: 1;
    padding: 12px 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 30px;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
}

.search-form-inline input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 40, 85, 0.1);
}

/* HERO SECTION */
.hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 24px;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    padding: 44px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 24, 53, 0.94) 0%, rgba(0, 40, 85, 0.55) 55%, rgba(0, 24, 53, 0.25) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    color: white;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(156, 130, 74, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    max-width: 680px;
}

.hero-search-box {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 580px;
}

.hero-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 16px;
    font-size: 15px;
    outline: none;
}

.hero-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

/* QUICK ACCESS PILLS */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.quick-card {
    background: var(--bg-card);
    padding: 18px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.quick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(156, 130, 74, 0.35);
}

.quick-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 40, 85, 0.06);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
    transition: var(--transition);
}

.quick-card:hover .quick-icon {
    background: var(--primary);
    color: white;
}

.quick-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.quick-info span {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

/* MAIN PORTAL GRID */
.portal-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 36px;
    margin-bottom: 60px;
    align-items: start;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 40, 85, 0.08);
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 64px;
    height: 2px;
    background: var(--secondary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.view-all:hover {
    color: var(--primary);
    gap: 8px;
}

/* FILTER TABS / PILLS */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-pill {
    padding: 8px 16px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(0, 40, 85, 0.2);
}

.filter-pill .badge-count {
    background: rgba(0,0,0,0.08);
    padding: 1px 7px;
    border-radius: 12px;
    font-size: 11px;
}

.filter-pill.active .badge-count {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

/* NEWS CARDS */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.news-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #0f172a;
}

.news-card.featured .news-img-wrapper {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-img-wrapper.low-res {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 65%, #1e3a5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.news-img-wrapper.low-res::before {
    content: 'MÔJMARTIN.SK';
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.22);
    font-weight: 700;
}

.news-img-wrapper.low-res .news-img {
    width: auto;
    height: auto;
    max-width: 150px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid rgba(156, 130, 74, 0.55);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: #fff;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.news-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text-main);
}

.news-card.featured .news-title {
    font-size: 25px;
}

.news-card:hover .news-title {
    color: var(--primary-light);
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
}

.read-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

/* CULTURE BANNER */
.culture-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 36px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin: 36px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.culture-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.16;
    pointer-events: none;
}

.culture-content {
    max-width: 65%;
    z-index: 1;
}

.culture-content h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    margin-bottom: 10px;
}

.culture-content p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    font-size: 15px;
}

.btn-gold {
    background: var(--secondary);
    color: white;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(156, 130, 74, 0.4);
}

.btn-gold:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    color: #fff;
}

/* SIDEBAR WIDGETS */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.widget {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.widget-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: var(--secondary);
}

/* EVENTS LIST */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.event-item {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.event-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(3px);
}

.event-date {
    background: rgba(0, 40, 85, 0.06);
    border: 1px solid rgba(0, 40, 85, 0.1);
    border-radius: var(--radius-sm);
    min-width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-day {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.event-month {
    font-size: 10.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 3px;
}

.event-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--text-main);
    line-height: 1.3;
}

.event-info p {
    font-size: 12.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* CLASSIFIEDS LIST */
.classified-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.classified-item {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    border-left: 3px solid var(--secondary);
    transition: var(--transition);
    display: block;
}

.classified-item:hover {
    background: #eef2f6;
    transform: translateX(3px);
}

.classified-tag {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 40, 85, 0.08);
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 6px;
}

.classified-title {
    font-size: 13.5px;
    font-weight: 600;
    margin-top: 6px;
    color: var(--text-main);
}

.classified-price {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 3px;
}

/* CARDS & DETAIL VIEWS */
.card-box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 28px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 22px 0 18px;
}

.breadcrumb a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.article-detail-header h1 {
    font-family: var(--font-heading);
    font-size: 34px;
    line-height: 1.25;
    color: var(--primary);
    margin-bottom: 14px;
}

.article-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 20px 0;
    box-shadow: var(--shadow-md);
}

.article-body {
    font-size: 16.5px;
    line-height: 1.8;
    color: #1e293b;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body img {
    border-radius: var(--radius-sm);
    margin: 12px 0;
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.gallery-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

.gallery-zoom-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

/* UNIVERZÁLNY LIGHTBOX MODAL PRE FOTOGALÉRIE */
.mm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.mm-lightbox.open {
    display: flex;
}

.mm-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 28, 0.92);
    backdrop-filter: blur(8px);
}

.mm-lightbox-topbar {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    color: #fff;
}

.mm-lightbox-counter {
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
}

.mm-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mm-lightbox-btn,
.mm-lightbox-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mm-lightbox-close {
    background: #dc2626;
    border-color: #ef4444;
}

.mm-lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
}

.mm-lightbox-close:hover {
    background: #b91c1c;
    transform: scale(1.03);
}

.mm-lightbox-stage {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 76px;
    min-height: 0;
    cursor: zoom-out;
}

.mm-lightbox-img {
    max-width: 100%;
    max-height: 74vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
    cursor: default;
    transition: opacity 0.2s ease;
}

.mm-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mm-lightbox-nav:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-50%) scale(1.08);
}

.mm-lightbox-nav.prev {
    left: 20px;
}

.mm-lightbox-nav.next {
    right: 20px;
}

.mm-lightbox-bottom {
    position: relative;
    z-index: 3;
    padding: 12px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mm-lightbox-caption {
    color: #f8fafc;
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    max-width: 820px;
    line-height: 1.45;
    background: rgba(15, 23, 42, 0.72);
    padding: 8px 18px;
    border-radius: 10px;
}

.mm-lightbox-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 90vw;
    padding: 4px;
}

.mm-lightbox-thumb-btn {
    width: 58px;
    height: 44px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #1e293b;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.mm-lightbox-thumb-btn.active,
.mm-lightbox-thumb-btn:hover {
    opacity: 1;
    border-color: var(--secondary);
}

.mm-lightbox-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 680px) {
    .mm-lightbox-stage {
        padding: 10px 16px;
    }
    .mm-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .mm-lightbox-nav.prev { left: 10px; }
    .mm-lightbox-nav.next { right: 10px; }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-caption {
    padding: 12px 14px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    flex: 1;
    background: #fff;
}

.gallery-title {
    color: var(--primary);
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-meta {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CATALOG / COMPANIES GRID */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.company-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary);
}

.company-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.company-logo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px;
    flex-shrink: 0;
}

.company-meta-list {
    list-style: none;
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.company-meta-list li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.company-meta-list i {
    color: var(--secondary);
    font-size: 16px;
}

/* TABLES & FORUMS */
.data-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
}

.data-table th {
    background: #f1f5f9;
    color: var(--primary);
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.data-table tr:hover td {
    background: #f8fafc;
}

/* FORMS & CARDS */
.form-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.form-grid,
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-control,
.form-select,
.form-textarea {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid #cbd5e1;
    border-radius: 9px;
    font-size: 14px;
    font-family: var(--font-body);
    background: #fff;
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 40, 85, 0.1);
}

textarea.form-control,
.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.55;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* FLASH ALERTS */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin: 18px 0;
    font-weight: 500;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* PAGINATION */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0 10px;
}

.page-num, .page-btn {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.page-num:hover, .page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-num.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* POLL BARS */
.poll-option {
    margin-bottom: 10px;
}

.poll-bar-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 4px;
}

.poll-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

/* FOOTER */
footer.site-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
    border-top: 4px solid var(--secondary);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
}

/* MODERN STANDALONE ADMIN SYSTEM */
body.admin-body {
    background: #f1f5f9;
    color: #0f172a;
}

.admin-shell {
    display: grid;
    grid-template-columns: 268px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #0f172a;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
}

.admin-brand {
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand-link {
    display: flex;
    align-items: center;
    gap: 11px;
}

.admin-brand-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.admin-brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.admin-brand-sub {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
}

.admin-user-card {
    margin: 14px 14px 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.admin-user-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--secondary), #b89c5e);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-user-info {
    min-width: 0;
    flex: 1;
}

.admin-user-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-role {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}

.admin-role-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.admin-user-2fa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-2fa-status {
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
}

.admin-2fa-status.on {
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
}

.admin-2fa-status.off {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
}

.admin-2fa-btn {
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.admin-2fa-btn.on {
    background: #10b981;
    color: #fff;
}

.admin-2fa-btn.on:hover {
    background: #059669;
}

.admin-2fa-btn.off {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.admin-2fa-btn.off:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-nav-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 6px 12px 16px;
    scrollbar-width: thin;
}

.admin-nav-group {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: #64748b;
    padding: 14px 10px 6px;
}

.admin-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #cbd5e1;
    transition: all 0.18s ease;
}

.admin-nav a i {
    font-size: 17px;
    color: #94a3b8;
    flex-shrink: 0;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.admin-nav a:hover i {
    color: #ffffff;
}

.admin-nav a.active {
    background: linear-gradient(90deg, rgba(156, 130, 74, 0.28), rgba(156, 130, 74, 0.1));
    color: #ffffff;
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--secondary);
}

.admin-nav a.active i {
    color: var(--secondary-light);
}

.admin-sidebar-footer {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 8px;
}

.admin-footer-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 600;
}

.admin-footer-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.admin-footer-btn.logout {
    flex: 0 0 38px;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.12);
}

.admin-footer-btn.logout:hover {
    background: #dc2626;
    color: #fff;
}

.admin-main-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100vh;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
}

.admin-breadcrumb-group {
    color: #64748b;
    font-weight: 500;
}

.admin-breadcrumb-current {
    color: #0f172a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-breadcrumb-current i {
    color: var(--secondary);
    font-size: 16px;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.admin-quick-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}

.admin-quick-btn.primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.admin-quick-btn.primary:hover {
    background: var(--primary-light);
    color: #fff;
}

.admin-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(156, 130, 74, 0.1);
}

.admin-portal-link:hover {
    background: var(--secondary);
    color: #fff;
}

.admin-content,
.admin-main {
    padding: 28px 34px 48px;
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
}

.admin-content h1 {
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #0f172a;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card {
    background: #fff;
    padding: 20px 22px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.stat-card-label {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748b;
}

.stat-card-val,
.stat-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.stat-card p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: inline-flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-bottom: 2px solid var(--secondary);
        gap: 12px;
        align-items: flex-start;
    }
    .nav-links.open {
        display: flex;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 340px;
        padding: 24px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .culture-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
    .culture-content {
        max-width: 100%;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full {
        grid-column: span 1;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .auctions-dual-grid {
        grid-template-columns: 1fr !important;
    }
    .aps-info-grid {
        grid-template-columns: 1fr !important;
    }
    .seasonal-strip {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================================
   UNIFIED CONTENT SANITIZATION (.mm-clean-content)
   Enforces portal design over legacy pasted HTML (Word, inline styles, fonts)
   ============================================================================ */
.mm-clean-content,
.mm-clean-content * {
    font-family: var(--font-body) !important;
    background-color: transparent !important;
    max-width: 100%;
    box-sizing: border-box;
}

.mm-clean-content {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-main);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mm-clean-content p {
    margin: 0 0 14px 0;
    color: var(--text-main) !important;
    font-size: 15.5px !important;
    line-height: 1.75 !important;
}

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

.mm-clean-content h3,
.mm-clean-content h4 {
    font-family: var(--font-heading) !important;
    color: var(--primary) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 18px 0 8px 0 !important;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 40, 85, 0.08);
}

.mm-clean-content h3:first-child,
.mm-clean-content h4:first-child {
    margin-top: 0 !important;
}

.mm-clean-content ul,
.mm-clean-content ol {
    margin: 10px 0 16px 22px;
    padding: 0;
}

.mm-clean-content li {
    margin-bottom: 6px;
    line-height: 1.65;
    color: var(--text-main) !important;
}

.mm-clean-content a {
    color: var(--primary) !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mm-clean-content a:hover {
    color: var(--secondary) !important;
}

.mm-clean-content strong,
.mm-clean-content b {
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
}

.mm-clean-content table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 14px !important;
}

.mm-clean-content th,
.mm-clean-content td {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

/* ============================================================================
   SEASONAL THEMES (JAR, LETO, JESEŇ, ZIMA) & PARTICLE CANVAS
   ============================================================================ */
.seasonal-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 900;
    opacity: 0.85;
}

body.season-zima {
    --primary: #0c3559;
    --primary-light: #164e7f;
    --primary-dark: #071f36;
    --secondary: #38bdf8;
    --secondary-light: #7dd3fc;
    --bg-main: #f0f6fc;
}

body.season-jesen {
    --primary: #3b2314;
    --primary-light: #5c3720;
    --primary-dark: #24140a;
    --secondary: #d97706;
    --secondary-light: #f59e0b;
    --bg-main: #fbf8f3;
}

body.season-jar {
    --primary: #0f3d2e;
    --primary-light: #185c45;
    --primary-dark: #08241b;
    --secondary: #10b981;
    --secondary-light: #34d399;
    --bg-main: #f4fbf7;
}

body.season-leto {
    --primary: #002855;
    --primary-light: #003e80;
    --primary-dark: #001a38;
    --secondary: #9c824a;
    --secondary-light: #b89c61;
    --bg-main: #f4f6f9;
}

.season-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.season-current-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #f8fafc;
    margin-right: 3px;
}

.season-dot {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11.5px;
    transition: var(--transition);
}

.season-dot:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.season-dot.active {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
}

/* HERO LAYOUT WITH INTEGRATED SEASONAL SHOWCASE */
.hero {
    transition: background-image 0.35s ease-in-out;
    margin-bottom: 24px;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-slide {
    position: absolute;
    inset: -2%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06) translateX(18px);
    transition: opacity 1.15s cubic-bezier(0.4, 0, 0.2, 1), transform 6s ease-out;
    will-change: opacity, transform;
}

.hero-bg-slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.hero-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

.hero-layout .hero-content {
    flex: 1;
    max-width: 740px;
}

.hero-showcase-card {
    width: 320px;
    flex-shrink: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 14px;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.hero-showcase-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.hero-showcase-head a {
    color: var(--secondary-light);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.hero-showcase-head a:hover {
    color: #fff;
    text-decoration: underline;
}

.hero-showcase-caption {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-showcase-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    gap: 8px;
}

.hero-thumb-btn {
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    overflow: hidden;
    height: 56px;
    padding: 0;
    background: #0f172a;
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

.hero-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hero-thumb-btn:hover img {
    transform: scale(1.08);
}

.hero-thumb-btn.active {
    border-color: var(--secondary-light);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
}

.hero-thumb-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background: var(--secondary-light);
    pointer-events: none;
}

.hero-thumb-btn.active .hero-thumb-progress {
    animation: heroThumbProgress 5.5s linear forwards;
}

.hero-showcase-card.is-paused .hero-thumb-btn.active .hero-thumb-progress {
    animation-play-state: paused;
}

@keyframes heroThumbProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@media (max-width: 1080px) {
    .top-bar-inner {
        overflow-x: auto;
        scrollbar-width: none;
    }
    .top-bar-inner::-webkit-scrollbar {
        display: none;
    }
    .hero-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .hero-showcase-card {
        width: 100%;
    }
}

/* ============================================================================
   POHOTOVOSTNÁ SLUŽBA MARTIN APS MODULE
   ============================================================================ */
.aps-module-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    border-top: 4px solid #dc2626;
}

.aps-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.aps-badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid #fecaca;
    flex-shrink: 0;
}

.aps-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.aps-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aps-info-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.aps-info-label i {
    color: #dc2626;
    font-size: 14px;
}

.aps-info-box strong {
    font-size: 14px;
    color: var(--primary);
}

.aps-info-box small {
    font-size: 12.5px;
    color: var(--text-muted);
}

.aps-table th {
    background: #fef2f2;
    color: #991b1b;
    border-bottom-color: #fecaca;
}

.aps-row-today td {
    background: #fffbeb !important;
}

.aps-today-pill {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

.aps-hours-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #334155;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
}

/* ============================================================================
   DRAŽBY NEHNUTEĽNOSTÍ & AUTOMOBILOV MODULE
   ============================================================================ */
.auctions-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.auction-column-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auction-col-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.auction-col-head h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.auction-col-head h3 i {
    color: var(--secondary);
}

.auction-col-head a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--secondary);
}

.auction-items-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auction-item-row {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    transition: var(--transition);
    align-items: center;
}

.auction-item-row:hover {
    background: #fff;
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.auction-thumb-wrap {
    position: relative;
    width: 86px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.auction-thumb {
    width: 86px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
    object-fit: cover;
    display: block;
}

.auction-thumb-wrap .auction-thumb {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.auction-thumb-wrap.is-closed .auction-thumb {
    filter: grayscale(70%) brightness(0.72);
}

.auction-closed-stamp {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: linear-gradient(142deg, transparent 46%, rgba(220, 38, 38, 0.85) 47%, rgba(220, 38, 38, 0.85) 53%, transparent 54%);
}

.auction-closed-stamp span {
    background: rgba(185, 28, 28, 0.94);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    transform: rotate(-16deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    line-height: 1.2;
}

.auction-item-row.is-closed {
    background: #f8fafc;
    border-color: #e2e8f0;
    opacity: 0.88;
}

.auction-item-row.is-closed h4 {
    color: #475569;
    text-decoration: line-through;
    text-decoration-color: rgba(185, 28, 28, 0.55);
}

.auction-status-tag.closed {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca;
}

.auction-deadline-closed {
    color: #b91c1c;
    font-weight: 600;
}

.auction-item-body {
    flex: 1;
    min-width: 0;
}

.auction-status-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(156, 130, 74, 0.14);
    color: #7c6230;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 3px;
}

.auction-status-tag.car {
    background: rgba(2, 132, 199, 0.12);
    color: #0369a1;
}

.auction-item-body h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 3px;
}

.auction-meta-line {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.auction-price {
    font-size: 12.5px;
    font-weight: 800;
    color: #059669;
    margin-top: 3px;
}

/* ============================================================================
   CLASSIFIEDS WITH THUMBNAIL (SIDEBAR)
   ============================================================================ */
.classified-with-thumb {
    display: flex !important;
    align-items: center;
    gap: 12px;
}

.classified-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
}

/* ============================================================================
   SLIDE PUZZLE CAPTCHA (.mm-slide-captcha)
   ============================================================================ */
.mm-slide-captcha {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px;
    max-width: 350px;
    user-select: none;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.mm-captcha-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mm-captcha-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mm-captcha-title i {
    color: var(--secondary);
    font-size: 16px;
}

.mm-captcha-refresh {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: var(--transition);
}

.mm-captcha-refresh:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(45deg);
}

.mm-captcha-stage {
    position: relative;
    width: 100%;
    height: 155px;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid #cbd5e1;
    margin-bottom: 10px;
}

.mm-captcha-bg {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    pointer-events: none;
}

.mm-captcha-piece {
    position: absolute;
    left: 0;
    top: 20px;
    width: 58px;
    height: 58px;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
    z-index: 2;
}

.mm-captcha-status-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 95, 70, 0.86);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    z-index: 3;
    backdrop-filter: blur(2px);
}

.mm-captcha-status-overlay.error {
    background: rgba(153, 27, 27, 0.86);
}

.mm-captcha-track {
    position: relative;
    height: 40px;
    background: #e2e8f0;
    border-radius: 20px;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mm-captcha-track-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 40, 85, 0.18), rgba(156, 130, 74, 0.32));
    pointer-events: none;
}

.mm-captcha-track-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    pointer-events: none;
    z-index: 1;
}

.mm-captcha-handle {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 42px;
    height: 34px;
    border-radius: 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 17px;
    touch-action: none;
}

.mm-captcha-handle:active {
    cursor: grabbing;
    background: var(--secondary);
}

.mm-slide-captcha.verified {
    border-color: #10b981;
    background: #ecfdf5;
}

.mm-slide-captcha.verified .mm-captcha-handle {
    background: #059669;
    cursor: default;
}

/* ============================================================================
   GDPR & COOKIES CONSENT BANNER + FORM CHECKBOX (.mm-cookie-banner)
   ============================================================================ */
.mm-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9800;
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.97);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 3px solid var(--secondary);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    display: none;
}

.mm-cookie-banner.open {
    display: block;
    animation: mmCookieSlideUp 0.28s ease-out;
}

@keyframes mmCookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mm-cookie-inner {
    padding: 18px 22px;
}

.mm-cookie-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.mm-cookie-text {
    flex: 1 1 540px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #cbd5e1;
}

.mm-cookie-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.mm-cookie-title i {
    color: var(--secondary-light);
    font-size: 20px;
}

.mm-cookie-text p {
    margin: 0 0 8px 0;
}

.mm-cookie-text a {
    color: var(--secondary-light);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mm-cookie-read-confirm {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #e2e8f0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mm-cookie-read-confirm input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--secondary);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.mm-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mm-cookie-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}

.mm-cookie-btn-primary {
    background: var(--secondary);
    color: #fff;
}

.mm-cookie-btn-primary:hover {
    background: var(--secondary-light);
    color: #0f172a;
}

.mm-cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.2);
}

.mm-cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mm-cookie-btn-outline {
    background: transparent;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.22);
}

.mm-cookie-btn-outline:hover {
    color: #fff;
    border-color: #fff;
}

.mm-cookie-prefs {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mm-cookie-prefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.mm-cookie-pref-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mm-cookie-pref-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #fff;
}

.mm-cookie-pref-head input[type="checkbox"] {
    accent-color: var(--secondary);
    width: 16px;
    height: 16px;
}

.mm-cookie-tag {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.mm-cookie-pref-card small {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

.mm-cookie-prefs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.mm-cookie-policy-link {
    font-size: 13px;
    color: var(--secondary-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mm-gdpr-form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-main);
    cursor: pointer;
}

.mm-gdpr-form-check input[type="checkbox"] {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.mm-gdpr-form-check a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================================================
   NATIVE GOOGLE ADS & PARTNER CARDS (.mm-native-ad-card, .mm-inline-ad-card)
   ============================================================================ */
.mm-native-ad-card {
    position: relative;
    border: 1px solid rgba(156, 130, 74, 0.28);
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.mm-native-ad-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(156, 130, 74, 0.1);
    border-bottom: 1px solid rgba(156, 130, 74, 0.18);
    font-size: 11px;
}

.mm-native-ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #856830;
}

.mm-native-ad-label {
    font-weight: 600;
    color: #94a3b8;
    font-size: 10.5px;
}

.mm-adsense-slot-wrap {
    width: 100%;
    display: block;
    overflow: hidden;
}

.mm-adsense-slot-wrap ins.adsbygoogle {
    display: block;
    width: 100%;
}

/* Ak Google AdSense vráti unfilled (žiadna reklama pre daný slot), skryjeme prázdny kontajner a ponecháme čistý natívny dizajn s obrázkom */
.mm-adsense-slot-wrap ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
}

/* Ak Google AdSense vyplní slot (data-ad-status="filled"), skryjeme natívny fallback */
.mm-native-ad-card:has(ins.adsbygoogle[data-ad-status="filled"]) .mm-native-ad-fallback,
.mm-inline-ad-card:has(ins.adsbygoogle[data-ad-status="filled"]) .mm-inline-ad-fallback,
.mm-sidebar-ad-widget:has(ins.adsbygoogle[data-ad-status="filled"]) .mm-sidebar-ad-fallback {
    display: none;
}

.mm-native-ad-fallback {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mm-inline-ad-card {
    margin: 0 0 24px 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #fffdf8 0%, #f8fafc 100%);
    border: 1px solid rgba(156, 130, 74, 0.28);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: auto;
}

/* Nízky horizontálny 90px pás pre Google AdSense (728×90) */
.mm-adsense-slim-90 {
    text-align: center;
    max-height: 94px !important;
    overflow: hidden !important;
    padding: 2px 0;
    line-height: 0;
}

.mm-adsense-slim-90 ins.adsbygoogle,
.mm-adsense-slim-90 iframe {
    display: inline-block !important;
    width: 100% !important;
    max-width: 728px !important;
    height: 90px !important;
    max-height: 90px !important;
    margin: 0 auto !important;
}

/* Úzky horizontálny pás na celú šírku mriežky (.news-grid), ktorý oddeľuje riadky aktualít */
.mm-grid-ad-strip {
    grid-column: 1 / -1;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 118px;
    align-self: start;
}

.mm-grid-ad-strip .mm-native-ad-top,
.mm-inline-ad-slim .mm-native-ad-top {
    padding: 3px 12px;
    font-size: 9.5px;
}

.mm-grid-ad-strip .mm-inline-ad-fallback,
.mm-inline-ad-slim .mm-inline-ad-fallback {
    padding: 8px 14px;
    gap: 14px;
}

.mm-grid-ad-strip .mm-inline-ad-thumb,
.mm-inline-ad-slim .mm-inline-ad-thumb {
    width: 84px;
    height: 54px;
}

.mm-inline-ad-fallback {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.mm-inline-ad-thumb {
    width: 112px;
    height: 78px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
    border: 1px solid rgba(156, 130, 74, 0.25);
    display: block;
}

.mm-inline-ad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mm-inline-ad-thumb:hover img {
    transform: scale(1.06);
}

.mm-inline-ad-kicker {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--secondary);
}

.mm-inline-ad-body {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mm-inline-ad-body strong {
    font-size: 15.5px;
    color: var(--primary);
}

.mm-inline-ad-body span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.mm-sidebar-ad-widget {
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(156, 130, 74, 0.28) !important;
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%) !important;
}

.mm-sidebar-ad-fallback {
    display: flex;
    flex-direction: column;
}

.mm-sidebar-ad-img-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 155px;
    overflow: hidden;
    background: #0f172a;
}

.mm-sidebar-ad-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mm-sidebar-ad-img-wrap:hover img {
    transform: scale(1.05);
}

.mm-sidebar-ad-img-tag {
    position: absolute;
    left: 12px;
    bottom: 10px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.mm-ad-logo-badge {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 68px;
    height: 44px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(156, 130, 74, 0.35);
    z-index: 2;
}

.mm-ad-logo-badge img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
}

.mm-sidebar-ad-content {
    padding: 14px 16px 16px;
}

.mm-sidebar-ad-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
    line-height: 1.3;
}

.mm-sidebar-ad-sub {
    display: block;
    font-size: 11.5px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
}

.mm-sidebar-ad-fallback p {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 12px 0;
}

/* ============================================================================
   ADMIN BANNER SLOT (NAD KATALÓGOM FIRIEM) & FAREBNE TÓNOVANÉ SEGMENTY PORTÁLU
   ============================================================================ */
.mm-admin-banner-slot {
    margin: 0 0 24px 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid #f3e3b8;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mm-admin-banner-slot:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.1);
}

.mm-admin-banner-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.mm-admin-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Quick Access Cards Color Tones */
.quick-card.quick-tone-blue { border-bottom: 3px solid #2563eb; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.quick-card.quick-tone-red { border-bottom: 3px solid #dc2626; background: linear-gradient(180deg, #ffffff 0%, #fffafb 100%); }
.quick-card.quick-tone-amber { border-bottom: 3px solid #d97706; background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%); }
.quick-card.quick-tone-purple { border-bottom: 3px solid #7c3aed; background: linear-gradient(180deg, #ffffff 0%, #fcfaff 100%); }
.quick-card.quick-tone-indigo { border-bottom: 3px solid #4f46e5; background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%); }
.quick-card.quick-tone-emerald { border-bottom: 3px solid #059669; background: linear-gradient(180deg, #ffffff 0%, #f7fefb 100%); }

/* 1. Tinted Segment: Katalóg firiem a služieb v Martine */
.mm-catalog-segment {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(155deg, #f3f7ff 0%, #fffdf5 55%, #f8fafc 100%);
    border: 1px solid #dbeafe;
    border-top: 4px solid #2257a4;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.mm-catalog-segment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #fef9ec 100%);
    border-bottom: 1px solid #dbeafe;
    color: var(--primary);
}

.mm-segment-kicker {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #d97706;
    margin-bottom: 2px;
}

.mm-segment-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.mm-segment-title i {
    color: #2257a4;
}

.mm-segment-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mm-segment-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

.mm-catalog-segment-body {
    padding: 22px 24px 24px;
}

.mm-cat-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mm-cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.mm-company-card-tinted {
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border: 1px solid #cbd5e1;
    border-top: 3px solid #2257a4;
}

/* 2. Tinted Segment: Dražby a aukcie */
.mm-auctions-segment {
    padding: 22px 24px 24px;
    border-radius: 18px;
    background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 38%, #fffdf9 100%);
    border: 1px solid #fde68a;
    border-top: 4px solid #d97706;
    box-shadow: 0 8px 24px rgba(180, 83, 9, 0.06);
}

/* 3. Tinted Segment: Občianska a firemná inzercia */
.mm-classifieds-segment {
    padding: 22px 24px 24px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ecfdf5 0%, #f0fdf4 45%, #ffffff 100%);
    border: 1px solid #a7f3d0;
    border-top: 4px solid #059669;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.06);
}

/* 4. Sidebar Tinted Widgets */
.mm-widget-events {
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%) !important;
    border: 1px solid #fde68a !important;
    border-top: 4px solid #d97706 !important;
}

.mm-widget-events .event-date {
    background: linear-gradient(135deg, #0a2246 0%, #1e3a8a 100%);
    color: #ffffff;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.mm-widget-events .event-day {
    color: #fbbf24;
}

.mm-widget-events .event-month {
    color: #e2e8f0;
}

.mm-widget-classifieds {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
    border: 1px solid #bbf7d0 !important;
    border-top: 4px solid #059669 !important;
}

/* Munipolis Widget – Tinted Royal Blue Container */
.mm-munipolis-widget {
    padding: 0 !important;
    overflow: hidden;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%) !important;
    border: 1px solid #93c5fd !important;
    box-shadow: 0 10px 26px rgba(30, 58, 138, 0.1) !important;
}

.mm-muni-header-band {
    padding: 15px 18px 13px;
    background: linear-gradient(135deg, #0f2557 0%, #1e3a8a 55%, #2257a4 100%);
    border-bottom: 3px solid #fbbf24;
    color: #ffffff;
}

.mm-muni-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.28);
    display: inline-block;
}

.mm-muni-body {
    padding: 14px 16px 16px;
}

.mm-muni-item-card {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-left: 3px solid #2257a4;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.mm-muni-item-card:hover {
    border-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.08);
}

/* Odporúčame v Martine – Warm Gold Tinted Widget */
.mm-widget-promos {
    background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%) !important;
    border: 1px solid #fde68a !important;
    border-top: 4px solid #b45309 !important;
}

.mm-promo-sidebar-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #fef3c7;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.mm-promo-sidebar-item:hover {
    border-color: #f59e0b;
    transform: translateY(-1px);
}




