/*
 * Tip4Stream Studio – landing page (Default/tiktok.html.twig)
 * Uzupełnia new.css: sekcje, nagłówki, przyciski i tła pochodzą ze strony głównej (tip-front-*).
 * Tu są tylko elementy, których strona główna nie ma (makieta telefonu, kroki, instalacja, FAQ).
 * Kolory marki: #00463C (ciemna zieleń), #9BC318 (limonka), #D9534F (czerwony CTA).
 */

/* ---------- drobne elementy wspólne ---------- */

/* oficjalna plakietka Google Play (PNG ma przezroczysty margines – kompensujemy go ujemnym marginesem) */
.tip-studio-gplay {
    display: inline-block;
    line-height: 0;
    margin: -9px 0;
    transition: transform .15s ease;
}

.tip-studio-gplay:hover {
    transform: translateY(-2px);
}

.tip-studio-gplay img {
    height: 76px;
    width: auto;
}

.tip-studio-only-mobile {
    display: none;
}

.tip-front-sub a,
.tip-studio-step-desc a,
.tip-studio-req a,
.tip-studio-faq a {
    color: #6E8C0B;
    font-weight: 600;
}

/* ---------- 1. HERO ---------- */

.tip-studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 4px;
    background: #FFFFFF;
    box-shadow: 4px 4px 13px rgba(0, 0, 0, 0.08);
    font: italic normal 700 14px/18px Montserrat;
    color: #00463C;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.tip-studio-badge-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #9BC318;
    box-shadow: 0 0 0 4px rgba(155, 195, 24, 0.25);
}

.tip-front-s1-desc.tip-studio-hero-desc {
    padding-top: 40px;
    padding-bottom: 34px;
}

.tip-studio-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.tip-studio-cta {
    align-items: center;
}

.tip-studio-cta .tip-btn {
    margin: 0;
}

/* przyciski obok plakietki Google Play – ta sama wysokość (widoczna część plakietki = 58px) */
.tip-studio-cta .tip-btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    padding: 0 28px;
}

.tip-studio-cta .tip-btn.tip-front-bgr-white {
    color: #00463C;
}

.tip-studio-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    font: normal normal 600 15px/20px "Open Sans";
    color: #00463C;
}

.tip-studio-checks li::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin: -3px 8px 0 0;
    border-radius: 50%;
    background: #9BC318 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 18L3.85 12.3l1.43-1.43 4.27 4.28 9.17-9.18 1.43 1.43L9.55 18z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ilustracja hero: streamerka z telefonem (zamiast postaci przy komputerze) */
.tip-front-section-1 .tip-front-s1-image {
    background-image: url(/draft/images/studio-hero.png);
    background-image: -webkit-image-set(url(/draft/images/studio-hero.webp) type("image/webp"), url(/draft/images/studio-hero.png) type("image/png"));
    background-image: image-set(url(/draft/images/studio-hero.webp) type("image/webp"), url(/draft/images/studio-hero.png) type("image/png"));
    background-size: 800px auto;
    background-position: right top;
    top: 18px;
    right: -110px;
}

/* ---------- 2. O APLIKACJI – makieta telefonu zamiast ilustracji ---------- */

.tip-studio-s2-visual {
    position: absolute;
    left: 140px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.tip-studio-phone {
    width: 290px;
    aspect-ratio: 9 / 19;
    padding: 10px;
    border-radius: 40px;
    background: #10201C;
    box-shadow: 0 30px 60px rgba(0, 40, 34, 0.35), inset 0 0 0 2px #2A3B37;
    transform: rotate(-4deg);
    position: relative;
}

.tip-studio-phone::before {
    content: '';
    position: absolute;
    top: 19px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: #0B1513;
    box-shadow: 0 0 0 2px #1D2C29;
    z-index: 3;
}

.tip-studio-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 31px;
    font-family: Montserrat, sans-serif;
}

