/* ============================================
   SKYMAT - Main Stylesheet
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --color-primary: #ed302f;
    --color-primary-dark: #c42827;
    --color-primary-light: #f25655;
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #EEEEEE;
    --color-gray-300: #E0E0E0;
    --color-gray-400: #BDBDBD;
    --color-gray-500: #9E9E9E;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;

    --font-family: 'Ruda', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;

    --header-height: 138px;
    --topbar-height: 55px;
    --container-width: 2100px;
    --container-padding: 22px;
    --logo-width: 345px;
    --section-py: 86px;
    --nav-pill-height: 56px;
    --nav-link-fs: 1.6rem;
    --topbar-fs: 1.6rem;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slider: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 16.1px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* ============================================
   RESPONSIVE TIERS — variables only (class overrides sú na konci súboru!)
   Default :root = 4K tier (mierne menšie oproti pôvodnému dizajnu).
   @media (max-width: 3439px) = 2K tier (QHD 2560, ultrawide 3440).
   @media (max-width: 1279px) = FHD tier (pod Lenovo viewport 1280, hraničí s mobile).
   Class-level overrides (slider, categories, footer atď.) sú NA KONCI SÚBORU,
   aby mali cascade-win nad definíciami sekcií. Nemeň poradie.
   ============================================ */
@media (max-width: 3439px) {
    :root {
        --header-height: 115px;
        --topbar-height: 43px;
        --container-width: 1880px;
        --container-padding: 22px;
        --logo-width: 278px;
        --section-py: 69px;
        --nav-pill-height: 48px;
        --nav-link-fs: 1.44rem;
        --topbar-fs: 1.44rem;
    }
    html { font-size: 15px; }
}

@media (max-width: 1279px) {
    :root {
        --header-height: 70px;
        --topbar-height: 29px;
        --container-width: 1180px;
        --container-padding: 16px;
        --logo-width: 160px;
        --section-py: 40px;
        --nav-pill-height: 32px;
        --nav-link-fs: 0.95rem;
        --topbar-fs: 0.85rem;
    }
    html { font-size: 12px; }
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Sticky footer: body vyplní minimálne celý viewport, main sa roztiahne. */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

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

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

address {
    font-style: normal;
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (min-width: 2560px) {
    .container {
        max-width: 1880px;
    }
}

@media (min-width: 3840px) {
    .container {
        max-width: 2100px;
    }
}

/* ---- Section Title ---- */
.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: 30px;
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
    background-color: #1e1e1e;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.topbar-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    transition: color var(--transition-fast);
    padding: 0 14px;
    position: relative;
}

/* Vertical separator between links */
.topbar-links a + a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.22);
}

.topbar-links a:first-child {
    padding-left: 0;
}

.topbar-links a:hover {
    color: #ffffff;
}


/* GDPR — muted */
.topbar-link-secondary {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
}

.topbar-link-secondary:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

.topbar-phone a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
    transition: color var(--transition-fast);
}

.topbar-phone a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.topbar-phone svg {
    flex-shrink: 0;
}

/* ============================================
   CAREER PAGE
   ============================================ */
.career-section {
    padding: calc(var(--topbar-height) + var(--header-height) + 72px) 0 100px;
    background: var(--color-white);
    min-height: 70vh;
}

.career-header {
    text-align: center;
    margin-bottom: 64px;
}

.career-header-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.career-header-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 18px;
    line-height: 1.15;
}

.career-header-sub {
    font-size: 1.05rem;
    color: var(--color-gray-600);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.career-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--color-gray-400);
}

.career-empty svg {
    margin-bottom: 20px;
    opacity: 0.4;
}

.career-empty h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gray-600);
    margin: 0 0 8px;
}

.career-empty p {
    font-size: 0.95rem;
    margin: 0;
}

.career-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.career-card {
    position: relative;
    background: var(--color-white);
    border-radius: 14px;
    padding: 28px 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 1px 14px rgba(0,0,0,0.07);
    border-left: 4px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(0,0,0,0.11);
    border-left-color: var(--color-primary);
}


/* Ghost number watermark */
.career-card-num {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 7rem;
    font-weight: 900;
    color: var(--color-gray-100);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    z-index: 0;
}

.career-card-icon {
    flex-shrink: 0;
    color: var(--color-primary);
    line-height: 0;
    position: relative;
    z-index: 1;
}

.career-card-body {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.career-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 10px;
    line-height: 1.2;
}

.career-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.career-card-location,
.career-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-gray-500);
}

.career-card-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.career-expiry {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    white-space: nowrap;
}

.career-expiry.soon {
    background: #fff8e1;
    color: #b7791f;
}

.career-expiry.urgent {
    background: #fee2e2;
    color: var(--color-primary);
    animation: expiry-blink 1.4s ease-in-out infinite;
}

@keyframes expiry-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.career-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 9px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.career-card-btn:hover {
    background: var(--color-primary-dark);
    transform: translateX(2px);
}

/* Wizard step indicator */
.job-wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.job-wizard-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-gray-100);
    color: var(--color-gray-400);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.job-wizard-dot.active {
    background: var(--color-primary);
    color: #fff;
}

.job-wizard-line {
    width: 48px;
    height: 2px;
    background: var(--color-gray-200);
    transition: background 0.25s ease;
}

.job-wizard-line.active {
    background: var(--color-primary);
}

.job-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray-100);
    gap: 12px;
}

.job-wizard-back {
    background: none;
    border: none;
    color: var(--color-gray-500);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    transition: color 0.18s ease;
}

.job-wizard-back:hover { color: var(--color-gray-800); }

.job-apply-drop.error {
    border-color: var(--color-primary);
    background: #fff5f5;
    animation: drop-shake 0.35s ease;
}

@keyframes drop-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* Job detail modal */
.job-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.job-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.job-modal {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 44px 48px;
    max-width: 640px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    transform: translateY(12px);
    transition: transform 0.22s ease;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.job-modal-overlay.open .job-modal {
    transform: translateY(0);
}

.job-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-400);
    padding: 6px;
    border-radius: 50%;
    transition: color 0.15s, background 0.15s;
}

.job-modal-close:hover {
    color: var(--color-black);
    background: var(--color-gray-100);
}

.job-modal-label {
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.job-modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 16px;
    line-height: 1.2;
}

.job-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-200);
}

.job-modal-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-gray-500);
}

.job-modal-desc {
    font-size: 0.95rem;
    line-height: 0.85;
    color: var(--color-gray-700);
    margin-bottom: 32px;
    white-space: pre-line;
}

/* CV upload section inside modal */
.job-apply-section {
    border-top: 1px solid var(--color-gray-200);
    padding-top: 24px;
    margin-top: 4px;
}

.job-apply-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 16px;
}

.job-apply-error {
    background: #fff0f0;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.job-apply-drop {
    position: relative;
    border: 2px dashed var(--color-gray-300);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    margin-bottom: 14px;
}

.job-apply-drop:hover,
.job-apply-drop.dragover {
    border-color: var(--color-primary);
    background: #fff5f5;
}

