@charset "UTF-8";
/* ==========================================================================
   MM Graphics - design system
   Tmavomodrá + oranžová (~10% akcent) + čierna/biela/sivá. Minimalistický,
   moderný layout postavený na Bootstrape 5 (grid/utility triedy priamo
   v šablónach), tento súbor dopĺňa len vizuálnu vrstvu a komponenty.
   ========================================================================== */

:root {
    --mm-navy: #0b1524;
    --mm-navy-2: #101d33;
    --mm-navy-soft: #17233b;
    --mm-navy-line: rgba(255, 255, 255, 0.10);
    --mm-orange: #d65a24;
    --mm-orange-dark: #b7491b;
    --mm-orange-soft: rgba(214, 90, 36, 0.10);
    --mm-black: #0a0a0a;
    --mm-white: #ffffff;
    --mm-gray-50: #f7f8fa;
    --mm-gray-100: #eef1f5;
    --mm-gray-200: #e3e7ee;
    --mm-gray-300: #d3d9e1;
    --mm-gray-400: #b1bac6;
    --mm-gray-500: #8891a0;
    --mm-gray-600: #626d7d;
    --mm-gray-700: #454e5c;
    --mm-gray-800: #262f3b;
    --mm-gray-900: #14181f;
    --mm-text: #14181f;
    --mm-text-muted: #5c6675;
    --mm-radius-sm: 0.5rem;
    --mm-radius: 0.9rem;
    --mm-radius-lg: 1.4rem;
    --mm-shadow-sm: 0 6px 18px rgba(11, 21, 36, 0.06);
    --mm-shadow-md: 0 16px 38px rgba(11, 21, 36, 0.10);
    --mm-shadow-lg: 0 30px 70px rgba(11, 21, 36, 0.18);
    --mm-ease: 0.28s cubic-bezier(.4,0,.2,1);
    --mm-font: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--mm-font);
    color: var(--mm-text);
    background: var(--mm-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

::selection { background: rgba(214, 90, 36, 0.22); color: var(--mm-navy); }

img, picture, video, canvas, svg { max-width: 100%; }
img, picture { display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--mm-font);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--mm-navy);
    margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }

p { color: var(--mm-text); }
.text-muted-mm { color: var(--mm-text-muted) !important; }

a { color: var(--mm-orange); text-decoration-color: rgba(214, 90, 36, 0.4); }
a:hover, a:focus { color: var(--mm-orange-dark); }

.lead-mm { color: var(--mm-text-muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }

section { position: relative; }
.section-py { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-py-sm { padding-block: clamp(2rem, 4vw, 3rem); }

.bg-mm-navy { background: var(--mm-navy) !important; color: #fff; }
.bg-mm-navy-2 { background: linear-gradient(180deg, var(--mm-navy) 0%, var(--mm-navy-2) 100%) !important; color: #fff; }
.bg-mm-gray { background: var(--mm-gray-50) !important; }
.text-mm-orange { color: var(--mm-orange) !important; }
.text-mm-navy { color: var(--mm-navy) !important; }

.eyebrow-mm {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mm-orange);
    margin-bottom: 0.75rem;
}

.eyebrow-mm::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--mm-orange);
    display: inline-block;
}

.section-head-mm { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- buttons ---------- */
.btn-mm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    background: var(--mm-orange);
    border: 1px solid var(--mm-orange);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(214, 90, 36, 0.28);
    transition: background var(--mm-ease), border-color var(--mm-ease), transform var(--mm-ease), box-shadow var(--mm-ease);
}

.btn-mm:hover, .btn-mm:focus {
    background: var(--mm-orange-dark);
    border-color: var(--mm-orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(183, 73, 27, 0.34);
}

.btn-mm-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.85rem;
    border-radius: 999px;
    background: transparent;
    border: 1.5px solid var(--mm-navy);
    color: var(--mm-navy);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--mm-ease), color var(--mm-ease), transform var(--mm-ease);
}

