/*
Theme Name: Tripp Child
Theme URI: https://tripptheme.com/
Description: A child theme for the Tripp theme. By using a child theme you will ensure that your modifications are preserved.
Author: Wyde
Author URI: https://wydethemes.com/
Template: tripp
Requires at least: 6.0
Tested up to: 6.4.3
Requires PHP: 7.4
Version: 1.0
Text Domain: tripp-child
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: block-patterns, block-styles, blog, custom-background, custom-colors, custom-header, custom-logo, custom-menu, e-commerce, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, grid-layout, microformats, one-column, portfolio, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/




/* =========================================
   OPIS SEO NA DOLE KATEGORII
   ========================================= */

.opis-seo-blok-nisko {
    width: calc(100% - 48px);
    max-width: 1320px;
    margin: 56px auto 72px;
    padding: 0;
}

.opis-seo-blok-nisko__inner {
    padding: 42px 46px;
    background: #fffdfb;
    border: 1px solid rgba(40, 36, 33, 0.10);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(40, 36, 33, 0.035);
    color: #514c48;
    text-align: left;
}

/* Akapity oraz listy tylko w tym bloku */

.opis-seo-blok-nisko__inner p,
.opis-seo-blok-nisko__inner li {
    font-size: 16px !important;
    line-height: 1.75 !important;
    font-weight: 400;
}

.opis-seo-blok-nisko__inner p {
    margin: 0 0 18px;
}

.opis-seo-blok-nisko__inner ul,
.opis-seo-blok-nisko__inner ol {
    margin: 12px 0 22px;
    padding-left: 24px;
}

.opis-seo-blok-nisko__inner li {
    margin-bottom: 7px;
}

/* Nagłówki tylko w tym bloku */

.opis-seo-blok-nisko__inner h2 {
    margin: 36px 0 14px;
    color: #282421;
    font-size: 27px !important;
    line-height: 1.25 !important;
    font-weight: 700;
}

.opis-seo-blok-nisko__inner h3 {
    margin: 28px 0 12px;
    color: #282421;
    font-size: 21px !important;
    line-height: 1.35 !important;
    font-weight: 700;
}

.opis-seo-blok-nisko__inner h4 {
    margin: 24px 0 10px;
    color: #282421;
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: 700;
}

/* Brak zbędnego odstępu na początku i końcu karty */

.opis-seo-blok-nisko__inner > :first-child {
    margin-top: 0;
}

.opis-seo-blok-nisko__inner > :last-child,
.opis-seo-blok-nisko__tresc > :last-child {
    margin-bottom: 0;
}

/* Linki */

.opis-seo-blok-nisko__inner a {
    color: #8D3D50;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.opis-seo-blok-nisko__inner a:hover {
    color: #6f2f3f;
}

/* =========================================
   PRZYCISK ROZWIJANIA
   ========================================= */

.opis-seo-blok-nisko__details {
    margin-top: 22px;
}

.opis-seo-blok-nisko__przycisk {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    padding: 11px 18px;
    background: transparent;
    color: #8D3D50 !important;
    border: 1px solid #8D3D50;
    border-radius: 999px;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700;
    cursor: pointer;
    list-style: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.opis-seo-blok-nisko__przycisk:hover {
    background: #8D3D50;
    color: #ffffff !important;
}

/* Usuwamy fabryczny trójkąt elementu details */

.opis-seo-blok-nisko__przycisk::-webkit-details-marker {
    display: none !important;
}

.opis-seo-blok-nisko__przycisk::marker {
    content: "" !important;
    font-size: 0;
}

/* Pokazujemy tylko właściwy napis */

.opis-seo-blok-nisko__rozwin {
    display: inline !important;
}

.opis-seo-blok-nisko__zwin {
    display: none !important;
}

.opis-seo-blok-nisko__details[open]
.opis-seo-blok-nisko__rozwin {
    display: none !important;
}

.opis-seo-blok-nisko__details[open]
.opis-seo-blok-nisko__zwin {
    display: inline !important;
}

/* Plus i minus */

.opis-seo-blok-nisko__przycisk::after {
    content: "+";
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.opis-seo-blok-nisko__details[open]
.opis-seo-blok-nisko__przycisk::after {
    content: "−";
}

.opis-seo-blok-nisko__tresc {
    margin-top: 30px;
}

/* Dostępność klawiatury */

.opis-seo-blok-nisko__przycisk:focus-visible {
    outline: 3px solid rgba(231, 168, 103, 0.45);
    outline-offset: 4px;
}

/* =========================================
   TELEFONY
   ========================================= */

@media (max-width: 767px) {

    .opis-seo-blok-nisko {
        width: calc(100% - 32px);
        margin: 38px auto 48px;
    }

    .opis-seo-blok-nisko__inner {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .opis-seo-blok-nisko__inner p,
    .opis-seo-blok-nisko__inner li {
        font-size: 15.5px !important;
        line-height: 1.7 !important;
    }

    .opis-seo-blok-nisko__inner h2 {
        margin-top: 30px;
        font-size: 22px !important;
    }

    .opis-seo-blok-nisko__inner h3 {
        font-size: 19px !important;
    }

    .opis-seo-blok-nisko__inner h4 {
        font-size: 17px !important;
    }
}