.job-apply-drop.has-file {
    border-color: #16a34a;
    background: #f0fdf4;
}

.job-apply-drop svg {
    color: var(--color-gray-400);
    margin-bottom: 10px;
}

.drop-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-600);
    margin: 0 0 4px;
}

.drop-note {
    font-size: 0.78rem;
    color: var(--color-gray-400);
    margin: 0;
}

.drop-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.drop-filename {
    display: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #16a34a;
    margin-top: 8px;
}

.job-apply-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.8rem;
    color: var(--color-gray-500);
    background: var(--color-gray-50);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    line-height: 1.5;
}

.job-apply-note svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.job-apply-row {
    margin-bottom: 16px;
}

.job-apply-msg {
    width: 100%;
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--color-black);
    resize: vertical;
    transition: border-color 0.18s;
    box-sizing: border-box;
}

.job-apply-msg:focus {
    outline: none;
    border-color: var(--color-primary);
}

.job-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.job-apply-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Apply success popup */
.apply-success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.apply-success-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.apply-success-box {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 52px 48px 44px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    transform: translateY(14px) scale(0.97);
    transition: transform 0.25s ease;
    box-shadow: 0 24px 80px rgba(198, 40, 40, 0.45);
}

.apply-success-overlay.open .apply-success-box {
    transform: translateY(0) scale(1);
}

.apply-success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #ffffff;
}

.apply-success-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
}

.apply-success-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin: 0 0 32px;
}

.apply-success-btn {
    background: #ffffff;
    color: var(--color-primary);
    border: none;
    padding: 13px 36px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.apply-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.job-modal-apply {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 999px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.job-modal-apply:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    color: #ffffff;
}

/* ============================================
   FLOATING CONTACT BUTTON
   ============================================ */
@keyframes contact-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(188, 38, 38, 0.5), 0 6px 22px rgba(188, 38, 38, 0.38);
    }
    55% {
        box-shadow: 0 0 0 13px rgba(188, 38, 38, 0), 0 6px 22px rgba(188, 38, 38, 0.38);
    }
}

.contact-float {
    position: fixed;
    bottom: 36px;
    right: 32px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #BC2626;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 13px 22px 13px 18px;
    border-radius: 999px;
    animation: contact-pulse 2.8s ease-in-out infinite;
    transition: transform 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

.contact-float:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.04);
    animation-play-state: paused;
    box-shadow: 0 10px 32px rgba(188, 38, 38, 0.6);
}

.contact-float svg {
    flex-shrink: 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: absolute;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--color-primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.3s ease, top 0.3s ease;
}

.header--scrolled {
    position: fixed;
    top: 0;
    background: var(--color-primary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-svg {
    height: 36px;
    width: auto;
}

.logo-img {
    height: auto;
    width: var(--logo-width);
    object-fit: contain;
}

/* Desktop Nav */
.nav-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative; /* pill is positioned relative to this */
}

/* Sliding pill — white border, sits behind links */
.nav-pill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: var(--nav-pill-height);
    border: 2.5px solid #ffffff;
    border-radius: var(--radius-full);
    pointer-events: none;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s;
    z-index: 0;
    opacity: 0;
}

.nav-pill.visible {
    opacity: 1;
}

.nav-link {
    display: block;
    padding: 10px 26px;
    font-size: var(--nav-link-fs);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-full);
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: color 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link.active {
    font-weight: 600;
}

/* Country Selector */
.country-selector {
    position: relative;
    flex-shrink: 0;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    border-radius: var(--radius-full);
    transition: background-color var(--transition-base);
    white-space: nowrap;
}

.country-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.country-arrow {
    transition: transform var(--transition-base);
}

.country-selector.open .country-arrow {
    transform: rotate(180deg);
}

.country-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition-base);
    overflow: hidden;
    z-index: 100;
}

.country-selector.open .country-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-option {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 20px;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-gray-700);
    transition: all var(--transition-fast);
}

.country-option:hover {
    background-color: var(--color-gray-50);
    color: var(--color-primary);
}

.country-option.active {
    background-color: rgba(198, 40, 40, 0.08);
    color: var(--color-primary);
    font-weight: 600;
}

.country-flag {
    font-size: var(--font-size-xl);
    text-transform: uppercase;
    font-weight: 700;
    width: 26px;
    text-align: center;
    color: var(--color-gray-400);
}