.btn-mm-outline:hover { background: var(--mm-navy); color: #fff; transform: translateY(-2px); }

.btn-mm-light {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.btn-mm-light:hover { background: #fff; color: var(--mm-navy); }

button, input, select, textarea { font-family: inherit; }

.form-control-mm, textarea.form-control-mm, select.form-control-mm {
    width: 100%;
    border: 1px solid var(--mm-gray-300);
    border-radius: var(--mm-radius-sm);
    background: #fff;
    color: var(--mm-text);
    padding: 0.7rem 0.9rem;
}

.form-control-mm:focus {
    outline: none;
    border-color: var(--mm-orange);
    box-shadow: 0 0 0 4px var(--mm-orange-soft);
}

.form-label-mm { font-weight: 600; color: var(--mm-navy); margin-bottom: 0.35rem; display: block; font-size: 0.94rem; }

.alert-inline { padding: 0.9rem 1.1rem; border-radius: var(--mm-radius-sm); margin-bottom: 1.1rem; font-size: 0.95rem; }
.alert-ok { background: rgba(22, 163, 74, 0.10); color: #166534; border: 1px solid rgba(22, 163, 74, 0.2); }
.alert-err { background: rgba(220, 38, 38, 0.08); color: #991b1b; border: 1px solid rgba(220, 38, 38, 0.2); }

/* ---------- navbar ---------- */
.navbar-mm {
    background: rgba(11, 21, 36, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mm-navy-line);
    padding-block: 0.7rem;
    transition: background var(--mm-ease), box-shadow var(--mm-ease);
}

.navbar-mm.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

.navbar-mm .navbar-brand { display: flex; align-items: center; gap: 0.6rem; }
.navbar-mm .navbar-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.navbar-mm .navbar-brand span {
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.navbar-mm .nav-link {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.55rem 0.9rem !important;
    position: relative;
}

.navbar-mm .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--mm-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--mm-ease);
}

.navbar-mm .nav-link:hover, .navbar-mm .nav-link.active { color: #fff !important; }
.navbar-mm .nav-link:hover::after, .navbar-mm .nav-link.active::after { transform: scaleX(1); }

/* Bootstrap dropdown-toggle má vlastný ::after pre šípku,
   preto pre dropdown-toggle používame ::before pre oranžovú čiaru */
.navbar-mm .nav-link.dropdown-toggle::after {
    /* skryj Bootstrap šípku – máme vlastnú v texte cez Bootstrap Icons */
    display: none;
}
.navbar-mm .nav-link.dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--mm-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--mm-ease);
}
.navbar-mm .nav-link.dropdown-toggle:hover::before,
.navbar-mm .nav-link.dropdown-toggle.active::before {
    transform: scaleX(1);
}
/* pri otvorenom dropdown bez active → čiara zmizne */
.navbar-mm .nav-link.dropdown-toggle[aria-expanded="true"]:not(.active)::before {
    transform: scaleX(0);
}

.navbar-mm .navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.4rem 0.55rem;
}
.navbar-mm .navbar-toggler:focus { box-shadow: 0 0 0 3px var(--mm-orange-soft); }
.navbar-mm .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- navbar dropdown ---------- */
@keyframes mm-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.navbar-mm .dropdown-menu-mm {
    background: rgba(11, 21, 36, 0.97);
    border: 1px solid var(--mm-navy-line);
    border-radius: 0.6rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    min-width: 230px;
    padding: 0.5rem 0;
    margin-top: 0.35rem !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* animácia keď Bootstrap pridá .show */
.navbar-mm .dropdown-menu-mm.show {
    animation: mm-dropdown-in 0.18s ease forwards;
}

.navbar-mm .dropdown-menu-mm .dropdown-item {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
    border-radius: 0;
    white-space: nowrap;
}

.navbar-mm .dropdown-menu-mm .dropdown-item i {
    color: var(--mm-orange);
    font-size: 0.85rem;
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.navbar-mm .dropdown-menu-mm .dropdown-item:hover,
.navbar-mm .dropdown-menu-mm .dropdown-item:focus {
    background: rgba(255,255,255,0.07);
    color: #fff;
    padding-left: 1.45rem;
}

.navbar-mm .dropdown-menu-mm .dropdown-item:hover i,
.navbar-mm .dropdown-menu-mm .dropdown-item:focus i {
    transform: scale(1.2);
}

.navbar-mm .dropdown-menu-mm .dropdown-item.active {
    background: rgba(232, 107, 37, 0.15);
    color: var(--mm-orange);
}

/* mobile: dropdown inline */
@media (max-width: 991.98px) {
    .navbar-mm .dropdown-menu-mm {
        background: rgba(255,255,255,0.05);
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0.4rem;
        margin-top: 0.15rem !important;
        min-width: 100%;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        animation: none !important;
    }
    .navbar-mm .dropdown-menu-mm .dropdown-item {
        justify-content: center;
        padding: 0.5rem 1rem;
    }
    .navbar-mm .dropdown-menu-mm .dropdown-item:hover {
        padding-left: 1rem;
    }
}

/* ---------- hero (homepage) ---------- */
.hero-mm {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-mm-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-mm-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9,15,26,0.7) 0%, rgba(9,15,26,0.5) 45%, rgba(9,15,26,0.85) 100%);
    z-index: 1;
}

.hero-mm-content { position: relative; z-index: 2; width: 100%; text-align: center; color: #fff; padding: 7rem 1rem 5rem; }

.hero-mm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--mm-orange);
    margin-bottom: 1.25rem;
}
.hero-mm-kicker::before, .hero-mm-kicker::after { content: ""; width: 30px; height: 2px; background: var(--mm-orange); }

.hero-mm h1 {
    color: #fff;
    font-size: clamp(2.3rem, 6.4vw, 5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.hero-mm h1 .accent { color: var(--mm-orange); }

.hero-mm p.hero-sub {
    color: rgba(255,255,255,0.82);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    max-width: 620px;
    margin: 0 auto 2.2rem;
}

.hero-mm-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.72);
    font-size: 1.4rem;
    animation: mm-bounce 2.2s infinite;
}

@keyframes mm-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ---------- subpage compact hero ---------- */
.page-hero-mm {
    position: relative;
    background: radial-gradient(120% 160% at 15% 0%, var(--mm-navy-2) 0%, var(--mm-navy) 62%);
    color: #fff;
    padding: clamp(5.5rem, 12vw, 7.5rem) 1rem clamp(3rem, 6vw, 4rem);
    overflow: hidden;
}

.page-hero-mm::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -30%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,90,36,0.22), transparent 70%);
}

