/* Keep embedded booking controls readable within their parent, including small screens. */
#hostaway-calendar-widget{width:100%;min-width:0;text-align:center}
#hostaway-calendar-widget [class*="styled__WidgetContainer-"],#hostaway-calendar-widget [class*="styled__Wrapper-sc-vhlqs-"]{width:100%;max-width:100%;min-width:0}
#hostaway-calendar-widget [class*="styled__Wrapper-sc-1lawy22-"]{padding:24px 16px;max-width:100%;min-width:0}
#hostaway-calendar-widget [class*="styled__Calendars-"]{gap:24px}
#hostaway-calendar-widget [class*="styled__BetweenCalendars-"]{display:none}
#hostaway-calendar-widget [class*="styled__Wrapper-sc-17f83tm-"]{min-width:0;width:100%;max-width:280px}
#hostaway-calendar-widget [class*="styled__Grid-sc-17f83tm-"]{grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:40px}
#hostaway-calendar-widget [class*="styled__ButtonContainer-"]{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
#hostaway-calendar-widget [class*="styled__ButtonContainer-"] button{min-width:0;max-width:100%;margin:0;white-space:normal;flex:1 1 180px}
#hostaway-calendar-widget [class*="styled__Bottom-sc-"]{margin-left:0;min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}
#hostaway-calendar-widget [class*="styled__Prev-"]{margin-left:16px;margin-top:24px}
#hostaway-calendar-widget [class*="styled__Next-"]{margin-right:16px;margin-top:24px}
.direct-booking-policy{margin:20px 0 0;font-size:13px;line-height:1.65;text-align:left;color:inherit}
.direct-booking-policy a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:400px){#hostaway-calendar-widget [class*="styled__Wrapper-sc-1lawy22-"]{padding:20px 0}#hostaway-calendar-widget [class*="styled__Prev-"]{margin-left:0;margin-top:20px}#hostaway-calendar-widget [class*="styled__Next-"]{margin-right:0;margin-top:20px}}

/* Preserve both selected months when rotating a mounted calendar to portrait. */
@media(max-width:767px){
 #hostaway-calendar-widget [class*="styled__Calendars-"]{display:flex;flex-wrap:wrap;justify-content:center;width:100%}
 #hostaway-calendar-widget [class*="styled__Wrapper-sc-17f83tm-"]{flex:1 1 240px;min-width:0;max-width:280px}
}