.country-option.active .country-flag {
    color: var(--color-primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    z-index: 10001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity   0.25s ease,
                width     0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu — full screen overlay */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity   0.32s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.32s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

/* Close (X) button — aligned with hamburger position */
.mobile-close {
    position: absolute;
    top: calc(var(--topbar-height) + (var(--header-height) - 48px) / 2);
    right: var(--container-padding);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    transition: opacity   0.28s ease 0.12s,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s;
}

.mobile-menu.open .mobile-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.mobile-close:hover {
    opacity: 0.8;
}

.mobile-nav {
    text-align: center;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-list li {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity   0.3s ease,
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu.open .mobile-menu-list li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
.mobile-menu.open .mobile-menu-list li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.13s; }
.mobile-menu.open .mobile-menu-list li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
.mobile-menu.open .mobile-menu-list li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.23s; }
.mobile-menu.open .mobile-menu-list li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }

.mobile-menu-list a {
    display: block;
    padding: 10px 40px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    transition: opacity 0.2s ease;
    letter-spacing: 0.01em;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    opacity: 0.7;
}

/* Language step wrapper */
.mobile-lang-step {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Step 1 — trigger button */
.mobile-lang-trigger {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.mobile-lang-trigger:hover {
    border-color: rgba(255, 255, 255, 0.95);
    background: transparent;
    transform: scale(1.04);
}

/* Shimmer sweep */
.mobile-lang-trigger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 20%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 80%
    );
    animation: lang-shimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lang-shimmer {
    0%   { left: -100%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

/* Step 2 — back button */
.mobile-lang-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.mobile-lang-back:hover {
    color: var(--color-white);
}

/* Step 2 — language options */
.mobile-lang-options {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 14px;
    justify-content: center;
}

.mobile-lang-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    background: transparent;
    transition: all 0.2s ease;
    letter-spacing: 0.04em;
}

.mobile-lang-option.active {
    background: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}

.mobile-lang-option:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    cursor: default;
}

/* ============================================
   MOBILE BREAKPOINT
   ============================================ */
@media (max-width: 1200px) {
    .nav-desktop {
        display: none;
    }

    .country-selector {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo-img {
        width: 280px;
    }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    background: var(--color-gray-900);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Outgoing slide — quick fade out */
.slide.leaving {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.0);
    transition: transform 7s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1.06);
}

/* Video slide background */
.slide-bg-video,
.slide.active .slide-bg-video {
    transform: none;
}
.slide-bg-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Responsive slide backgrounds */
.slide-bg-mobile { display: none; }

@media (max-width: 768px) {
    .slide-bg-desktop { display: none; }
    .slide-bg-mobile { display: block; }
}

/* Demo slide backgrounds */
.slide-bg-demo {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6741 50%, #8b7355 100%);
}

.slide-bg-demo-2 {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a87 50%, #6b8fa3 100%);
}

.slide-bg-demo-3 {
    background: linear-gradient(135deg, #4a2c2c 0%, #7a4a3a 50%, #b8926a 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    height: 100%;
    padding-top: calc(var(--topbar-height) + var(--header-height));
}

/* Text box — driven purely by CSS transitions, no JS animation hacks */
.slide-text-box {
    background: #ed302fc9;
    padding: 58px 68px;
    border-radius: var(--radius-lg);
    max-width: 810px;
    /* default: hidden & shifted */
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease 0.35s, transform 0.55s ease 0.35s;
    will-change: opacity, transform;
}

.slide.active .slide-text-box {
    opacity: 1;
    transform: translateY(0);
}

.slide.leaving .slide-text-box {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.slide-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.25;
    margin-bottom: 19px;
}

.slide-subtitle {
    font-size: 1.42rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.slide-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 28px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-white);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.slide-btn:hover {
    background: var(--color-gray-100);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 10px 16px;
}

.slider-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: transparent;
    border: 2.5px solid var(--color-primary);
    transition: background var(--transition-base), border-color var(--transition-base);
    cursor: pointer;
    flex-shrink: 0;
}

.slider-dot:hover {
    background: rgba(198, 40, 40, 0.15);
}

.slider-dot.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ============================================
   CATEGORIES CAROUSEL (Danmar-style pill)
   ============================================ */
.categories-section {
    padding: 60px 0 50px;
}

.categories-section .section-title {
    text-align: center;
    margin-bottom: 24px;
}

.categories-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.categories-carousel {
    overflow: hidden;
    padding: 6px 0;
    flex: 1;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    position: relative;
    touch-action: pan-y;
}

.categories-carousel.dragging {
    cursor: grabbing;
}

.categories-track {
    display: flex;
    gap: 12px;
    padding: 0 4px;
    position: relative;
    will-change: transform;
    z-index: 1;
}

/* The animated sliding pill (behind buttons) */
.cat-pill {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    background: var(--color-primary);
    border-radius: 21px;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s;
    opacity: 0;
    z-index: 0;
}

.cat-pill.visible {
    opacity: 1;
}

/* Each category button */
.category-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 21px 36px;
    background: transparent;
    border: 3px solid #1e1e1e;
    border-radius: 21px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e1e1e;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    z-index: 1;
    font-family: var(--font-family);
}

/* Button under the pill — border hides, text turns white */
.category-btn--hovered {
    color: var(--color-white);
    border-color: transparent;
}

/* Fade all borders while pill is active to avoid overlap artifacts */
.categories-carousel:hover .category-btn:not(.category-btn--hovered) {
    border-color: rgba(192, 192, 192, 0.35);
}

.category-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: filter 0.2s ease;
}

.category-btn--hovered .category-icon {
    filter: brightness(0) invert(1);
}

.category-icon-svg {
    flex-shrink: 0;
    transition: stroke 0.2s ease;
}

.category-btn--hovered .category-icon-svg {
    stroke: white;
}

/* ============================================
   COMPANY SECTION
   ============================================ */
.company-section {
    background-color: #1e1e1e;
    padding: 46px 0;
}

.company-text {
    max-width: 1850px;
    margin: 0;
    text-align: left;
}

.company-text-main {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 0 0;
    letter-spacing: -0.01em;
    /* Nikdy sa nesmie zalomiť do 2 riadkov — tier overrides nižšie menia font tak,
       aby sa vždy zmestil do container-u. */
    white-space: nowrap;
}

.company-text-sub {
    font-size: clamp(1.8rem, 3vw, 2.52rem);
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

/* ============================================
   NEWS / AKTUALITY
   ============================================ */
.news-section {
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    /* Musí byť navrchu, lebo .news-carousel-wrap pod ním má margin-top: -70px
       (trick pre hover scale). Pri margin-bottom 40px by carousel wrap prekryl
       filter button a znemožnil klik. */
    position: relative;
    z-index: 3;
}

.news-header .section-title {
    margin-bottom: 0;
}

.news-section-title {
    font-size: 2.59rem;
}

/* Filter dropdown */
.news-filter-dropdown {
    position: relative;
}

.news-filter-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 31px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-family);
    transition: background var(--transition-base);
}

.news-filter-toggle:hover {
    background: var(--color-primary-dark, #a81f1f);
}

.news-filter-toggle svg {
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.news-filter-dropdown.open .news-filter-toggle svg {
    transform: rotate(180deg);
}

.news-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
}

.news-filter-dropdown.open .news-filter-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-filter-option {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-gray-700);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-family);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.news-filter-option:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

.news-filter-option.active {
    background: rgba(198, 40, 40, 0.08);
    color: var(--color-primary);
    font-weight: 600;
}

/* ---- Carousel wrapper ---- */
.news-carousel-wrap {
    position: relative;
}

.news-carousel {
    overflow: visible;
    cursor: grab;
    user-select: none;
}
.news-carousel:active {
    cursor: grabbing;
}

.news-carousel-wrap {
    overflow: hidden;
    padding-top: 70px;
    margin-top: -70px;
}

.news-track {
    display: flex;
    gap: 20px;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each card = exactly 1/4 of available width */
.news-card {
    flex: 0 0 calc(25% - 15px); /* 4 cards, 3 gaps × 20px / 4 = 15px */
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.6, 1);
}

.news-card:hover {
    transform: translateY(-42px);
}

.news-card-link {
    display: block;
}

/* Image container — portrait ratio with red gradient overlay */
.news-card-image {
    position: relative;
    width: 100%;
    padding-top: 125%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.news-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Placeholder image variants */
.news-card-placeholder {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
}
.news-placeholder-1 { background: linear-gradient(160deg, #2d5a87 0%, #3d7ab5 45%, #6ea3cc 100%); }
.news-placeholder-2 { background: linear-gradient(160deg, #3a6b35 0%, #5a9952 40%, #8dc47e 100%); }
.news-placeholder-3 { background: linear-gradient(160deg, #1a4a5c 0%, #2d7a8a 40%, #56aab8 100%); }
.news-placeholder-4 { background: linear-gradient(160deg, #4a3520 0%, #7a5f40 40%, #b09070 100%); }

/* Red gradient overlay from bottom */
.news-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgb(237, 48, 47) 0%,
        rgba(180, 15, 15, 0.6) 30%,
        rgba(180, 15, 15, 0.0) 60%
    );
    pointer-events: none;
    z-index: 1;
}

/* Featured badge on card (top-right corner) */
.news-card-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: #f5b800;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 20px;
    white-space: nowrap;
}

/* Text inside the card — over the gradient */
.news-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 20px;
    color: var(--color-white);
    z-index: 2;
}

.news-card-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    padding: 0 0 4px;
    margin: 0;
}

.news-card-subtitle {
    font-size: var(--font-size-sm);
    font-weight: 400;
    opacity: 0.9;
}

/* Carousel arrow buttons — hidden on desktop, shown only on mobile */
.news-arrow {
    display: none;
}
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-700);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.news-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.news-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.news-arrow--prev {
    left: -22px;
}

.news-arrow--next {
    right: -22px;
}

/* News carousel dots — mobile only (shown via responsive.css) */
.news-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 18px 0 2px;
}

.news-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(198, 40, 40, 0.22);
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.news-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
}

/* ============================================
   NEWS DETAIL PAGE
   ============================================ */

/* ── Wrapper: account for fixed topbar+header ────────────── */
.news-detail-wrap {
    padding: calc(var(--topbar-height) + var(--header-height) + 48px) 0 88px;
}

/* ── Back link ───────────────────────────────────────────── */
.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-600);
    text-decoration: none;
    margin-bottom: 36px;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}
