/* Bannockburn Inn: small refinements on top of the Elementor Site Settings (colours/fonts live in Elementor > Site Settings). */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: #A8823A; color: #fff; }

/* Sticky header */
#masthead, .ehf-header #masthead { position: sticky; top: 0; z-index: 999; }
body.admin-bar #masthead { top: 32px; }
@media (max-width: 782px) { body.admin-bar #masthead { top: 0; } }

/* Header nav polish */
#masthead .hfe-nav-menu__layout-horizontal .menu-item a.hfe-menu-item { position: relative; }
#masthead .hfe-nav-menu .current-menu-item > a.hfe-menu-item { color: #E7CF95 !important; }
#masthead .hfe-nav-menu__toggle { cursor: pointer; }
#masthead .hfe-nav-menu__layout-vertical, #masthead nav.hfe-dropdown { background: #152A21 !important; }

/* Readable measure for running text */
.bi-measure .elementor-widget-container, .bi-measure p { max-width: 64ch; }
.bi-center .elementor-widget-container, .bi-center p { margin-left: auto; margin-right: auto; }

/* Images: gentle zoom on hover inside frames */
.bi-zoom { overflow: hidden; }
.bi-zoom img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.bi-zoom:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .bi-zoom img { transition: none; } .bi-zoom:hover img { transform: none; } }

/* Brass hairline rule used under some headings */
.bi-rule .elementor-divider-separator { border-top-color: #A8823A !important; }

/* Hours table */
.bi-hours table { width: 100%; border-collapse: collapse; font-size: 16px; }
.bi-hours td { padding: 11px 0; border-bottom: 1px solid rgba(168,130,58,.35); }
.bi-hours td:last-child { text-align: right; font-weight: 500; }
.bi-hours tr:last-child td { border-bottom: 0; }
.bi-dark .bi-hours td { border-bottom-color: rgba(231,207,149,.25); }

/* FAQ accordion */
.bi-faq .elementor-accordion-item { border: 0 !important; border-bottom: 1px solid #E2D8C3 !important; }
.bi-faq .elementor-tab-title { padding: 22px 0 !important; }
.bi-faq .elementor-tab-content { padding: 0 0 24px !important; border: 0 !important; }
.bi-faq .elementor-accordion-icon { color: #A8823A; }

/* Filterable gallery filter buttons */
.bi-gallery .eael-filter-gallery-control ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bi-gallery .eael-filter-gallery-control ul li.control { margin: 0 !important; }
.bi-gallery .eael-filterable-gallery-item-wrap img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Booking widget area */
.bi-booking iframe { width: 100% !important; }

/* Footer links */
.ehf-footer a, footer.site-footer a { text-decoration: none; }
.bi-footer-links a:hover { color: #E7CF95 !important; }
/* Contact form */
.bi-form .wpforms-container .wpforms-field-label{font-family:Jost,sans-serif;font-weight:500;font-size:14px;color:#1D2420}
.bi-form .wpforms-container input[type=text],.bi-form .wpforms-container input[type=email],.bi-form .wpforms-container select,.bi-form .wpforms-container textarea{border:1px solid #D9CDB3!important;border-radius:2px!important;background:#FFFCF5!important;font-family:Jost,sans-serif;font-size:16px;padding:12px 14px!important;max-width:100%!important;height:auto}
.bi-form .wpforms-container input:focus,.bi-form .wpforms-container textarea:focus,.bi-form .wpforms-container select:focus{border-color:#1F3A2F!important;box-shadow:0 0 0 2px rgba(168,130,58,.35)!important}
.bi-form .wpforms-container button[type=submit]{background:#1F3A2F!important;color:#F6F1E6!important;border:0!important;border-radius:2px!important;font-family:Jost,sans-serif;font-weight:500;text-transform:uppercase;letter-spacing:.16em;font-size:13px;padding:17px 30px!important;height:auto!important}
.bi-form .wpforms-container button[type=submit]:hover{background:#152A21!important}
#masthead .elementor-button-text{white-space:nowrap}
.bi-gallery .eael-filterable-gallery-item-wrap{padding:7px!important}
.bi-gallery .eael-filter-gallery-container{margin:0 -7px}
#masthead .elementor-widget-button{flex-shrink:0}
@media (max-width:1024px){#masthead .elementor-widget-navigation-menu{flex:0 0 auto;width:auto!important}}
@media (max-width:767px){#masthead .elementor-widget-button .elementor-button{font-size:11px;padding:11px 14px}}
/* Header logo never collapses */
#masthead .elementor-widget-image{width:100%}
#masthead .e-con:has(> .elementor-widget-image),#masthead .e-con:has(> .e-con-inner > .elementor-widget-image){flex:1 0 auto;min-width:136px;max-width:230px}
#masthead .elementor-widget-image img{width:100%;max-width:230px;height:auto}
html,body{overflow-x:clip}