.page-hero-mm .container { position: relative; z-index: 1; }
.page-hero-mm h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero-mm p { color: rgba(255,255,255,0.75); max-width: 640px; margin: 0; }
.page-hero-mm .breadcrumb-mm { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem; }
.page-hero-mm .breadcrumb-mm a { color: rgba(255,255,255,0.75); text-decoration: none; }
.page-hero-mm .breadcrumb-mm a:hover { color: #fff; }

/* ---------- service cards (homepage) ---------- */
.service-card-mm {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.6rem;
    border-radius: var(--mm-radius-lg);
    background: #fff;
    border: 1px solid var(--mm-gray-200);
    box-shadow: var(--mm-shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform var(--mm-ease), box-shadow var(--mm-ease), border-color var(--mm-ease);
}

.service-card-mm:hover {
    transform: translateY(-6px);
    box-shadow: var(--mm-shadow-md);
    border-color: rgba(214, 90, 36, 0.3);
    color: inherit;
}

.service-card-mm .icon-wrap-mm {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mm-navy);
    color: var(--mm-orange);
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    transition: background var(--mm-ease), color var(--mm-ease);
}

.service-card-mm:hover .icon-wrap-mm { background: var(--mm-orange); color: #fff; }
.service-card-mm .icon-wrap-mm img { filter: brightness(0) saturate(100%) invert(42%) sepia(60%) saturate(600%) hue-rotate(348deg) brightness(90%); transition: filter var(--mm-ease); }
.service-card-mm:hover .icon-wrap-mm img { filter: brightness(0) invert(1); }

.service-card-mm h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-card-mm p { color: var(--mm-text-muted); font-size: 0.94rem; margin-bottom: 0; flex: 1; }
.service-card-mm .card-arrow { margin-top: auto; padding-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--mm-orange); text-decoration: none; }

/* ---------- generic content cards / photo grid ---------- */
.photo-mm {
    border-radius: var(--mm-radius);
    overflow: hidden;
    box-shadow: var(--mm-shadow-sm);
    aspect-ratio: 4 / 3;
    background: var(--mm-gray-100);
}
.photo-mm img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--mm-ease); }
.photo-mm:hover img { transform: scale(1.05); }

.photo-mm.is-square { aspect-ratio: 1 / 1; }

.card-mm {
    background: #fff;
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-sm);
    padding: clamp(1.4rem, 3vw, 2rem);
}

.content-prose-mm h2 { margin-top: 2.2rem; }
.content-prose-mm h2:first-child { margin-top: 0; }
.content-prose-mm h3 { margin-top: 1.6rem; color: var(--mm-navy); }
.content-prose-mm p, .content-prose-mm li { color: var(--mm-text); }
.content-prose-mm ul, .content-prose-mm ol { padding-left: 1.2rem; }
.content-prose-mm li { margin-bottom: 0.35rem; }
.content-prose-mm strong { color: var(--mm-navy); }

/* ---------- pricing table ---------- */
.pricing-mm { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--mm-radius); overflow: hidden; box-shadow: var(--mm-shadow-sm); }
.pricing-mm caption { caption-side: top; }
.pricing-mm th { background: var(--mm-navy); color: #fff; text-align: left; padding: 0.85rem 1.1rem; font-weight: 600; font-size: 0.92rem; }
.pricing-mm td { padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--mm-gray-200); font-size: 0.95rem; }
.pricing-mm tr:last-child td { border-bottom: none; }
.pricing-mm tr:nth-child(even) td { background: var(--mm-gray-50); }
.pricing-mm td.price-col { text-align: right; font-weight: 700; color: var(--mm-orange); white-space: nowrap; }