.news-detail-back:hover { color: var(--color-primary); }
.news-detail-back svg { transition: transform 0.2s; }
.news-detail-back:hover svg { transform: translateX(-3px); }

/* ── Main grid: left spans both rows ─────────────────────── */
.news-detail-layout {
    display: grid;
    grid-template-columns: 500px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 52px;
    align-items: start;
}
.nd-left         { grid-column: 1; grid-row: 1 / 3; }
.nd-title-block  { grid-column: 2; grid-row: 1; }
.nd-content-block{ grid-column: 2; grid-row: 2; }

/* ── Gallery: desktop ────────────────────────────────────── */
.nd-gallery-desktop { display: block; }
.nd-gallery-mobile  { display: none; }

.nd-main-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: var(--color-gray-200);
}
.nd-main-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--color-gray-200);
    border-radius: 12px;
}
.nd-sub-imgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 6px;
}
.nd-sub-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: var(--color-gray-200);
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    border: 2px solid transparent;
}
.nd-sub-img:hover { opacity: 0.82; transform: scale(1.03); border-color: var(--color-primary); }

/* ── Meta cards ──────────────────────────────────────────── */
.nd-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}
.nd-meta-item {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #fff;
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.nd-meta-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(198,40,40,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
}
.nd-meta-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-500);
    font-weight: 600;
    margin-bottom: 2px;
}
.nd-meta-value {
    font-size: 0.9rem;
    color: var(--color-gray-900);
    font-weight: 700;
    line-height: 1;
}
.nd-copy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-family);
    transition: background 0.2s, transform 0.15s;
    width: 100%;
    margin-top: 4px;
    letter-spacing: 0.01em;
}
.nd-copy-btn:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.nd-copy-btn:active { transform: translateY(0); }
.nd-copy-btn.copied { background: #2e7d32; }

/* ── Right: title block ──────────────────────────────────── */
.nd-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.nd-badges .news-detail-category { margin-bottom: 0; }
.news-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    background: #f5b800;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-full);
    white-space: nowrap;
}
.news-detail-category {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 0;
}
.news-detail-title {
    font-size: clamp(1.78rem, 3.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.news-detail-subtitle {
    font-size: 1.17rem;
    color: var(--color-gray-600);
    line-height: 1.65;
    font-weight: 400;
    margin: 0;
}

/* ── Mobile inline meta ──────────────────────────────────── */
.nd-meta-mobile {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-200);
}
.nd-meta-mob-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.13rem;
    color: var(--color-gray-600);
    font-weight: 500;
}
.nd-meta-mob-item svg { color: var(--color-primary); }
.nd-copy-btn--mob {
    width: auto !important;
    padding: 14px 29px !important;
    margin-top: 0 !important;
    font-size: 0.92rem !important;
    border-radius: 7px !important;
}

/* ── Divider + content ───────────────────────────────────── */
.nd-divider {
    border: none;
    border-top: 1.5px solid var(--color-gray-200);
    margin: 0 0 28px;
}
.nd-content-block { padding-top: 24px; }
.nd-no-content-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(198,40,40,0.06);
    border: 1px solid rgba(198,40,40,0.25);
    border-radius: var(--radius-md);
    color: var(--color-primary-dark);
    font-size: 0.97rem;
    font-weight: 500;
}
.nd-no-content-alert svg { flex-shrink: 0; color: var(--color-primary); }
.news-detail-content {
    font-size: 1.18rem;
    line-height: 1.88;
    color: var(--color-gray-800);
}
.news-detail-content p { margin: 0 0 1.4em; }
.news-detail-content p:last-child { margin-bottom: 0; }
.news-detail-content strong,
.news-detail-content b { font-weight: 700; color: var(--color-gray-900); }
.news-detail-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin: 2em 0 0.6em;
}
.news-detail-content h3 {
    font-size: 1.27rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin: 1.6em 0 0.5em;
}
.news-detail-content ul,
.news-detail-content ol { padding-left: 1.5em; margin: 0 0 1.4em; }
.news-detail-content li { margin-bottom: 0.4em; }

/* ── Related articles ────────────────────────────────────── */
.news-detail-related {
    margin-top: 72px;
    padding-top: 48px;
    border-top: 2px solid var(--color-gray-200);
}
.news-detail-related-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin: 0 0 24px;
}
.news-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.news-related-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.25s ease;
}
.news-related-card:hover { transform: translateY(-4px); }
.news-related-card-img {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: var(--color-gray-200);
}
.news-related-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.news-related-card:hover .news-related-card-img img { transform: scale(1.05); }
.news-related-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(180,15,15,0.88) 0%, rgba(180,15,15,0.3) 45%, transparent 70%);
    z-index: 1;
}
.news-related-card-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px;
    color: #fff;
    z-index: 2;
}
.news-related-card-title { font-size: 1.72rem; font-weight: 700; line-height: 1.3; }
.news-related-card-date  { font-size: 1.34rem; opacity: 0.75; margin-top: -1px; }

/* ── Mobile related carousel ─────────────────────────────── */
.news-related-carousel { display: none; }
.news-related-carousel-track { overflow: hidden; border-radius: var(--radius-lg); }
.news-related-carousel-slide { display: none; }
.news-related-carousel-slide.active { display: block; }
.news-related-carousel-slide .news-related-card { transform: none !important; }
.news-related-carousel-dots {
    display: flex; justify-content: center; gap: 7px; margin-top: 14px;
}
.news-related-carousel-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-gray-300); cursor: pointer; transition: background 0.2s; display: block;
}
.news-related-carousel-dots span.active { background: var(--color-primary); }

