/* BannerBerth front end. Inherits theme fonts and colours. */
.bberth-slot{margin:0 auto 1.5em;line-height:0;max-width:100%}
.bberth-slot img{display:block;width:100%;height:auto;max-width:100%}
.bberth-house-text{display:flex;align-items:center;justify-content:center;min-height:90px;line-height:1.4;border:1px dashed currentColor;opacity:.75;text-decoration:none;font-weight:600;padding:1em;text-align:center}
.bberth-house-text:hover,.bberth-house-text:focus{opacity:1}
.bberth-table-wrap{overflow-x:auto}
.bberth-table{width:100%;border-collapse:collapse}
.bberth-table th,.bberth-table td{text-align:left;padding:.6em .5em;vertical-align:top}
.bberth-table__note{display:block;font-size:.85em;opacity:.75}
.bberth-badge{display:inline-flex;flex-direction:column;gap:.15em}
.bberth-badge__text{font-weight:600}
.bberth-badge__detail{font-size:.85em;opacity:.75}
.bberth-badge__detail:empty{display:none}
.bberth-badge--available .bberth-badge__text{color:#1a7f37}
.bberth-badge--taken .bberth-badge__text{color:#b42318}
.bberth-badge--renewal .bberth-badge__text,.bberth-badge--booked .bberth-badge__text{color:#9a6700}
.bberth-waitlist{margin-top:.5em;font-size:.9em}
.bberth-waitlist summary{cursor:pointer}
.bberth-waitlist form p{margin:.5em 0}
.bberth-hp{position:absolute!important;left:-9999px!important;height:1px;overflow:hidden}
.bberth-notice{padding:.75em 1em;border-left:4px solid currentColor;margin:0 0 1em}
.bberth-card{padding:1.25em 0;border-bottom:1px solid rgba(0,0,0,.1)}
.bberth-card__title{display:flex;gap:.5em;align-items:center;flex-wrap:wrap;margin:0 0 .5em}
.bberth-pill{font-size:.75em;font-weight:600;padding:.15em .6em;border:1px solid currentColor;border-radius:999px}
.bberth-card__img img{max-width:100%;height:auto}
.bberth-card__facts{display:grid;grid-template-columns:max-content 1fr;gap:.25em 1em;margin:0 0 1em}
.bberth-card__facts dt{font-weight:600}
.bberth-card__facts dd{margin:0;word-break:break-word}
.bberth-renew{display:flex;gap:.5em;align-items:center;flex-wrap:wrap}
.bberth-renew__hint{font-size:.85em;opacity:.75}
@media (max-width:600px){
 .bberth-table thead{display:none}
 .bberth-table tr{display:block;padding:.5em 0;border-bottom:1px solid rgba(0,0,0,.1)}
 .bberth-table td{display:block;padding:.2em 0}
 .bberth-table td[data-label]::before{content:attr(data-label) ": ";font-weight:600}
}
/* v1: label, placeholder size note, request form, month calendar */
.bberth-slot--ad{position:relative}
.bberth-label{display:block;line-height:1.4;font-size:.7em;letter-spacing:.04em;text-transform:uppercase;opacity:.7;margin:0 0 .25em}
.bberth-house-text{flex-direction:column;gap:.25em}
.bberth-house-text small{font-weight:400;font-size:.8em;opacity:.8}
.bberth-form{max-width:100%}
.bberth-form p{margin:0 0 1em}
.bberth-form label{display:block;font-weight:600;margin-bottom:.3em}
.bberth-form label:has(input[type=checkbox]){font-weight:400}
.bberth-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.bberth-form select,.bberth-form textarea{width:100%;max-width:100%;box-sizing:border-box}
.bberth-form small,.bberth-small{display:block;font-size:.85em;opacity:.8;margin-top:.3em}
.bberth-notice--error{border-left-color:#b42318}
.bberth-notice--ok{border-left-color:#1a7f37}
.bberth-range{display:flex;gap:.75em;flex-wrap:wrap;align-items:end;margin:0 0 1em}
.bberth-cals{display:grid;gap:1.5em}
.bberth-cal{border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:1em 1.25em}
.bberth-cal__title{margin:0 0 .25em}
.bberth-cal__title small{font-weight:400;opacity:.75;font-size:.75em}
.bberth-cal__where{margin:0 0 .75em;opacity:.8}
.bberth-cal__months{list-style:none;margin:0 0 1em;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5em}
.bberth-cal__m{border-radius:6px;padding:.5em .6em;display:flex;flex-direction:column;line-height:1.3;border:1px solid rgba(0,0,0,.08)}
.bberth-cal__name{font-weight:600;font-size:.9em}
.bberth-cal__state{font-size:.85em}
.bberth-cal__detail{font-size:.75em;opacity:.8}
.bberth-cal__m--free{background:#e9f7ef}
.bberth-cal__m--partly{background:#fff8e1}
.bberth-cal__m--hold{background:#fdf0e6}
.bberth-cal__m--booked{background:#f3f4f6;color:#555}
/* 1.2.0 fallbacks */
.bberth-slot--affiliate{position:relative}
.bberth-rotate>template{display:none}
/* 1.3.0 request form: even fields, type choice, anchors below sticky headers, sponsored label */
.bberth-form{--bberth-field-h:calc(2.5em + 2px)}
.bberth-form input[type=text],.bberth-form input[type=email],.bberth-form input[type=url],.bberth-form input[type=date],.bberth-form input[type=number],.bberth-form input[type=tel],.bberth-form input:not([type]),.bberth-form select{box-sizing:border-box;width:100%;max-width:100%;height:var(--bberth-field-h);min-height:var(--bberth-field-h);font:inherit;padding:.55em .75em;line-height:1.4;margin:0;vertical-align:middle}
.bberth-form textarea{box-sizing:border-box;width:100%;min-height:calc(var(--bberth-field-h) * 2);font:inherit;padding:.55em .75em;line-height:1.4}
.bberth-form input[type=date]{display:block;-webkit-appearance:none;appearance:none}
.bberth-form input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.4em}
.bberth-form fieldset{border:0;margin:0;padding:0;min-width:0}
.bberth-form fieldset[hidden]{display:none}
.bberth-form .bberth-types{margin:0 0 1.25em;padding:.75em 1em;border:1px solid rgba(0,0,0,.12);border-radius:6px}
.bberth-form .bberth-types legend{font-weight:600;padding:0 .3em}
.bberth-form .bberth-type-choice{display:block;font-weight:400;margin:.35em 0}
.bberth-form .bberth-admin-only{font-size:.8em;opacity:.75}
.bberth-part__price{padding:.6em .8em;background:rgba(0,0,0,.035);border-radius:6px}
.bberth-form,.bberth-notice,.bberth-cals,.bberth-table-wrap,.bberth-form [id^=bb-],#bberth-request,#bberth-thanks,#bberth-error,#bberth-availability,#bberth-calendar{scroll-margin-top:var(--bberth-anchor-offset,120px)}
.bberth-notice:focus{outline:2px solid currentColor;outline-offset:2px}
.bberth-sponsored-note{padding:.75em 1em;border-left:4px solid currentColor;background:rgba(0,0,0,.035);font-size:.95em}
.bberth-sponsored-label{display:inline-block;font-size:.75em;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:.1em .55em;margin-right:.4em;border:1px solid currentColor;border-radius:999px}
.bberth-form .bberth-types input[type=radio],.bberth-form input[type=radio]{width:auto;height:auto;min-height:0;display:inline-block;margin:0 .4em 0 0;vertical-align:middle}
.bberth-catpick[hidden]{display:none!important}.bberth-catpick small{display:block;margin-top:4px}
/* 1.3.3 Featured events strip */
/* 1.3.4 Featured events: list rows like The Events Calendar list view */
.bberth-feat{display:block;clear:both;position:relative;width:100%;max-width:1290px;margin:1.5rem auto 3rem;box-sizing:border-box}
.bberth-feat__title{margin:0 0 1rem;font-size:1.35rem;line-height:1.25}
.bberth-feat__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.bberth-feat__row{display:grid;grid-template-columns:56px 200px minmax(0,1fr);gap:1.25rem;align-items:start;padding:1.25rem 0;border-top:1px solid #e2e8f0;margin:0}
.bberth-feat__row[hidden]{display:none}
.bberth-feat__list{border-bottom:1px solid #e2e8f0}
.bberth-feat__day{display:flex;flex-direction:column;align-items:center;line-height:1.1;padding-top:.15rem}
.bberth-feat__wd{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#475569}
.bberth-feat__dn{font-size:26px;font-weight:700;color:#101828}
.bberth-feat__media{position:relative;display:block;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#e2e8f0}
.bberth-feat__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;margin:0}
.bberth-feat__badge{position:absolute;top:.45rem;left:.45rem;background:#101828;color:#fff;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.15rem .45rem;border-radius:4px;line-height:1.3}
.bberth-feat__body{min-width:0}
.bberth-feat__when{margin:0 0 .3rem;font-size:14px;font-weight:600;color:#101828}
.bberth-feat__name{margin:0 0 .3rem;font-size:1.15rem;line-height:1.3}
.bberth-feat__name a{color:#101828;text-decoration:none}
.bberth-feat__name a:hover,.bberth-feat__name a:focus-visible{color:#2563eb;text-decoration:underline}
.bberth-feat__venue{margin:0 0 .3rem;font-size:14px;color:#475569}
.bberth-feat__excerpt{margin:0;font-size:15px;color:#334155;line-height:1.5}
@media (max-width:640px){.bberth-feat__row{grid-template-columns:44px minmax(0,1fr);gap:.75rem 1rem}.bberth-feat__media{grid-column:2;grid-row:1}.bberth-feat__body{grid-column:2}.bberth-feat__day{grid-row:1 / span 2}.bberth-feat__dn{font-size:22px}}
/* 1.3.4 Sponsored article card */
.bberth-spc{margin:1.5rem 0}
.bberth-spc__title{margin:0 0 .9rem}
.bberth-spc__card{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:2rem;align-items:center}
@media (max-width:781px){.bberth-spc__card{grid-template-columns:1fr;gap:1rem}}
.bberth-spc__media{display:block;border-radius:12px;overflow:hidden;background:#f1f5f9}
.bberth-spc__img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;margin:0}
.bberth-spc__meta{margin:0 0 .5rem;font-size:13px}
.bberth-spc__meta .bberth-sponsored-label{display:inline-block;background:#fef3c7;color:#92400e;font-weight:700;letter-spacing:.05em;text-transform:uppercase;font-size:11px;padding:.2rem .5rem;border-radius:4px}
.bberth-spc__cat{color:#2563eb;margin-left:.4rem}
.bberth-spc__name{margin:0 0 .6rem;font-size:clamp(1.4rem,2.4vw,2rem);line-height:1.2}
.bberth-spc__name a{color:#101828;text-decoration:none}
.bberth-spc__excerpt{color:#475569;margin:0 0 .6rem}
.bberth-spc__who{color:#64748b;font-size:13px;margin:0 0 .6rem}
.bberth-spc__more a{color:#2563eb;font-weight:600}

/* 1.3.6 sponsored slider, modelled on the aviatorfinds.com "Featured & Latest Listings" carousel:
   3 cards per view on desktop, 2 on tablet, 1 on mobile; 16:9 rounded image, bold title, muted line; arrows + dots. */
.bberth-sps{margin:1.5rem 0;position:relative}
.bberth-sps__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 .75rem}
.bberth-sps__title{margin:0}
.bberth-sps__nav{display:flex;gap:.5rem}
.bberth-sps__btn{width:40px;height:40px;border-radius:999px;border:1px solid #cbd5e1;background:#fff;color:#101828;font-size:24px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0 0 3px}
.bberth-sps__btn:hover{border-color:#2563eb;color:#2563eb}
.bberth-sps__btn:disabled{opacity:.35;cursor:default}
.bberth-sps__track{list-style:none;margin:0;padding:0 0 .25rem;display:flex;gap:1.5rem;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.bberth-sps__track::-webkit-scrollbar{display:none}
.bberth-sps__card{flex:0 0 calc((100% - 2 * 1.5rem) / 3);min-width:0;margin:0;scroll-snap-align:start}
.bberth-sps__card a{display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit}
.bberth-sps__media{position:relative;display:block;border-radius:.6rem;overflow:hidden;background:#f1f5f9}
.bberth-sps__img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0;transition:transform .3s ease}
.bberth-sps__card a:hover .bberth-sps__img{transform:scale(1.03)}
.bberth-sps__label{position:absolute;top:.6rem;left:.6rem;background:#fef3c7;color:#92400e;font-weight:700;letter-spacing:.05em;text-transform:uppercase;font-size:11px;line-height:1.4;padding:.15rem .5rem;border-radius:4px}
.bberth-sps__body{display:flex;flex-direction:column;gap:.25rem;padding:.85rem .1rem 0}
.bberth-sps__name{font-weight:700;color:#101828;line-height:1.3;font-size:1.05rem}
.bberth-sps__card a:hover .bberth-sps__name{color:#2563eb}
.bberth-sps__who{font-size:13px;color:#64748b}
.bberth-sps__dots{display:flex;justify-content:center;gap:.5rem;margin:1rem 0 0;padding:0;list-style:none}
.bberth-sps__dot{width:10px;height:10px;border-radius:999px;border:0;padding:0;background:#cbd5e1;cursor:pointer;transition:background .2s,width .2s}
.bberth-sps__dot[aria-current="true"]{background:#2563eb;width:24px}
.bberth-sps.is-static .bberth-sps__nav,.bberth-sps.is-static .bberth-sps__dots{display:none}
@media (max-width:991px){.bberth-sps__card{flex-basis:calc((100% - 1.5rem) / 2)}}
@media (max-width:575px){.bberth-sps__track{gap:1rem}.bberth-sps__card{flex-basis:100%}.bberth-sps__btn{width:36px;height:36px}}
@media (prefers-reduced-motion:reduce){.bberth-sps__track{scroll-behavior:auto}.bberth-sps__img{transition:none}}

/* 1.3.8 */
.bberth-sps__card[hidden]{display:none}
.bberth-sps__more{margin:.75rem 0 0;text-align:right;font-size:14px}
.bberth-sps__more a{color:#2563eb;font-weight:600;text-decoration:none}
.bberth-sps__more a:hover{text-decoration:underline}

/* 1.3.9: keep featured events styled inside The Events Calendar (its .tribe-common resets win otherwise) */
.tribe-common .bberth-feat{display:block;clear:both;position:relative;width:100%;max-width:1290px;margin:1.5rem auto 3rem;box-sizing:border-box}
.tribe-common .bberth-feat__title{margin:0 0 1rem;font-size:1.35rem;line-height:1.25}
.tribe-common .bberth-feat__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.tribe-common .bberth-feat__row{display:grid;grid-template-columns:56px 200px minmax(0,1fr);gap:1.25rem;align-items:start;padding:1.25rem 0;border-top:1px solid #e2e8f0;margin:0}
.tribe-common .bberth-feat__row[hidden]{display:none}
.tribe-common .bberth-feat__list{border-bottom:1px solid #e2e8f0}
.tribe-common .bberth-feat__day{display:flex;flex-direction:column;align-items:center;line-height:1.1;padding-top:.15rem}
.tribe-common .bberth-feat__wd{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#475569}
.tribe-common .bberth-feat__dn{font-size:26px;font-weight:700;color:#101828}
.tribe-common .bberth-feat__media{position:relative;display:block;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#e2e8f0}
.tribe-common .bberth-feat__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;margin:0}
.tribe-common .bberth-feat__badge{position:absolute;top:.45rem;left:.45rem;background:#101828;color:#fff;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.15rem .45rem;border-radius:4px;line-height:1.3}
.tribe-common .bberth-feat__body{min-width:0}
.tribe-common .bberth-feat__when{margin:0 0 .3rem;font-size:14px;font-weight:600;color:#101828}
.tribe-common .bberth-feat__name{margin:0 0 .3rem;font-size:1.15rem;line-height:1.3}
.tribe-common .bberth-feat__name a{color:#101828;text-decoration:none}
.tribe-common .bberth-feat__name a:hover,.tribe-common .bberth-feat__name a:focus-visible{color:#2563eb;text-decoration:underline}
.tribe-common .bberth-feat__venue{margin:0 0 .3rem;font-size:14px;color:#475569}
.tribe-common .bberth-feat__excerpt{margin:0;font-size:15px;color:#334155;line-height:1.5}
@media (max-width:640px){.tribe-common .bberth-feat__row{grid-template-columns:44px minmax(0,1fr);gap:.75rem 1rem}.tribe-common .bberth-feat__media{grid-column:2;grid-row:1}.tribe-common .bberth-feat__body{grid-column:2}.tribe-common .bberth-feat__day{grid-row:1 / span 2}.tribe-common .bberth-feat__dn{font-size:22px}}
.tribe-common .bberth-feat{margin:0 0 2.5rem}
.tribe-common .bberth-feat__title{font-size:1.5rem;font-weight:700;margin:0 0 .75rem}
.tribe-common .bberth-feat__row[hidden]{display:none}
/* ==========================================================================
   1.4.0 modern look (Bootstrap-inspired, Bootstrap itself is not loaded).
   Everything is scoped to .bberth-ui so the theme (Blocksy) is left alone.
   Accent colour: Settings > Look (sets --bberth-accent).
   ========================================================================== */
.bberth-ui{--bberth-accent:#0d6efd;--bberth-ok:#198754;--bberth-ok-bg:#d1e7dd;--bberth-no:#dc3545;--bberth-no-bg:#f8d7da;--bberth-wait:#997404;--bberth-wait-bg:#fff3cd;--bberth-line:#dee2e6;--bberth-muted:#6c757d;--bberth-soft:#f8f9fa;--bberth-radius:.75rem;--bberth-shadow:0 .125rem .25rem rgba(0,0,0,.075);box-sizing:border-box}
.bberth-ui *,.bberth-ui *::before,.bberth-ui *::after{box-sizing:border-box}
/* buttons */
.bberth-ui .bberth-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4em;font:inherit;font-weight:600;font-size:1rem;line-height:1.5;padding:.55rem 1.1rem;border:1px solid transparent;border-radius:.5rem;text-decoration:none;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;white-space:nowrap}
.bberth-ui .bberth-btn:focus-visible{outline:0;box-shadow:0 0 0 .25rem color-mix(in srgb,var(--bberth-accent) 35%,transparent)}
.bberth-ui .bberth-btn--primary{background:var(--bberth-accent);border-color:var(--bberth-accent);color:#fff}
.bberth-ui .bberth-btn--primary:hover{background:color-mix(in srgb,var(--bberth-accent) 85%,#000);color:#fff}
.bberth-ui .bberth-btn--outline{background:transparent;border-color:var(--bberth-accent);color:var(--bberth-accent)}
.bberth-ui .bberth-btn--outline:hover{background:var(--bberth-accent);color:#fff}
.bberth-ui .bberth-btn--success{background:var(--bberth-ok);border-color:var(--bberth-ok);color:#fff}
.bberth-ui .bberth-btn--success:hover{background:#157347;border-color:#146c43;color:#fff}
.bberth-ui .bberth-btn--sm{font-size:.875rem;padding:.3rem .8rem;border-radius:.4rem}
.bberth-ui .bberth-btn--lg{font-size:1.05rem;padding:.7rem 1.5rem}
.bberth-ui .bberth-btn--block{display:flex;width:100%}
.bberth-ui .bberth-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.25rem 0 0}
/* badges / pills: red Booked (disabled), amber On hold / Renewal pending, green Available */
.bberth-ui .bberth-pill{display:inline-flex;align-items:center;font-size:.8rem;font-weight:700;line-height:1.2;padding:.35rem .7rem;border-radius:999px;border:0;white-space:nowrap;cursor:default}
.bberth-ui .bberth-pill--booked{background:var(--bberth-no-bg);color:#842029}
.bberth-ui .bberth-pill--hold{background:var(--bberth-wait-bg);color:#664d03}
.bberth-ui .bberth-pill--free,.bberth-ui .bberth-pill--partly{background:var(--bberth-ok-bg);color:#0f5132}
.bberth-ui .bberth-chip{display:inline-block;font-size:.75rem;font-weight:600;padding:.2rem .55rem;border-radius:999px;margin:0 0 .5rem}
.bberth-ui .bberth-chip--muted{background:var(--bberth-soft);color:var(--bberth-muted);border:1px solid var(--bberth-line)}
/* cards */
.bberth-ui .bberth-card{display:flex;flex-direction:column;background:#fff;color:#212529;border:1px solid var(--bberth-line);border-radius:var(--bberth-radius);box-shadow:var(--bberth-shadow);padding:0;overflow:hidden;min-width:0}
.bberth-ui .bberth-card__header{padding:1rem 1.5rem;background:var(--bberth-soft);border-bottom:1px solid var(--bberth-line)}
.bberth-ui .bberth-card__body{padding:1.5rem;flex:1 1 auto}
.bberth-ui .bberth-card__footer{padding:1rem 1.5rem;border-top:1px solid var(--bberth-line);background:#fff}
.bberth-ui .bberth-card__title{display:block;margin:0 0 .5rem;font-size:1.25rem;line-height:1.3;font-weight:700;color:inherit}
.bberth-ui .bberth-card__header .bberth-card__title{margin:0}
.bberth-ui .bberth-card__text{margin:0 0 1rem;color:#495057;line-height:1.6}
.bberth-ui .bberth-price{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem;line-height:1.2}
.bberth-ui .bberth-price__from{font-size:.875rem;font-weight:600;color:var(--bberth-muted);text-transform:uppercase;letter-spacing:.04em}
.bberth-ui .bberth-price__amount{font-size:2rem;font-weight:800;color:#212529;letter-spacing:-.01em}
.bberth-ui .bberth-price__amount--text{font-size:1.25rem;font-weight:700}
.bberth-ui .bberth-price__per{font-size:.95rem;color:var(--bberth-muted)}
.bberth-ui .bberth-price__extra{margin:.35rem 0 0;font-size:.9rem;color:var(--bberth-muted)}
.bberth-ui .bberth-checks{list-style:none;margin:1.25rem 0 0;padding:0;display:grid;gap:.5rem}
.bberth-ui .bberth-checks li{position:relative;padding-left:1.75rem;line-height:1.5}
.bberth-ui .bberth-checks li::before{content:"";position:absolute;left:0;top:.2em;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--bberth-ok-bg) no-repeat center/.7rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23198754' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E")}
.bberth-ui.bberth-services{display:grid;gap:1.5rem;grid-template-columns:1fr;margin:0 0 2rem}
@media (min-width:768px){.bberth-ui.bberth-services{grid-template-columns:repeat(min(2,var(--bberth-cols,3)),minmax(0,1fr))}}
@media (min-width:1100px){.bberth-ui.bberth-services{grid-template-columns:repeat(var(--bberth-cols,3),minmax(0,1fr))}}
.bberth-ui .bberth-card--service:hover{box-shadow:0 .5rem 1rem rgba(0,0,0,.1)}
.bberth-ui.bberth-pricing{max-width:560px;margin:0 0 2rem}
.bberth-ui .bberth-small,.bberth-ui.bberth-small{font-size:.875rem;color:var(--bberth-muted);opacity:1}
/* availability table */
.bberth-ui.bberth-table-wrap{border:1px solid var(--bberth-line);border-radius:var(--bberth-radius);box-shadow:var(--bberth-shadow);background:#fff;overflow:hidden;margin:0 0 2rem}
.bberth-ui .bberth-table{width:100%;border-collapse:collapse;margin:0;font-size:.975rem;color:#212529;background:#fff}
.bberth-ui .bberth-table thead th{background:var(--bberth-soft);font-size:.8rem;text-transform:uppercase;letter-spacing:.05em;color:var(--bberth-muted);font-weight:700;border-bottom:1px solid var(--bberth-line)}
.bberth-ui .bberth-table th,.bberth-ui .bberth-table td{padding:1rem 1.25rem;vertical-align:middle;text-align:left;border:0}
.bberth-ui .bberth-table tbody tr+tr td{border-top:1px solid var(--bberth-line)}
.bberth-ui .bberth-table tbody tr:hover td{background:#fcfcfd}
.bberth-ui .bberth-table__name{display:block;font-weight:700}
.bberth-ui .bberth-table__note{display:block;font-size:.85rem;color:var(--bberth-muted);opacity:1;margin-top:.15rem}
.bberth-ui .bberth-table__size{white-space:nowrap;color:#495057}
.bberth-ui .bberth-table__price{font-weight:600}
.bberth-ui .bberth-table .bberth-table__avail{text-align:right;width:1%;white-space:nowrap}
.bberth-ui .bberth-avail{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}
.bberth-ui .bberth-badge{display:inline-flex;flex-direction:column;align-items:flex-end;gap:.25rem}
.bberth-ui .bberth-badge__text{display:inline-block;font-size:.8rem;font-weight:700;line-height:1.2;padding:.35rem .7rem;border-radius:999px;color:inherit}
.bberth-ui .bberth-badge__detail{font-size:.8rem;color:var(--bberth-muted);opacity:1;white-space:normal;text-align:right;max-width:16rem}
.bberth-ui .bberth-badge--taken .bberth-badge__text{background:var(--bberth-no-bg);color:#842029}
.bberth-ui .bberth-badge--renewal .bberth-badge__text,.bberth-ui .bberth-badge--booked .bberth-badge__text{background:var(--bberth-wait-bg);color:#664d03}
.bberth-ui .bberth-badge--available .bberth-badge__text{background:var(--bberth-ok-bg);color:#0f5132}
.bberth-ui [data-bberth-state="available"] .bberth-badge{display:none}
.bberth-ui tr:not([data-bberth-state="available"]) .bberth-avail__go{display:none}
.bberth-ui .bberth-waitlist{margin-top:.5rem;text-align:right;font-size:.875rem}
.bberth-ui .bberth-waitlist summary{color:var(--bberth-accent);font-weight:600}
.bberth-ui .bberth-waitlist form{text-align:left}
@media (max-width:700px){
 .bberth-ui .bberth-table thead{display:none}
 .bberth-ui .bberth-table,.bberth-ui .bberth-table tbody,.bberth-ui .bberth-table tr,.bberth-ui .bberth-table td{display:block;width:100%}
 .bberth-ui .bberth-table tr{display:grid;grid-template-columns:1fr auto;gap:.35rem 1rem;padding:1rem 1.1rem;border:0}
 .bberth-ui .bberth-table tbody tr+tr{border-top:1px solid var(--bberth-line)}
 .bberth-ui .bberth-table tbody tr+tr td{border-top:0}
 .bberth-ui .bberth-table td{padding:0;border:0}
 .bberth-ui .bberth-table td[data-label]::before{content:none}
 .bberth-ui .bberth-table__slot{grid-column:1;grid-row:1}
 .bberth-ui .bberth-table .bberth-table__avail{grid-column:2;grid-row:1 / span 3;width:auto;align-self:center}
 .bberth-ui .bberth-table__size{grid-column:1;font-size:.875rem}
 .bberth-ui .bberth-table__size::before{content:attr(data-label) " ";color:var(--bberth-muted)}
 .bberth-ui .bberth-table__price{grid-column:1;font-size:.95rem}
 .bberth-ui .bberth-badge__detail{max-width:9rem}
}
/* month calendars (banner slots, sponsored articles, featured events) */
.bberth-ui.bberth-cals{display:grid;gap:1.5rem;margin:0 0 2rem}
.bberth-ui .bberth-cal{background:#fff;border:1px solid var(--bberth-line);border-radius:var(--bberth-radius);box-shadow:var(--bberth-shadow);padding:1.5rem;color:#212529}
.bberth-ui .bberth-cal__title{font-size:1.2rem;font-weight:700;margin:0 0 .25rem}
.bberth-ui .bberth-cal__title small{display:block;font-weight:500;font-size:.875rem;color:var(--bberth-muted);opacity:1;margin-top:.2rem}
.bberth-ui .bberth-cal__where{margin:0 0 1rem;color:var(--bberth-muted);opacity:1;font-size:.95rem}
.bberth-ui .bberth-cal__months{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:0;border:1px solid var(--bberth-line);border-radius:.6rem;overflow:hidden}
@media (min-width:768px){.bberth-ui .bberth-cal__months{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:0}.bberth-ui .bberth-cal__m:nth-child(odd){border-right:1px solid var(--bberth-line)}}
.bberth-ui .bberth-cal__m{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;border:0;border-bottom:1px solid var(--bberth-line);border-radius:0;background:#fff;color:inherit;line-height:1.3}
.bberth-ui .bberth-cal__m--free,.bberth-ui .bberth-cal__m--partly,.bberth-ui .bberth-cal__m--hold,.bberth-ui .bberth-cal__m--booked{background:#fff;color:inherit}
.bberth-ui .bberth-cal__left{display:flex;flex-direction:column;min-width:0}
.bberth-ui .bberth-cal__name{font-weight:600;font-size:1rem}
.bberth-ui .bberth-cal__detail{font-size:.8rem;color:var(--bberth-muted);opacity:1}
.bberth-ui .bberth-cal__state{font-size:.8rem;flex:0 0 auto}
.bberth-ui .bberth-cal__cta{margin:1rem 0 0}
.bberth-ui.bberth-cals>.bberth-small{margin:0}
/* enquiry / request form */
.bberth-ui.bberth-form{max-width:720px;background:#fff;color:#212529;border:1px solid var(--bberth-line);border-radius:var(--bberth-radius);box-shadow:var(--bberth-shadow);padding:1.5rem}
@media (min-width:768px){.bberth-ui.bberth-form{padding:2rem 2.25rem}}
.bberth-ui.bberth-form p{margin:0 0 1.1rem}
.bberth-ui.bberth-form label{font-weight:600;font-size:.95rem;margin-bottom:.4rem;color:#212529}
.bberth-ui.bberth-form input[type=text],.bberth-ui.bberth-form input[type=email],.bberth-ui.bberth-form input[type=url],.bberth-ui.bberth-form input[type=date],.bberth-ui.bberth-form input[type=number],.bberth-ui.bberth-form input[type=tel],.bberth-ui.bberth-form select,.bberth-ui.bberth-form textarea{border:1px solid #ced4da;border-radius:.5rem;background-color:#fff;color:#212529;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.bberth-ui.bberth-form input:focus,.bberth-ui.bberth-form select:focus,.bberth-ui.bberth-form textarea:focus{outline:0;border-color:color-mix(in srgb,var(--bberth-accent) 60%,#fff);box-shadow:0 0 0 .25rem color-mix(in srgb,var(--bberth-accent) 20%,transparent)}
.bberth-ui.bberth-form input[type=checkbox]{width:1.1em;height:1.1em;margin:0 .5em 0 0;vertical-align:-.15em;accent-color:var(--bberth-accent)}
.bberth-ui.bberth-form .bberth-interest{padding:1rem 1.1rem;background:var(--bberth-soft);border:1px solid var(--bberth-line);border-radius:.6rem}
.bberth-ui.bberth-form .bberth-interest label{font-size:1rem}
.bberth-ui.bberth-form .bberth-types{border:1px solid var(--bberth-line);border-radius:.6rem;background:var(--bberth-soft)}
.bberth-ui .bberth-part__price{padding:.75rem 1rem;background:color-mix(in srgb,var(--bberth-accent) 7%,#fff);border:1px solid color-mix(in srgb,var(--bberth-accent) 20%,#fff);border-radius:.6rem;color:#212529}
.bberth-ui.bberth-form small{color:var(--bberth-muted);opacity:1}
.bberth-ui.bberth-form .bberth-next{padding:.75rem 1rem;border-left:4px solid var(--bberth-ok);background:var(--bberth-soft);border-radius:0 .5rem .5rem 0;font-size:.925rem;color:#495057}
.bberth-ui [hidden]{display:none!important}
.bberth-ui.bberth-notice{border-radius:.6rem;background:var(--bberth-soft);border:1px solid var(--bberth-line);border-left-width:4px}
.bberth-ui.bberth-notice--ok{border-left-color:var(--bberth-ok)}
.bberth-ui .bberth-notice--error{border-left:4px solid var(--bberth-no);background:var(--bberth-no-bg);border-radius:.5rem;color:#842029}
@media (prefers-reduced-motion:reduce){.bberth-ui .bberth-btn{transition:none}}

/* ==========================================================================
   1.5.0 – Bootstrap 5.3-style tokens (scoped, no CDN), banner finish, central
   availability calendar, subscribe buttons, alerts, badges, media kit.
   ========================================================================== */
.bberth-ui{--bberth-radius:.375rem;--bberth-shadow-sm:0 .125rem .25rem rgba(0,0,0,.075);--bberth-font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif;--bberth-sp1:.25rem;--bberth-sp2:.5rem;--bberth-sp3:1rem;--bberth-sp4:1.5rem;--bberth-sp5:3rem;font-family:var(--bberth-font)}
.bberth-ui .bberth-btn{border-radius:.375rem}
.bberth-ui .bberth-btn--sm{border-radius:.25rem}
.bberth-ui .bberth-card{border-radius:var(--bberth-radius);box-shadow:var(--bberth-shadow-sm)}
.bberth-ui .bberth-btn--danger{background:var(--bberth-no);border-color:var(--bberth-no);color:#fff}

/* Banners (B + AdSense policy): 3px corners, a very slight shadow, reserved space, clear separation. */
.bberth-slot{margin:1.5rem auto;clear:both}
.bberth-slot>a,.bberth-slot>img,.bberth-slot--adsense,.bberth-slot .bberth-house-text{display:block;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);overflow:hidden}
.bberth-slot img{border-radius:3px;aspect-ratio:var(--bberth-ar,auto);object-fit:cover;background:#f1f3f5}
.bberth-slot .bberth-house-text{aspect-ratio:var(--bberth-ar,auto);min-height:0}
.bberth-slot--adsense{min-height:90px;aspect-ratio:var(--bberth-ar,auto);box-shadow:none;overflow:visible}
.bberth-slot--adsense ins.adsbygoogle{border-radius:3px}
.bberth-slot--adsense.is-waiting,.bberth-slot--adsense.is-unfilled,.bberth-consent-fallback.is-off{display:none!important}
.bberth-adsense-pair>.bberth-consent-fallback>.bberth-slot{margin-top:0}
.bberth-label{display:block;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:11px;line-height:1.4;letter-spacing:.04em;text-transform:uppercase;color:#6c757d;opacity:1;margin:0 0 .25rem;text-align:left;pointer-events:none;user-select:none}
.bberth-rotate{max-width:100%}
.bberth-plain-note{margin:1rem 0;font-size:.875rem;text-align:center}
.bberth-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media print{.bberth-noprint,.bberth-slot{display:none!important}}

/* Alerts and badges (Bootstrap look). */
.bberth-alert{position:relative;padding:.75rem 1rem;margin:0 0 1rem;border:1px solid transparent;border-radius:.375rem;font-size:.95rem}
.bberth-alert--success{color:#0a3622;background:#d1e7dd;border-color:#a3cfbb}
.bberth-alert--danger{color:#58151c;background:#f8d7da;border-color:#f1aeb5}
.bberth-alert--warning{color:#664d03;background:#fff3cd;border-color:#ffe69c}
.bberth-alert--info{color:#055160;background:#cff4fc;border-color:#9eeaf9}
.bberth-badge-bs{display:inline-block;padding:.35em .65em;font-size:.75em;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.375rem;margin:0}
.bberth-badge-bs--success{background:#198754}
.bberth-badge-bs--danger{background:#dc3545}
.bberth-badge-bs--warning{background:#ffc107;color:#000}
.bberth-badge-bs--secondary{background:#6c757d}
.bberth-card-bs{background:#fff;border:1px solid #dee2e6;border-radius:.375rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075);padding:1rem 1.25rem;margin:0 0 1.5rem}

/* Nav pills + button group. */
.bberth-nav-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1rem;padding:0}
.bberth-ui .bberth-nav-link,.bberth-nav-link{display:inline-flex;align-items:center;gap:.4rem;font:inherit;font-size:.95rem;font-weight:500;line-height:1.5;padding:.5rem 1rem;border:0;border-radius:.375rem;background:transparent;color:var(--bberth-accent,#0d6efd);cursor:pointer;text-decoration:none}
.bberth-nav-link:hover{background:#e9ecef}
.bberth-nav-link.is-active,.bberth-nav-link[aria-pressed="true"]{background:var(--bberth-accent,#0d6efd);color:#fff}
.bberth-nav-link.is-active .bberth-key{background:#fff;color:#212529}
.bberth-btn-group{display:inline-flex;flex-wrap:wrap}
.bberth-ui .bberth-btn-group>.bberth-btn{border-radius:0;margin-left:-1px}
.bberth-ui .bberth-btn-group>.bberth-btn:first-child{border-radius:.25rem 0 0 .25rem;margin-left:0}
.bberth-ui .bberth-btn-group>.bberth-btn:last-child{border-radius:0 .25rem .25rem 0}
.bberth-subscribe{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;margin:1rem 0 0}
.bberth-subscribe__label{font-weight:600;font-size:.95rem}
.bberth-subscribe .bberth-small{flex-basis:100%;margin:0}

/* Central availability calendar (D). Green = Available, red = Booked. */
.bberth-acal{margin:0 0 2rem;color:#212529}
.bberth-acal__title{margin:0 0 .25rem;font-size:1.5rem;font-weight:700}
.bberth-acal__lead{margin:0 0 1rem;color:#6c757d}
.bberth-acal__legend{display:flex;flex-wrap:wrap;gap:.5rem 1rem;list-style:none;margin:0 0 1rem;padding:0;font-size:.875rem;align-items:center}
.bberth-key{display:inline-flex;align-items:center;justify-content:center;width:1.35rem;height:1.35rem;border-radius:.25rem;background:#e9ecef;color:#212529;font-size:.7rem;font-weight:700}
.bberth-acal__months{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media (min-width:768px){.bberth-acal__months{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1200px){.bberth-acal:not(.bberth-acal--compact) .bberth-acal__months{grid-template-columns:repeat(3,minmax(0,1fr))}}
.bberth-acal__month{margin:0}
.bberth-acal__mname{margin:0 0 .75rem;font-size:1.05rem;font-weight:700}
.bberth-acal__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.25rem}
.bberth-acal__wd{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#6c757d;text-align:center;padding:.25rem 0}
.bberth-acal__d{min-height:3.1rem;border:1px solid #dee2e6;border-radius:.375rem;padding:.2rem;display:flex;flex-direction:column;gap:.15rem;background:#fff}
.bberth-acal__d--pad{border:0;background:transparent}
.bberth-acal__d--past{background:#f8f9fa;color:#adb5bd}
.bberth-acal__n{font-size:.75rem;font-weight:600;line-height:1}
.bberth-acal__chips{display:flex;flex-wrap:wrap;gap:2px}
.bberth-acal__chip{display:inline-flex;align-items:center;justify-content:center;min-width:1.05rem;height:1.05rem;padding:0 .15rem;border-radius:.25rem;font-size:.62rem;font-weight:700;line-height:1;text-decoration:none;color:#fff}
.bberth-acal__chip.is-free{background:#198754}
.bberth-acal__chip.is-booked{background:#dc3545;cursor:default}
a.bberth-acal__chip.is-free:hover,a.bberth-acal__chip.is-free:focus-visible{background:#146c43;outline:2px solid #146c43;outline-offset:1px}
/* Filtered view: only the chosen service, and the whole day turns green or red. */
.bberth-acal:not([data-filter="all"]) .bberth-acal__chip{display:none}
.bberth-acal[data-filter="banner"] .bberth-acal__chip--banner,.bberth-acal[data-filter="article"] .bberth-acal__chip--article,.bberth-acal[data-filter="event"] .bberth-acal__chip--event{display:inline-flex;flex:1;height:1.3rem}
.bberth-acal[data-filter="banner"] .bberth-acal__d[data-banner="free"],.bberth-acal[data-filter="article"] .bberth-acal__d[data-article="free"],.bberth-acal[data-filter="event"] .bberth-acal__d[data-event="free"]{background:#d1e7dd;border-color:#a3cfbb}
.bberth-acal[data-filter="banner"] .bberth-acal__d[data-banner="booked"],.bberth-acal[data-filter="article"] .bberth-acal__d[data-article="booked"],.bberth-acal[data-filter="event"] .bberth-acal__d[data-event="booked"]{background:#f8d7da;border-color:#f1aeb5}
.bberth-acal:not([data-filter="all"]) .bberth-acal__chip span[aria-hidden]{visibility:hidden}
.bberth-acal--compact .bberth-acal__d{min-height:2.4rem}
.bberth-acal__foot{margin-top:1rem}
.bberth-acal-link{margin:.75rem 0 1.5rem}
@media (max-width:575px){.bberth-acal__d{min-height:2.6rem;padding:.15rem}.bberth-acal__chip{min-width:.8rem;height:.8rem;font-size:0}}

/* Advertiser dashboard (Bootstrap cards). */
.bberth-ui.bberth-dash>.bberth-card{padding:1.25rem 1.5rem;margin:0 0 1.5rem}
.bberth-ui.bberth-dash .bberth-range input,.bberth-ui.bberth-dash .bberth-form input:not([type=checkbox]):not([type=file]){padding:.375rem .75rem;border:1px solid #dee2e6;border-radius:.375rem;font:inherit}
.bberth-ui.bberth-dash .bberth-range button{font:inherit;font-weight:600;padding:.375rem .75rem;border:1px solid var(--bberth-accent);border-radius:.375rem;background:var(--bberth-accent);color:#fff;cursor:pointer}
.bberth-art{margin:.75rem 0 0}
.bberth-art>summary{list-style:none;display:inline-flex}
.bberth-art>summary::-webkit-details-marker{display:none}
.bberth-art .bberth-form{margin-top:.75rem;padding:1rem;border:1px solid #dee2e6;border-radius:.375rem;background:#f8f9fa}
.bberth-dash__extras{margin-top:.5rem}

/* Media kit (E9). */
.bberth-mk__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin:0 0 1rem}
.bberth-mk__title{margin:0;font-size:1.6rem;font-weight:700}
.bberth-mk__intro{font-size:1.05rem;color:#495057;margin:0 0 1.5rem}
.bberth-mk__h{margin:1.5rem 0 .75rem;font-size:1.25rem;font-weight:700}
.bberth-mk__aud h3{margin:0 0 .5rem;font-size:1.1rem}
.bberth-mk__aud .bberth-checks{margin:0}
.bberth-mk__terms{margin:1.5rem 0}