/* ---------- FAQ accordion ---------- */
.faq-mm { max-width: 880px; margin: 0 auto; }
.faq-item-mm { border-bottom: 1px solid var(--mm-gray-200); }
.faq-item-mm:first-child { border-top: 1px solid var(--mm-gray-200); }
.faq-q-mm {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 1.15rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 650;
    color: var(--mm-navy);
    cursor: pointer;
}
.faq-q-mm:hover { background: none; color: var(--mm-orange); }
.faq-q-mm .faq-icon-mm {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--mm-gray-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--mm-ease), background var(--mm-ease), border-color var(--mm-ease);
    font-size: 0.85rem;
    color: var(--mm-navy);
}
.faq-item-mm.is-open .faq-icon-mm { transform: rotate(45deg); background: var(--mm-orange); border-color: var(--mm-orange); color: #fff; }
.faq-a-mm { max-height: 0; overflow: hidden; opacity: 0; transition: max-height var(--mm-ease), opacity var(--mm-ease); }
.faq-item-mm.is-open .faq-a-mm { opacity: 1; }
.faq-a-mm-inner { padding: 0 0.25rem 1.15rem; color: var(--mm-text-muted); }

/* ---------- footer ---------- */
.footer-mm { background: var(--mm-navy); color: rgba(255,255,255,0.8); padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; }
.footer-mm a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer-mm a:hover { color: var(--mm-orange); }
.footer-mm p,
.footer-mm li,
.footer-mm span { color: rgba(255,255,255,0.82); }
.footer-mm h6 { color: #fff; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-mm .footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.footer-mm .footer-brand img { width: 38px; height: 38px; border-radius: 8px; }
.footer-mm .footer-brand span { color: #fff; font-weight: 800; letter-spacing: 0.03em; }
.footer-mm .social-mm { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-mm .social-mm a {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); border: 1px solid var(--mm-navy-line);
    color: #fff;
    transition: background var(--mm-ease), color var(--mm-ease), transform var(--mm-ease);
}
.footer-mm .social-mm a:hover,
.footer-mm .social-mm a:focus { background: var(--mm-orange); color: #fff; transform: translateY(-2px); }
.footer-mm .social-mm img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.footer-mm ul { list-style: none; padding: 0; margin: 0; }
.footer-mm li { margin-bottom: 0.55rem; font-size: 0.94rem; }
.footer-bottom-mm { border-top: 1px solid var(--mm-navy-line); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }
.footer-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.footer-logo-svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: none;
}
.footer-baserock-link {
    display: inline-block;
    line-height: 0;
}
.footer-baserock-img {
    height: 28px;
    width: auto;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    filter: brightness(0) invert(1);
}
.footer-baserock-link:hover .footer-baserock-img {
    opacity: 1;
}

/* ---------- cookie bar ---------- */
.cb-mm { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20000; }
.cb-mm-bar {
    background: var(--mm-navy);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
}
.cb-mm-bar p { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.92rem; max-width: 640px; }
.cb-mm-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cb-mm-btn { border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff; border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.88rem; font-weight: 600; cursor: pointer; }
.cb-mm-btn:hover { background: rgba(255,255,255,0.12); }
.cb-mm-btn.primary { background: var(--mm-orange); border-color: var(--mm-orange); }
.cb-mm-btn.primary:hover { background: var(--mm-orange-dark); border-color: var(--mm-orange-dark); }
.cb-mm-popup {
    position: fixed; inset: 0; background: rgba(9,15,26,0.55); z-index: 20001;
    display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.cb-mm-popup.close { display: none; }
.cb-mm-popup-card { background: #fff; border-radius: var(--mm-radius-lg); max-width: 480px; width: 100%; padding: 1.75rem; box-shadow: var(--mm-shadow-lg); }
.cb-mm-popup-card h3 { margin-bottom: 0.6rem; }
.cb-mm-popup-card p { color: var(--mm-text-muted); font-size: 0.92rem; }
.cb-mm-option { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0; border-top: 1px solid var(--mm-gray-200); }
.cb-mm-option label { font-weight: 600; color: var(--mm-navy); }

/* ---------- reveal-on-scroll ---------- */
.reveal-mm { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--mm-ease), transform 0.7s var(--mm-ease); }
.reveal-mm.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal-mm { opacity: 1; transform: none; transition: none; }
    .hero-scroll-cue { animation: none; }
}

/* ---------- t-shirt studio (textil.php) - kept functionally identical,
   only the visual container is themed here ---------- */
.mm-studio-grid { display: grid; grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr); gap: 1.75rem; align-items: start; }
@media (max-width: 900px) { .mm-studio-grid { grid-template-columns: 1fr; } }

.mm-studio-form, .mm-studio-result {
    background: #fff;
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-lg);
    padding: clamp(1.25rem, 2.6vw, 1.75rem);
    box-shadow: var(--mm-shadow-sm);
}

.mm-studio-result { position: sticky; top: 96px; background: linear-gradient(180deg, var(--mm-orange-soft), #fff 40%); }

.mm-row { margin-bottom: 0.9rem; }
.mm-row label { font-weight: 600; color: var(--mm-navy); display: block; margin-bottom: 0.35rem; font-size: 0.93rem; }
.mm-row input[type="text"], .mm-row input[type="email"], .mm-row input[type="file"], .mm-row select, .mm-row textarea {
    width: 100%; border: 1px solid var(--mm-gray-300); border-radius: var(--mm-radius-sm); padding: 0.6rem 0.8rem; background: #fff;
}
.mm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.mm-side { border: 1px solid var(--mm-gray-200); border-radius: var(--mm-radius); padding: 1rem; margin-bottom: 1rem; background: var(--mm-gray-50); }
.mm-side h3 { font-size: 1.05rem; margin-bottom: 0.75rem; }
.mm-slider-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mm-slider-grid label { display: flex; flex-direction: column; gap: 0.25rem; font-weight: 500; font-size: 0.85rem; color: var(--mm-text-muted); }
.mm-check { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; font-weight: 500; }
.mm-check input { width: auto; }
.mm-canvas-block { text-align: center; margin-bottom: 1.5rem; }
.mm-canvas-block:last-child { margin-bottom: 0; }
.mm-canvas-block h4 { font-size: 0.95rem; color: var(--mm-text-muted); font-weight: 600; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em; }
#designCanvasFront, #designCanvasBack {
    width: 100%; max-width: 380px; height: auto;
    background: #f4f5fb; border: 1px solid var(--mm-gray-200); border-radius: var(--mm-radius);
    display: block; margin: 0 auto; box-shadow: var(--mm-shadow-sm);
}
@media (max-width: 700px) { .mm-grid-2, .mm-slider-grid { grid-template-columns: 1fr; } }

/* ---------- map / contact ---------- */
.map-mm { width: 100%; aspect-ratio: 21 / 9; border-radius: 0; overflow: hidden; position: relative; }
.map-mm iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) { .map-mm { aspect-ratio: 4 / 5; } }

.contact-tile-mm { padding: 1.5rem; border-radius: var(--mm-radius-lg); background: #fff; border: 1px solid var(--mm-gray-200); box-shadow: var(--mm-shadow-sm); height: 100%; }
.contact-tile-mm .icon-wrap-mm { width: 46px; height: 46px; border-radius: 12px; background: var(--mm-navy); color: var(--mm-orange); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; font-size: 1.2rem; }

/* ---------- gallery / partners grid ---------- */
.gallery-grid-mm { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

.partners-grid-mm {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.partners-grid-mm__item {
    width: calc(25% - 0.75rem); /* 4 stĺpce */
    min-width: 160px;
}
.partner-card-mm {
    display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
    padding: 1.5rem 1rem; border-radius: var(--mm-radius-lg); background: #fff;
    border: 1px solid var(--mm-gray-200); box-shadow: var(--mm-shadow-sm); text-align: center;
    text-decoration: none; color: inherit; height: 100%; transition: transform var(--mm-ease), box-shadow var(--mm-ease);
}
.partner-card-mm--centered { justify-content: center; }
.partner-card-mm img { width: 100%; height: 120px; object-fit: contain; }
.partner-card-mm span { font-weight: 600; font-size: 0.92rem; color: var(--mm-navy); text-align: center; }

/* ---------- Hotline – skryť počas intra ----------------------------- */
body.rl-intro-active .mm-hotline-toggle,
body.rl-intro-active .mm-hotline-panel {
    display: none !important;
}

/* ---------- hotline widget theme override ---------- */
.mm-hotline-toggle { background: var(--mm-orange) !important; }
.mm-hotline-header { background: var(--mm-navy) !important; }

/* ---------- legal text helper (obchodné podmienky) ---------- */
.content-prose-mm .wnd-offset-1 { margin-left: 1.5rem; }

/* ---------- misc utilities ---------- */
.divider-mm { height: 1px; background: var(--mm-gray-200); border: 0; margin: 2.5rem 0; }
.pill-mm { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--mm-orange-soft); color: var(--mm-orange-dark); font-size: 0.82rem; font-weight: 700; }


/* ==========================================================================
   LANGUAGE SWITCHER
   ========================================================================== */

/* SK viditeľný ako default. EN a PL skryté — JS ich zobrazí.
   :not(html) zabráni skrytiu <html> elementu ktorý tiež nesie lang-* triedu. */
:not(html).lang-en, :not(html).lang-pl { display: none; }

/* 3 tlačidlá vedľa seba */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 0.75rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.55rem;
    cursor: pointer;
    transition: background var(--mm-ease), border-color var(--mm-ease), color var(--mm-ease);
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.lang-btn.is-active {
    background: var(--mm-orange);
    border-color: var(--mm-orange);
    color: #fff;
}

/* Mobile */
@media (max-width: 991.98px) {
    .lang-switcher {
        margin: 0.6rem auto 0.2rem;
        justify-content: center;
    }
}


/* ==========================================================================
   MOBILE OPTIMALIZÁCIA – kompletná grafická vrstva
   Breakpointy: 575px (xs), 767px (sm), 991px (md/lg)
   ========================================================================== */

/* ---------- Safe area insets (iPhone notch / Dynamic Island / home bar) --- */
:root {
    --safe-top:    env(safe-area-inset-top,    0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left:   env(safe-area-inset-left,   0px);
    --safe-right:  env(safe-area-inset-right,  0px);
}

/* Navbar respektuje Dynamic Island */
.navbar-mm {
    padding-left:  max(1rem, var(--safe-left));
    padding-right: max(1rem, var(--safe-right));
}

/* Floating prvky nad home barom */
.mm-hotline-toggle {
    bottom: max(34px, calc(20px + var(--safe-bottom)));
    right:  max(18px, calc(10px + var(--safe-right)));
}

.cb-mm { padding-bottom: var(--safe-bottom); }

/* ---------- Navbar / mobilné menu ------------------------------------- */
@media (max-width: 991.98px) {
    /* Otvorené menu – zachovaj čiernu farbu pozadia */
    .navbar-mm .navbar-collapse {
        background: rgba(11, 21, 36, 0.97);
        border-top: 1px solid var(--mm-navy-line);
        margin-top: 0.4rem;
        border-radius: 0 0 var(--mm-radius) var(--mm-radius);
        padding: 0.5rem 0 0.75rem;
    }

    /* Väčšie touch targety pre nav-link */
    .navbar-mm .nav-link {
        font-size: 1rem !important;
        padding: 0.75rem 1.25rem !important;
        text-align: center;
    }

    /* Skryj podčiarknutie na mobile – nefunguje dobre pri centrovanom texte */
    .navbar-mm .nav-link::after,
    .navbar-mm .nav-link::before { display: none !important; }

    /* Toggler – väčší hit area */
    .navbar-mm .navbar-toggler {
        padding: 0.55rem 0.7rem;
        min-width: 44px;
        min-height: 44px;
    }

    /* Language switcher – viac miesta */
    .lang-switcher {
        margin: 0.75rem auto 0.5rem;
        gap: 0.4rem;
    }

    .lang-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.82rem;
        min-width: 44px;
        min-height: 36px;
    }
}

/* ---------- Hero sekcia (homepage) ------------------------------------ */
@media (max-width: 767px) {
    .hero-mm-content {
        padding: 5.5rem 1rem 3.5rem;
        text-align: center;
    }

    .hero-mm h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.1;
    }

    .hero-mm p.hero-sub {
        font-size: 0.98rem;
        margin-bottom: 1.75rem;
    }

    .hero-mm-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.18em;
    }

    .hero-mm-kicker::before,
    .hero-mm-kicker::after { width: 20px; }

    /* Tlačidlá pod sebou na malom mobile */
    .hero-mm-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-mm-actions .btn-mm,
    .hero-mm-actions .btn-mm-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    /* Scroll cue nižšie aby nekolidoval s tlačidlami */
    .hero-scroll-cue { bottom: 1rem; }
}

@media (max-width: 400px) {
    .hero-mm h1 { font-size: clamp(1.75rem, 10vw, 2.2rem); }
}

/* ---------- Page hero (subpage banner) -------------------------------- */
@media (max-width: 767px) {
    .page-hero-mm {
        padding: clamp(4.5rem, 11vw, 6rem) 1rem clamp(2rem, 4vw, 2.5rem);
    }

    .page-hero-mm h1 {
        font-size: clamp(1.55rem, 6.5vw, 2.2rem);
        margin-bottom: 0.4rem;
    }

    .page-hero-mm p {
        font-size: 0.93rem;
    }

    .page-hero-mm .breadcrumb-mm {
        font-size: 0.78rem;
        margin-bottom: 0.5rem;
    }

    /* Oranžový kruh nech nevyčnieva */
    .page-hero-mm::after {
        width: 260px;
        height: 260px;
        right: -15%;
        top: -20%;
    }
}

/* ---------- Service cards -------------------------------------------- */
@media (max-width: 767px) {
    .service-card-mm {
        padding: 1.5rem 1.25rem;
        /* Zrušenie hover transformácie na dotykovom zariadení */
        transition: none;
    }

    .service-card-mm .icon-wrap-mm {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 0.85rem;
    }

    .service-card-mm h3 { font-size: 1.05rem; }
    .service-card-mm p  { font-size: 0.9rem; }
    .service-card-mm .card-arrow { font-size: 0.82rem; }
}

/* Na mobiloch col-md-6 → 2 stĺpce sú OK, na xs (< 576) dáme 1 stĺpec */
@media (max-width: 575px) {
    /* Bootstrap col-md-6 zostáva 1 col-12 na xs automaticky,
       ale pridáme vizuálny padding */
    .service-card-mm {
        padding: 1.25rem 1rem;
    }
}

/* ---------- Fotogaléria / photo grid ---------------------------------- */
@media (max-width: 575px) {
    /* Na najmenších obrazovkách prejdeme z 2-stĺpcového gridu na 1 stĺpec
       aby obrázky neboli príliš malé */
    .gallery-grid-mm {
        grid-template-columns: 1fr;
    }

    /* col-6 v Bootstrap grids → force na 100% */
    .col-6 .photo-mm.is-square {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 767px) {
    .photo-mm {
        border-radius: var(--mm-radius-sm);
    }
}

/* ---------- Partner cards -------------------------------------------- */
@media (max-width: 991px) {
    .partners-grid-mm__item {
        width: calc(33.333% - 0.67rem); /* 3 stĺpce na tablete */
    }
}

@media (max-width: 767px) {
    .partners-grid-mm__item {
        width: calc(50% - 0.5rem); /* 2 stĺpce na mobile */
    }

    .partner-card-mm {
        padding: 1.1rem 0.75rem;
        gap: 0.5rem;
        border-radius: var(--mm-radius);
    }

    .partner-card-mm img {
        height: 88px;
    }

    .partner-card-mm span {
        font-size: 0.82rem;
    }

    /* Zrušenie hover lift na dotykovom zariadení */
    .partner-card-mm:hover {
        transform: none;
        box-shadow: var(--mm-shadow-sm);
    }
}

/* ---------- T-shirt studio (textil.php) ------------------------------- */
@media (max-width: 900px) {
    /* Studio result (canvas preview) prestane byť sticky – zobrazí sa pod formulárom */
    .mm-studio-result {
        position: static;
        top: auto;
    }

    /* Canvas nech zaberá viac miesta */
    #designCanvasFront,
    #designCanvasBack {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .mm-studio-form,
    .mm-studio-result {
        padding: 1rem 0.85rem;
    }

    .mm-side {
        padding: 0.75rem;
    }
}

/* ---------- Kontaktný formulár --------------------------------------- */
@media (max-width: 575px) {
    .card-mm {
        padding: 1.25rem 1rem;
    }

    /* Submit tlačidlo na plnú šírku */
    .card-mm .btn-mm {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Kontaktné tiles ------------------------------------------ */
@media (max-width: 767px) {
    .contact-tile-mm {
        padding: 1.1rem 1rem;
    }

    .contact-tile-mm h3 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .contact-tile-mm p {
        font-size: 0.9rem;
    }
}

/* ---------- Footer --------------------------------------------------- */
@media (max-width: 991.98px) {
    /* Navigačné stĺpce vedľa seba (col-lg-3 col-6 je OK),
       ale footer brand nech zaberie celý riadok */
    .footer-mm .col-lg-4 {
        text-align: center;
    }

    .footer-mm .footer-brand {
        justify-content: center;
    }

    .footer-mm .social-mm {
        justify-content: center;
    }

    /* Všetky stĺpce footera centrované na tablete */
    .footer-mm .col-lg-3,
    .footer-mm .col-lg-2 {
        text-align: center;
    }

    .footer-mm .col-lg-3 ul,
    .footer-mm .col-lg-2 ul {
        padding: 0;
    }
}

@media (max-width: 575px) {
    /* Na xs → všetky stĺpce na plnú šírku a centrované */
    .footer-mm .col-6 {
        text-align: center;
    }

    .footer-mm .col-6 ul {
        padding: 0;
    }

    .footer-bottom-mm {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    /* Väčší font pre linky v footeri (touch target) */
    .footer-mm li { font-size: 1rem; margin-bottom: 0.65rem; }
    .footer-mm a  { display: inline-block; padding: 0.15rem 0; }
}

/* ---------- Cookie bar ----------------------------------------------- */
@media (max-width: 767px) {
    .cb-mm-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem;
    }

    .cb-mm-bar p {
        font-size: 0.88rem;
    }

    .cb-mm-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .cb-mm-btn {
        flex: 1;
        text-align: center;
        justify-content: center;
        padding: 0.65rem 0.9rem;
        min-height: 44px;
    }
}

/* ---------- O nás – service buttons ---------------------------------- */
@media (max-width: 575px) {
    /* col-6 col-md-3 service buttons → plná šírka */
    .btn-mm-outline.w-100 {
        padding: 0.75rem 1rem;
        font-size: 0.92rem;
        min-height: 44px;
    }
}

/* ---------- Všeobecné button touch targets --------------------------- */
@media (max-width: 767px) {
    .btn-mm,
    .btn-mm-outline {
        min-height: 48px;
        padding: 0.85rem 1.5rem;
    }
}

/* ---------- Section spacing na mobile -------------------------------- */
@media (max-width: 575px) {
    .section-py    { padding-block: clamp(2.25rem, 8vw, 3.5rem); }
    .section-py-sm { padding-block: clamp(1.5rem,  5vw, 2.25rem); }

    /* Padding pre container na mobiloch – viac vzduchu na krajoch */
    .container,
    .container-fluid {
        padding-left:  max(1.1rem, 4vw);
        padding-right: max(1.1rem, 4vw);
    }
}

/* ---------- Nadpisy sekcie na mobile --------------------------------- */
@media (max-width: 575px) {
    .section-head-mm {
        margin-bottom: clamp(1.25rem, 4vw, 2rem);
    }

    h2 { font-size: clamp(1.35rem, 6vw, 1.75rem); }
    h3 { font-size: clamp(1.1rem,  4vw, 1.3rem);  }

    .eyebrow-mm { font-size: 0.72rem; }
    .lead-mm    { font-size: 0.95rem; }
}

/* ---------- FAQ accordion na mobile ---------------------------------- */
@media (max-width: 575px) {
    .faq-q-mm {
        padding: 1rem 0.1rem;
        font-size: 0.95rem;
    }

    .faq-a-mm-inner {
        font-size: 0.9rem;
    }
}

/* ---------- Pricing table na mobile ---------------------------------- */
@media (max-width: 767px) {
    .pricing-mm { font-size: 0.88rem; }
    .pricing-mm th,
    .pricing-mm td { padding: 0.6rem 0.75rem; }
    /* Zabrán overflow - horizontálne scrollovanie */
    .pricing-mm-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--mm-radius-sm);
    }
}

/* ---------- Pricing table – card layout na mobile ------------------- */
/* Klasická tabuľka sa na mobiloch konvertuje na karty */
@media (max-width: 575px) {
    .pricing-mm {
        font-size: 0.88rem;
        border-radius: var(--mm-radius-sm);
        overflow: hidden;
    }

    /* Hlavička tabulky – zmenšená, stále viditeľná */
    .pricing-mm th {
        padding: 0.55rem 0.7rem;
        font-size: 0.78rem;
    }

    .pricing-mm td {
        padding: 0.55rem 0.7rem;
        font-size: 0.88rem;
        vertical-align: middle;
    }

    /* Cenový stĺpec – výraznejší na mobile */
    .pricing-mm td.price-col {
        font-size: 1rem;
        white-space: nowrap;
    }

    /* Wrapper zabezpečuje scroll ak je treba */
    .pricing-mm-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--mm-radius-sm);
        margin-inline: calc(-1 * max(0.25rem, 0px));
    }

    /* Logo balíky (card-mm) – kompaktnejší na mobile */
    .card-mm h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .card-mm .text-mm-orange.fs-5 {
        font-size: 1.15rem !important;
    }
}