/* „obraz z kamery przedniej” – ilustracja streamerki (ta sama postać co w hero) */
.tip-studio-phone-cam {
    position: absolute;
    inset: 0;
    background: #D6EB9C url(/draft/images/studio-phone-cam.jpg) 30% 60% / cover no-repeat;
    background-image: -webkit-image-set(url(/draft/images/studio-phone-cam.webp) type("image/webp"), url(/draft/images/studio-phone-cam.jpg) type("image/jpeg"));
    background-image: image-set(url(/draft/images/studio-phone-cam.webp) type("image/webp"), url(/draft/images/studio-phone-cam.jpg) type("image/jpeg"));
}

/* lekkie przyciemnienie góry i dołu, żeby nakładki (LIVE, czat) były czytelne */
.tip-studio-phone-cam::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 22%, transparent 72%, rgba(0, 0, 0, 0.35));
}

.tip-studio-phone-top {
    position: absolute;
    top: 40px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
}

.tip-studio-phone-live {
    background: #FE2C55;
    color: #FFF;
    padding: 2px 8px;
    border-radius: 4px;
}

.tip-studio-phone-viewers {
    background: rgba(0, 0, 0, 0.45);
    color: #FFF;
    padding: 2px 9px;
    border-radius: 99px;
}

.tip-studio-alert {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 72px;
    z-index: 2;
    padding: 11px;
    border-radius: 12px;
    border: 2px solid #9BC318;
    background: linear-gradient(135deg, #00463C, #136B55);
    color: #FFF;
    animation: tip-studio-glow 2.4s ease-in-out infinite;
}

.tip-studio-alert-who {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}

.tip-studio-alert-who b {
    color: #C5DC4A;
}

.tip-studio-alert-logo {
    width: 24px;
    height: 24px;
    background: url(/images/new/icon-tip.svg) center / contain no-repeat;
}

.tip-studio-alert-amount {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 99px;
    background: #9BC318;
    color: #00463C;
    font-weight: 800;
    font-size: 12px;
}

.tip-studio-alert p {
    margin: 6px 0 0;
    font: normal normal 400 11px/15px "Open Sans";
}

@keyframes tip-studio-glow {
    0%, 100% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(155, 195, 24, 0.6); }
    50% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(155, 195, 24, 0); }
}

.tip-studio-phone-chat {
    position: absolute;
    left: 12px;
    bottom: 56px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.tip-studio-phone-chat span {
    width: fit-content;
    padding: 4px 9px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.42);
    color: #FFF;
    font: normal normal 400 10px/14px "Open Sans";
}

.tip-studio-phone-chat b {
    color: #C5DC4A;
}

.tip-studio-phone-comment {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 16px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.8);
    font: normal normal 400 10px/14px "Open Sans";
}

.tip-studio-section-features {
    margin-top: -110px;
}

/* ---------- 4. JAK TO DZIAŁA – karty w stylu kart „Stawki” ---------- */

.tip-studio-section-steps {
    min-height: 0;
}

.tip-studio-section-steps .tip-front-section-content {
    padding-bottom: 170px;
}

.tip-studio-steps {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding-top: 60px;
}

