/* Wolf-owned adapters. Scoped classes, no generated Divi module numbers. */
#main-content { scroll-margin-top: 110px; }
#main-footer { background-color: #fff; }
#main-footer #footer-widgets, #main-footer #footer-widgets p, #main-footer #footer-widgets a, #footer-info, #footer-info a { color: #333 !important; }
.btQuoteBooking .btQuoteSliderValue { color: #252525 !important; }
.weather-atlas-wrapper { background: #eaf6fb !important; color: #172a35 !important; text-shadow: none !important; }
.weather-atlas-wrapper a { color: #173e57 !important; }

.et_pb_contact_form_container .wag-visible-label {
    display: block !important; position: static !important; width: auto !important;
    height: auto !important; clip: auto !important; clip-path: none !important;
    margin-bottom: .35em; color: #333; font-weight: 600;
}
.wag-required { font-size: .875em; font-weight: normal; }
.wag-form-errors { background: #fff; color: #333; border: 2px solid #9b2424; padding: 16px; margin: 0 0 20px; width: 100%; box-sizing: border-box; }
.wag-form-errors[hidden] { display: none; }
.wag-form-errors p { font-weight: 700; padding-bottom: .5em; }
.wag-form-errors a, .wag-field-error { color: #9b2424 !important; }
.wag-form-errors a { text-decoration: underline; }
.wag-field-error { display: block; margin-top: .4em; font-size: .9em; background: #fff; }
[aria-invalid="true"] { border: 2px solid #9b2424 !important; }
.wag-form-errors:focus { outline: 3px solid #1a6ea8; outline-offset: 3px; }

.wolf-booking-search {
    box-sizing: border-box; max-width: 1120px; width: calc(100% - 32px); margin: 24px auto;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: end; gap: 16px; padding: 22px; border-radius: 10px;
    background: #fff; color: #242424; box-shadow: 0 2px 14px #0002;
}
.wolf-booking-search > div { min-width: 0; }
.wolf-booking-search label { display: block; font-weight: 600; margin-bottom: 6px; }
.wolf-booking-search input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 9px; border: 1px solid #777; border-radius: 4px; font: inherit; color: #242424; background: #fff; }
.wolf-booking-search button { min-height: 46px; padding: 10px 20px; border: 0; border-radius: 4px; font: inherit; font-weight: 700; color: #fff; background: #1a6ea8; cursor: pointer; }
.wolf-booking-search .wolf-booking-help, .wolf-booking-search .wag-form-errors { grid-column: 1 / -1; }
.wolf-booking-search .wolf-booking-help { font-size: .9rem; padding: 0; }
.wolf-booking-search a { text-decoration: underline; color: #1a6ea8; }

/* Let actual content fit instead of hiding text outside the viewport. */
@media (max-width: 767px) {
    .et_pb_pricing_tables .et_pb_pricing_table {
        float: none !important; width: 100% !important; max-width: 100% !important;
        min-width: 0 !important; flex: 0 0 100% !important; margin-left: 0 !important;
        box-sizing: border-box;
    }
    .et_pb_pricing_tables, .et_pb_pricing_tables .et_pb_pricing_table_wrap { display: flex !important; flex-wrap: wrap !important; gap: 24px; }
    .et_pb_pricing_tables .et_pb_pricing_title, .et_pb_pricing_tables .et_pb_pricing_content { overflow-wrap: anywhere; }
    .wolf-booking-search { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .wolf-booking-search { grid-template-columns: minmax(0, 1fr); padding: 18px; }
}
.wolf-pe-room-grid { grid-template-columns: minmax(0, 1fr); }
.wolf-pe-room-grid article, .wolf-pe-room-grid article > button, .wolf-pe-room-grid article > div, .wolf-pe-room-grid dl { min-width: 0; max-width: 100%; box-sizing: border-box; }
.wolf-pe-room-grid article > button img { width: 100%; max-width: 100%; }
.wolf-pe-room-grid h3, .wolf-pe-room-grid dd { overflow-wrap: anywhere; }

/* The site has one footer contact widget: let it use the full column. */
#main-footer .footer-widget .fwidget:has(.wolf-footer-details) { width: 100%; }
#main-footer .wolf-footer-details {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
    column-gap: 1.25em; row-gap: .3em; width: 100%; padding-bottom: 0;
}
#main-footer .wolf-footer-details > span { min-width: 0; max-width: 100%; }
#main-footer .wolf-footer-details a { white-space: nowrap; }
