/*
Theme Name: KMiTa Child
Template: generatepress
Version: 1.0.0
Text Domain: kmita-child
*/

@font-face {
    font-family: "Dunbar Tall";
    src: url("assets/fonts/dunbar-tall-regular.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Dunbar Tall";
    src: url("assets/fonts/dunbar-tall-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neuzeit Grotesque";
    src: url("assets/fonts/NeuzeitGro-Reg.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neuzeit Grotesque";
    src: url("assets/fonts/NeuzeitGro-Bol.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* colour scheme Cream Noir - Flame Boost */

:root {
    --kmita-navy: #212645;
    --kmita-flame: #e0341a;
    --kmita-gold: #f0ac30;
    --kmita-cream: #f7e5ca;
    --kmita-ink: #0d101d;
    --kmita-sand: #d7c4a5;
    --kmita-burntcoral: #c34937;

    --font-display: "Dunbar Tall", "Arial Narrow", sans-serif;
    --font-body: "Neuzeit Grotesque", Arial, sans-serif;
}

html,
body {
     overflow-x: hidden;
}

a {
    cursor: pointer;
}

.kmita-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.kmita-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(28, 28, 28, 0.41) 0%, rgba(28, 28, 28, 0.41) 50%);
    z-index: 1;
}

.kmita-hero__inner {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 48px));
    margin-inline: auto;
    text-align: center;
    color: #F5E7CF;
}

.kmita-hero__title {
    font-family: "Dunbar Tall", "Arial Narrow", sans-serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    margin-bottom: 24px;
    color: #F5E7CF;
}

.kmita-hero__lead {
    max-width: 900px;
    margin-inline: auto;
    font-family: "Neuzeit Grotesque", Arial, sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F5E7CF;
}

.kmita-hero__button {
    margin-top: 32px;
}

@media (max-width: 768px) {
    .kmita-hero {
        min-height: 360px;
    }

    .kmita-hero__inner {
        width: min(100% - 36px, 720px);
    }

    .kmita-hero__title {
        font-size: clamp(38px, 12vw, 52px);
    }

    .kmita-hero__lead {
        font-size: 16px;
        letter-spacing: 0.04em;
        text-transform: none;
    }
}



/* Usuwa biały odstęp nad banerem, gdy hero jest pierwszym blokiem strony */
body:has(.entry-content > .kmita-hero:first-child) .site-main {
    margin-top: 0 !important;
}

body:has(.entry-content > .kmita-hero:first-child) .inside-article {
    padding-top: 0 !important;
}

body:has(.entry-content > .kmita-hero:first-child) .entry-content {
    margin-top: 0 !important;
}

.entry-content > .kmita-hero:first-child {
    margin-top: 0 !important;
}

.kmita-box{
    padding: 30px;
}
.kmita-box p {
    margin: 0;
}

.kmita-box-schedule p {
     padding: 0;
     margin: 0;
}

a.gb-text, a.gb-text:hover {
    color: #fff;
}