/* ── Mobile image carousel ───────────────────────────────── */
.nd-img-carousel {
    position: relative; overflow: hidden;
    border-radius: 12px; background: var(--color-gray-200); aspect-ratio: 4 / 3;
}
.nd-img-carousel-track { display: flex; height: 100%; transition: transform 0.4s ease; }
.nd-img-carousel-slide { min-width: 100%; height: 100%; flex-shrink: 0; }
.nd-img-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nd-img-carousel-dots {
    display: flex; justify-content: center; gap: 7px; margin-top: 10px;
}
.nd-img-carousel-dots span {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--color-gray-300); cursor: pointer; transition: background 0.2s; display: block;
}
.nd-img-carousel-dots span.active { background: var(--color-primary); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .news-detail-layout { grid-template-columns: 440px 1fr; column-gap: 40px; }
}
@media (max-width: 860px) {
    .news-detail-layout { grid-template-columns: 360px 1fr; column-gap: 32px; }
}
@media (max-width: 700px) {
    .news-detail-wrap { padding: 32px 0 60px; }
    .news-detail-back { margin-bottom: 20px; }

    .news-detail-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .nd-title-block  { order: 1; margin-bottom: 20px; }
    .nd-left         { order: 2; margin-bottom: 0; }
    .nd-content-block{ order: 3; padding-top: 20px; }

    .nd-gallery-desktop { display: none; }
    .nd-gallery-mobile  { display: block; }
    .nd-meta            { display: none; }
    .nd-meta-mobile     { display: flex; }

    .news-detail-related-grid { display: none; }
    .news-related-carousel    { display: block; }
    .news-detail-related { margin-top: 48px; padding-top: 32px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.footer-main {
    padding: 90px 0 75px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr;
    gap: 0;
    align-items: center;
    min-height: 330px;
}

.footer-col {
    padding: 0 90px;
}

.footer-col:first-child {
    padding-left: 0;
}

.footer-col:last-child {
    padding-right: 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.footer-logo-img {
    width: 420px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-divider-v {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.4);
}

.footer-heading {
    font-size: 1.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 36px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a {
    font-size: 1.575rem;
    font-weight: 400;
    color: #ffffff;
    transition: opacity var(--transition-fast);
}

.footer-nav a:hover {
    opacity: 0.75;
}

.footer-address {
    font-size: 1.575rem;
    font-weight: 400;
    line-height: 1.8;
    color: #ffffff;
    font-style: normal;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 33px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-bottom-links {
    display: flex;
    gap: 60px;
}

.footer-bottom-links a {
    font-size: 1.18rem;
    font-weight: 400;
    color: #ffffff;
    transition: opacity var(--transition-fast);
}

.footer-bottom-links a:hover {
    opacity: 0.75;
}

.footer-copyright {
    font-size: 1.18rem;
    font-weight: 400;
    color: #ffffff;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-section {
    padding: 80px 0 100px;
    background-color: #fefefd;
}

.products-section-title {
    text-align: center;
    margin-bottom: 48px;
}

#kategorie {
    scroll-margin-top: calc(var(--topbar-height) + var(--header-height) + 20px);
}

.product-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-cat-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.product-cat-card:hover {
    transform: translateY(-6px);
}

.product-cat-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex: 1 0 auto;
}

.product-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-cat-card:hover .product-cat-image img {
    transform: scale(1.04);
}

.product-cat-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-200);
}

.product-cat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-primary);
    padding: 22px 20px;
    gap: 16px;
    min-height: 100px;
}

.product-cat-name {
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.product-cat-link {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    border: 2px solid #ffffff;
    border-radius: var(--radius-full);
    padding: 9px 22px;
    flex-shrink: 0;
}

/* Page content placeholder for subpages */
.page-content {
    padding: calc(var(--topbar-height) + var(--header-height) + 60px) 0 80px;
    min-height: 60vh;
}

.page-hero {
    padding-top: calc(var(--topbar-height) + var(--header-height));
    background: var(--color-primary);
    color: var(--color-white);
    padding-bottom: 60px;
}

.page-hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    padding-top: 60px;
}

/* ============================================
   PRODUCT LISTING PAGE
   ============================================ */
.product-listing-hero {
    background: #8d1e1e;
    padding: 28px 0;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 12px;
}

.product-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

.product-breadcrumb a:hover { color: #fff; }
.product-breadcrumb span { color: rgba(255,255,255,0.5); }

.product-listing-title {
    color: var(--color-white);
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.product-listing-section {
    padding: 60px 0 80px;
}

.product-listing-title-desktop {
    display: none;
}

@media (min-width: 769px) {
    .product-listing-hero {
        display: none;
    }
    .product-listing-section {
        padding-top: calc(var(--header-height) + var(--topbar-height) + 60px);
    }
    .product-listing-title-desktop {
        display: block;
        color: #1a1a1a;
        font-size: 2rem;
        font-weight: 800;
        margin: 8px 0 40px;
    }
}

.product-listing-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.product-listing-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.product-listing-card:hover {
    transform: translateY(-4px);
}

.product-listing-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-listing-card:hover .product-listing-image img {
    transform: scale(1.04);
}

.product-listing-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-200);
}

.product-listing-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    padding: 18px 16px;
    gap: 12px;
    min-height: 90px;
    text-align: center;
}

.product-listing-name {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.product-listing-btn {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    border: 2px solid #ffffff;
    border-radius: var(--radius-full);
    padding: 8px 22px;
    flex-shrink: 0;
}

.product-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.product-pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 2px solid var(--color-gray-300);
    text-decoration: none;
    color: var(--color-black);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.product-pagination-item:hover,
.product-pagination-item.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.product-listing-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    margin: 20px 0 40px;
    background: var(--color-white);
    border: 2px dashed var(--color-gray-200);
    border-radius: 16px;
    color: var(--color-gray-400);
}

.product-listing-empty svg {
    margin-bottom: 20px;
    opacity: 0.35;
    color: var(--color-gray-400);
}

.product-listing-empty p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-500);
    margin: 0;
}

.btn-back-products {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s ease;
}

.btn-back-products:hover {
    background: var(--color-primary-dark);
}

.product-back-wrap {
    padding-top: 40px;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-hero {
    background: #a11d1d;
    padding: 24px 0px 14px 0px;
}

@media (min-width: 769px) {
    .product-detail-hero {
        display: none;
    }
}

/* Breadcrumb inside product listing section (desktop only) */
.product-listing-breadcrumb {
    display: none;
}

@media (min-width: 769px) {
    .product-listing-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        color: #999;
        margin-bottom: 32px;
    }
    .product-listing-breadcrumb a {
        color: #555;
        text-decoration: none;
    }
    .product-listing-breadcrumb a:hover { color: #000; }
    .product-listing-breadcrumb span { color: #bbb; }
    .product-listing-breadcrumb span:last-child {
        color: #222;
        font-weight: 600;
    }
}

/* Desktop breadcrumb inside section */
.product-detail-breadcrumb-desktop {
    display: none;
}

@media (min-width: 769px) {
    .product-detail-breadcrumb-desktop {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        color: #999;
        margin-bottom: 32px;
    }
    .product-detail-breadcrumb-desktop a {
        color: #555;
        text-decoration: none;
    }
    .product-detail-breadcrumb-desktop a:hover {
        color: #000;
    }
    .product-detail-breadcrumb-desktop span {
        color: #bbb;
    }
    .product-detail-breadcrumb-desktop span:last-child {
        color: #222;
        font-weight: 600;
    }
}

.product-detail-section {
    padding: 120px 0 80px;
}

@media (min-width: 769px) {
    .product-detail-section {
        padding-top: calc(var(--header-height) + var(--topbar-height) + 60px);
    }
}

.product-detail-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--color-gray-100);
    cursor: zoom-in;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-200);
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.product-thumb {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.product-thumb.active,
.product-thumb:hover {
    border-color: var(--color-primary);
}

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

.product-detail-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 16px;
    line-height: 1.2;
}

