/*
Theme Name: Kuehne Rechtsanwaelte
Theme URI: https://www.kuehne-rechtsanwaelte.de/
Author: Kanzlei Kuehne
Description: Clean classic theme inspired by the established Dresden law practice design.
Version: 1.2.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kuehne
*/
@font-face{font-family:Play;src:url('assets/fonts/Play-Regular.otf') format('opentype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Cinzel;src:url('assets/fonts/Cinzel-Bold.otf') format('opentype');font-style:normal;font-weight:700;font-display:swap}
:root{--wine:#830000;--ink:#222;--muted:#777;--line:#ececec;--paper:#fff;--soft:#f7f7f7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:16px/2 Verdana,Arial,sans-serif}img{max-width:100%;height:auto}a{color:#111;text-decoration:underline}a:hover,a:focus{color:var(--wine);text-decoration:none}.site-shell{width:85%;margin:35px auto 0;background:var(--paper);box-shadow:0 0 10px 10px #ccc}.site-header{background:#fff url('assets/images/headerbg.png') repeat-x left bottom}.brand-image{display:block;width:auto;max-width:100%;margin:0 auto;padding:1.25em 0 0}.site-nav{padding:0;border-top:.25em solid var(--line);border-bottom:.3em solid var(--line);background:#fff}.site-nav ul{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:0;max-width:68.5em;margin:.975em 0;padding:0;list-style:none}.site-nav li{margin:0;padding:0 12.8px}.site-nav a{font-family:Play,Verdana,Arial,sans-serif;font-size:1.05em;color:#5c5c5c;text-decoration:none}.site-nav .current-menu-item>a{font-weight:700}.site-nav a:hover,.site-nav .current-menu-item>a{color:var(--wine);text-decoration:underline}.header-contact{float:right;width:18em;margin:.125em 1.125em;font-size:1em;font-weight:bold;position:relative;z-index:2002}.header-contact a{text-decoration:none}.header-contact .tel-mobile{display:none}.content-grid{clear:both;display:grid;grid-template-columns:calc(65% + 2em) 30%;column-gap:calc(5% - 2em);padding:3%}.primary-content{min-width:0}@media(min-width:50.063em){.primary-content{margin:0 1em}}.sidebar{min-width:0;padding:0;background:transparent;border:0}.sidebar .widget,.sidebar .legacy-module{box-sizing:content-box;width:80%;margin:0 0 1em;padding:1em;border:1px solid #e5e5e5;background:#f8f8f8}.sidebar .widget-title,.sidebar .legacy-module h2,.sidebar .legacy-module h3,.sidebar .widget h2,.sidebar .widget h3{color:var(--wine);font:normal 1.25em Play,Verdana,Arial,sans-serif;border-bottom:1px solid #ccc;padding-bottom:.25em}.sidebar .legacy-module img{display:block}.sidebar .legacy-module.kanzlei a.kanzleiinfo{color:var(--wine);text-decoration:none}.sidebar .legacy-module.bild img,.sidebar .legacy-module.kanzlei img{display:block;max-width:100%;height:auto;box-shadow:0 0 .313em .313em #ccc}.sidebar .legacy-module.bild img{margin:.625em auto}.sidebar .legacy-module.bild img#anfahrtlogo{box-shadow:none}.sidebar .legacy-module.kanzlei img{margin-top:.625em}.sidebar .legacy-module.kanzlei h2{font-size:1.3125em}.entry-title,.archive-title,.entry-content h1,.page-prelude h1{font:700 2.25em/32px Play,Verdana,Arial,sans-serif;color:#808080;width:95%;padding-bottom:.625em;border-bottom:1px solid var(--wine);margin:0 0 1.25em 5%}.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6{font-family:Play,Verdana,Arial,sans-serif;font-weight:normal;line-height:1.4}.entry-content h2{font-size:1.5em;color:#623a19}.entry-content h3{font-size:1.3125em;color:#808080}.entry-content p{margin:0 0 1em;hyphens:auto}.entry-content ul,.entry-content ol{padding-left:2em}.entry-content img{margin:1.5em}.post-card{padding:18px 0 28px;border-bottom:1px solid var(--line)}.post-card h2{font:normal 1.5em Play,Verdana,Arial,sans-serif}.post-card h2 a{text-decoration:none}.site-mark{width:31.05em;max-width:90%;margin:2.5em auto;text-align:left}.site-mark h2{margin:0;border-bottom:2px solid var(--wine);font:700 2.37em Cinzel,Verdana,Arial,sans-serif}.site-mark .mark-name{color:var(--wine)}.site-mark h3{margin:.03em 0 0;color:#111;font:normal 1.5em Cinzel,Verdana,Arial,sans-serif}.footer-image{height:150px;display:grid;place-items:center;background:var(--wine) url('assets/images/footerbg.png') repeat}.footer-image img{display:block;max-height:150px;width:auto}.site-footer{width:85%;margin:0 auto;padding:18px 26px 28px;text-align:center}.footer-address{color:var(--wine);font-size:.65em;text-align:left}.site-footer h2{border-block:1px solid var(--wine);padding:.625em 0;color:var(--muted);font:normal 1.625em Play,Verdana,Arial,sans-serif}.footer-menu{list-style:none;padding:0;display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.footer-menu a{font-size:.85rem}.menu-toggle{display:none}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.pagination{margin:24px 0}.pagination .nav-links{display:flex;gap:14px;flex-wrap:wrap}.search-form{display:flex;gap:8px}.search-form input[type=search]{min-width:0;padding:9px;border:1px solid #aaa}.search-form input[type=submit]{padding:9px 14px;background:var(--wine);color:#fff;border:0;cursor:pointer}
.skip-link{position:absolute;top:-100px;left:12px;z-index:20;padding:8px 14px;background:#fff;color:var(--wine);border:2px solid var(--wine)}.skip-link:focus{top:12px}
@media(max-width:1085px){.brand-image{padding-top:0}}@media(max-width:974px){.site-shell,.site-footer{width:100%}.site-shell{box-shadow:none}.site-nav{padding:0;border-top:0}.site-nav ul{max-width:none}.header-contact{float:none;width:100%;height:3em;margin:0;padding:0 .5em;line-height:3em;text-align:right;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);font-size:.75em;position:fixed;top:0;right:0;left:0;z-index:2002}.header-contact .tel-desktop{display:none}.header-contact .tel-mobile{display:inline}.menu-toggle{display:block;width:100%;padding:10px 16px;border:0;background:#fff;color:var(--wine);font-size:1rem;text-align:left}.site-nav .menu-wrap{display:none}.site-nav.is-open .menu-wrap{display:block}.site-nav ul{display:block;margin:0;padding:5px 16px}.site-nav li{padding:7px 0;border-bottom:1px solid var(--line)}}@media(max-width:850px){.content-grid{grid-template-columns:minmax(0,2.1fr) minmax(230px,1fr);gap:24px;padding:24px}.primary-content{margin:0}}@media(max-width:800px){.content-grid{display:flex;flex-direction:column}.sidebar{padding:20px 0 0}}@media(max-width:550px){.sidebar .widget,.sidebar .legacy-module{box-sizing:border-box;width:89%;margin:0 auto 1em}.content-grid{padding:20px 18px 32px}}@media(max-width:845px){.site-mark{width:31em}}@media(max-width:550px){.site-mark{width:26.6em}.site-mark h2{font-size:2.025em}.site-mark h3{font-size:1.3125em}}@media(max-width:480px){.site-mark{width:20.1em}.site-mark h2{font-size:1.53em}.site-mark h3{font-size:1.01em}}
@media(max-width:650px){.site-footer{padding:15px 18px 28px}.footer-address{text-align:center}.footer-image{height:120px}.footer-image img{max-height:120px}}

/* Restore the centered navigation and the original gold award treatment. */
@media(min-width:974.01px){.site-nav ul{justify-content:center;margin:.975em auto}}
.entry-content .plakette{box-sizing:content-box;width:auto;max-width:15.625em;margin:1.5rem auto;padding:.65rem;background:#ffb626;text-align:center}
.entry-content .plakettein{padding:.6rem;border:2px solid #fff;color:#fff;background:#ffb626}
.entry-content .plakettein p{color:#fff;font-size:.9em;line-height:1.5em}
.sidebar .plakette{box-sizing:content-box;width:auto;max-width:100%;margin:0;padding:.65rem;background:#ffb626;text-align:center}
.sidebar .plakettein{padding:.6rem;border:2px solid #fff;color:#fff;background:#ffb626}
.sidebar .plakettein p,.sidebar .plakettein p span{color:#fff!important;font-size:.76em;line-height:1.5em}
.sidebar .sidebar-widget-group{box-sizing:content-box;width:80%;margin:0 0 1em;padding:1em;border:1px solid #e5e5e5;background:#f8f8f8}
.sidebar .sidebar-widget-group .legacy-module{box-sizing:border-box;width:100%;margin:2.5em 0;padding:1em}
.anwalt-widget{width:100%;max-width:100%;font-size:.85em;container-type:inline-size}.anwalt-widget table{width:100%;max-width:100%}.anwalt-widget img{max-width:100%;height:auto}.anwalt-widget:has(#widgetAnwaltde) .anwalt-widget-fallback{display:none}
#anwaltde #widgetAnwaltde{display:block;float:none!important;margin-left:auto!important;margin-right:auto!important;max-width:100%}
@container(max-width:300px){#anwaltde #widgetAnwaltde .lawyerDetails{display:flex;flex-direction:column}#anwaltde #widgetAnwaltde .lawyerDetails figure{float:none;margin:0 auto 10px}#anwaltde #widgetAnwaltde .lawyerDetails .contentBlock{width:100%}#anwaltde #widgetAnwaltde .address{overflow-wrap:normal;word-break:normal}}
#anwaltde .widgetReviewHint a{overflow-wrap:anywhere}
@media(max-width:1191px){.anwalt-widget table{border-collapse:separate;border-spacing:1em}.anwalt-widget table td{width:100%;display:block}.anwalt-widget h3{padding-top:1em}}
@media(max-width:550px){.sidebar .sidebar-widget-group{box-sizing:border-box;width:89%;margin:0 auto 1em}}
@media(min-width:50.063em){.entry-content>div:has(>.plakette1){display:flex;align-items:center;justify-content:center;gap:1.5rem}.entry-content>div:has(>.plakette1)>.plakette1{flex:0 1 16rem}.entry-content>div:has(>.plakette1)>.plakette1 .plakette{margin:0}.entry-content>div:has(>.plakette1)>img{display:block;flex:0 0 229px;width:229px;margin:0}}
@media(max-width:800px){.entry-content>div:has(>.plakette1){display:block}.entry-content>div:has(>.plakette1)>.plakette1{margin:0 auto 1rem}.entry-content>div:has(>.plakette1)>img{display:block;margin:0 auto}}

/* Migrated practice profiles, tables, and image galleries. */
.entry-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;border-spacing:0}
.entry-content th,.entry-content td{padding:.55rem .7rem;border:1px solid #d7d7d7;text-align:left;vertical-align:top}
.entry-content th{background:#f3f3f3;color:#4e4e4e}
.entry-content .table-scrollable{max-width:100%;overflow-x:auto;margin:0 0 1.2rem}
.entry-content .table-scrollable table{width:max-content;min-width:100%;margin:0}
.entry-content .kuehne-gallery,.entry-content .wp-block-gallery,.entry-content .gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:1.5rem 0}
.entry-content .kuehne-gallery figure,.entry-content .wp-block-gallery figure,.entry-content .gallery figure{margin:0;min-width:0}
.entry-content .kuehne-gallery img,.entry-content .wp-block-gallery img,.entry-content .gallery img{display:block;width:100%;height:auto;object-fit:cover;margin:0}
.entry-content figure figcaption{padding:.45rem .2rem;color:#666;font-size:.88rem;line-height:1.5;text-align:center}
.entry-content .Mitarbeiter{position:relative;width:100%;margin:5em 0}.entry-content .Mitarbeiter:after{content:'';display:block;clear:both}.entry-content .Mitarbeiter>div:first-child{float:right;width:45%;margin-right:1.5em}
.entry-content .Mitarbeiter h3{margin:0 0 .2em}.entry-content .Mitarbeiter h3 a{color:#000;text-decoration:none;font-size:1.25em}
.entry-content .Mitarbeiter img{max-width:100%;height:auto;margin:1em}
.entry-content .Mitarbeiter a{color:var(--wine);font-weight:bold}
.entry-content img.vitapicleft{float:left;max-width:min(42%,300px);margin:.25rem 1.25rem 1rem 0}
.entry-content img.vitapicright{float:right;max-width:min(42%,300px);margin:.25rem 0 1rem 1.25rem}
.entry-content .sekteam{float:right;max-width:50%;margin:0 0 1em 1em}
.entry-content .sekteam img{margin-left:1em}
.entry-content .sekteam p{margin-left:1.8em;text-align:center;font-size:9pt;font-weight:bold}
.entry-content .Download{margin:1.5rem 0;padding:1rem;background:#f5f5f5;border-left:4px solid var(--wine)}
.entry-content .Download h4{margin:0 0 .35rem}
.entry-content ul#startliste li{margin:.8rem 0}
@media(max-width:550px){.entry-content .Mitarbeiter{margin:1.5em 0}.entry-content .Mitarbeiter>div{float:none;width:100%;margin:0}.entry-content .Mitarbeiter a.profpic img{display:block;margin:1em auto}.entry-content img.vitapicleft,.entry-content img.vitapicright{float:none;display:block;max-width:min(100%,380px);margin:1em auto}.entry-content .sekteam{float:none;max-width:100%;margin:0}.entry-content .sekteam img{margin:auto}.entry-content .sekteam p{margin:1em}.entry-content .kuehne-gallery,.entry-content .wp-block-gallery,.entry-content .gallery{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}}
