/* Dopasowanie nagłówka i stanów menu SIGNUM do wyglądu MEGAHITEK. */
.sec-title h1 {
    position: relative;
    display: block;
    font-size: 51px;
    line-height: 1.2em;
    color: #393d72;
    font-weight: 400;
    padding-bottom: 25px;
}
.sec-title h1::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 6px;
    width: 60px;
    background-image: url(../images/icons/line-2.png);
    background-repeat: no-repeat;
}
.main-menu .navigation > li.is-active::before {
    width: 100%;
    left: 0;
}
.main-menu .navigation > li.is-active > a {
    color: #393d72;
}
.sticky-header .main-menu .navigation > li.is-active > a {
    opacity: 1;
    color: #ff4880;
}
@media only screen and (max-width: 1139px) {
    .sec-title h1 { font-size: 40px; }
}
@media only screen and (max-width: 767px) {
    .sec-title h1 { font-size: 32px; }
    .sec-title h1 br { display: none; }
}


@media only screen and (min-width: 768px) {
    .main-header .main-menu .navigation {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(8px, 1.2vw, 18px);
    }
    .main-header .main-menu .navigation > li {
        flex: 0 0 auto;
        margin: 0 !important;
    }
    .main-header .main-menu .navigation > li > a {
        white-space: nowrap;
    }
}

