.dw-wochenatlas {
    --wa-paper: #fffaf2;
    --wa-panel: #fff7eb;
    --wa-ink: var(--rv-ink, #103b42);
    --wa-muted: #49626a;
    --wa-border: #e6d7c3;
    --wa-copper: var(--rv-copper, #a13920);
    --wa-sea: #153a55;
    --wa-region-dot: #fffaf2;
    --wa-region-edge: #304a60;
    background: var(--wa-paper);
    color: var(--wa-ink);
    border-radius: 1rem;
    overflow: hidden;
    font: 1rem/1.55 Arial, Helvetica, sans-serif;
}
.dw-wochenatlas *, .dw-wochenatlas *::before { box-sizing: border-box; }
.dw-wochenatlas [hidden] { display: none !important; }
#main .dw-wochenatlas :is(h1,h2,h3,p), .dw-wochenatlas :is(h1,h2,h3,p) { color: var(--wa-ink); margin: 0; }
.dw-wochenatlas a { color: var(--wa-ink); text-underline-offset: .22em; text-decoration: underline; }
.dw-wochenatlas :is(a,button):focus-visible { outline: 3px solid var(--wa-ink); outline-offset: 3px; }
.dw-wochenatlas button { font: inherit; cursor: pointer; }
.wa-hero, .wa-detail { padding: clamp(1.1rem, 4.4vw, 3.15rem); }
.wa-hero {
    display: grid;
    grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr);
    align-items: center;
    gap: clamp(1rem,3vw,2.2rem);
}
#main .dw-wochenatlas .wa-copy h1, .dw-wochenatlas .wa-copy h1 {
    font-family: Georgia, serif;
    font-size: clamp(1.95rem, 3.1vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.025em;
    margin-block: .6rem 1rem;
}
#main .dw-wochenatlas .wa-kicker, .dw-wochenatlas .wa-kicker {
    color: var(--wa-muted);
    font-size: .77rem;
    text-transform: uppercase;
    letter-spacing: .09em;
}
#main .dw-wochenatlas .wa-copy p:not(.wa-kicker), .dw-wochenatlas .wa-copy p:not(.wa-kicker) { color: var(--wa-muted); max-width: 38ch; }
.wa-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.2rem; margin-top: 1.15rem; }
.wa-actions a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; }
.dw-wochenatlas .wa-primary {
    border-radius: .55rem;
    padding: .65rem 1rem;
    background: linear-gradient(180deg,#b94a2c,#9e311a);
    color: #fffaf2;
    -webkit-text-fill-color: #fffaf2;
    border: 1px solid #aa3f23;
    font-weight: 700;
    text-decoration: none;
}
.wa-overview, .wa-detail-surface { border: 1px solid var(--wa-border); border-radius: .85rem; overflow: hidden; min-width: 0; }
.wa-overview-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem .75rem; padding: .7rem .95rem; }
.wa-overview-head [data-wa-dates], .wa-detail-foot span { color: var(--wa-muted); font-size: .81rem; }
#main .dw-wochenatlas .wa-legend, .dw-wochenatlas .wa-legend { color: var(--wa-muted); font-size: .83rem; padding: .65rem .95rem; }
.wa-map { position: relative; aspect-ratio: 720 / 440; background: var(--wa-sea); isolation: isolate; }
.dw-wochenatlas .wa-pin:focus-visible { outline-color: #fffaf2; }
.dw-wochenatlas .wa-base { width: 100%; height: auto; display: block; margin: 0; }
.wa-pin {
    position: absolute;
    left: var(--wa-x);
    top: var(--wa-y);
    transform: translate(-50%,-50%) translateX(var(--wa-offset,0));
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px #142b4588;
    border-radius: 50%;
    font-weight: 750 !important;
    color: #fff;
    background: var(--pin, #405b70);
    line-height: 1;
}
.wa-overview-pin {
    background: transparent;
    border: 0;
    box-shadow: none;
}
.wa-overview-pin::before, .wa-legend[data-wa-week]::before {
    content: "";
    display: inline-block;
    width: .65rem;
    height: .65rem;
    border: 1px solid var(--wa-region-edge);
    border-radius: 50%;
    background: var(--wa-region-dot);
}
.wa-overview-pin[data-wa-active]::before, .wa-legend[data-wa-week]::before {
    box-shadow: 0 0 0 2px var(--wa-region-edge), 0 0 0 4px var(--wa-region-dot);
}
.wa-legend[data-wa-week]::before { margin: 0 .8rem 0 .25rem; }
.wa-pin[aria-pressed="true"], .wa-pin:is(:hover,:focus-visible) { z-index: 1; }
.wa-pin[aria-pressed="true"] { outline: 2px solid #fffaf2; outline-offset: 2px; }
.wa-detail { background: var(--wa-panel); border-top: 1px solid var(--wa-border); scroll-margin-top: 6rem; }
.wa-detail-head { display: flex; flex-wrap: wrap; align-items: end; gap: .4rem 2rem; margin-bottom: 1.05rem; }
#main .dw-wochenatlas .wa-detail h2, .dw-wochenatlas .wa-detail h2 {
    font-family: Georgia, serif;
    font-size: clamp(1.45rem, 2.3vw, 1.875rem);
    font-weight: 700;
    line-height: 1.15;
    margin-top: .3rem;
}
.wa-detail-head > p { max-width: 32ch; }
.wa-country-picker, .wa-region-picker { display: flex; flex-wrap: wrap; gap: .5rem; }
.wa-country-picker { margin-block: 0 .8rem; }
.wa-region-picker { padding: .65rem; border-bottom: 1px solid var(--wa-border); }
.dw-wochenatlas :is(.wa-country-picker,.wa-region-picker) button {
    border: 1px solid var(--wa-border);
    border-radius: .55rem;
    background: var(--wa-paper);
    color: var(--wa-ink);
    min-height: 44px;
    padding: .35rem .68rem;
    font-size: .9rem;
}
.dw-wochenatlas .wa-country-picker button[aria-pressed="true"] {
    background: var(--wa-copper);
    border-color: var(--wa-copper);
    color: #fffaf2;
    -webkit-text-fill-color: #fffaf2 !important;
    font-weight: 700;
}
.dw-wochenatlas .wa-region-picker button[aria-pressed="true"] { color: var(--wa-copper); border-color: var(--wa-copper); }
.wa-panel { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); background: var(--wa-paper); }
.wa-places { min-width: 0; padding: 1rem; }
.wa-local { align-self: start; }
.wa-places h3 { font: 700 1.15rem/1.18 Georgia, serif; }
.wa-places ul { list-style: none; margin: .45rem 0; padding: 0; }
.wa-places li { padding: .55rem .65rem; border-radius: .45rem; border: 1px solid transparent; overflow-wrap: anywhere; }
.wa-places li[data-wa-selected] { background: var(--wa-panel); border-color: var(--wa-border); }
.wa-place-name { display: flex; align-items: center; gap: .55rem; }
.wa-place-name small, .wa-place-name strong, .wa-place-note { display: block; }
.wa-place-name small, .wa-place-note, .wa-places > p { color: var(--wa-muted); font-size: .8rem; }
.wa-place-note { margin-top: .28rem; }
.wa-places a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.wa-kind { display: grid; place-items: center; flex: 0 0 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--pin, #405b70); color: #fff; font-weight: 700; }
.dw-wochenatlas .wa-hotel {
    border-radius: .36rem;
    background: var(--wa-region-dot);
    color: var(--wa-region-edge);
    border: 1px solid var(--wa-region-edge);
}
.wa-local .wa-pin::after {
    content: "";
    position: absolute;
    right: 100%;
    top: calc(50% - 1px);
    width: var(--wa-stem,0);
    height: 2px;
    background: #fff;
    box-shadow: 0 0 0 1px #304a60;
    visibility: hidden;
    pointer-events: none;
}
.wa-local .wa-pin[data-wa-offset]::after { visibility: visible; }
.wa-local .wa-pin[data-wa-pin-left]::after { right: auto; left: 100%; }
.dw-wochenatlas .wa-symbol { display: block; line-height: 1; }
.dw-wochenatlas .wa-symbol-managed, .dw-wochenatlas .wa-symbol-enquiry {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
.wa-symbol-bed {
    width: 1.05rem;
    height: 1.05rem;
    background: currentColor;
    mask: url("berger-icons/bed.svg") center / contain no-repeat;
}
.wa-symbol-enquiry {
    width: .95rem;
    height: .7rem;
    border: 2px solid currentColor;
    border-radius: 2px;
    position: relative;
}
.wa-symbol-enquiry::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 4px;
    height: 4px;
    border-left: 2px solid currentColor;
    transform: skewY(-45deg);
}
.wa-detail-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; padding-top: .75rem; }
@media (max-width: 740px) {
    .wa-hero, .wa-panel { grid-template-columns: minmax(0,1fr); }
    .wa-detail { scroll-margin-top: 4rem; }
}
@media (forced-colors: active) {
    .wa-overview-pin::before { background: ButtonText !important; }
    .wa-overview-pin[data-wa-active]::before, .wa-legend[data-wa-week]::before { outline: 2px solid Highlight; outline-offset: 2px; }
    .wa-symbol-bed { forced-color-adjust: none; background: ButtonText; }
    .wa-pin { border: 1px solid ButtonText; }
}

.dw-contrast .dw-wochenatlas { color: CanvasText; background: Canvas; }