.product-detail-desc {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 28px;
}

.product-params-block {
    margin-bottom: 24px;
    border-top: 2px solid var(--color-gray-200);
    padding-top: 20px;
}

.product-params-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-params-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-params-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    padding: 6px 0;
}

.product-params-label {
    font-size: 1.05rem;
    color: var(--color-gray-600);
    font-weight: 500;
}

.product-params-value {
    font-size: 1.05rem;
    color: var(--color-black);
    font-weight: 600;
}

.product-downloads-block {
    margin-bottom: 24px;
    border-top: 2px solid var(--color-gray-200);
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
}

.product-downloads-block .product-params-title {
    grid-column: 1 / -1;
}

.product-download-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: color 0.2s ease;
}

.product-download-link:hover { color: var(--color-primary-dark); }

.product-detail-actions {
    margin-top: 28px;
    padding-top: 8px;
}

.btn-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-inquiry:hover { background: var(--color-primary-dark); }

.product-description-block {
    padding-top: 40px;
    margin-bottom: 40px;
}

.product-description-block h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 12px;
}

.product-description-content {
    font-size: 1.17rem;
    line-height: 1.75;
    color: var(--color-gray-700);
}

/* Mobile gallery carousel — hidden on desktop */
.product-gallery-mobile {
    display: none;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.product-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

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

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.8;
}

.lightbox-close:hover { opacity: 1; }

/* ============================================
   INQUIRY POPUP
   ============================================ */
.inquiry-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 8000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.inquiry-overlay.open {
    display: flex;
}

.inquiry-modal {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}

.inquiry-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-400);
    padding: 4px;
    font-size: 1.2rem;
    line-height: 1;
}

.inquiry-close:hover { color: var(--color-gray-800); }

.inquiry-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 28px;
}

.inquiry-row {
    margin-bottom: 22px;
}

.inquiry-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.req { display: none; }

.inquiry-input {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1.5px solid var(--color-gray-200);
    border-radius: 0;
    font-size: 16px;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    background: transparent;
    color: var(--color-black);
}

.inquiry-input::placeholder { color: var(--color-gray-400); }
.inquiry-input:focus { border-bottom-color: var(--color-primary); }

.inquiry-textarea {
    resize: none;
    min-height: 80px;
}

.inquiry-product-display {
    font-size: 0.95rem;
    color: var(--color-black);
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1.5px solid var(--color-gray-200);
}

.inquiry-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.83rem;
    color: var(--color-gray-500);
}

.inquiry-gdpr a { color: var(--color-primary); }

.inquiry-form-footer {
    display: flex;
    justify-content: flex-start;
}

.btn-inquiry-submit {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 13px 36px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-inquiry-submit:hover {
    background: var(--color-primary-dark);
}

.inquiry-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 10px;
    text-align: center;
}

.inquiry-success-box {
    background: transparent;
    border-radius: 14px;
    padding: 20px 32px 32px;
    text-align: center;
}

.inquiry-success-box svg {
    display: block;
    margin: 0 auto 16px;
}

.inquiry-success-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-black);
    margin: 0 0 10px;
}

.inquiry-success-box p {
    font-size: 0.95rem;
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    padding-top: calc(var(--topbar-height) + var(--header-height));
    background: var(--color-primary);
    padding-bottom: 48px;
    display: none; /* label shown inside section instead */
}

.about-section {
    padding: calc(var(--topbar-height) + var(--header-height) + 80px) 0 80px;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* Image column */
.about-image-col { position: relative; }

.about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.about-img-placeholder {
    width: 100%;
    height: 520px;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--color-gray-300);
}

/* Content column */
.about-content-col { padding: 20px 0; }

.about-eyebrow {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.about-heading {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.3;
    margin-bottom: 24px;
}

.about-body {
    font-size: var(--font-size-base);
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-cta-btn {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.about-cta-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

@media (max-width: 1024px) {
    .about-layout { gap: 48px; }
    .about-heading { font-size: 1.8rem; }
    .about-img, .about-img-placeholder { height: 420px; }
}

@media (max-width: 768px) {
    .about-section {
        padding: calc((var(--topbar-height) + var(--header-height)) * 0.7) 0 40px;
    }
    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-img, .about-img-placeholder { height: 280px; }
    .about-heading { font-size: 1.6rem; }
    .about-content-col { padding: 0; }
}

@media (max-width: 480px) {
    .about-section { padding-top: calc((var(--topbar-height) + var(--header-height)) * 0.7); }
    .about-img, .about-img-placeholder { height: 220px; }
    .about-heading { font-size: 1.4rem; }
    .about-cta-btn { width: 100%; text-align: center; }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-section {
    padding: calc(var(--topbar-height) + var(--header-height) + 80px) 0 80px;
}

.services-intro {
    max-width: 620px;
    margin-bottom: 56px;
}

.services-heading {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 14px;
    line-height: 1.15;
}

.services-subheading {
    font-size: var(--font-size-lg);
    color: var(--color-gray-600);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-white);
    border-radius: 14px;
    padding: 36px 28px 30px;
    box-shadow: 0 1px 14px rgba(0,0,0,0.07);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 36px rgba(0,0,0,0.11);
    border-left-color: var(--color-primary);
}

.service-card-num {
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--color-gray-100);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    letter-spacing: -3px;
}

.service-card-icon {
    color: var(--color-primary);
    margin-bottom: 22px;
    display: block;
    line-height: 0;
}

.service-card-icon svg {
    width: 44px;
    height: 44px;
    stroke: var(--color-primary);
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card-text {
    font-size: var(--font-size-base);
    color: var(--color-gray-600);
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .services-section { padding: calc((var(--topbar-height) + var(--header-height)) * 0.7) 0 48px; }
    .services-intro { margin-bottom: 36px; }
    .services-heading { font-size: var(--font-size-3xl); }
    .services-subheading { font-size: var(--font-size-base); }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 28px 22px 24px; }
    .service-card-num { font-size: 4rem; }
    .service-card-icon svg { width: 36px; height: 36px; }
    .service-card-title { font-size: 1.05rem; }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: calc(var(--topbar-height) + var(--header-height) + 80px) 0 80px;
}

.contact-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 48px;
}

/* Info grid: address card + map */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 72px;
    align-items: stretch;
}

.contact-address-block {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 32px 36px;
}

.contact-address-block--red {
    background: var(--color-primary);
    box-shadow: 0 4px 24px rgba(198,40,40,0.25);
}

.contact-address-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.contact-address-block--red .contact-address-title {
    color: rgba(255,255,255,0.65);
}

