/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.0.0
 Text Domain:  bricks
*/

* {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

.happyinn-daugiau-button {
    background: transparent;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;

    &:hover,
    &:focus {
        color: #FF5C00;
    }

    i {
        display: inline-block;
        width: 14px;
        aspect-ratio: 2;
        background: url('./assets/images/chevron-down.svg') no-repeat center center / contain;
    }

    &[aria-expanded="true"] {
        display: none!important;
    }
}

.brxe-text .happyinn-daugiau-button:not([aria-expanded="true"]) ~ * {
    display: none;
}

.brxe-accordion {
    .accordion-title .icon {
        font-size: 24px;
    }

    .accordion-content-wrapper {
        max-width: 800px;
    }
}

:where(.brxe-nav-menu) .bricks-nav-menu .sub-menu {
    min-width: 70px;
    padding: 12px 16px;
    margin-left: -16px;
}