/*
Theme Name: Letucień 2025
Theme URI: http://ltcn.pl
Author: JustPage
Author URI: http://justpage.pl/
Description: Default theme for Letucień 2025
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --bg: #ffffff;
    --disabled-bg: #DEE2E6;
    --text: #1F2022;
    --contrast-text: #ffffff;
    --disabled-text: #7C7C7C;
    --accent: #FF0082;
    --theme: #FEDD14;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a:not([button]):not([photo]):hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    overflow: hidden;
}

/* Buttons */
button {
    background: inherit;
    border: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: uppercase;
    letter-spacing: inherit;
    cursor: pointer;
}

a[button], div[button] {
    display: inline-block;
    border: 1px solid var(--text);
    border-radius: 15px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

a[button][contrast], div[button][contrast] {
    color: var(--contrast-text);
    border: 1px solid var(--contrast-text);
}

a[button]:hover, div[button]:hover, a[photo]:hover [button] {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--contrast-text);
    transition: all 0.2s;
}

a[button]:disabled, div[button]:disabled {
    background: var(--disabled-bg);
    border-color: var(--disabled-text);
    color: var(--disabled-text);
}

h2, h4 {
    font-weight: 500;
    font-size: 40px;
    line-height: 52px;
    margin-bottom: 20px;
}

