/* =========================================================
   BASE
   LASPO
========================================================= */

/* ---------------------------------------------------------
   Fonts
--------------------------------------------------------- */

/* Inter 400 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-ext-regular.woff2') format('woff2');
}

/* Inter 500 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-ext-500.woff2') format('woff2');
}

/* Inter 600 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-ext-600.woff2') format('woff2');
}

/* Inter 700 */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-ext-700.woff2') format('woff2');
}

/* Inter Tight 500 */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-tight-v9-latin-ext-500.woff2') format('woff2');
}

/* Inter Tight 600 */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-tight-v9-latin-ext-600.woff2') format('woff2');
}

/* Inter Tight 700 */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-tight-v9-latin-ext-700.woff2') format('woff2');
}

/* Inter Tight 800 */
@font-face {
  font-display: swap;
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-tight-v9-latin-ext-800.woff2') format('woff2');
}

/* JetBrains Mono 400 */
@font-face {
  font-display: swap;
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/jetbrains-mono-v24-latin-ext-regular.woff2') format('woff2');
}

/* JetBrains Mono 500 */
@font-face {
  font-display: swap;
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/jetbrains-mono-v24-latin-ext-500.woff2') format('woff2');
}

/* JetBrains Mono 600 */
@font-face {
  font-display: swap;
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/jetbrains-mono-v24-latin-ext-600.woff2') format('woff2');
}

/* ---------------------------------------------------------
   CSS variables
--------------------------------------------------------- */

:root {
    /* Fonts */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Inter Tight', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Brand colors */
    --color-navy: #0a2342;
    --color-navy-light: #0c2532;
    --color-navy-deep: #050b14;

    --color-orange: hsl(34.53deg 84.83% 58.63%);
    --color-orange-hover: #c87e1e;

    --color-white: #ffffff;
    --color-off-white: #f4f3ef;

    /* Slate scale */
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;

    /* Text */
    --color-text: #101820;
    --color-text-muted: #667078;
    --color-text-on-dark: rgba(255, 255, 255, 0.65);

    /* Borders (navy tints = light sections, white tints = dark sections) */
    --color-border: rgba(16, 24, 32, 0.14);
    --color-border-dark: rgba(255, 255, 255, 0.14);
    --color-navy-10: rgba(10, 35, 66, 0.10);
    --color-navy-20: rgba(10, 35, 66, 0.20);
    --color-navy-25: rgba(10, 35, 66, 0.25);
    --color-white-10: rgba(255, 255, 255, 0.10);
    --color-white-15: rgba(255, 255, 255, 0.15);

    /* Orange tints */
    --color-orange-10: rgba(239, 163, 60, 0.10);
    --color-orange-40: rgba(239, 163, 60, 0.40);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;

    /* Motion */
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;
    --ease: cubic-bezier(.4, 0, .2, 1);

    /* Shapes */
    --clip-chamfer: polygon(
        8px 0,
        100% 0,
        100% calc(100% - 8px),
        calc(100% - 8px) 100%,
        0 100%,
        0 8px
    );
}


/* ---------------------------------------------------------
   Reset
--------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;

    color: var(--color-text);
    background: var(--color-white);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: clip;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font-body);
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
ul,
ol,
figure,
blockquote {
    margin-top: 0;
}

ul,
ol {
    padding-left: 0;
}

/* ---------------------------------------------------------
   Typography
--------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5em;

    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;

    text-wrap: balance;
}

h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
}

h3 {
    font-size: clamp(1.7rem, 2.4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.1;
}

h4 {
    font-size: clamp(1.35rem, 1.8vw, 1.8rem);
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

/* p {
    max-width: 70ch;
} */


/* =========================================================
   LAYOUT
========================================================= */

.container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
     padding-block: 7rem;
}
@media (max-width: 1024px){
    .container {
     padding-block: 6rem;
}
}
@media (max-width: 480px){
     .container {
     padding-block: 4rem;
}
}



/* ---------------------------------------------------------
   Section spacing
--------------------------------------------------------- */
.section,
.full-width > .container{ padding-left: 40px;
    padding-right: 40px;}

@media (max-width: 768px) {
    body { font-size: 15px; }

    h1 { font-size: clamp(2.5rem, 12vw, 4.3rem); }
    h2 { font-size: clamp(2.1rem, 9vw, 3.4rem); }

.section,
.full-width > .container{ 
    padding-left: 32px;
    padding-right: 32px;}
}

@media (max-width: 520px) {
.section,
.full-width > .container{ 
    padding-left: 24px;
    padding-right: 24px;}
}



/* ---------------------------------------------------------
   Section variants
   <section class="section section--dark full-width">
--------------------------------------------------------- */

