/* IBI: Most Read list (Jetpack Top Posts widget on the homepage). Numbered counters need CSS, no Elementor control covers them. */
.elementor-element-top-posts ul{list-style:none;margin:0;padding:0;counter-reset:ibi-rank}
.elementor-element-top-posts li{counter-increment:ibi-rank;display:grid;grid-template-columns:36px 1fr;gap:8px;padding:12px 0;border-bottom:1px solid #E3E3E3}
.elementor-element-top-posts li::before{content:counter(ibi-rank);font-family:Newsreader,Georgia,serif;font-size:28px;line-height:1;color:#54A6AA}
.elementor-element-top-posts li a{font-family:Jost,sans-serif;font-size:17px;font-weight:500;line-height:1.3;color:#111111}
.elementor-element-top-posts li a:hover{color:#2C7478}
.elementor-element-top-posts .elementor-widget-container > p{display:none}
/* IBI: hide the XPRO 'No Posts Found' notice while a section has no entries yet. */
.elementor-widget-xpro-post-grid .xpro-alert{display:none}

/* Food-cost calculator button: override the theme's submit button colors */
.ibi-calc .ibi-btn{border:1px solid #111!important;border-radius:0!important;background:#111!important;color:#fff!important}.ibi-calc .ibi-btn:hover,.ibi-calc .ibi-btn:focus{background:#54A6AA!important;border-color:#54A6AA!important}

/* Cocktail Hour Report popup */
#cocktail-hour-report .ibi-modal__close{color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.6)}#cocktail-hour-report .ibi-modal__close:hover{color:#54A6AA!important}
#cocktail-hour-report .elementor-element-chr-art img,#cocktail-hour-report .elementor-element-chr-art video{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 9%,#000 91%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 9%,#000 91%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 9%,#000 91%,transparent 100%),linear-gradient(to bottom,transparent 0,#000 9%,#000 91%,transparent 100%);mask-composite:intersect}
#cocktail-hour-report .wpforms-container{margin:6px 0 0!important}#cocktail-hour-report .wpforms-field{padding:5px 0!important}#cocktail-hour-report .wpforms-submit-container{padding-top:12px!important}

/* Consistency */
.ibi-calc .ibi-btn{font-size:12px!important;letter-spacing:.14em!important;font-weight:500!important}

/* Phones: stack form columns on the longer forms */
@media (max-width:600px){#wpforms-1245 .wpforms-field.wpforms-one-half,#wpforms-1245 .wpforms-field.wpforms-one-third,#wpforms-1247 .wpforms-field.wpforms-one-half{width:100%!important;margin-left:0!important;float:none!important;clear:both}#wpforms-1245 .wpforms-field-name .wpforms-field-row-block{width:100%!important;margin-left:0!important;margin-bottom:10px}}

/* WPForms group labels (Name, Interested in) match the other field labels */
.wpforms-container legend.wpforms-field-label{font-family:Jost,sans-serif!important;font-size:11px!important;font-weight:500!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:#5C5C5C!important}
.wpforms-container .wpforms-field-sublabel{font-family:Jost,sans-serif!important;font-size:12px!important;color:#777!important}
.wpforms-container .wpforms-field-checkbox li label,.wpforms-container .wpforms-field-checkbox .wpforms-field-label-inline{font-family:Jost,sans-serif!important;font-size:14px!important;color:#2B2B2B!important}

/* Vendor list: phones show logo, name and link only */
@media (max-width:600px){[class*="elementor-element-pvl-grid"] .xpro-post-grid-excerpt{display:none}}

/* IBI-CHECKBOX-FIX: single clean box for WPForms checkboxes/radios */
.wpforms-container .wpforms-field input[type=checkbox],.wpforms-container .wpforms-field input[type=radio]{width:18px!important;height:18px!important;min-height:0!important;padding:0!important;margin:2px 0 0!important;border:0!important;background:none!important;box-shadow:none!important;flex:none}
.wpforms-container .wpforms-field input[type=checkbox]:before,.wpforms-container .wpforms-field input[type=radio]:before{top:0!important;left:0!important;width:18px!important;height:18px!important;border:1px solid #111!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.wpforms-container .wpforms-field input[type=radio]:before{border-radius:50%!important}
.wpforms-container .wpforms-field input[type=checkbox]:checked:before{background:#111!important}
.wpforms-container .wpforms-field input[type=checkbox]:checked:after{border-color:#fff!important;top:0!important;left:-1px!important}
.wpforms-container .wpforms-field input[type=checkbox]:focus-visible:before,.wpforms-container .wpforms-field input[type=radio]:focus-visible:before{outline:2px solid #54A6AA;outline-offset:2px}
.wpforms-container .wpforms-field-checkbox li,.wpforms-container .wpforms-field-radio li{display:flex!important;align-items:flex-start;gap:12px}