/* Closed details must not contribute dropdown width to the page. */
.dd-footer-pill:not([open]) > .dd-footer-pill-menu{display:none}
/* The mega panel already spans the header; its LTR backdrop extension is
   unnecessary in RTL and otherwise creates a second viewport of overflow. */
html[dir="rtl"] .dd-dropdown-mega::after{display:none}
html[dir="rtl"] .dd-footer-pill-menu{left:auto;right:0}
html[dir="rtl"] .dd-tld-name,
html[dir="rtl"] .dd-tld-price,
html[dir="rtl"] .dx-tld{direction:ltr;unicode-bidi:isolate;display:inline-block}
@media(max-width:480px){html[lang="de"] .dx-hero h1{font-size:26px;hyphens:auto}}
@media(max-width:480px){
 .dd-input-label{flex-wrap:wrap;gap:4px 12px}
 .dd-input-label > span{flex-shrink:0}
 .dd-input-label > a{margin-inline-start:auto;max-width:100%}
}

/* Complete selector lists, without nested scroll regions. */
.dd-langsel-panel{width:260px;max-width:calc(100vw - 32px)}
.dd-langsel-panel .dd-langsel-row{width:100%;padding-inline:12px}
.dd-langsel-panel .dd-langsel-sub{margin:0;min-width:0;max-height:none;overflow:visible}
.dd-langsel-panel .dd-langsel-sub.is-open{display:grid;grid-template-columns:minmax(0,1fr)}
.dd-langsel-panel .dd-langsel-sub-item{height:auto;min-height:38px;line-height:1.35;padding:10px 12px;white-space:normal;overflow-wrap:anywhere}
.dd-footer-pill[open]>.dd-footer-pill-menu{display:grid;grid-template-columns:minmax(0,1fr);width:240px;max-width:calc(100vw - 32px);max-height:none;overflow:visible;padding:8px;gap:2px}
.dd-footer-pill-menu a{min-width:0;white-space:normal;overflow-wrap:anywhere;padding:9px 10px;line-height:1.4}
/* Center the price carousel independently of the headline container. */
body.page-home .hero .dd-search--embedded{margin-inline:auto}
body.page-home .hero .dd-tld-marquee{width:100%;margin-inline:auto;direction:ltr}
@media(max-width:720px){
 .dd-footer-pill[open]>.dd-footer-pill-menu{position:absolute;left:0;right:auto;width:min(240px,calc(100vw - 40px));grid-template-columns:minmax(0,1fr)}
 .dd-footer-pills{position:relative;width:100%;justify-content:center}
 .dd-footer-pills .dd-footer-pill{position:static}
 .dd-footer-pills .dd-footer-pill[open]>.dd-footer-pill-menu{left:50%;right:auto;transform:translateX(-50%)}
 body.page-home .hero .dd-tld-chip{min-width:0;padding:10px 14px;margin-right:10px;gap:8px}
 body.page-home .hero .dd-tld-name{font-size:14px}
 body.page-home .hero .dd-tld-price{font-size:14px}
 body.page-home .hero .dd-tld-meta{font-size:11px}
 body.page-home .hero .dd-search--embedded .dd-search-tld-wrap{margin-top:18px}
}

/* The suggestion form includes a label and help text, so it must stack. */
body.page-ownhero .dx-hero .dx-form.dx-form--stack:has(#dt-suggest-keyword){display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:760px;padding:0;border:0;background:transparent;text-align:start}
body.page-ownhero .dx-hero .dx-form:has(#dt-suggest-keyword) .dx-label{color:#fff;font-size:14px}
body.page-ownhero .dx-hero .dx-form #dt-suggest-keyword{width:100%;min-width:0;background:#fff;color:#18294A;border:1px solid #DDE5F1;border-radius:4px;padding-inline:14px}
body.page-ownhero .dx-hero .dx-form:has(#dt-suggest-keyword) button{width:100%;height:auto;min-height:48px;padding:12px 16px;white-space:normal;line-height:1.5}
body.page-ownhero .dx-hero .dx-form:has(#dt-suggest-keyword) .dx-hint{margin:0;color:rgba(255,255,255,.8);font-size:13px;line-height:1.65;min-width:0;overflow-wrap:anywhere}
body .dx .dx-switch{max-width:100%;white-space:normal;align-items:flex-start}body .dx .dx-switch>span{min-width:0;overflow-wrap:anywhere}body .dx .dx-switch>input{flex:0 0 auto;margin-top:.2em}
@media(max-width:720px){body .page-header{flex-wrap:wrap;gap:12px}body .page-header>div{min-width:0;max-width:100%;flex-wrap:wrap}body .page-header h1{overflow-wrap:anywhere}}
@media(max-width:720px){body .dx .dx-table--narrow{width:100%;table-layout:fixed}body .dx .dx-table--narrow :is(th,td){min-width:0;white-space:normal;overflow-wrap:anywhere;padding-inline:8px}}
@media(max-width:720px){body .dx .dx-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body .dx .dx-stat{min-width:0}body .dx .dx-stat :is(b,span){white-space:normal;overflow-wrap:anywhere}}
body .dx .dx-adv__ctl{min-width:0;max-width:100%;flex-wrap:wrap}body .dx .dx-adv__count{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}body .dx .dx-adv__ctl select{min-width:0;max-width:100%}
html[dir="rtl"] .dd-langsel-panel{left:0;right:auto}
@media(max-width:380px){body .dd-nav-inner{padding-inline:12px;gap:8px}body .dd-nav-right{gap:6px}}
/* Single-column complete lists; footer lists grow in normal page flow. */
.dd-langsel-panel{gap:6px}
.dd-langsel-panel .dd-langsel-row{height:32px}
.dd-langsel-panel .dd-langsel-sub-item{min-height:30px;padding:6px 12px;line-height:1.25}
body .dd-footer-pills:has(.dd-footer-pill[open]){display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-items:start}
body .dd-footer-pills .dd-footer-pill[open]{width:100%}
html body .dd-footer-pills .dd-footer-pill[open]>.dd-footer-pill-menu{position:static;left:auto;right:auto;bottom:auto;transform:none;grid-template-columns:minmax(0,1fr);width:240px;max-width:100%;margin:8px auto 0}
body .dd-mobile-chips{display:flex;flex-direction:column;align-items:stretch}
body .dd-mobile-chip{height:auto;min-height:36px;white-space:normal;justify-content:flex-start}
