.ptc-compare-teaser {
    width: 100%;
}

.ptc-compare-teaser .acf-innerblocks-container {
    margin-block: 3rem;
}

/* --- Select Posts Compare Container --- */
.ptc-teaser-select-container {
    min-height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ptc-teaser-select-container .ptc-teaser-options-container {
    flex-basis: 100%;
}

.ptc-teaser-select-container
    .ptc-teaser-options-container
    .ptc-teaser-options-wrapper {
    position: relative;
}

.ptc-teaser-select-container
    .ptc-teaser-options-container
    .ptc-teaser-options-wrapper
    .ptc-options-thumb {
    width: 1.5rem;
    height: 1.5rem;
    background-size: contain;
    position: absolute;
    z-index: 10;
    border-radius: 50vw;
    top: 50%;
    left: 10px;
    transform: translate(0, -50%);
}

.ptc-teaser-select-container
    .ptc-teaser-options-container
    .ptc-teaser-options-wrapper
    label {
    z-index: 10;
    position: absolute;
    top: -50%;
    left: 0.35rem;
    transform: translate(0, 100%);
    padding: 0 0.25rem;
    color: #727272;
    background-color: #ffffff;
    font-size: 0.75rem;
}

.ptc-teaser-select-container .ptc-teaser-options-container select {
    width: 100%;
    min-height: 3rem;
    outline: none;
    padding: 0.625rem;
    padding-right: 2.625rem;
    font-size: 1rem;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill-rule='evenodd' d='M0.159777 0.133605C0.362132 -0.0542961 0.678498 -0.0425786 0.866399 0.159777L6.99999 6.7652L13.1336 0.159776C13.3215 -0.0425789 13.6379 -0.0542959 13.8402 0.133606C14.0426 0.321507 14.0543 0.637873 13.8664 0.840228L7.36639 7.84023C7.27178 7.94211 7.13903 8 6.99999 8C6.86096 8 6.7282 7.94211 6.63359 7.84023L0.133605 0.840227C-0.0542961 0.637872 -0.0425786 0.321506 0.159777 0.133605Z' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 0.875rem;
    background-position: right 1rem top 50%;
    border: 1px solid #e3e8eb;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
}

.ptc-teaser-select-container .ptc-options-divider {
    display: flex;
    width: 20px;
    height: 20px;
    background: #000;
    color: #fff;
    justify-content: center;
    align-items: center;
    font-size: 0.5rem;
    font-weight: 700;
    border-radius: 50vw;
}

#ptc-teaser-btn {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--wp--preset--color--monza);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    line-height: 1;
    font-size: 1rem;
    cursor: pointer;
    border: 0;
    transition: all ease 0.2s;
}

#ptc-teaser-btn:hover {
    background-color: var(--wp--preset--color--monza-dark);
}

#ptc-teaser-btn:disabled {
    background-color: var(--wp--preset--color--monza-darker);
    cursor: unset;
}

#ptc-teaser-btn svg {
    width: 1rem;
}

@media only screen and (min-width: 782px) {
    #ptc-teaser-btn {
        flex-basis: calc(100% / 3);
    }

    .ptc-teaser-select-container .ptc-teaser-options-container {
        flex-basis: calc(100% / 3 - 10px);
    }
}