h3 {
    font-weight: 600;
    font-size: 50px;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h5 {
    font-weight: 400;
    font-size: 28px;
    line-height: 35px;
}

p, span, h1, h2, h3, h4, h5, h6 {
    cursor: default;
}

body {
    background: var(--bg);
    font-family: "Unbounded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 16px;
    line-height: 170%;
    color: var(--text);
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

[content-wrapper] {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

[content-wrapper][two-columns] {
    grid-template-columns: repeat(2, 1fr);
}

[content-wrapper][three-columns] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

[content-wrapper][four-columns] {
    grid-template-columns: repeat(4, 1fr);
}

[content-wrapper][eight-columns] {
    grid-template-columns: repeat(8, 1fr);
}

[content-wrapper] > h2 {
    grid-column: 1 / -1;
}

[content-wrapper][one_and_two-columns] {
    grid-template-columns: 1fr 2fr;
}


div[content-block],
a[content-block] {
    border: 1px solid var(--text);
    border-radius: 20px;
    padding: 30px;
}

div[content-block][photo],
a[content-block] [photo] {
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 0;
}

div[content-block][themed],
a[content-block][themed] {
    border-color: var(--theme);
    background: var(--theme);
}

div[content-block][accented],
a[content-block][accented] {
    border-color: var(--accent);
    background: var(--accent);
}

section:not(:first-of-type) {
    margin-top: 100px;
}

/* Header  */

header {
    position: sticky;
    top: 0;
    list-style: none;
    text-transform: uppercase;
    height: 60px;
    font-weight: 300;
    font-size: 12px;
    line-height: 24px;
    letter-spacing: 1.2px;
    background: inherit;
    z-index: 1000;
}

header [content-wrapper] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

header svg[logo] {
    width: 113px;
    height: 40px;
}

header ul li {
    display: inline-flex;
    margin-left: 38px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

header ul li:not(:has(button)) {
    padding: 6px 6px 5px;
}

/* header: language*/
input[type="radio"] {
    display: none;
}

[lang-btn] {
    border: none;
    background: transparent;
    padding: 0.5em 1em;
    cursor: pointer;
    transition: all 0.3s;
}

input[type="radio"]:checked + [lang-btn] {
    color: var(--accent);
}

header ul li:not(:has([lang-btn])):hover {
    border-bottom: 1px solid black;
}

/* HERO section*/
section[hero] {
    background: var(--hero) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: calc(100vh - 60px);
    text-align: center;
    margin-top: 0;
    display: grid;
    grid-template-rows: auto auto 1fr;
}

section[hero] p {
    display: block;
    width: 100%;
    background: var(--bg);
    transform: translateY(-30%);
    padding-bottom: 12px;
}

section[hero] [hero-title] {
    display: grid;
    grid-template-columns: 1fr minmax(0, 1440px) 1fr;
    align-items: center;
}

section[hero] [hero-placeholder] {
    background: var(--bg);
    height: 100%;
    max-height: 310px;
    margin: 0 -1px;
}

section[hero] [svg-wrapper] {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 310px;
}

[svg-wrapper] svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* ABOUT section*/
section[about] [content-block] {
    min-height: 385px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

section[about] [content-block] p {
    width: 82%;
}

section[about] [content-block] [button] {
    margin-top: auto;
}

section[about] [content-block]:first-child {
    background: url("assets/main_page/about/about_left.svg") no-repeat right bottom,
    var(--theme);
}

section[about] [content-block]:last-child {
    background: url("assets/main_page/about/about_right.svg") no-repeat right bottom;
}

/* HISTORY section*/
div[history] {
    margin-top: 50px;
}

div[history] p:first-child {
    font-weight: 600;
    font-size: clamp(40px, 2.5vw, 60px);
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

div[history] video {
    margin-top: 30px;
}

[photo] {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

[photo] [blur] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1F2022 -30%, rgba(31, 32, 34, 0) 100%);
    pointer-events: none;
}

[photo] [blur] + p {
    position: absolute;
    top: 30px;
    left: 30px;
    font-weight: 400;
    font-size: 28px;
    line-height: 35px;
    color: var(--contrast-text);
}

[photo] [button] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

[photo][accented]:hover,
[photo][themed]:hover {
    background: inherit;
    border-color: var(--text);
}


[photo][accented]:hover [button],
[photo][themed]:hover [button] {
    background: inherit;
    border-color: var(--text);
    color: var(--text);
}

[map] span {
    color: var(--accent);
}

[contact] [content-block] {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

[contact] [content-block] a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

[contact] [content-block][yellow] {
    background: url("assets/main_page/contact/yellow.svg") no-repeat right;

}

[contact] [content-block][pink] {
    background: url("assets/main_page/contact/pink.svg") no-repeat bottom;
    background-size: contain;
}

[contact] [content-block][pink] p {
    display: flex;
    justify-content: space-between;
}

[contact] [content-block][blue] {
    background: url("assets/main_page/contact/blue.svg") no-repeat top right;
}

[contact] a {
    font-weight: 600;
    font-size: clamp(15px, 1.5vw, 20px);
    line-height: 30px;
}

[media] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("assets/main_page/media/media_desktop.svg") no-repeat bottom right;
}

[media] h4 {
    margin: 0 20px 0 0;
}

footer {
    margin-top: 100px;
    font-weight: 500;
    font-size: 20px;
    line-height: 52px;
}

footer p,
footer [copyright] a {
    font-weight: 300;
    font-size: 12px;
    line-height: 150%;
}

footer a[href^="mailto"] {
    color: var(--accent);
    margin-top: 10px;
    margin-right: 20px;
}

[copyright] {
    margin-top: 49px;
    padding: 10px;
    border-top: 1px solid var(--disabled-bg);
}

[copyright] div,
[copyright] a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[mobile_map] {
    display: none;
    width: 100%;
}

[map] img {
    width: 100%;
}

[hidden-on-desktop] {
    display: none;
}

body[market] [content-wrapper][one_and_two-columns] a[button],
body[food_court] [content-wrapper][one_and_two-columns] a[button] {
    margin-right: 20px;
    padding: 12px 22px;
}

body[food_court] [info]:has(h5) {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* HISTORY page*/
body[history] {
    background: url('./assets/history_page/header_bg.svg') no-repeat top,
    var(--bg);
}

body[history] header {
    margin-bottom: 360px;
}

body[history] [history_date] {
    font-weight: 600;
    font-size: 60px;
    line-height: 48px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 30px;
    display: block;
}

body[history] p {
    margin-top: 20px;
}

body[history] p a {
    text-decoration: underline;
}

body[history] [history_photo] {
    aspect-ratio: 1/1;
    background: #D9D9D9;
    border-radius: 20px;
    overflow: hidden;
}

body[history] [history_support] {
    padding: 76px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: url("./assets/history_page/support_pink.svg") no-repeat bottom;
}

body[history] [content-block] [button] {
    margin-top: auto;
}

body[history] [content-block]:not([media]) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    aspect-ratio: 1/1;
}

body[history] [content-block] span {
    font-weight: 500;
    font-size: 40px;
    line-height: 52px;
    color: var(--contrast-text);
}

body[history] [content-block][facebook] {
    background: url("./assets/history_page/content/facebook.png") no-repeat center center;
}

body[history] [content-block][spotify] {
    background: url("./assets/history_page/content/spotify.png") no-repeat center center;
}

body[history] [content-block][instagram] {
    background: url("./assets/history_page/content/instagram.png") no-repeat center center;
}


[photo-wrapper] {
    background: var(--disabled-bg);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
}


@media (max-width: 1280px) {
    [content-wrapper] {
        padding: 0 10px;
    }
}

@media (max-width: 1024px) {
    body {
        font-size: 15px;
    }

    h2, h4 {
        margin-bottom: 0;
    }

    h3 {
        font-size: 27px;
        line-height: 48px;
    }

    [content-wrapper] {
        padding: 0 20px;
    }

    [content-wrapper][two-columns],
    [content-wrapper][three-columns],
    [content-wrapper][four-columns],
    [content-wrapper][eight-columns],
    [content-wrapper][one_and_two-columns] {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    body[market] [content-wrapper][four-columns] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    div[content-block] {
        padding: 20px !important;
    }

    /* header: burger-menu*/
    header [burger] {
        cursor: pointer;
        background: none;
        border: none;
    }

    [menu] {
        display: none;
        background: var(--bg);
        padding-bottom: 20px;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 60px);
        z-index: 2;
        font-weight: 400;
        font-size: 22px;
        line-height: 22px;
        overflow-y: scroll;
    }

    .js-opened_menu [menu] {
        display: flex;
        padding-top: 30px;
    }

    [menu] li {
        margin-left: 0;
    }

    [close_burger] {
        display: none;
    }

    .js-opened_menu [open-burger] {
        display: none;
    }

    .js-opened_menu [close_burger] {
        display: block;
    }

    [menu] [menu_socials] {
        display: flex;
        margin-top: auto;
        gap: 20px;
    }

    [menu] [menu_socials]:hover {
        border-bottom: 1px solid transparent;
    }

    section:not([hero]) {
        margin-top: 60px;
    }

    section[about] a[button] {
        width: 100%;
    }

    section[about] [content-block] p {
        width: 100%;
    }

    div[history] {
        margin-top: 30px;
    }

    div[history] div:not([hidden-on-mobile]),
    div[history] div:not([hidden-on-tavlets]) {
        display: flex;
        align-items: baseline;
        font-size: 15px;
    }

    div[history] p:first-child {
        font-size: 40px;
        margin-bottom: 0;
    }

    [hidden-on-mobile] {
        display: none;
    }

    [hidden-on-desktop] {
        display: block;
    }

    [hidden-on-tablets] {
        display: block;
    }

    [contact] a {
        font-size: 16px;
    }

    h2[hidden-on-desktop] {
        margin-top: 60px;
    }

    section[partners] {
        overflow: hidden;
    }

    section[partners] div {
        max-width: max-content;
        display: inline-flex;
        animation: scroll 25s linear infinite;
        margin-top: 20px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% + 50px));
        }
    }
    section[partners] a {
        display: inline-block;
        min-width: 110px;
        height: 110px;
    }

    section[partners] img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }

    [media] {
        background: url("assets/main_page/media/media_mobile.svg") no-repeat right;
        background-size: cover;
        aspect-ratio: 1/1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        align-items: center;
    }

    [copyright] {
        margin-top: 0;
    }

    [copyright] div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    [copyright] div a {
        line-height: 30px;
    }

    body[market] [info],
    body[food_court] [info] {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    [content-wrapper][two-columns],
    [content-wrapper][three-columns],
    [content-wrapper][four-columns],
    [content-wrapper][eight-columns],
    [content-wrapper][one_and_two-columns] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    [hidden-on-tablets] {
        display: none;
    }
}

@media (min-width: 600px) {
    [hidden-on-tablets] video {
        display: none;
    }
}

body[market] video {
    border-radius: 20px;
    overflow: hidden;
}

[faq-answer] {
  display: none;
  margin-top: 0.5em;
}

[faq-answer][open] {
  display: block;
}

[faq-question] {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--Black, #1F2022);
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px; /* 125% */
	font-family: "Unbounded", sans-serif;
}
@media (max-width: 1024px)
{
    [faq-question]
    {
        font-size: 20px;
        gap:15px;
    }
}
[faq] [item]
{
    padding: 28px 20px;
}
[faq] [item]:nth-child(odd) 
{
    background-color: #F7F7F7; /* светлый фон */
}
@media (max-width: 700px)
{
    [content-wrapper][faq]
    {
        padding-inline:0;
    }
    [faq] [item]
    {
        padding:10px 20px;
    }
    [content-wrapper][faq] h2
    {
        padding-inline:20px;
    }
}

[faq-question][active] span {
  transform: rotate(45deg); /* + → × */
}
[content-wrapper][faq]
{
    gap:0;
}
[faq-question] em
{
    font-style:normal;
    display:block;
    text-align:left;
}
[faq-question] span
{
    display: inline-block;
    width:30px;
    height:30px;
    transform-origin: center;
}
@media (max-width: 1024px)
{
	body[history] [two-columns] h2
	{
	    font-size: 30px;
	    line-height: 42px;
	}
}
span[hearts]
{
	color: var(--accent);
	display:inline-block;
	padding-inline:10px;
}