/* Protect native choice controls against broad imported WordPress input rules. */
.op-form .form-check{display:flex;align-items:flex-start;gap:.5rem;padding-left:0;min-width:0}
.op-form .form-check input.form-check-input[type="checkbox"],
.op-form .form-check input.form-check-input[type="radio"]{
 width:1rem;min-width:1rem;max-width:1rem;height:1rem;flex:0 0 1rem;float:none;margin:.25rem 0 0
}
.op-form .form-check-label{min-width:0;overflow-wrap:anywhere}
.op-form fieldset{min-width:0}
.op-form .row>*{min-width:0}
.op-form [data-form-status]:empty{display:none}
.op-form [data-form-status]:not(:empty){width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere;margin:.75rem 0 0}
.op-form [hidden]{display:none!important}
.op-form .op-form-instructions{overflow-wrap:anywhere;min-width:0}
.op-form .op-form-instructions p:empty{display:none}
.post-content table{max-width:100%}
.post-content .op-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Keep the original Bloga field layout with native validation and accessible country picker. */
.op-form .iti{width:100%;display:block}
.op-form .iti input[type=tel]{width:100%;box-sizing:border-box}
.op-form .iti__dropdown-content,.op-form .iti__country-list{z-index:1080;text-align:start}
.op-form .iti__selected-dial-code{display:none!important}
.op-form .iti__selected-country{border:0;background:transparent}
.op-consultation-modal .modal-content,.op-search-modal .modal-content{border-radius:8px;padding:24px}
.op-consultation-modal .modal-header,.op-search-modal .modal-header{padding:0 36px 12px;min-height:36px}
.op-consultation-modal .modal-header .btn-close,.op-search-modal .modal-header .btn-close{margin:0!important;right:0!important;top:2px!important}
.op-consultation-modal .modal-body,.op-search-modal .modal-body{padding:0;box-shadow:none;background:transparent}
.op-consultation-modal .op-form .op-form-instructions p{margin-bottom:0!important}
.op-consultation-modal .op-form label,.op-newsletter-form label{display:block;text-align:start}
.op-newsletter-form .row{margin-top:1rem!important}
.op-newsletter-form .form-label{margin-bottom:.5rem!important;padding:0}
.op-newsletter-form .row>.col-12:last-child{margin-top:1.5rem!important}
.op-search-modal .modal-header{padding-bottom:20px}
.op-search-field{display:flex;align-items:center;gap:12px;padding:5px 5px 5px 14px;border:1px solid #d1d5db;border-radius:10px;background:#fff}
.op-search-field>img{flex:0 0 20px}
.op-search-field input.form-control{border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;flex:1;padding:8px 0;line-height:1.5;font-size:16px}
.op-search-field:focus-within{border-color:var(--color-primary,#1c64f2);box-shadow:0 0 0 3px #1c64f219}
.op-search-field .btn{flex:none;padding:10px 20px;border-radius:7px;white-space:nowrap}
@media(max-width:575px){.op-consultation-modal .modal-content,.op-search-modal .modal-content{padding:20px 16px}.op-search-field{gap:8px;padding-inline-start:10px}.op-search-field .btn{padding-inline:12px}.op-search-field>img{display:none}}

/* Compact phone country picker; also covers the mobile dropdown outside the form. */
.iti__dropdown-content,.iti__country-list{font-size:14px;line-height:1.4;font-weight:400}
.iti__country-list .iti__country{font-size:14px;line-height:1.4;font-weight:400;padding:8px 10px;min-height:36px;white-space:normal}
.iti__country-list .iti__country-name,.iti__country-list .iti__dial-code{font-size:inherit;line-height:inherit;font-weight:400}
.iti__dropdown-content input.iti__search-input{font-size:14px;line-height:1.4;font-weight:400;padding-block:10px}
.iti__dropdown-content input.iti__search-input::placeholder{font-size:inherit;font-weight:400}
@media(max-width:767px){.iti__dropdown-content input.iti__search-input{font-size:16px}}


/* Ninja questionnaires: separate question, answer and explanatory text.
   Keep the shared Bloga contact, newsletter and promo forms unchanged. */
.op-form[data-op-form^="ninja-"] > .row{
 row-gap:26px!important;
}
.op-form[data-op-form^="ninja-"] .form-label,
.op-form[data-op-form^="ninja-"] fieldset > legend{
 display:block;
 float:none;
 width:100%;
 font-size:16px;
 font-weight:600!important;
 line-height:1.45;
 letter-spacing:normal;
 color:var(--color-heading,#111928)!important;
 margin:0 0 10px;
 padding:0!important;
 overflow-wrap:anywhere;
}
.op-form[data-op-form^="ninja-"] .form-label > span[aria-hidden="true"],
.op-form[data-op-form^="ninja-"] legend > span[aria-hidden="true"]{
 color:#b42318;
 font-weight:600;
}
.op-form[data-op-form^="ninja-"] .form-control,
.op-form[data-op-form^="ninja-"] .form-select{
 font-size:16px;
 font-weight:400;
 line-height:1.5;
}
.op-form[data-op-form^="ninja-"] .form-control::placeholder{
 color:#6b7280;
 font-weight:400;
}
.op-form[data-op-form^="ninja-"] .form-check{
 gap:10px;
 margin:0 0 8px;
}
.op-form[data-op-form^="ninja-"] .form-check:last-child{
 margin-bottom:0;
}
.op-form[data-op-form^="ninja-"] .form-check-label{
 color:var(--color-heading,#111928);
 font-size:16px;
 font-weight:400;
 line-height:1.5;
 cursor:pointer;
}
.op-form[data-op-form^="ninja-"] .form-check input.form-check-input[type="checkbox"],
.op-form[data-op-form^="ninja-"] .form-check input.form-check-input[type="radio"]{
 width:18px;
 min-width:18px;
 max-width:18px;
 height:18px;
 flex:0 0 18px;
 margin:3px 0 0;
 border-color:#9ca3af;
 cursor:pointer;
}
.op-form[data-op-form^="ninja-"] .form-check input.form-check-input:checked{
 border-color:var(--color-primary,#1c64f2);
}
.op-form[data-op-form^="ninja-"] .op-form-instructions,
.op-form[data-op-form^="ninja-"] .op-form-instructions p,
.op-form[data-op-form^="ninja-"] .op-form-instructions li,
.op-form[data-op-form^="ninja-"] .form-text{
 font-size:14px;
 font-weight:400;
 line-height:1.6;
 letter-spacing:normal;
 color:#5b6472!important;
}
.op-form[data-op-form^="ninja-"] .op-form-instructions p{
 margin:0 0 8px!important;
}
.op-form[data-op-form^="ninja-"] .op-form-instructions p:last-child{
 margin-bottom:0!important;
}
.op-form[data-op-form^="ninja-"] .form-text{
 display:block;
 margin-top:8px;
}
.op-form[data-op-form^="ninja-"] > .row > .col-12:not(.op-form-instructions):not([hidden]) + .op-form-instructions:not([hidden]){
 margin-top:-14px;
}
.op-form[data-op-form^="ninja-"] .op-form-instructions img{
 max-width:100%;
 height:auto;
}
@media(max-width:575px){
 .op-form[data-op-form^="ninja-"] > .row{row-gap:22px!important}
 .op-form[data-op-form^="ninja-"] > .row > .col-12:not(.op-form-instructions):not([hidden]) + .op-form-instructions:not([hidden]){margin-top:-10px}
}


/* Compact result messages for every form: contact, promo, newsletter and Ninja.
   Override article paragraph styling, keeping the original localized messages. */
.op-form [data-form-status]:not(:empty){
 box-sizing:border-box;
 font-size:14px!important;
 font-weight:600!important;
 line-height:1.5!important;
 letter-spacing:normal;
 text-align:start;
 margin:12px 0 0!important;
 padding:0;
}
.op-form [data-form-status][data-state="success"]{color:#16734b!important}
.op-form [data-form-status][data-state="error"]{color:#b42318!important}
.op-form [data-form-status][data-state="warning"]{color:#92570b!important}
