/* FAQ and quote templates only. Loaded after legacy CSS; Bootstrap collapse/validation are preserved. */
.tfp-quote-page,.tfp-faq-page{color:#132b43;background:#fff}
.tfp-quote-page #quote-form{max-width:960px;margin:28px auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px;padding:28px;border:1px solid #dce5ef;border-radius:16px}
.tfp-quote-page #quote-form>.form-group{display:block;margin:0;min-width:0}
.tfp-quote-page #quote-form>.form-group>[class*=col-]{width:100%;max-width:100%;padding:0;margin-left:0;flex:none}
.tfp-quote-page #quote-form label.col-form-label{display:block;font-weight:600;margin-bottom:8px;color:#132b43}
.tfp-quote-page #quote-form .field-quote-service_id,.tfp-quote-page #quote-form .field-quote-country_id,.tfp-quote-page #quote-form .field-quote-other_services,.tfp-quote-page #quote-form>.form-group:last-of-type{grid-column:1/-1}
.tfp-quote-page #quote-service_id,.tfp-quote-page #quote-country_id{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}
.tfp-quote-page #quote-form .form-control{font-size:16px;min-height:46px;border:1px solid #cbd7e4;border-radius:8px;text-align:left}
.tfp-quote-page #quote-form input[type=checkbox],.tfp-quote-page #quote-form input[type=radio]{margin-right:8px;accent-color:#1264d8}
.tfp-faq-page #questions-wrapper>.row{display:block;max-width:900px;margin:0 auto}
.tfp-faq-page #questions-wrapper>.row>[class*=col-]{width:100%;max-width:100%;padding:0}
.tfp-faq-page #questions-wrapper .card{border:1px solid #dce5ef;border-radius:12px;margin-bottom:14px;overflow:hidden;box-shadow:none}
.tfp-faq-page #questions-wrapper .card-header{background:#f7f9fc;border:0;padding:0}
.tfp-faq-page #questions-wrapper .btn-link{display:block;width:100%;text-align:left;white-space:normal;padding:20px 24px;color:#132b43;font-size:18px;font-weight:600;line-height:1.5;text-decoration:none}
.tfp-faq-page #questions-wrapper .card-body{font-size:17px;line-height:1.7;padding:8px 24px 24px;text-align:left}
.tfp-faq-page a,.tfp-quote-page a{color:#1264d8;text-decoration:underline}
.tfp-faq-page button:focus-visible,.tfp-quote-page :is(input,select,textarea,button,a):focus-visible{outline:3px solid #1264d8;outline-offset:3px}
@media(max-width:767px){.tfp-quote-page #quote-form{display:block;padding:20px 16px}.tfp-quote-page #quote-form>.form-group{margin-bottom:20px}.tfp-quote-page #quote-service_id,.tfp-quote-page #quote-country_id{grid-template-columns:1fr}.tfp-faq-page #questions-wrapper .btn-link{font-size:17px;padding:18px}.tfp-faq-page #questions-wrapper .card-body{padding:0 18px 20px;font-size:16px}}

.tfp-quote-page #quote-form { background:#fff; }
.tfp-quote-page #quote-form > .form-group { align-content:start; }
.tfp-quote-page #quote-form .custom-select { width:100%;min-width:0;min-height:46px;font-size:16px;border:1px solid #cbd7e4;border-radius:8px; }
.tfp-quote-page #quote-form .custom-control-label { white-space:normal;overflow-wrap:anywhere; }
.tfp-quote-page #quote-form .custom-control:focus-within { outline:3px solid #1264d8;outline-offset:3px; }
.tfp-quote-page #quote-form > .form-group:last-of-type > div > .margin-bottom-20 { max-width:100%;overflow-x:auto; }
.tfp-faq-page #questions-wrapper .card-header h5 { margin:0; }
.tfp-faq-page #questions-wrapper .card-header h5 button { height:auto;min-height:0;padding:20px 52px 20px 24px;background:#f7f9fc;box-shadow:none;border-radius:0; }
.tfp-faq-page #questions-wrapper .card-header h5 button::after { left:auto;right:20px;color:#1264d8;border-color:#1264d8; }
.tfp-faq-page #questions-wrapper .card-header h5 button[aria-expanded="true"]::after { color:#fff;background:#1264d8;background-image:none; }
.tfp-faq-page #questions-wrapper .card-body { margin:0;box-shadow:none;overflow-wrap:anywhere; }
.tfp-faq-page #questions-wrapper .card-body img { max-width:100%;height:auto; }
.tfp-faq-page #questions-wrapper .card-body table { display:block;max-width:100%;overflow-x:auto; }
body.tfp-template-page .page-title-area { padding-top:calc(var(--nh,192px) + 24px);padding-bottom:18px;margin-bottom:28px!important;background:#f3f7fc; }
body.tfp-template-page .page-title-area h1 { font-size:28px;line-height:1.3;color:#132b43;margin:0; }
body.tfp-template-page .page-title-area .breadcrumb { font-size:14px;white-space:normal; }
body.tfp-template-page .page-title-area .breadcrumb a { color:#1264d8; }
@media(max-width:767px) {
 .tfp-quote-page #quote-form { padding:20px 12px; }
 .tfp-faq-page #questions-wrapper .card-header h5 button { padding:18px 48px 18px 18px;font-size:17px; }
 body.tfp-template-page .page-title-area { margin-bottom:20px!important; }
 body.tfp-template-page .page-title-area h1 { font-size:25px; }
 body.tfp-template-page .page-title-area .breadcrumb { margin-top:8px;font-size:13px; }
}
