/**
 * Theme Name: Zwróć Butelke TTF Child
 * Template:   twentytwentyfive
 */

 body {
    padding: 0;
 }

 /* Override WordPress margin reset - elements with Tailwind classes manage their own margins */
.is-layout-flex > * {
    margin: revert-layer !important;
}

.entry-content {
    overflow: hidden;
}
 
.shift-text {
    display: block;
    width: fit-content;
    margin-left: auto;
}

.wp-block-group.bottle-margin {
    z-index: 1;
}

figure {
    margin: 0;
}

.label-transform {
    transform: rotateZ(5deg);
    z-index: 1;
}
.wp-container-core-group-is-layout-f60e75cd::before {
    content: '';
    background: var(--wp--preset--color--zywiec-red) !important;
    display: block;
    position: absolute;
    right: 1px;
    top: 0;
    width: 22rem;
    height: 100%;
    transform: translateX(100%);
}

details {
    width: 100%;
}

details[open] summary::after {
    transform: translateY(-50%) rotateZ(90deg);
}

details p {
    font-size: 0.8em;
}

summary { 
    position: relative;
    padding: 1.5rem 3rem 1.5rem 1rem;
    text-align: center;
    z-index: 1;
    border-left: 1.2rem solid #001494;
}

summary:focus {
    outline: none;
}

summary::after {
    content: '';
    display: block;
    position: absolute;
    right: 24px;
    top: 50%;
    width: 16px;
    height: 25px;
    background-image: url("/wp-content/uploads/2025/11/arrow.webp");
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%);
    transition: transform .3s ease;
    transform-origin: left;
}

summary::marker {
    display: none;
    content: '';
}

.how-to-box .bottle {
    margin-right: -3rem;
    z-index: 1;
}

.wp-container-core-group-is-layout-bd9a589b {
    margin-bottom: -10rem;
}

.index-up {
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    
    .remove-padding-mobile { 
        padding: 0 !important;
    }

    .wp-container-core-group-is-layout-f60e75cd::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .shift-text {
        display: inline;
    }
}