/* ---------- Mapa ---------------------------------------------------- */
@media (max-width: 575px) {
    .map-mm { aspect-ratio: 3 / 4; }
}

/* ---------- Hotline panel na mobile ---------------------------------- */
@media (max-width: 767px) {
    .mm-hotline-panel {
        /* Na mobile zaberá takmer celú šírku displeja */
        right: max(8px, var(--safe-right));
        left:  max(8px, var(--safe-left));
        bottom: max(90px, calc(80px + var(--safe-bottom)));
        width: auto;
        border-radius: 18px;
        max-height: min(80vh, 560px);
    }

    .mm-hotline-toggle {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }
}

/* ---------- Hover efekty iba pre pointer zariadenia (nie touch) ------ */
@media (hover: none) {
    .service-card-mm:hover { transform: none; box-shadow: var(--mm-shadow-sm); }
    .partner-card-mm:hover { transform: none; box-shadow: var(--mm-shadow-sm); }
    .photo-mm:hover img    { transform: none; }
    .btn-mm:hover          { transform: none; }
    .btn-mm-outline:hover  { transform: none; }
    .footer-mm .social-mm a:hover { transform: none; }
}

/* ---------- Landscape mobile (malá výška) ---------------------------- */
@media (max-height: 500px) and (max-width: 991px) {
    .hero-mm { min-height: auto; }
    .hero-mm-content { padding: 5rem 1rem 2rem; }
    .hero-scroll-cue { display: none; }
    .page-hero-mm { padding: 4rem 1rem 1.5rem; }
}

