.rrc-barras-section {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.rrc-barras-accordion {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    background: #111;
}

.rrc-barras-item {
    position: relative;
    flex: 1 1 0;
    min-height: 145px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
    background-color: #111;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    transition: flex 0.65s cubic-bezier(.22, 1, .36, 1), min-height 0.45s ease;
}

.rrc-barras-item.is-active {
    flex: 5 1 0;
    min-height: 75vh;
}

.rrc-barras-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.24) 28%, rgba(0, 0, 0, 0.42) 62%, rgba(0, 0, 0, 0.76) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.24) 40%, rgba(0, 0, 0, 0.18) 64%, rgba(0, 0, 0, 0.42) 100%);
    transition: opacity 0.45s ease;
}

.rrc-barras-item.is-active .rrc-barras-overlay {
    opacity: 1;
}

.rrc-barras-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: 1.2fr auto 1fr auto;
    width: 90%;
    min-height: inherit;
    height: 100%;
    padding: 30px 65px 30px;
    color: #fff;
}

.rrc-barras-title {
    grid-row: 2;
    align-self: center;
    margin: 0;
    color: #fff !important;
    line-height: inherit;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.45s ease, opacity 0.35s ease;
}

.rrc-barras-description-wrap {
    grid-row: 4;
    align-self: end;
    overflow: hidden;
    max-height: 0;
    max-width: 540px;
    opacity: 0;
    transform: translateY(18px);
    color: #fff;
    transition: max-height 0.5s ease, opacity 0.35s ease, transform 0.45s ease;
}

.rrc-barras-item.is-active .rrc-barras-description-wrap {
    max-height: 320px;
    opacity: 1;
    transform: translateY(-45px);
    transition-delay: 0.12s;
}

.rrc-barras-description-wrap,
.rrc-barras-description-wrap p {
    color: #fff !important;
}

.rrc-barras-description-wrap p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .rrc-barras-item {
        min-height: 150px;
    }

    .rrc-barras-item.is-active {
        min-height: 75vh;
    }

    .rrc-barras-content {
        width: min(100%, 100%);
        padding: 30px 26px 28px;
    }

    .rrc-barras-description-wrap {
        max-width: 480px;
    }
}

@media (max-width: 767px) {
    .rrc-barras-item {
        min-height: 150px;
    }

    .rrc-barras-item.is-active {
        min-height: 65vh;
    }

    .rrc-barras-content {
        width: 100%;
        padding: 4px 18px 4px;
    }

    .rrc-barras-description-wrap {
        max-height: 0;
        max-width: 100%;
    }

    .rrc-barras-item.is-active .rrc-barras-description-wrap {
        max-height: 340px;
    }
}
