/* VTP Compat: replaces js_composer.min.css basics + Revolution slider */

/* Rows / columns (Bootstrap 3 grid from the theme does the widths) */
.vc_row:after, .vc_row:before { content: " "; display: table; }
.vc_row:after { clear: both; }
.wpb_content_element { margin-bottom: 30px; }
.wpb_column > .vc_column-inner { padding: 0; }
.wpb_single_image img { max-width: 100%; height: auto; }
.wpb_single_image .vc_figure { margin: 0; display: inline-block; max-width: 100%; }
.vc_separator hr { margin: 20px 0; }

/* Gallery */
.vtp-gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.vtp-gallery .wpb_heading { flex-basis: 100%; }
.vtp-gallery__item img { display: block; max-width: 100%; height: auto; }

/* Video */
.vtp-video iframe { max-width: 100%; }

/* Accordion */
.vtp-accordion__item { border: 1px solid #e5e5e5; margin-bottom: 8px; border-radius: 3px; }
.vtp-accordion__item summary { cursor: pointer; padding: 10px 15px; font-weight: 600; background: #f6f6f6; }
.vtp-accordion__body { padding: 12px 15px; }

/* Tabs (fallback when Bootstrap tab JS is not there: all panes stay readable) */
.vtp-tabs__content > .tab-pane { padding: 15px 0; }

/* Slider (replaces Slider Revolution) */
.vtp-slider { position: relative; overflow: hidden; background: #f6f6f6; aspect-ratio: 848 / 525; }
.vtp-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.vtp-slider__slide.is-active { opacity: 1; z-index: 1; }
.vtp-slider__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vtp-slider__arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .45); color: #fff; font-size: 28px; line-height: 38px; cursor: pointer; padding: 0; opacity: 0; transition: opacity .2s; }
.vtp-slider:hover .vtp-slider__arrow, .vtp-slider__arrow:focus { opacity: 1; }
.vtp-slider__arrow--prev { left: 10px; }
.vtp-slider__arrow--next { right: 10px; }
.vtp-slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; text-align: center; }
.vtp-slider__dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #e5e5e5; background: #999; margin: 0 4px; padding: 0; cursor: pointer; }
.vtp-slider__dot.is-active { background: #666; }
@media (max-width: 767px) { .vtp-slider__arrow { opacity: 1; width: 32px; height: 32px; font-size: 22px; line-height: 30px; } }