.tip-studio-step {
    position: relative;
    padding: 34px 32px 30px;
    border-radius: 4px;
    background: transparent linear-gradient(131deg, #FFFFFF 0%, #FFFFFE 47%, #FCFFF2 100%) 0 0 no-repeat padding-box;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid #F3F7E7;
}

.tip-studio-step-num {
    font: italic normal 800 64px/64px Montserrat;
    letter-spacing: -1.3px;
    color: #9BC318;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    padding-bottom: 14px;
}

.tip-studio-step-header {
    font: italic normal 800 21px/25px Montserrat;
    letter-spacing: -0.42px;
    color: #00463C;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #9BC318;
}

.tip-studio-step-header span {
    font-weight: 500;
    color: #9BC318;
}

.tip-studio-step-desc {
    font: normal normal normal 16px/26px "Open Sans";
    color: #000000;
}

.tip-studio-step-note {
    margin-top: 14px;
    padding: 9px 12px;
    border-left: 3px solid #9BC318;
    background: #F6FAE8;
    font: normal normal 600 14px/20px "Open Sans";
    color: #00463C;
}

/* grupy kroków: 1–3 jednorazowo, 4–6 przy każdym LIVE */

.tip-studio-sub-highlight {
    font-weight: 600;
    color: #FFFFFF;
    background: linear-gradient(90deg, #BED12F 0%, #97A71E 100%);
    padding: 0 10px 2px;
    border-radius: 4px;
    white-space: nowrap;
}

.tip-studio-steps-group {
    width: 100%;
    margin-top: 56px;
    padding: 28px 28px 32px;
    border-radius: 6px;
}

.tip-studio-steps-group-once {
    background: rgba(155, 195, 24, 0.10);
    border: 2px dashed #9BC318;
}

.tip-studio-steps-group-live {
    margin-top: 34px;
    background: rgba(0, 70, 60, 0.04);
    border: 2px solid rgba(0, 70, 60, 0.12);
}

.tip-studio-steps-group .tip-studio-steps {
    padding-top: 22px;
}

.tip-studio-steps.tip-studio-steps-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tip-studio-steps-4 .tip-studio-step {
    padding-left: 26px;
    padding-right: 26px;
}

.tip-studio-steps-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.tip-studio-steps-label-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    box-shadow: 4px 4px 13px rgba(0, 0, 0, 0.12);
    color: #FFFFFF;
    text-transform: uppercase;
    font: italic normal 800 15px/18px Montserrat;
    letter-spacing: 0.3px;
}

.tip-studio-steps-group-once .tip-studio-steps-label-tag {
    background: linear-gradient(90deg, #BED12F 0%, #97A71E 100%);
}

.tip-studio-steps-group-live .tip-studio-steps-label-tag {
    background: linear-gradient(90deg, #D9534F 0%, #BB4B4B 100%);
}

.tip-studio-steps-label-text {
    font: normal normal normal 18px/24px Montserrat;
    color: #00463C;
}

.tip-studio-steps-label-text b {
    font-weight: 700;
}

.tip-studio-steps-group-once .tip-studio-step-num {
    color: #9BC318;
}

.tip-studio-steps-group-live .tip-studio-step-num {
    color: #D9534F;
}

/* ---------- 5. INSTALACJA ---------- */

.tip-studio-section-install {
    margin-top: -120px;
}

.tip-studio-section-install .tip-front-section-content {
    padding-bottom: 70px;
}

.tip-studio-section-install .tip-front-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tip-studio-section-install .tip-front-s3-sub {
    text-align: center;
}

.tip-studio-install {
    width: 100%;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}

.tip-studio-install-card,
.tip-studio-req {
    flex: 1;
    max-width: 640px;
    padding: 36px 40px;
    border-radius: 4px;
    background: #FFFFFF;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.06);
}

.tip-studio-install-list {
    counter-reset: tip-studio-install;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.tip-studio-install-list li {
    counter-increment: tip-studio-install;
    position: relative;
    padding: 0 0 18px 52px;
    font: normal normal normal 17px/26px "Open Sans";
    color: #000;
}

.tip-studio-install-list li::before {
    content: counter(tip-studio-install);
    position: absolute;
    left: 0;
    top: -3px;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: linear-gradient(90deg, #BED12F 0%, #97A71E 100%);
    box-shadow: 4px 4px 13px rgba(0, 0, 0, 0.12);
    color: #FFF;
    text-align: center;
    font: italic normal 800 18px/34px Montserrat;
}

.tip-studio-install-card {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 34px;
    align-items: center;
}

.tip-studio-install-main .tip-studio-gplay {
    margin-left: 52px;
}

.tip-studio-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 10px;
    border: 1px solid #DCE8B4;
    border-radius: 4px;
    text-decoration: none;
}

.tip-studio-qr img {
    display: block;
    width: 170px;
    height: 170px;
}

.tip-studio-qr span {
    font: italic normal 800 14px/18px Montserrat;
    color: #00463C;
}

.tip-studio-install-note {
    grid-column: 1 / -1;
    margin-top: 24px;
    font: normal normal normal 14px/21px "Open Sans";
    color: #555;
}

.tip-studio-req-header {
    font: italic normal 800 24px/29px Montserrat;
    letter-spacing: -0.48px;
    color: #00463C;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #9BC318;
}

.tip-studio-req-header span {
    font-weight: 500;
    color: #9BC318;
}

.tip-studio-req-item {
    padding: 13px 0 13px 34px;
    position: relative;
    border-bottom: 1px dashed #E3EBC6;
}

.tip-studio-req-item:last-child {
    border-bottom: 0;
}

.tip-studio-req-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #9BC318 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.55 18L3.85 12.3l1.43-1.43 4.27 4.28 9.17-9.18 1.43 1.43L9.55 18z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.tip-studio-req-item strong {
    display: block;
    font: normal normal 700 16px/22px Montserrat;
    color: #00463C;
}

.tip-studio-req-item span {
    font: normal normal normal 15px/22px "Open Sans";
    color: #444;
}

/* ---------- 6. FAQ ---------- */

.tip-studio-section-faq .tip-front-wrapper {
    padding-top: 40px;
}

.tip-studio-faq {
    width: 100%;
    max-width: 960px;
    padding: 50px 0 40px;
}

.tip-studio-faq details {
    margin-bottom: 12px;
    border-radius: 4px;
    background: #FFFFFF;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.06);
    border: 2px solid #F3F7E7;
}

.tip-studio-faq summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 60px 18px 24px;
    font: italic normal 700 18px/24px Montserrat;
    color: #00463C;
}

.tip-studio-faq summary::-webkit-details-marker {
    display: none;
}

.tip-studio-faq summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: linear-gradient(90deg, #D9534F 0%, #C54C4C 100%);
    color: #FFF;
    text-align: center;
    font: normal normal 500 22px/30px Montserrat;
    transition: transform 150ms;
}

.tip-studio-faq details[open] summary::after {
    content: '–';
}

.tip-studio-faq details[open] summary {
    border-bottom: 1px solid #9BC318;
}

.tip-studio-faq details p {
    margin: 0;
    padding: 16px 24px 20px;
    font: normal normal normal 16px/26px "Open Sans";
    color: #000;
}

/* ---------- 7. CTA ---------- */

.tip-studio-section-cta .tip-front-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 20px;
}

.tip-studio-cta-header {
    font-size: 32px;
    line-height: 40px;
    padding: 0 0 14px;
}

.tip-studio-cta-desc {
    padding-bottom: 28px;
    font-size: 18px;
}

.tip-studio-cta-center {
    justify-content: center;
}

/*
 * RESPONSIVE – progi zgodne z new.css
 */

@media (max-width: 1478px) {
    .tip-studio-s2-visual {
        left: 60px;
    }
}


@media (max-width: 1199px) {
    .tip-studio-badge {
        margin-top: 40px;
    }

    .tip-front-s1-wrapper .tip-front-s1-header {
        padding-top: 10px;
    }

    .tip-studio-cta, .tip-studio-checks {
        justify-content: center;
    }

    .tip-front-section-2 .tip-front-section-content {
        flex-direction: column;
        padding-top: 240px;
        padding-bottom: 0;
    }

    .tip-studio-s2-visual {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        order: 2;
        margin: 20px 0 70px;
    }

    .tip-studio-phone {
        width: 240px;
    }

    .tip-studio-section-features {
        margin-top: 0;
    }

    .tip-studio-steps,
    .tip-studio-steps.tip-studio-steps-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .tip-studio-steps-group-live .tip-studio-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .tip-studio-steps-group-live .tip-studio-step {
        padding-left: 22px;
        padding-right: 22px;
    }

    .tip-studio-install {
        flex-direction: column;
        align-items: center;
    }

    .tip-studio-install-card, .tip-studio-req {
        width: 100%;
    }
}

@media (max-width: 799px) {
    /* na telefonie QR nie ma sensu – zostaje sama plakietka */
    .tip-studio-qr,
    .tip-studio-only-desktop {
        display: none;
    }

    .tip-studio-only-mobile {
        display: inline;
    }

    .tip-studio-install-card {
        grid-template-columns: 1fr;
    }

    .tip-studio-install-main {
        text-align: center;
    }

    .tip-studio-install-main .tip-studio-install-list {
        text-align: left;
    }

    .tip-studio-install-main .tip-studio-gplay {
        margin-left: 0;
    }

    /* new.css chowa białe/zielone .tip-btn (reguła dla nawigacji) – w treści mają być widoczne */
    .tip-studio-cta .tip-btn.tip-front-bgr-white,
    .tip-studio-cta .tip-btn.tip-front-bgr-green {
        display: inline-flex;
    }
}

@media (max-width: 650px) {
    .tip-studio-steps-group {
        margin-left: -4px;
        margin-right: -4px;
        padding: 20px 12px 16px;
    }

    .tip-studio-steps-label {
        flex-direction: column;
        text-align: center;
    }

    .tip-studio-steps-label-text {
        font-size: 16px;
        line-height: 22px;
    }

    .tip-front-s1-sub.tip-front-sub {
        white-space: normal;
        font-size: 5.4vw;
        line-height: 7vw;
    }

    .tip-studio-steps,
    .tip-studio-steps-group .tip-studio-steps,
    .tip-studio-steps.tip-studio-steps-4,
    .tip-studio-steps-group-live .tip-studio-steps {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 20px;
    }

    .tip-studio-step {
        padding: 26px 22px 22px;
    }

    .tip-studio-step-num {
        font-size: 48px;
        line-height: 48px;
    }

    .tip-studio-install-card, .tip-studio-req {
        padding: 26px 22px;
    }

    .tip-studio-faq summary {
        font-size: 16px;
        line-height: 22px;
    }

    .tip-studio-cta-header {
        font-size: 6vw;
        line-height: 8vw;
    }

    .tip-studio-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 0 30px;
    }

    .tip-studio-cta .tip-studio-gplay {
        align-self: center;
    }

    .tip-studio-cta .tip-btn-lg {
        height: auto;
        min-height: 58px;
        padding: 10px 20px;
        white-space: normal;
    }

}