.contact-addr-line {
    font-size: 1.2rem;
    color: var(--color-gray-700);
    line-height: 1.8;
    margin: 0;
}

.contact-address-block--red .contact-addr-line {
    color: #fff;
}

.contact-address-block--red .contact-addr-line strong {
    color: #fff;
}

.contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 1.2rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}
.contact-email-link:hover { text-decoration: underline; }
.contact-address-block--red .contact-email-link {
    color: rgba(255,255,255,0.85);
}
.contact-address-block--red .contact-email-link:hover {
    color: #fff;
}

.contact-map-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-gray-100);
    min-height: 280px;
}

.contact-map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-gray-400);
    font-size: var(--font-size-base);
}

/* Persons heading */
.contact-persons-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 28px;
    scroll-margin-top: 120px;
}

/* Contact cards grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--color-gray-200);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.contact-card {
    background: var(--color-white);
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-card-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 6px;
}

.contact-card-position {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-gray-700);
}

.contact-card-contact {
    font-size: 1.2rem;
    color: var(--color-gray-600);
    text-decoration: none;
    display: block;
}
.contact-card-contact:hover { color: var(--color-primary); }
.contact-card-contact--email { color: var(--color-primary); }
.contact-card-contact--email:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .contact-section { padding: calc((var(--topbar-height) + var(--header-height)) * 0.7) 0 48px; }
    .contact-info-grid { gap: 20px; margin-bottom: 40px; }
    .contact-address-block { padding: 22px 20px; }
    .contact-cards-grid { grid-template-columns: 1fr; }
    .contact-page-title { font-size: 1.35rem; margin-bottom: 32px; }
    .contact-persons-title { font-size: 1.35rem; margin-bottom: 20px; }
    .contact-address-title { font-size: 0.75rem; margin-bottom: 14px; }
    .contact-addr-line { font-size: 0.95rem; }
    .contact-email-link { font-size: 0.95rem; }
    .contact-card { padding: 18px 20px; }
    .contact-card-name { font-size: 1.05rem; }
    .contact-card-position { font-size: 0.9rem; }
    .contact-card-contact { font-size: 0.9rem; }
}

/* ============================================
   RESPONSIVE TIERS — CLASS OVERRIDES (koniec súboru)
   Tieto pravidlá musia byť POSLEDNÉ v source order, aby víťazili nad
   pôvodnými definíciami sekcií (CSS cascade: rovnaká specificity →
   neskoršie pravidlo vyhráva). Neprenášať inde.
   ============================================ */

/* 2K tier — mierny downscale */
@media (max-width: 3439px) {
    .slide-text-box { padding: 44px 52px; max-width: 680px; }
    .slide-title { font-size: 2.4rem; }
    .slide-subtitle { font-size: 1.25rem; }
    .category-btn { padding: 16px 28px; font-size: 1.1rem; }
    .category-icon { width: 28px; height: 28px; }
    .topbar-links a { font-size: 0.82rem; padding: 0 12px; }
    .company-text-main { font-size: 1.5rem; }
}

