/* Approved variant 06 across V7; content and existing text sizes are retained. */
html body.v7.mg-modern {--study-nav:#fdfcf9;--study-nav-text:#17243c;}
@layer variant-six-headings {
 body.mg-soft-serif h1,body.mg-soft-serif h1 * {font-family:'Cormorant Garamond',Georgia,serif!important;}
}
html body.v7.mg-modern .mg-shared-footer {padding-bottom:28px;}
html body.v7.mg-modern .mg-nav-bar .mg-practice-menu {background:#fdfcf9;color:#17243c;}
html body.v7.mg-modern .mg-nav-bar .mg-practice-menu a {color:#17243c;}
html body.v7.mg-modern .mg-family-icon {display:block;width:32px;height:32px;flex:none;}
/* Native topic selection replaces the cramped row of equal-width filter tiles. */
html body.v7.mg-modern .mg-topic-picker {padding:24px 28px;border-block:1px solid #ded9cb;background:#f7f5f0;}
html body.v7.mg-modern .mg-topic-picker label {display:block;color:#17243c;font-size:18px;font-weight:600;margin-bottom:10px;}
html body.v7.mg-modern .mg-topic-picker select {display:block;width:100%;max-width:100%;min-width:0;min-height:54px;padding:12px 40px 12px 15px;border:1px solid #a49250;border-radius:5px;background:#fff;color:#17243c;font-size:18px;line-height:1.5;}
html body.v7.mg-modern .mg-topic-picker select:focus-visible {outline:3px solid #a49250;outline-offset:3px;}
html body.v7.mg-modern .mg-topic-picker-status {font-size:16px!important;line-height:1.5!important;color:#596477;margin:12px 0 0;overflow-wrap:normal;word-break:normal;hyphens:auto;}
html body.v7.mg-modern .mg-topic-anchor {display:block;scroll-margin-top:120px;}
html body.v7.mg-modern [data-v6-article-row][hidden],html body.v7.mg-modern .mg-topic-picker[hidden] {display:none!important;}
/* German word boundaries, with dictionary hyphenation instead of arbitrary cuts. */
html body.v7.mg-modern :is(.v6-route-card,.v6-audience-card,.mg-topic-card,.v6-article-row,.cost-master-card,.v6-panel) {min-width:0;}
html body.v7.mg-modern :is(.v6-route-card,.v6-audience-card,.mg-topic-card,.v6-article-row,.cost-master-card,.v6-panel)>* {min-width:0;}
html body.v7.mg-modern :is(.v6-route-card,.v6-audience-card,.mg-topic-card,.v6-article-row,.cost-master-card,.v6-panel) :is(h2,h3,p,b,small) {word-break:normal!important;overflow-wrap:normal!important;hyphens:auto;}
html body.v7.mg-modern .cost-master-services {padding-top:56px!important;padding-bottom:56px!important;}
/* Keep contact actions consistent with the selected homepage, including focus. */
html body.v7.mg-modern.mg-soft-serif a[data-v7-contact-action]:is(:hover,:focus-visible) {background:#17243c!important;color:#fff!important;border-color:#c4b47c!important;}
html body.v7.mg-modern.mg-soft-serif a[data-v7-contact-action]:is(:hover,:focus-visible) * {color:#fff!important;}
@media(max-width:760px){
 html body.v7.mg-modern .mg-topic-picker {padding:20px 18px;}
 html body.v7.mg-modern .mg-topic-picker select {font-size:16px;}
 html body.v7.mg-modern .cost-master-services {padding-block:32px!important;}
}
/* Let long video titles use German dictionary hyphenation. */
html body.v7.mg-modern .vl-card h3 {hyphens:auto;overflow-wrap:normal;word-break:normal;}
@media(max-width:760px){
 html body.v7.mg-modern .mg-home-subtitle {white-space:normal!important;max-width:100%;hyphens:auto;}
}

/* The team overview is the reference: identical square portrait windows.
   Existing landmark-based v5.js alignment then produces the same crop. */
html body.v7.mg-modern.modern-06 :is(.v5-person-image,.firm-founder-card__portrait) {
 display:block;flex:none;width:100%;height:auto!important;min-height:0;aspect-ratio:1!important;overflow:hidden;
}
/* Navy introduction cards with the homepage's pale outer space. */
html body.v7.mg-modern.modern-06 :is([data-v7-hero],.rebuild-hero,.vl-hero) {
 border-image:none!important;border:0!important;border-radius:14px!important;
 box-shadow:none!important;clip-path:none!important;overflow:hidden;
 margin-block:28px!important;background:#17243c!important;
}
html body.v7.mg-modern.modern-06 :is([data-v7-hero],.rebuild-hero,.vl-hero)::before,
html body.v7.mg-modern.modern-06 :is([data-v7-hero],.rebuild-hero,.vl-hero)::after {display:none!important;}
html body.v7.mg-modern.modern-06 :is(.rebuild-hero,.vl-hero) {
 width:calc(100% - 72px);max-width:1380px;margin-inline:auto!important;
}
/* A few templates place the brand block immediately before the introduction.
   Join both existing blocks into one visually continuous rounded card. */
html body.v7.mg-modern.modern-06>.mg-site-header {
 border-image:none!important;border:0!important;border-radius:14px 14px 0 0!important;
 margin-top:28px!important;background:#17243c!important;
}
html body.v7.mg-modern.modern-06>.mg-site-header::after {display:none!important;}
html body.v7.mg-modern.modern-06:has(>.mg-site-header) :is([data-v7-hero],.rebuild-hero) {
 margin-top:0!important;border-radius:0 0 14px 14px!important;
}
@media(max-width:760px){
 html body.v7.mg-modern.modern-06 :is(.rebuild-hero,.vl-hero) {width:calc(100% - 24px);}
}
/* Keep the original light Gerichtsfenster skyline presentation. */
html body.v7.mg-modern.modern-06 .screen-hero {
 margin:24px;border:0;border-radius:14px;background:var(--paper);color:var(--ink);
}
html body.v7.mg-modern.modern-06[data-gf-view="network"] main {display:flow-root;}
html body.v7.mg-modern.modern-06[data-gf-view="network"] .intro {
 margin:12px 12px 24px;border-radius:14px;background:#17243c;color:#fbfaf7;
}
html body.v7.mg-modern.modern-06[data-gf-view="network"] .intro p:last-child {color:#d1d7df;}
html body.v7.mg-modern.modern-06[data-gf-view="network"] .intro .eyebrow {color:#c4b47c;}

/* Keep the section symbol at the same size in all practice-area cards. */
html body.v7 .v6-branch>header>.v6-field-icon[aria-hidden] { font-size:25px!important; line-height:1!important; }

/* Align article numbers and author names with the title's first text baseline. */
html body.v7.mg-modern .v6-article-row { align-items:first baseline; }

/* Keep the legal field below the author, including stacked tablet/phone rows. */
html body.v7.mg-modern .v6-row-author { display:block; }
html body.v7.mg-modern .v6-row-author small { margin-top:4px; }

/* Keep both Gerichtsfenster stations on their shared line. */
html body.v7.v6-home-approved .mg-court-routes { flex-wrap:nowrap; gap:16px; justify-content:space-between; }
html body.v7.v6-home-approved .mg-court-routes span { padding-left:0; white-space:nowrap; }
@media(max-width:600px) {
 html body.v7.v6-home-approved .mg-court-routes { gap:8px; }
 html body.v7.v6-home-approved .mg-court-routes span { font-size:clamp(15px,4.5vw,19px); }
}

/* Give the full-width knowledge link the scale of the other primary links. */
html body.v7.v6-home-approved.mg-modern .mg-home-knowledge-button { font-size:clamp(22px,2vw,26px)!important; line-height:1.35; }