@media (max-width: 399px) {
    .tip-studio-section-install {
        margin-top: -60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tip-studio-alert {
        animation: none;
    }
}

/* ===== 3. CO ZYSKUJESZ – ikony (ChatGPT, 460px @2x) ===== */
.tip-front-s4-cell-icon.tip-studio-benefit { background-size: 214px 214px; }
.tip-studio-benefit-1 {
    background-image: url(/draft/images/studio-icon-1.png);
    background-image: -webkit-image-set(url(/draft/images/studio-icon-1.webp) type("image/webp"), url(/draft/images/studio-icon-1.png) type("image/png"));
    background-image: image-set(url(/draft/images/studio-icon-1.webp) type("image/webp"), url(/draft/images/studio-icon-1.png) type("image/png"));
}
.tip-studio-benefit-2 {
    background-image: url(/draft/images/studio-icon-2.png);
    background-image: -webkit-image-set(url(/draft/images/studio-icon-2.webp) type("image/webp"), url(/draft/images/studio-icon-2.png) type("image/png"));
    background-image: image-set(url(/draft/images/studio-icon-2.webp) type("image/webp"), url(/draft/images/studio-icon-2.png) type("image/png"));
}
.tip-studio-benefit-3 {
    background-image: url(/draft/images/studio-icon-3.png);
    background-image: -webkit-image-set(url(/draft/images/studio-icon-3.webp) type("image/webp"), url(/draft/images/studio-icon-3.png) type("image/png"));
    background-image: image-set(url(/draft/images/studio-icon-3.webp) type("image/webp"), url(/draft/images/studio-icon-3.png) type("image/png"));
}
.tip-studio-benefit-4 {
    background-image: url(/draft/images/studio-icon-4.png);
    background-image: -webkit-image-set(url(/draft/images/studio-icon-4.webp) type("image/webp"), url(/draft/images/studio-icon-4.png) type("image/png"));
    background-image: image-set(url(/draft/images/studio-icon-4.webp) type("image/webp"), url(/draft/images/studio-icon-4.png) type("image/png"));
}
@media (max-width: 299px) { .tip-front-s4-cell-icon.tip-studio-benefit { background-size: 85vw 85vw; } }

/* nagłówki sekcji jako <h2> (SEO) – bez zmiany wyglądu: zdejmujemy marginesy/rozmiar z Bootstrapa,
   :where() trzyma specyficzność na poziomie jednej klasy, więc fonty z new.css (.tip-front-s3/s4-header) zostają */
.tip-front-header:where(h2) {
    margin: 0;
}

.tip-front-s2-header:where(h2) {
    font: inherit;
}

/* ---------- Polityka prywatności aplikacji (Default/studioPrivacy.html.twig) ---------- */

.tip-studio-legal-section {
    padding: 50px 0 80px;
}

.tip-studio-legal {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 56px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 4px 4px 13px rgba(0, 0, 0, 0.08);
    font: normal normal 400 16px/1.65 Montserrat, sans-serif;
    color: #1E2B28;
    overflow-wrap: break-word;
}

.tip-studio-legal h1 {
    margin: 0 0 8px;
    font: normal normal 800 34px/1.2 Montserrat, sans-serif;
    color: #00463C;
}

.tip-studio-legal h1 span {
    color: #9BC318;
}

.tip-studio-legal h2 {
    margin: 40px 0 12px;
    padding-top: 22px;
    border-top: 1px solid #E3EBE9;
    font: normal normal 700 22px/1.3 Montserrat, sans-serif;
    color: #00463C;
}

.tip-studio-legal h3 {
    margin: 26px 0 8px;
    font: normal normal 700 17px/1.4 Montserrat, sans-serif;
    color: #00463C;
}

.tip-studio-legal p,
.tip-studio-legal ul {
    margin: 0 0 12px;
}

.tip-studio-legal ul {
    padding-left: 22px;
}

.tip-studio-legal li {
    margin-bottom: 6px;
}

.tip-studio-legal a {
    color: #6E8C0B;
    font-weight: 600;
}

.tip-studio-legal-date {
    color: #5B6B67;
    font-size: 14px;
}

.tip-studio-legal-address {
    padding: 14px 18px;
    border-left: 4px solid #9BC318;
    background: #F4F8F0;
    border-radius: 4px;
}

.tip-studio-legal-summary {
    list-style: none;
    padding: 18px 20px 10px !important;
    background: #F4F8F0;
    border-radius: 6px;
}

.tip-studio-legal-summary li {
    position: relative;
    padding-left: 28px;
}

.tip-studio-legal-summary li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #6E8C0B;
    font-weight: 800;
}

.tip-studio-legal-table {
    overflow-x: auto;
    margin: 0 0 12px;
}

.tip-studio-legal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.tip-studio-legal th,
.tip-studio-legal td {
    padding: 10px 12px;
    border: 1px solid #E3EBE9;
    text-align: left;
    vertical-align: top;
}

.tip-studio-legal th {
    background: #00463C;
    color: #FFFFFF;
}

.tip-studio-legal td:first-child {
    width: 32%;
}

@media (max-width: 650px) {
    .tip-studio-legal-section {
        padding: 20px 0 40px;
    }

    .tip-studio-legal {
        padding: 28px 18px;
        font-size: 15px;
        border-radius: 0;
        box-shadow: none;
    }

    .tip-studio-legal h1 {
        font-size: 26px;
    }

    .tip-studio-legal h2 {
        font-size: 19px;
    }
}
