/*
Theme Name: LHNS GeneratePress Child
Theme URI: https://nontop-lindyhop.pl
Description: Child theme for Lindy Hop Non Stop festival website. Based on GeneratePress.
Author: Magdalena
Template: generatepress
Version: 1.0.0
Text Domain: lhns-gp-child
*/


@font-face {
    font-family: "Nectar";
    src: url("assets/fonts/Nectar-Regular.ttf.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------------------
   2. Variables
   --------------------------------------------------------- */

:root {
    --warm-cream: #fef1d8;
    --night-indigo: #190e43;
    --plum-violet: #2d074e;
    --sunset-orange: #fe930f;
    --vibrant-pink: #fd4ba9;
    --sun-yellow: #fec918;
    --aqua-mint: #8de0d7;
    --palm-green: #5bb492;

    --lhns-font-logo: "Nectar", serif;
    --lhns-font-heading: "Bricolage Grotesque", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --lhns-font-body: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --lhns-font-condensed: "Barlow Condensed", system-ui, sans-serif;

}

html,
body {
    overflow-x: hidden;
}

a {
    cursor: pointer;
}

.lhns-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;
}

.lhns-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) 80%);
    z-index: 1;
}

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

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

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

.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;
}


@media (max-width: 768px) {
  h1 {
    font-size: clamp(3.4rem, 16vw, 5.2rem) !important;
    line-height: 1;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  h3 {
    font-size: clamp(1.7rem, 6vw, 2.5rem);
  }
    h4 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }
}

h1{
    text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.3);
}