/* Full-bleed band inside the page container */
.full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.section--slate {
    background-color: var(--color-slate-100);
}

.section--dark {
    position: relative;
    overflow: hidden;

    color: var(--color-white);
    background-color: var(--color-navy);
}

/* content always above .blueprint / .glow */
.section--dark > .container {
    position: relative;
    z-index: 1;
}

/* Blueprint grid overlay (dark sections) */
.blueprint {
    position: absolute;
    inset: 0;

    pointer-events: none;
    opacity: 0.7;

    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.043) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.043) 1px, transparent 1px);
    background-size: 72px 72px;
}

/* Soft orange glow (dark sections) */
.glow {
    position: absolute;
    top: -6rem;
    right: -8rem;

    width: 27.5rem;
    height: 27.5rem;

    border-radius: 50%;
    background-color: var(--color-orange-10);
    filter: blur(140px);

    pointer-events: none;
}


/* ---------------------------------------------------------
   Two-column split (text + media, text + form ...)
   1 column on mobile, 2 columns from 1024px

   modifiers:
   --center        vertically centred columns
   --narrow-first  first column narrower (0.85fr / 1.15fr)
--------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
}

@media (min-width: 1024px) {

    .split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .split--center       { align-items: center; }

    .split--narrow-first {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        align-items: start;
    }

}


/* =========================================================
   SITE HEADER
========================================================= */

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: var(--color-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* Header inner */

.inside-header {
    width: 100%;
    max-width: 1320px;
    min-height: 72px;

    margin-inline: auto;
    padding: 0 2rem;

    display: flex;
    align-items: center;

    gap: 2rem;
}

/* ---------------------------------------------------------
   Logo / branding
--------------------------------------------------------- */

.site-branding,
.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    width: auto;
    max-height: 48px;
}

/* ---------------------------------------------------------
   Navigation
--------------------------------------------------------- */

.main-navigation {
    margin-left: auto;

    background: transparent;
}

.main-navigation .inside-navigation {
    background: transparent;
}

.main-navigation .main-nav > ul {
    display: flex;
    align-items: center;

    gap: 2.25rem;
}

.main-navigation .main-nav > ul > li > a {
    padding: 0;

    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.75);

    background: transparent;

    transition: color var(--transition-fast);
}

.main-navigation .main-nav > ul > li:hover > a,
.main-navigation .main-nav > ul > li:focus-within > a,
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a {
    color: var(--color-orange);
    background: transparent;
}

/* ---------------------------------------------------------
   Dropdown
--------------------------------------------------------- */

.main-navigation ul ul {
    min-width: 250px;

    padding: 0.75rem 0;

    background: var(--color-navy);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.main-navigation ul ul li a {
    padding: 0.75rem 1.25rem;

    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: rgba(255, 255, 255, 0.72);

    background: transparent;
}

.main-navigation ul ul li:hover > a,
.main-navigation ul ul li:focus-within > a,
.main-navigation ul ul li.current-menu-item > a {
    color: var(--color-orange);
    background: rgba(255, 255, 255, 0.04);
}

.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header{
    background-color: transparent;
}

.site-content{
    flex-direction: column;
}

.one-container .site-content{
    padding: 0px!important;
}
.site-main>*{
    margin-bottom: 0px;
}

.site.container{ 
padding-top:0px;
}

.site.grid-container.container.hfeed{padding-bottom: 0px;}
/* ---------------------------------------------------------
   Mobile menu toggle
--------------------------------------------------------- */

.mobile-menu-control-wrapper {
    display: none;
}

#site-navigation > .inside-navigation > .menu-toggle {
    display: none;
}

.mobile-menu-control-wrapper .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.20);

    transition:
        color var(--transition-fast),
        background-color var(--transition-fast),
        border-color var(--transition-fast);
}

.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus-visible {
    border-color: var(--color-orange);
}

/* ---------------------------------------------------------
   Responsive header
--------------------------------------------------------- */