/* ==========================================================================
   BLOG — blog-card-mm, blog-post-*
   ========================================================================== */

/* --- Blog card --- */
.blog-card-mm {
    display: flex;
    flex-direction: column;
    background: var(--mm-white);
    border: 1px solid var(--mm-gray-200);
    border-radius: var(--mm-radius-lg);
    overflow: hidden;
    box-shadow: var(--mm-shadow-sm);
    transition: box-shadow var(--mm-ease), transform var(--mm-ease);
}

.blog-card-mm:hover {
    box-shadow: var(--mm-shadow-md);
    transform: translateY(-3px);
}

.blog-card-mm__img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--mm-gray-100);
    text-decoration: none;
}

.blog-card-mm__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--mm-ease);
}

.blog-card-mm:hover .blog-card-mm__img-wrap img {
    transform: scale(1.04);
}

.blog-card-mm__img-wrap--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--mm-gray-300);
}

.blog-card-mm__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.35rem 1.5rem 1.25rem;
    gap: 0.5rem;
}

.blog-card-mm__cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mm-orange);
    background: var(--mm-orange-soft);
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    width: fit-content;
}

.blog-card-mm__title {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.blog-card-mm__title a {
    color: var(--mm-navy);
    text-decoration: none;
    transition: color var(--mm-ease);
}

.blog-card-mm__title a:hover {
    color: var(--mm-orange);
}

.blog-card-mm__excerpt {
    color: var(--mm-text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-mm__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--mm-gray-100);
    margin-top: auto;
}

.blog-card-mm__date {
    font-size: 0.82rem;
    color: var(--mm-text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card-mm__read {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mm-orange);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap var(--mm-ease), color var(--mm-ease);
    white-space: nowrap;
}

.blog-card-mm__read:hover {
    color: var(--mm-orange-dark);
    gap: 0.55rem;
}

/* --- Blog post detail --- */
.blog-post-meta-mm {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.blog-post-meta-mm__date {
    font-size: 0.88rem;
    color: var(--mm-text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-post-cover-mm {
    margin: 0 0 2.25rem;
    border-radius: var(--mm-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.blog-post-cover-mm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blog post body — typografia obsahu */
.blog-post-body-mm {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--mm-text);
}

.blog-post-body-mm h2 {
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-post-body-mm h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.blog-post-body-mm p {
    margin-bottom: 1.1rem;
}

.blog-post-body-mm ul,
.blog-post-body-mm ol {
    padding-left: 1.4rem;
    margin-bottom: 1.1rem;
}

.blog-post-body-mm li {
    margin-bottom: 0.35rem;
}

.blog-post-body-mm img {
    border-radius: var(--mm-radius);
    max-width: 100%;
    height: auto;
    margin-block: 1.5rem;
}

.blog-post-body-mm a {
    color: var(--mm-orange);
    text-underline-offset: 3px;
}

.blog-post-body-mm blockquote {
    border-left: 3px solid var(--mm-orange);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--mm-gray-50);
    border-radius: 0 var(--mm-radius-sm) var(--mm-radius-sm) 0;
    color: var(--mm-text-muted);
    font-style: italic;
}
