/* Responsive featured image styles for CF7 Radio Slider */
.cf7rs-featured-image {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.cf7rs-image-link {
  display: block;
  text-align: center;
}
.cf7rs-radio-slide img {
    max-width: none; /* allow natural image width */
  height: auto;
  display: block;
}
.cf7rs-radio-slider-wrapper {
  max-width: 100%;
}
/* CF7 Radio Slider Styles */

.standalone-form {
    margin: auto;
}

.cf7rs-radio-slider-wrapper {
    width: 100%;
    max-width: calc(100vw / 3);
    margin: 20px auto;
}

.cf7rs-radio-carousel {
    border-radius: 8px;
    background: #fff;
}

.cf7rs-radio-slide {
    display: flex !important;
    flex-direction: column;
    min-height: 150px;
}

.cf7rs-radio-label {
    position: relative;
    width: 100%;
    display: flex;
    font-size: calc(100vw / 75);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: calc(100vw / 100);
}

.cf7rs-radio-label input[type="radio"], input[type=checkbox], input[type=radio] {
    width: auto;
    max-width: none; /* don't enforce a small max width */
    width: calc(100vw / 100) !important;
    height: calc(100vw / 100) !important;
    transform: scale(1.2);
    opacity: 1;
}

.cf7rs-post-title {
    font-size: calc(100vw / 50);
    position: relative;
    width: 100%;
    margin: 8px 0 10px 0;
    font-weight: 300;
    margin-left: calc(100vw / 100);
}

.wpcf7-form-control-wrap label {
    font-size: calc(100vw / 120);
    margin: calc(100vw / 200);
}

.uacf7-buttons button {
    font-size: calc(100vw / 120);
    padding: calc(100vw / 200) calc(100vw / 100);
}

.cf7rs-excerpt {
    position: relative;
    width: 100%;
    margin-top: 8px;
    text-align: left;
    max-width: 100%;
}

.cf7rs-excerpt .standalone_excerpt {
    margin: 0;
}

.cf7rs-excerpt .standalone_excerpt .wp-block-group__inner-container,
.cf7rs-excerpt .standalone_excerpt .wp-block-group__inner-container .wp-block-columns, 
.cf7rs-excerpt .standalone_excerpt .wp-block-group__inner-container .wp-block-columns .wp-block-column {
    max-width: 100% !important;
    flex-basis: 100% !important;
    display: flex;;
}

.cf7rs-excerpt .standalone_excerpt .wp-block-group__inner-container .wp-block-columns .wp-block-column:last-child {
    display: none;
}

.cf7rs-excerpt .standalone_excerpt .wp-block-group__inner-container .wp-block-columns .wp-block-column .description {
    display: none !important;
}

.cf7rs-excerpt .standalone_excerpt .wp-block-group__inner-container .wp-block-columns .wp-block-column .button  {
    display: none !important;
}

.cf7rs-excerpt .glide {
    display: none !important;
}

/* Slick customization */
.cf7rs-radio-carousel .slick-dots {
    bottom: -40px;
    display: none !important;
}

.cf7rs-radio-carousel .slick-dots li button:before {
    color: #ac8f64;
}

.cf7rs-radio-carousel .slick-dots li.slick-active button:before {
    color: #ac8f64;
    opacity: 1;
}

.cf7rs-radio-carousel .slick-arrow {
    z-index: 1;
    width: 40px;
    height: 40px;
}

.slick-prev:before,
.slick-next:before {
    font-size: calc(100vw / 55);
    line-height: calc(100vw / 55);
    font-family: monospace;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #0c0c0e;
    background-size: 17px auto;
    background-position: 50%;
    background-repeat: no-repeat;
    border-radius: 6px;
}

.slick-prev,
.slick-next {
    position: absolute;
    width: calc(100vw / 48);
    height: calc(100vw / 48);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.cf7rs-radio-carousel .slick-prev {
    left: -50px;
}

.cf7rs-radio-carousel .slick-next {
    right: -50px;
}

/* Hide original radio controls */
.wpcf7-radio.cf7rs-target {
    display: none;
}

/* Featured image above each radio option */
.cf7rs-image-link {
    display: block;
    text-decoration: none;
}

.cf7rs-featured-image {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 0 12px 0;
    border-radius: calc(100vw / 200) calc(100vw / 200) 0 0;
}

/* Title link styling */
.cf7rs-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
        display: block;
        max-width: none; /* use original image width */
        width: auto;
        height: auto;
        margin: 0 0 12px 0;
        border-radius: calc(100vw / 200) calc(100vw / 200) 0 0;
}