/* Strona główna: telefon ma rozmiar tekstu otaczającego. */
.megahitek_booking_banner .megahitek_booking_phone {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    white-space: nowrap;
}
.megahitek_booking_banner .megahitek_booking_phone,
.megahitek_booking_banner h2 a { color: #FFC240; transition: color 300ms ease; }
.megahitek_booking_banner .megahitek_booking_phone:hover,
.megahitek_booking_banner .megahitek_booking_phone:focus-visible,
.megahitek_booking_banner h2 a:hover,
.megahitek_booking_banner h2 a:focus-visible { color: #ffdb93; }
/* Jednakowy kadr dla zdjęć dwóch salek i antresoli. */
.megahitek_party_rooms .team-block .image img { aspect-ratio: 1; object-fit: cover; }

/* Zajawka urodzin: wyśrodkowany opis i lżejszy rząd zdjęć z bocznym oddechem. */
.megahitek_party_rooms .megahitek_party_intro { max-width: 900px; margin: 0 auto; text-align: center; }
.megahitek_party_rooms .megahitek_party_intro p { margin: 0 0 18px; }
.megahitek_party_rooms .megahitek_party_intro p:last-child { margin-bottom: 0; }
.megahitek_party_rooms .megahitek_party_rooms_grid { max-width: 1000px; margin-left: auto; margin-right: auto; padding-left: clamp(12px, 3vw, 36px); padding-right: clamp(12px, 3vw, 36px); }
.megahitek_party_rooms .team-block .inner-box { max-width: 280px; }

/* Rezerwacja online w osobnym wierszu pod cennikiem. */
.megahitek_price_booking { max-width: 900px; margin: 28px auto 0; padding: 26px; border: 1px solid #ffe0ed; border-radius: 20px; background: #fff4f8; text-align: center; }
.megahitek_price_booking h3 { margin: 0 0 12px; color: #393d72; }
.megahitek_price_booking p { margin: 0 0 20px; }
.megahitek_price_booking .theme-btn { max-width: 100%; white-space: normal; }
@media only screen and (max-width: 479px) {
    .megahitek_price_booking { padding: 22px 18px; }
}

/* Drugi banner na głównej: panoramy 360°. */
.call-to-action.megahitek_booking_banner { background-color: #E34188; }

/* Wyraźny, tekstowy odnośnik do rezerwacji przed zdjęciami sal. */
.megahitek_party_booking_link { margin: -18px auto 38px; padding: 0 16px; text-align: center; font-size: 19px; }
.megahitek_party_booking_link p { margin: 0 0 12px; color: #393d72; font-size: inherit; line-height: 1.8; }
.megahitek_party_booking_link > a { display: inline-block; color: #e34188; font-size: inherit; line-height: 1.8; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; transition: color 300ms ease; }
.megahitek_party_booking_link > a:hover,
.megahitek_party_booking_link > a:focus-visible { color: #393d72; }

/* Cennik: krótsze zakończenie treści i banner oddzielony od stopki. */
.megahitek_price_details.event-detail-section { padding-bottom: 40px; }
.megahitek_price_details .event-detail .lower-content { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.megahitek_price_details .event-detail .lower-content > p:last-child { margin-bottom: 0; }
.call-to-action.megahitek_price_banner {
    width: calc(100% - 40px);
    max-width: 1170px;
    margin: 0 auto 70px;
    padding: 44px 24px;
    border-radius: 24px;
    overflow: hidden;
}
.megahitek_price_banner .content-box { max-width: 900px; }
.megahitek_price_banner .title { font-size: 28px; margin-bottom: 18px; }
.megahitek_price_banner .megahitek_booking_phone_line { font-size: 22px; line-height: 1.5; margin-bottom: 18px; }
.megahitek_price_banner h2 { font-size: 50px; line-height: 1.2; margin: 0; }
@media only screen and (max-width: 767px) {
    .megahitek_price_details.event-detail-section { padding-bottom: 30px; }
    .megahitek_price_details .content-side + .content-side { margin-top: 24px; }
    .call-to-action.megahitek_price_banner { padding: 32px 18px; margin-bottom: 48px; border-radius: 20px; }
    .megahitek_price_banner .title { font-size: 24px; }
    .megahitek_price_banner .megahitek_booking_phone_line { font-size: 20px; }
    .megahitek_price_banner h2 { font-size: 36px; }
}
@media only screen and (max-width: 479px) {
    .call-to-action.megahitek_price_banner { width: calc(100% - 30px); }
    .megahitek_price_banner h2 { font-size: 30px; }
}

/* Stopka: opis sali, spokojniejsze odstępy i odnośniki prawne. */
.main-footer .links-widget .list p { margin-bottom: 16px; }
.main-footer .links-widget .list p:last-child { margin-bottom: 0; }
.main-footer .links-widget .list a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.main-footer .links-widget .list a:hover,
.main-footer .links-widget .list a:focus-visible { color: #ff4880; }
.main-footer .contact-info li { margin-bottom: 12px; line-height: 1.6; }
.main-footer .contact-info li:last-child { margin-bottom: 0; }
.main-footer .contact-info li .fa { line-height: 1.6; }
.megahitek_footer_legal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(199, 202, 233, .25); }
.megahitek_footer_legal a { color: #c7cae9; font-size: 17px; line-height: 1.5; transition: color 300ms ease; }
.megahitek_footer_legal a:hover,
.megahitek_footer_legal a:focus-visible { color: #ff4880; }
/* Dokumenty: istniejące fonty i paleta, czytelne odstępy oraz numeracja. */
.megahitek_legal.about-section { padding: 70px 0; }
.megahitek_legal_content { max-width: 1000px; margin: 0 auto; }
.megahitek_legal .sec-title { margin-bottom: 26px; }
.megahitek_legal .sec-title h2 { font-size: 36px; line-height: 1.25; }
.megahitek_legal_content p { margin: 0 0 20px; }
.megahitek_legal_list { counter-reset: legal-point; list-style: none; padding: 0; margin: 30px 0; }
.megahitek_legal_list > li { counter-increment: legal-point; position: relative; padding: 0 0 24px 64px; margin: 0 0 24px; border-bottom: 1px solid #e7e7ef; min-height: 44px; }
.megahitek_legal_list > li::before { content: counter(legal-point); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ffe0ed; color: #393d72; font-size: 18px; font-weight: 700; }
.megahitek_legal_list > li:last-child { margin-bottom: 0; }
.megahitek_legal_list > li > :last-child { margin-bottom: 0; }
.megahitek_legal_list h3 { color: #393d72; font-size: 26px; line-height: 1.3; margin: 0 0 14px; }
.megahitek_legal_content a { color: #e34188; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.megahitek_legal_content a:hover,
.megahitek_legal_content a:focus-visible { color: #393d72; }
@media only screen and (max-width: 767px) {
    .megahitek_legal.about-section { padding: 45px 0; }
    .megahitek_legal .sec-title h2 { font-size: 28px; }
    .megahitek_legal_list > li { padding-left: 50px; }
    .megahitek_legal_list > li::before { width: 34px; height: 34px; font-size: 16px; }
    .megahitek_legal_list h3 { font-size: 23px; }
}