/* FHD tier — aggresive downscale (aplikuje sa pod Lenovo 1280) */
@media (max-width: 1279px) {
    /* Section title */
    .section-title { font-size: 1.5rem; margin-bottom: 18px; }

    /* Hero slider — väčšia výška, menší red box */
    .hero-slider { height: 85vh; }
    .slide-content { padding-top: calc(var(--topbar-height) + var(--header-height) + 20px); }
    .slide-text-box { padding: 20px 26px; max-width: 440px; border-radius: var(--radius-md); }
    .slide-title { font-size: 1.55rem; margin-bottom: 10px; line-height: 1.2; }
    .slide-subtitle { font-size: 0.92rem; line-height: 1.4; }
    .slide-btn { margin-top: 12px; padding: 7px 18px; font-size: 0.8rem; }
    .slider-dots { bottom: 20px; padding: 6px 12px; }

    /* Category pills */
    .categories-section { padding: 28px 0 22px; }
    .categories-track { gap: 8px; }
    .category-btn { padding: 8px 16px; font-size: 0.82rem; border-width: 2px; gap: 6px; border-radius: 14px; }
    .category-icon { width: 18px; height: 18px; }

    /* Topbar */
    .topbar-links a { font-size: 0.68rem; padding: 0 8px; }

    /* News card titles — hardcoded 28px v pôvodnej definícii, treba downscale */
    .news-card-title { font-size: 17px; line-height: 1.2; }
    .news-card-body { padding: 14px 14px; }

    /* Company */
    .company-section { padding: 28px 0; }

    /* News */
    .news-section { padding: 36px 0 44px; }

    /* Company text — nowrap + menší font aby sa zmestil na 1 riadok */
    .company-text-main { font-size: 1.4rem; }

    /* Footer proporčný downscale pre FHD (px paddings/gaps + text size). */
    .footer-main { padding: 56px 0 46px; }
    .footer-grid { min-height: 200px; }
    .footer-col { padding: 0 56px; }
    .footer-heading { font-size: 1.3rem; margin-bottom: 22px; }
    .footer-nav { gap: 10px; }
    .footer-nav a { font-size: 1rem; }
    .footer-address { font-size: 1rem; }
    .footer-bottom { padding: 20px 0; }
    .footer-bottom-inner { gap: 16px; }
    .footer-bottom-links { gap: 36px; }
    .footer-bottom-links a { font-size: 0.85rem; }
    .footer-copyright { font-size: 0.85rem; }
    .footer-logo-img { width: 260px; }

    /* Floating contact button */
    .contact-float { padding: 9px 16px; font-size: 0.82rem; }
    .contact-float svg { width: 14px; height: 14px; }

    /* ---- Country selector (menu "Zvoľte krajinu") ---- */
    .country-btn { padding: 6px 14px; font-size: 0.9rem; gap: 6px; }
    .country-dropdown { min-width: 170px; }
    .country-option { padding: 9px 14px; font-size: 0.85rem; gap: 10px; }
    .country-flag { font-size: 1rem; width: 20px; }

    /* ---- Inquiry modal (Dopyt tovaru) — FHD fits in 551vh without scroll ---- */
    body .inquiry-overlay { padding: 10px !important; }
    body .inquiry-overlay .inquiry-modal { padding: 16px 22px !important; max-width: 420px !important; max-height: 96vh !important; }
    body .inquiry-overlay .inquiry-close { top: 6px !important; right: 8px !important; font-size: 1rem !important; }
    body .inquiry-overlay .inquiry-title { font-size: 1.05rem !important; margin-bottom: 10px !important; }
    body .inquiry-overlay .inquiry-row { margin-bottom: 6px !important; }
    body .inquiry-overlay .inquiry-label { font-size: 0.62rem !important; margin-bottom: 2px !important; }
    body .inquiry-overlay .inquiry-input { padding: 4px 0 !important; font-size: 13px !important; }
    body .inquiry-overlay .inquiry-textarea { min-height: 46px !important; }
    body .inquiry-overlay .inquiry-product-display { font-size: 0.82rem !important; padding: 4px 0 !important; }
    body .inquiry-overlay .inquiry-gdpr { font-size: 0.7rem !important; margin-bottom: 10px !important; gap: 6px !important; margin-top: 10px !important; }
    body .inquiry-overlay .inquiry-gdpr input[type="checkbox"] { width: 14px !important; height: 14px !important; }
    body .inquiry-overlay .btn-inquiry-submit { padding: 8px 22px !important; font-size: 0.82rem !important; }
    /* reCAPTCHA disclaimer v modali menší než na frontend baseline (11px → 9px)
       aby sa celý formulár zmestil na FHD bez scroll. Mimo modal ostáva 11px. */
    body .inquiry-overlay .recaptcha-branding { font-size: 9px !important; line-height: 1.35 !important; margin-top: 6px !important; }
    body .inquiry-overlay .inquiry-success-box { padding: 14px 22px 22px !important; }
    body .inquiry-overlay .inquiry-success-box h3 { font-size: 1.05rem !important; }
    body .inquiry-overlay .inquiry-success-box p { font-size: 0.8rem !important; }

    /* ---- Product detail page ---- */
    .product-detail-section { padding: 60px 0 48px; }
    .product-detail-top { grid-template-columns: 2fr 3fr; gap: 32px; margin-bottom: 32px; }
    .product-detail-title { font-size: 1.55rem; margin-bottom: 10px; }
    .product-detail-desc { font-size: 0.95rem; margin-bottom: 18px; line-height: 1.55; }
    .product-params-block { padding-top: 14px; margin-bottom: 16px; }
    .product-params-title { font-size: 0.95rem; margin-bottom: 10px; }
    .product-params-row { grid-template-columns: 130px 1fr; gap: 10px; padding: 4px 0; }
    .product-params-label, .product-params-value { font-size: 0.85rem; }
    .product-downloads-block { padding-top: 14px; margin-bottom: 16px; gap: 0 14px; }
    .product-download-link { font-size: 0.9rem; padding: 6px 0; }
    .product-detail-actions { margin-top: 18px; }
    .btn-inquiry { padding: 10px 22px; font-size: 0.9rem; gap: 7px; }
    .btn-inquiry svg { width: 16px; height: 16px; }

    /* ---- About page ---- */
    .about-section { padding: calc(var(--topbar-height) + var(--header-height) + 40px) 0 48px; }
    .about-layout { gap: 40px; }
    .about-img, .about-img-placeholder { height: 360px; }
    .about-cta-btn { padding: 10px 28px; font-size: 0.9rem; }

    /* ---- Services page ---- */
    .services-section { padding: calc(var(--topbar-height) + var(--header-height) + 40px) 0 48px; }
    .services-intro { margin-bottom: 32px; max-width: 520px; }
    .services-heading { font-size: 1.6rem; margin-bottom: 10px; }
    .services-subheading { font-size: 0.92rem; }
    .services-grid { gap: 14px; }
    .service-card { padding: 22px 18px 18px; }
    .service-card-num { font-size: 3rem; top: 8px; right: 14px; }
    .service-card-icon { margin-bottom: 14px; }
    .service-card-icon svg { width: 30px; height: 30px; }
    .service-card-title { font-size: 0.95rem; margin-bottom: 8px; }
    .service-card-text { font-size: 0.85rem; line-height: 1.6; }

    /* ---- Contact page ---- */
    .contact-section { padding: calc(var(--topbar-height) + var(--header-height) + 40px) 0 48px; }
    .contact-page-title { font-size: 1.3rem; margin-bottom: 28px; }
    .contact-info-grid { gap: 20px; margin-bottom: 40px; }
    .contact-address-block { padding: 20px 24px; }
    .contact-address-title { font-size: 0.72rem; margin-bottom: 14px; }
    .contact-addr-line { font-size: 0.92rem; line-height: 1.6; }
    .contact-email-link { font-size: 0.92rem; margin-top: 12px; }
    .contact-map-wrap, .contact-map-placeholder { min-height: 220px; }
    .contact-persons-title { font-size: 1.3rem; margin-bottom: 18px; }

    /* ---- Career page ---- */
    .career-section { padding: calc(var(--topbar-height) + var(--header-height) + 40px) 0 56px; }
    .career-header { margin-bottom: 36px; }
    .career-header-label { font-size: 0.68rem; margin-bottom: 10px; }
    .career-header-title { font-size: 1.7rem; margin-bottom: 12px; }
    .career-header-sub { font-size: 0.9rem; max-width: 460px; }
    .career-grid { max-width: 720px; gap: 12px; }

    /* ---- Homepage: news filter dropdown + slider dots + back button ---- */
    .news-filter-toggle { padding: 9px 18px; font-size: 0.9rem; gap: 7px; }
    .news-filter-toggle svg { width: 14px; height: 14px; }
    .news-filter-menu { min-width: 200px; }
    .news-filter-option { padding: 10px 16px; font-size: 0.88rem; }

    .slider-dot { width: 14px; height: 14px; border-width: 2px; }
    .slider-dots { gap: 6px; padding: 7px 12px; bottom: 18px; }

    .btn-back-products { padding: 9px 20px; font-size: 0.88rem; gap: 6px; }

    /* ---- News detail page (podstránka aktualít) ---- */
    .news-detail-wrap { padding: calc(var(--topbar-height) + var(--header-height) + 24px) 0 56px; }
    .news-detail-back { font-size: 0.85rem; margin-bottom: 22px; gap: 6px; }
    .news-detail-layout { grid-template-columns: 340px 1fr; column-gap: 32px; }
    .news-detail-title { font-size: 1.6rem; margin-bottom: 10px; }
    .news-detail-subtitle { font-size: 0.95rem; line-height: 1.5; }
    .news-detail-category { font-size: 0.72rem; padding: 7px 14px; }
    .news-featured-badge { font-size: 0.72rem; padding: 7px 12px; }
    .nd-badges { gap: 6px; margin-bottom: 12px; }
    .nd-meta-item { padding: 8px 12px; gap: 10px; }
    .nd-meta-icon { width: 28px; height: 28px; }
    .nd-meta-label { font-size: 0.6rem; }
    .nd-meta-value { font-size: 0.8rem; }
    .nd-copy-btn { padding: 9px 14px; font-size: 0.8rem; gap: 6px; }
    .nd-divider { margin-bottom: 18px; }
    .nd-content-block { padding-top: 16px; }
    .news-detail-content { font-size: 0.95rem; line-height: 1.65; }
    .news-detail-content h2 { font-size: 1.2rem; margin: 1.4em 0 0.5em; }
    .news-detail-content h3 { font-size: 1.05rem; margin: 1.1em 0 0.4em; }
    .news-detail-related { margin-top: 40px; padding-top: 28px; }
    .news-detail-related-title { font-size: 1.3rem; margin-bottom: 16px; }
    .news-detail-related-grid { gap: 14px; }
    .news-related-card-title { font-size: 1.05rem; }
}