@media (max-width: 1092px) {

    .mobile-menu-control-wrapper {
        display: flex;
        margin-left: auto;
    }

    .mobile-menu-control-wrapper .menu-toggle {
        display: flex;
    }

    .inside-header {
        min-height: 68px;
        padding-inline: 1.25rem;
    }

    .site-logo img {
        max-height: 42px;
    }

    .main-navigation .main-nav > ul {
        gap: 0;
    }

    .main-navigation.toggled .main-nav {
        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        background: var(--color-navy);
        border-top: 1px solid rgba(255, 255, 255, 0.10);
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .main-navigation.toggled .main-nav > ul {
        display: block;
        padding: 1rem 1.25rem 1.5rem;
    }

    .main-navigation.toggled .main-nav > ul > li > a {
        padding: 1rem 0;
        font-size: 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .main-navigation.toggled .main-nav > ul > li:last-child > a{border-bottom: 0;}
}

@media (max-width: 480px) {

    .inside-header {
        padding-inline: 1rem;
    }

}

@media (max-width: 1092px) {
    .has-inline-mobile-toggle .inside-header {
        flex-wrap: nowrap;
    }
}

@media (max-width: 1092px) {
    .inside-header {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 2rem;
    }
    .main-navigation.sub-menu-right.toggled{margin: 0 !important;;}

    .site-logo {
        margin-right: auto;
    }

    .mobile-menu-control-wrapper {
        order: 2;
        flex: 0 0 auto;
        margin-left: 0 !important;
    }

    .header-cta {
        order: 3;
        flex: 0 0 auto;
    }

    #site-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex: none;
        order: 4;
    }
}
@media (max-width: 1092px) {
    .site-logo {
        order: 1;
        margin-right: auto;
    }

    .mobile-menu-control-wrapper {
        order: 2;
        margin-left: 0 !important;
    }

    .header-cta {
        order: 3;
    }

    #site-navigation {
        order: 4;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }
}

/* =========================================================
   UTILITIES (legacy)
   Každá trieda je definovaná iba raz. Nepoužívajú sa už v
   home.php – nechané kvôli footer.php / ďalším šablónam.
   Po kontrole šablón nepoužité zmaž.
========================================================= */

/* Layout */
.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.grid            { display: grid; }
.grid-cols-2     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items-center    { align-items: center; }
.justify-content { justify-content: center; }
.gap-px          { gap: 1px; }
.gap-3           { gap: 0.75rem; }
.gap-12          { gap: 2rem; }
.max-w-3xl       { max-width: 48rem; }

/* Spacing */
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-5  { margin-top: 1.25rem; }
.mt-8  { margin-top: 2rem; }
.mt-9  { margin-top: 2.25rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.p-8   { padding: 2rem; }
.px-6  { padding-inline: 1.5rem; }
.py-7  { padding-block: 1.75rem; }

/* Typography */
.font-heading   { font-family: var(--font-heading); }
.font-mono      { font-family: var(--font-mono); }
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.uppercase      { text-transform: uppercase; }
.text-10        { font-size: 0.625rem; }
.text-11        { font-size: 0.6875rem; }
.text-sm        { font-size: 0.875rem; line-height: 1.25rem; }
.text-base      { font-size: 1rem; }
.text-lg        { font-size: 1.125rem; line-height: 1.75rem; }
.leading-relaxed { line-height: 1.625; }
.tracking-016   { letter-spacing: 0.16em; }
.tracking-022   { letter-spacing: 0.22em; }
.tracking-eyebrow { letter-spacing: 0.26em; }

/* Colors */
.white      { color: var(--color-white); }
.white-65   { color: var(--color-text-on-dark); }
.navy       { color: var(--color-navy); }
.navy-70    { color: rgba(10, 35, 66, 0.70); }
.slate-500  { color: var(--color-slate-500); }
.slate-600  { color: var(--color-slate-600); }
.amber      { color: var(--color-orange); }
.amber-dark { color: var(--color-orange-hover); }
.bg-amber   { background-color: var(--color-orange); }
.bg-white   { background-color: var(--color-white); }
.bg-navy-10 { background-color: var(--color-navy-10); }
.bg-slate-60 { background-color: rgba(241, 245, 249, 0.60); }

/* Borders */
.border         { border: 1px solid; }
.border-y       { border-block: 1px solid; }
.border-navy-10 { border-color: var(--color-navy-10); }

/* Misc */
.eyebrow-line { width: 2rem; height: 1px; flex: 0 0 2rem; background-color: var(--color-orange); }
.transition-colors {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.heading-section { font-size: 1.75rem; line-height: 1.08; letter-spacing: -0.025em; }

@media (min-width: 640px) {
    .heading-section      { font-size: 2.25rem; line-height: 2.5rem; }
    .sm-p-12              { padding: 3rem; }
    .sm-flex-row          { flex-direction: row; }
    .sm-items-center      { align-items: center; }
    .sm-gap-4             { gap: 1rem; }
    .sm-grid-cols-2       { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-grid-cols-3       { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .heading-section      { font-size: 2.6rem; line-height: 1.08; }
    .lg-grid-cols-2       { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg-grid-cols-4       { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg-items-center      { align-items: center; }
    .lg-gap-16            { gap: 4rem; }
}
