/* Legacy Bdevs Element widgets (built for the Visapass theme) restyled to the Tourism Fund design system.
   Selectors target the widget wrappers Elementor prints: .elementor-widget-{name}. Refine on staging against the cloned content. */
.tf-theme :is(.elementor-widget-about,.elementor-widget-about_tab,.elementor-widget-service,.elementor-widget-featured_list,.elementor-widget-cf7) img{max-width:100%;height:auto;display:block}
.tf-theme :is(.elementor-widget-about,.elementor-widget-about_tab,.elementor-widget-service,.elementor-widget-featured_list) :is(h1,h2,h3,h4,h5){font-family:var(--tf-head)!important;color:var(--tf-jungle);text-transform:uppercase;letter-spacing:.01em}
.tf-theme :is(.elementor-widget-about,.elementor-widget-about_tab,.elementor-widget-service,.elementor-widget-featured_list) :is(p,li){color:var(--tf-charcoal);font-size:17px;line-height:1.72}
.tf-theme .elementor-widget-service :is(.single-service,.service-item,.services-item,[class*="service-box"]){background:#fff;border:1px solid var(--tf-light);border-top:4px solid var(--tf-jungle);padding:26px}
.tf-theme .elementor-widget-about_tab :is(.nav,.nav-tabs){display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid var(--tf-light);margin-bottom:24px;padding:0;list-style:none}
.tf-theme .elementor-widget-about_tab :is(.nav-link,.nav-tabs a){display:block;padding:14px 20px;font-weight:800;font-size:13.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--tf-charcoal);border-bottom:4px solid transparent;text-decoration:none}
.tf-theme .elementor-widget-about_tab :is(.nav-link.active,.nav-tabs .active a){color:var(--tf-jungle);border-bottom-color:var(--tf-jungle)}
.tf-theme .elementor-widget-about_tab .tab-pane{display:none}.tf-theme .elementor-widget-about_tab .tab-pane.active{display:block}
/* Contact Form 7 via the Bdevs cf7 widget */
.tf-theme .wpcf7 form{display:grid;gap:14px}
.tf-theme .wpcf7 :is(input[type=text],input[type=email],input[type=tel],textarea,select){width:100%;padding:15px 18px;border:1px solid #C9CED3;background:#fff;font:inherit}
.tf-theme .wpcf7 input[type=submit]{background:var(--tf-jungle);color:#fff;border:2px solid var(--tf-jungle);padding:16px 30px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.tf-theme .wpcf7 input[type=submit]:hover{background:var(--tf-jungle-hover)}
