/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

:root {
  --cdr--font-family-sans: 'Source Sans Pro', Sans-Serif;
  --cdr--font-family-serif: 'Merriweather', Serif;

  --cdr--color-blue-trans: #e9ecf3; /* #26408c with 0.1 opacity */

  --cdr--color-dark-grey: #303030;
  --cdr--color-dark-grey2: #333333;
  --cdr--color-middle-grey: #505050;
  --cdr--color-middle-grey3: #d9d9d9;
  --cdr--color-light-grey: #eaeaea;
  --cdr--color-light-grey2: #aeaeae;
  --cdr--color-light-grey3: #fbfbfb;

  --cdr--color-rgb-paletteColor2: 38, 64, 140; /* #26408c */
  --cdr--color-rgb-paletteColor8: 236, 231, 172; /* #ece7ac */

  --cdr--color-gold: #b59c78;
  --cdr--color-light-gold: #e9e2d7;
  --cdr--color-dark-blue: #191f39;
  --cdr--color-coral: #ea6868;

  --cdr--color-stars-rating: #fbbc06;
}

.has-font-sans,
.has-font-sans * {
  font-family: var(--cdr--font-family-sans);
}

.has-font-serif,
.has-font-serif * {
  font-family: var(--cdr--font-family-serif);
}

.has-no-border-radius {
  border-radius: 0;
}

/* TYPOGRAPHY (Blocksy theme.json; variables consumed in mirror-wp-layout-overrides) */
h1 {
  --theme-font-family: Merriweather, Sans-Serif;
  --theme-font-weight: 700;
  --theme-font-style: normal;
  --theme-font-size: 38px;
  --theme-line-height: 1.35;
}
h2 {
  --theme-font-family: 'Source Sans Pro', Sans-Serif;
  --theme-font-weight: 700;
  --theme-font-style: normal;
  --theme-font-size: 32px;
  --theme-line-height: 1.35;
}
h3 {
  --theme-font-family: 'Source Sans Pro', Sans-Serif;
  --theme-font-weight: 700;
  --theme-font-style: normal;
  --theme-font-size: 26px;
  --theme-line-height: 1.5;
}
h4 {
  --theme-font-family: 'Source Sans Pro', Sans-Serif;
  --theme-font-weight: 700;
  --theme-font-style: normal;
  --theme-font-size: 24px;
  --theme-line-height: 1.5;
}
h5 {
  --theme-font-family: 'Source Sans Pro', Sans-Serif;
  --theme-font-weight: 700;
  --theme-font-style: normal;
  --theme-font-size: 20px;
  --theme-line-height: 1.5;
}
h6 {
  --theme-font-family: 'Source Sans Pro', Sans-Serif;
  --theme-font-weight: 700;
  --theme-font-style: normal;
  --theme-font-size: 18px;
  --theme-line-height: 1.5;
}

/* LINKS & BUTTONS */
body a {
  text-decoration: none;
}
a {
  color: var(--theme-link-initial-color);
  -webkit-text-decoration: var(--has-link-decoration, var(--theme-text-decoration, none));
  text-decoration: var(--has-link-decoration, var(--theme-text-decoration, none));
}
:where(footer.ct-footer [data-link] a, [data-link] .ct-posts-shortcode .entry-title a) {
  --has-link-decoration: var(--false);
}
/* default buttons */
.stk-block-button-group .wp-block-stackable-button.has-no-border-radius a.stk-button {
  border-radius: 0;
}
.stk-block-button-group .wp-block-stackable-button a.stk-button {
  padding: 10px 20px;
}
.stk-block-button-group .wp-block-stackable-button .stk-button__inner-text {
  font-weight: 800;
}
/* button: CTA */
.stk-block-button-group.cdr-btn-cta a.stk-button {
  border-radius: 6px;
  display: block;
  padding: 20px 50px !important;
  position: relative;
}
.stk-block-button-group.cdr-btn-cta a.stk-button .stk--svg-wrapper {
  background: var(--theme-palette-color-7);
  border-radius: 10px;
  bottom: 10px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  height: 20px;
  position: absolute;
  right: 10px;
  width: 20px;
}
.stk-block-button-group.cdr-btn-cta .stk-block-button a.stk-button .stk--svg-wrapper .stk--inner-svg svg {
  height: 12px;
  margin-block-start: 4px !important;
  margin-inline-start: 2px !important;
}
.stk-block-button-group.cdr-btn-cta a.stk-button .stk--svg-wrapper svg path {
  fill: var(--theme-palette-color-1);
}
/* new buttons in coral color with arrow icon */
.stk-block-button-group.cdr-button-with-arrow a.stk-button {
  border-radius: 0;
}
.stk-block-button-group.cdr-button-with-arrow a.stk-button .stk-button__inner-text {
  line-height: 1.2;
  padding: 6px 0;
}


/* cdr-box-feature */
.cdr-box-feature {
  background-color: var(--cdr--color-blue-trans);
  /*padding: 40px 60px 50px 60px;*/
}
/* cdr-box-feature: outer box */
.cdr-box-feature .outer-box {
  display: flex;
  flex-direction: row;
  margin: 40px auto 50px auto;
}
/* cdr-box-feature: inner box */
.cdr-box-feature .inner-box {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  max-width: var(--default-editor, var(--theme-block-max-width));
  width: var(--default-editor, var(--theme-block-width));
}
.cdr-box-feature:not(.imaged) .inner-box {
  margin: auto;
}
/* cdr-box-feature: blue label, but also general definition */
.cdr-box-label {
  background-color: var(--theme-palette-color-1);
  border-radius: 14px;
  color: var(--theme-palette-color-7);
  display: inline-block;
  font-family: var(--cdr--font-family-sans);
  font-weight: bold;
  font-size: 16px;
  line-height: normal;
  margin-bottom: 32px;
  padding: 2px 10px 4px 10px;
  width: auto;
}
/* cdr-box-feature: title in box */
.cdr-box-feature .inner-box .box-title {
  font-family: var(--cdr--font-family-sans);
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 6px;
  margin-top: 0;
}
/* cdr-box-feature: text content */
.cdr-box-feature .inner-box p.box-content {
  margin-bottom: 0;
}
/* cdr-box-feature: read more link */
.cdr-box-feature .inner-box p.box-content a.box-link {
  align-items: center;
  display: inline-flex;
  font-weight: bold;
  gap: 6px;
  margin-left: 10px;
}
/* cdr-box-feature: read more link: icon */
.cdr-box-feature .inner-box p.box-content a.box-link svg.svg-inline--fa {
  background-color: var(--theme-palette-color-1);
  border-radius: 10px;
  height: 20px;
  padding: 4px;
  width: 20px;
}
.cdr-box-feature .inner-box p.box-content a.box-link svg.svg-inline--fa path {
  fill: var(--theme-palette-color-7);
}

/* cdr-box-feature: with image */
.cdr-box-feature.imaged {
  --theme-block-width: 1074px;
  display: grid;
  grid-template-columns: 1fr auto;
}
.cdr-box-feature.imaged .outer-box {
  margin: 0;
}
.cdr-box-feature.imaged .inner-box {
  margin: 30px 40px;
}
/* cdr-box-feature: img box */
.cdr-box-feature .img-box img {
  height: 100%;
  object-fit: cover;
}


/* cdr-box-feature: with link list */
.cdr-box-feature.link-list {
  background-color: var(--cdr--color-light-grey3);
}
.cdr-box-feature.link-list .cdr-box-label {
  background-color: var(--cdr--color-light-grey);
  color: var(--cdr--color-dark-grey);
}
.cdr-box-feature.link-list .inner-box p.box-content {
  font-size: 18px;
  line-height: 1.8em;
  margin-bottom: 16px;
}
.cdr-box-feature.link-list nav ul {
  column-gap: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0;
}
.cdr-box-feature.link-list nav ul li {
  border-bottom: 2px solid #e6e6e6;
  margin-bottom: 8px;
  padding-bottom: 8px;
}
.cdr-box-feature.link-list nav ul li:nth-last-child(-n+2) {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.cdr-box-feature.link-list nav ul li a {
  display: block;
  font-size: 18px;
}
.cdr-box-feature.link-list nav ul li a::after {
  background: url(/wp-content/themes/blocksy-child/assets/img/icons/icon-angle-right-blue.svg) no-repeat center 1px;
  background-size: 8px 12px;
  content: "";
  display: inline-block;
  height: 17px;
  margin-left: 12px;
  vertical-align: middle;
  width: 8px;
}


/* FEATURED POSTS */
/* featured posts: heading */
.featured-posts__title {
  margin-bottom: 32px !important;
  text-align: center;
}
.entries.featured-posts.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
}
/* post */
.entries.featured-posts article {
  --item-height: 110px;
  background-color: var(--cdr--color-light-gold);
  border-radius: 6px;
  display: grid;
  gap: 19px;
  grid-template-columns: var(--item-height) auto;
  height: var(--item-height);
  max-height: var(--item-height);
  overflow: hidden;
}
/* img */
.entries.featured-posts article .post-thumbnail {
  height: var(--item-height);
  width: var(--item-height);
}
.entries.featured-posts article .post-thumbnail img {
  height: 100%;
  width: 100%;
}
/* title */
.entries.featured-posts article .post-content .entry-title {
  display: -webkit-box;
  font-size: 24px;
  line-height: 1.2em;
  max-height: 96px;
  margin: 6px 10px 0 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
}



/* date */
/*.entries.featured-posts article .post-content .post-date {
  color: rgba(0,0,0,0.8);
  font-family: var(--cdr--font-family-sans);
  font-size: 12px;
}*/


/* contact form */
/* container when inserted via hook on singular bottom */
/* TODO: check, if needed */
body:not(.home, .single-standorte, .single-rechtsgebiete) #main div[data-block^="hook:"] .entry-content .contact-form-container {
  max-width: 1074px !important;
}

/* 5-sterne - bewertungen */
body .anwalt-de-rating {
  color: var(--theme-palette-color-3);
  display: inline-flex;
  font-size: 16px;
  gap: 2px;
  line-height: 1;
  text-decoration: none;
}
body footer .anwalt-de-rating {
  color: unset;
}
body .anwalt-de-rating [data-icon="star"] {
  height: 18px;
  width: 18px;
}
body .anwalt-de-rating .numbers {
  margin-left: 6px;
}
body .anwalt-de-rating [data-icon="star"] path {
  fill: #af9a65;
}
/* star rating: another color in hero-section */
body .hero-section .anwalt-de-rating [data-icon="star"] path {
  fill: var(--cdr--color-stars-rating);
}


/* LAYOUT */

/* HEADER */
/* top-row: hide top logo in regular state */
body[data-header="type-1:sticky"] header [data-row="top"] .ct-header-text {
  display: none;
}
/* top-row: logo: display top logo on shrink state */
body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-header-text {
  display: flex;
}
body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-header-text .top-logo {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-header-text .top-logo .logo img {
  width: 60px;
}
/* top-row: logo: text */
body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-header-text .top-logo .text p {
  color: var(--theme-palette-color-7);
  margin: 0;
}
body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-header-text .top-logo .text p.top-text {
  font-size: 12px;
  font-weight: 200;
}
body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-header-text .top-logo .text p.bottom-text {
  font-weight: 500;
}
/* top-row: space between logo & contact */
body[data-header="type-1:sticky:shrink"] header [data-row="top"] [data-items] {
  justify-content: space-between;
}
body[data-header="type-1:sticky:shrink"] header [data-row="top"] [data-items] > * {
  margin: 0 !important;
}

/* middle-row: hide in sticky state */
body[data-header="type-1:sticky:shrink"] header [data-row="middle"] {
  opacity: 0;
  z-index: -10 !important;
}
/* middle-row: margin top */
#header [data-device="desktop"] [data-row*=middle] {
  margin-top: 8px;
}
/* middle-row: dropdown icon */
#header [data-row*=middle] .ct-toggle-dropdown-desktop {
  --theme-icon-size: 10px;
}
/* MENU: mega-menu */
/* mouse over color for disabled link on top level */
header#header nav[data-id="menu"] ul.menu > li.ct-mega-menu-full-width:hover > a.ct-menu-link.ct-disabled-link {
  color: var(--theme-palette-color-3) !important;
}
/* pointer on top-level items with submenu (mega menu) */
header#header nav[data-id="menu"] ul.menu > li.menu-item-has-children {
  cursor: pointer;
}
/* correct icon margin */
header#header nav[data-id="menu"] ul.menu ul.sub-menu li#menu-item-24006 .ct-icon-container,
header#header nav[data-id="menu"] ul.menu ul.sub-menu li#menu-item-24063 .ct-icon-container {
  margin-bottom: 1px;
}
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li.menu-item-type-custom {
  padding-top: 0;
}
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li > ul > li.menu-item-type-custom,
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li > ul > li.menu-item-type-custom a {
  padding-bottom: 0;
  padding-top: 0;
}
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li > ul > li.menu-item-type-custom a {
  line-height: 1.1;
  margin-bottom: 10px;
}
/* headings */
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li > ul > li.menu-item-type-custom .ct-column-heading {
  font-family: var(--cdr--font-family-sans);
  font-size: 18px;
  font-weight: 600;
}
/* icon: dropdown */
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li > ul > li.menu-item-type-custom .ct-toggle-dropdown-desktop {
  display: flex;
  padding-left: 8px;
}
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li > ul > li.menu-item-type-custom.ct-active .ct-toggle-dropdown-desktop {
  rotate: -90deg;
}
/* hide nested level */
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li > ul > li.menu-item-type-custom > ul {
  height: 0;
  opacity: 0;
  overflow: hidden;
}
/* show nested level */
header#header nav[data-id="menu"] ul.menu > li > ul.sub-menu > li > ul > li.menu-item-type-custom.ct-active > ul {
  height: auto;
  opacity: 1;
  overflow: visible;
  padding-left: 25px;
}


/* FOOTER */
/* fonts */
footer#footer * {
  font-family: var(--cdr--font-family-sans);
}
footer#footer h2,
footer#footer h3,
footer#footer h4,
footer#footer h5,
footer#footer h6 {
  font-family: var(--cdr--font-family-serif);
  font-weight: normal;
}
footer#footer p,
footer#footer a,
footer#footer ul li,
footer#footer form label {
  font-size: 18px;
}
/* top: spacing between both columns */
footer#footer [data-row="top"] .ct-container {
  gap: 138px;
}
/* top: widgets */
footer#footer [data-row="top"] [data-column="widget-area-4"] .ct-widget {
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
footer#footer [data-row="top"] [data-column="widget-area-4"] .ct-widget:first-child {
  margin-bottom: 0;
  padding-bottom: 53px;
}
footer#footer [data-row="top"] [data-column="widget-area-4"] .ct-widget:nth-child(2) {
  margin-bottom: 0;
  margin-top: 60px;
  padding-bottom: 38px;
}
footer#footer [data-row="top"] [data-column="widget-area-4"] .ct-widget:last-child {
  border: none;
  margin-top: 60px;
}
footer#footer [data-row="top"] [data-column="widget-area-4"] .ct-widget .stk-block-columns {
  margin-bottom: 0;
}
/* top: nav items */
footer#footer [data-row="top"] .widget_nav_menu ul.widget-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer#footer [data-row="top"] .widget_nav_menu ul.widget-menu li a {
  display: block;
}
footer#footer [data-row="top"] .widget_nav_menu ul.widget-menu li a::after {
  background: url(/wp-content/themes/blocksy-child/assets/img/icons/icon-angle-right.svg) no-repeat center 2px;
  background-size: 8px 12px;
  content: "";
  display: inline-block;
  height: 17px;
  margin-left: 12px;
  vertical-align: middle;
  width: 8px;
}
/* weitere rechtsgebiete */
footer#footer ul#menu-weitere-rechtsgebiete,
footer#footer ul#menu-en-weitere-rechtsgebiete {
  margin-top: 12px;
}
footer#footer ul#menu-weitere-rechtsgebiete > li.menu-weitere-rechtsgebiete > a::after,
footer#footer ul#menu-en-weitere-rechtsgebiete > li.menu-weitere-rechtsgebiete > a::after {
  transform: rotate(-90deg);
}
footer#footer ul#menu-weitere-rechtsgebiete > li.menu-weitere-rechtsgebiete.closed > a::after,
footer#footer ul#menu-en-weitere-rechtsgebiete > li.menu-weitere-rechtsgebiete.closed > a::after {
  transform: rotate(90deg);
}
footer#footer ul#menu-weitere-rechtsgebiete > li.menu-weitere-rechtsgebiete.closed > ul.sub-menu,
footer#footer ul#menu-en-weitere-rechtsgebiete > li.menu-weitere-rechtsgebiete.closed > ul.sub-menu {
  display: none;
}

/* top: oft gesucht */
footer#footer [data-row="top"] .oft-gesucht .widget_nav_menu ul.widget-menu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
html[lang="en-US"] footer#footer [data-row="top"] .oft-gesucht .widget_nav_menu ul.widget-menu,
html[lang="en-EN"] footer#footer [data-row="top"] .oft-gesucht .widget_nav_menu ul.widget-menu {
  grid-template-columns: 1fr 1fr;
}
/* middle: bekannt aus */
footer#footer [data-row="middle"] .ct-container {
  padding-top: 30px;
}
/* bottom: links right */
footer#footer [data-row="bottom"] ul.footer-legal {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 40px;
}


/* MAIN */
/* space to footer: [data-vertical-spacing^="top"] means also top:bottom */
body main > .ct-container[data-vertical-spacing*=bottom]:last-child,
body main > .ct-container-full[data-vertical-spacing*=bottom]:last-child {
  padding-bottom: 100px;
}
/* hero section: title */
main .hero-section h1 {
  margin-bottom: 0;
  font-display: optional !important;
}
/* hero section: title with ending line */
main .hero-section h1::after {
  content: '—';
  margin-left: 10px;
}
/* hero section: second title */
main .hero-section h1 + [data-block] {
  margin-top: 0;
}
main .hero-section h2.second-article-title {
  color: var(--theme-palette-color-4);
  font-family: var(--cdr--font-family-serif);
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1.4em !important;
  margin-top: 0;
}
/* second-title: different color on blog */
body.blog main .hero-section h2.second-article-title {
  color: var(--theme-headings-color);
}
/* second-title: different color on single view and Corinna D. Ruppel page */
body.single-post main .hero-section h2.second-article-title,
body.page-id-1737 main .hero-section h2.second-article-title {
  color: var(--cdr--color-light-grey2);
}

/* hero section: rating */
main .hero-section .anwalt-de-rating {
  font-family: var(--cdr--font-family-sans);
  font-size: 18px;
  margin-bottom: 10px;
}
/* hero section: teaser */
main .hero-section .cdr-teaser {
  color: var(--cdr--color-dark-grey2);
  font-family: var(--cdr--font-family-sans);
  font-size: 18px;
  line-height: 29px;
}

/* hero section: meta items */
main .hero-section .entry-meta {
  border-top: 2px solid rgba(255,255,255,0.1);
  color: var(--theme-palette-color-7);
  font-family: var(--cdr--font-family-sans);
  font-size: 16px;
  font-weight: bold;
  margin-top: 50px;
  padding-top: 18px;
  width: 100%;
}
[data-prefix="single_blog_post"] .entry-meta[data-type*="none"] li:not(:last-of-type),
[data-prefix="evergreen_single"] .entry-meta[data-type*="none"] li:not(:last-of-type) {
  margin-inline-end: 0;
}
.entry-header ul.entry-meta {
  column-gap: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 10px;
}
body[data-prefix="single_blog_post"] .entry-header .entry-meta,
body[data-prefix="evergreen_single"] .entry-header .entry-meta {
  --theme-text-transform: none;
}
/* Label + date wrap together; line breaks only between groups / after ·. */
.entry-meta .meta-date-group {
  white-space: nowrap;
}
main .hero-section .entry-meta .meta-label {
  color: var(--cdr--color-middle-grey);
  font-weight: normal;
}
body[data-prefix="single_blog_post"] main .hero-section .entry-meta .meta-label {
  color: var(--cdr--color-light-grey2);
}

/* hero section special: header image: strecht to content height */
body .hero-section.special > .stk-row > .wp-block-stackable-column:first-child .stk-column-wrapper > .stk-block-content,
body .hero-section.special > .stk-row > .wp-block-stackable-column:first-child .stk-column-wrapper > .stk-block-content .wp-block-stackable-image,
body .hero-section.special > .stk-row > .wp-block-stackable-column:first-child .stk-column-wrapper > .stk-block-content .wp-block-stackable-image figure,
body .hero-section.special > .stk-row > .wp-block-stackable-column:first-child .stk-column-wrapper > .stk-block-content .wp-block-stackable-image figure .stk-img-wrapper {
  height: 100% !important;
}

/* general/evergreen breadcrumbs */
main .hero-section .entry-header .ct-breadcrumbs {
  --theme-text-transform: none;
}
body .hero-section .ct-breadcrumbs[data-source=default] > span {
  font-family: var(--cdr--font-family-sans);
}
body[data-prefix="single_blog_post"] main .hero-section .entry-header .ct-breadcrumbs {
  --theme-link-initial-color: var(--theme-palette-color-5);
}
body[data-prefix="single_blog_post"] main .hero-section .entry-header .ct-breadcrumbs a:hover {
  --theme-link-hover-color: var(--theme-palette-color-8);
}
body[data-prefix="single_blog_post"] .hero-section .entry-header .ct-breadcrumbs[data-source="default"] > span [class*="ct-separator"] path {
  color: var(--theme-palette-color-5);
}

/* general text below cta button */
body .hero-section .wp-block-stackable-button-group + .wp-block-stackable-text {
  font-family: var(--cdr--font-family-sans);
}


/* content inserted by blocksy content blocks (hooks) */
body #main .entry-content div[data-block^="hook:"] {
  max-width: unset;
  width: unset;
}
/* more space between blocky content block inserted in content and p */
body #main .entry-content div[data-block^="hook:"] + p {
  margin-top: 60px;
}

/* list */
/*body main .entry-content li {
  padding-left: 0.5em;
}*/
/* list */
body main .entry-content ul:not(.stk-block-icon-list__ul, .entry-meta, .menu, .sub-menu, .related-posts),
body main .entry-content ol {
  padding-left: 37px;
}
body main .entry-content ul:not(.stk-block-icon-list__ul, .entry-meta, .menu, .sub-menu, .related-posts) li,
body main .entry-content ol li {
  margin-bottom: 18px;
  padding-left: 20px;
}
body main .entry-content li::marker {
  color: var(--theme-palette-color-1);
}
body main .entry-content ul:not(.stk-block-icon-list__ul, .entry-meta, .menu, .sub-menu, .related-posts) li::marker {
  font-size: 28px;
}
body main .entry-content ol li::marker {
  font-weight: bold;
}


/* stackable: carousel/slider */
.stk-block-carousel .stk-block-carousel__content-wrapper {
  position: relative;
}
.stk-block-carousel.image-carousel .stk-block-carousel__content-wrapper .stk-block-carousel__dots {
  bottom: 0;
  height: 30px;
  left: calc(50% - 50px);
  position: absolute;
  top: unset;
  z-index: 100;
}
.stk-block-carousel .stk-block-carousel__content-wrapper .stk-block-carousel__dot::before {
  background-color: var(--theme-palette-color-1);
  height: 5px;
  width: 5px;
}
.stk-block-carousel.image-carousel .stk-block-carousel__content-wrapper .stk-block-carousel__dot::before {
  background-color: var(--theme-palette-color-7);
  box-shadow: 2px 2px 3px var(--theme-palette-color-3);
}
.stk-block-carousel .stk-block-carousel__content-wrapper .stk-block-carousel__dot--active {
  margin-inline: 0 !important;
}
.stk-block-carousel .stk-block-carousel__content-wrapper .stk-block-carousel__dot--active::before {
  background-color: transparent !important;
  border: 2px solid var(--theme-palette-color-1);
  height: 8px;
  width: 8px;
}
.stk-block-carousel.image-carousel .stk-block-carousel__content-wrapper .stk-block-carousel__dot--active::before {
  border: 2px solid var(--theme-palette-color-7);
}


/* pullquote */
figure.wp-block-pullquote,
blockquote.wp-block-quote {
  background-color: rgba(var(--cdr--color-rgb-paletteColor8), 0.15);
  border: none !important;
  color: var(--theme-palette-color-3);
  padding: 60px;
}
.alignfull figure.wp-block-pullquote blockquote,
.alignfull blockquote.wp-block-quote p {
  margin: 60px auto;
  max-width: var(--default-editor, var(--theme-block-max-width));
  width: var(--default-editor, var(--theme-block-width));
}
/* hide icon */
figure.wp-block-pullquote blockquote::before {
  display: none;
}
figure.wp-block-pullquote blockquote p,
blockquote.wp-block-quote p {
  font-size: 26px;
  line-height: 52px;
}
figure.wp-block-pullquote blockquote cite {
  border-top: 1px solid var(--cdr--color-middle-grey);
  display: block;
  font-family: var(--cdr--font-family-sans);
  font-size: 12px;
  font-style: normal;
  line-height: 2;
  margin-top: 43px;
  width: 100%;
}
/* force padding */
blockquote.wp-block-quote:not(.has-text-align-center):not(.has-text-align-right) {
  padding: 0;
}


/* custom quote with gold background, defined in wp-blocks */
.cdr-quote-gold {
  margin: 48px auto;
  margin-block-start: 48px !important;
  margin-block-end: 48px !important;
  padding: 48px 32px;
}
.cdr-quote-gold p:last-child {
  margin-bottom: 0;
}
/* for single post and evergreen */
body[data-prefix="evergreen_single"] .cdr-quote-gold p,
body[data-prefix="single_blog_post"] .cdr-quote-gold p {
  max-width: 854px;
  margin-left: auto;
  margin-right: auto;
}



/* Gutenberg Block: Youtube: too much padding above */
/*.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
  padding-top: 1em;
}*/



/* HOME */
/* HOME: HERO */
/* hero section: rating other font */
body.home .hero-section .anwalt-de-rating {
  font-family: var(--cdr--font-family-sans);
}

/* HOME: posts */
/* cards */
body .ct-posts-shortcode .entries article.entry-card {
  --cdr--home-cards-height: 110px;
  column-gap: 19px;
  /*display: grid;
  grid-template-columns: var(--cdr--home-cards-height) auto;
  grid-template-rows: 3fr 1fr;*/
  display: grid;
  grid-template-columns: var(--cdr--home-cards-height) auto;
  height: var(--cdr--home-cards-height);
  max-height: var(--cdr--home-cards-height);
  overflow: hidden;
}
body .ct-posts-shortcode .entries article.entry-card > * {
  display: flex;
}
body .ct-posts-shortcode .entries article.entry-card .ct-ghost {
  display: none;
}

/* card: img */
body .ct-posts-shortcode .entries article.entry-card a.ct-media-container {
  border-bottom-left-radius: inherit;
  border-top-right-radius: 0;
  /*grid-column: 1 / 2;
  grid-row: 1 / 3;*/

  margin-bottom: 0;

  height: var(--cdr--home-cards-height);
  width: var(--cdr--home-cards-height);
}
body .ct-posts-shortcode .entries article.entry-card a.ct-media-container img {
  height: var(--cdr--home-cards-height);
  width: var(--cdr--home-cards-height);
}
/* card: title */
body .ct-posts-shortcode .entries article.entry-card .entry-title {
  display: -webkit-box;
  /*grid-column: 2 / 3;
  grid-row: 1 / 2;*/
  grid-column-start: 2;
  /*max-height: 64px;*/
  margin: 6px 10px auto 0;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
}
body .ct-posts-shortcode .entries article.entry-card .entry-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
}
/* card: date */
/*body .ct-posts-shortcode .entries article.entry-card .entry-meta {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}*/



/* NEWS / BLOG archive */
/* correct feature-box in blog */
body.blog .cdr-box-feature .outer-box {
  padding: 0 38px;
}
body.blog .cdr-box-feature .inner-box {
  max-width: 854px;
  width: auto;
}
/* blog: card item */
body .entries article.entry-card.post,
body.archive .entries article.entry-card {
  padding-bottom: 13px;
}
/* display date over img */
body .entries article.entry-card.post .ct-media-container + .entry-meta,
body.archive .entries article.entry-card .ct-media-container + .entry-meta {
  margin-bottom: 35px !important;
  margin-top: -72px !important;
  z-index: 2;
}
body .entries article.entry-card.post .entry-meta li.meta-date,
body.archive .entries article.entry-card .entry-meta li.meta-date {
  background-color: var(--cdr--color-middle-grey);
  border-radius: 36px;
  color: var(--theme-palette-color-7);
  font-family: var(--cdr--font-family-sans);
  height: 24px;
  line-height: normal;
  padding: 0 10px;
}
/* blog: card item: read more link with icon */
body .entries article.entry-card.post .entry-button,
body.archive .entries article.entry-card .entry-button {
  align-self: end;
  font-size: 18px;
  font-weight: bold;
}
body .entries article.entry-card.post .entry-button::after,
body.archive .entries article.entry-card .entry-button::after {
  background: var(--theme-palette-color-1) url(/wp-content/themes/blocksy-child/assets/img/icons/icon-arrow-right-simple.svg) no-repeat center / 14px;
  border-radius: 10px;
  content: '';
  height: 20px;
  margin-left: 8px;
  width: 20px;
}

/* pagination */
nav.ct-pagination[data-pagination=simple] {
  align-items: center;
  display: flex;
  flex-direction: row;
  font-family: var(--cdr--font-family-sans);
  font-size: 16px;
  justify-content: center;
}
nav.ct-pagination[data-pagination=simple] .page-numbers {
  border: none;
  border-radius: 50%;
  height: 35px;
  line-height: 1px;
  padding: 0;
  width: 35px;
}
nav.ct-pagination[data-pagination=simple] .page-numbers.prev,
nav.ct-pagination[data-pagination=simple] .page-numbers.next {
  border-radius: 6px;
  padding-left: 10px;
  padding-right: 10px;
  width: auto;
}
nav.ct-pagination[data-pagination=simple] .page-numbers.prev {
  margin-right: 12px;
}
nav.ct-pagination[data-pagination=simple] .page-numbers.next {
  margin-left: 12px;
}
nav.ct-pagination[data-pagination=simple] .page-numbers.prev svg path,
nav.ct-pagination[data-pagination=simple] .page-numbers.next svg path {
  fill: var(--theme-palette-color-1);
}
nav.ct-pagination[data-pagination=simple] .page-numbers.dots {
  color: var(--theme-palette-color-3);
}
nav.ct-pagination[data-pagination=simple] a.page-numbers:hover,
nav.ct-pagination[data-pagination=simple] a.page-numbers:focus,
nav.ct-pagination[data-pagination=simple] a.page-numbers:active {
  background-color: rgba(var(--cdr--color-rgb-paletteColor2), 0.05);
  box-shadow: -1px 1px 5px 0 rgba(0, 0, 0, 0.1);
}


/* POST */
/* single: intro */
body.single-post .cdr-post-intro .cdr-post-intro__content,
body.single-post .post-intro .intro-content .stk-inner-blocks {
  display: block;
  font-family: var(--cdr--font-family-sans);
  font-size: 24px;
  line-height: 1.6em;
}


/* CPT: EVERGREEN */
/* second-title: different color on evergreen */
body.single-evergreen main .hero-section h2.second-article-title {
  color: var(--theme-palette-color-3);
}



/* CPT: STANDORTE */
/* Standorte: hero section: title without ending line */
body.single-standorte main .hero-section h1::after {
  display: none;
}
/* Standorte: overview */
body .standorte-overview-wrapper h3 {
  text-align: center;
}
body .cdr.standorte-overview {
  display: flex;
  gap: 70px;
  justify-content: space-between;
  list-style: none;
}
body .cdr.standorte-overview > * {
  flex-basis: 25%;
}
body .cdr.standorte-overview .standort {
  margin-top: 12px;
}
body .cdr.standorte-overview .standort .stk-block-icon-label {
  margin-bottom: 0;
}
body .cdr.standorte-overview .standort .stk-block-icon {
  flex-shrink: 1;
}
body .cdr.standorte-overview .standort .stk-block-icon svg path {
  fill: var(--theme-palette-color-1) !important;
}


/* PLUGIN: RankMath: FAQ */
#rank-math-rich-snippet-wrapper,
#rank-math-faq {
  max-width: unset;
  width: 100%;
}
#rank-math-faq:not(.alternative-blue) {
  border-bottom: 2px solid var(--cdr--color-light-grey);
}
#rank-math-faq .rank-math-list-item {
  background: none;
  border-width: 0 !important;
  border-top: 2px solid var(--cdr--color-light-grey) !important;
  margin-bottom: 0 !important;
}
#rank-math-faq .rank-math-list-item .rank-math-question {
  font-size: 26px;
  padding: 32px 56px 32px 0;
  margin: auto;
  max-width: 854px;
}
#rank-math-faq .rank-math-list-item .rank-math-question.faq-q-open {
  border-bottom: none;
}
#rank-math-faq .rank-math-list-item .rank-math-answer {
  background: none;
  border: none;
  padding: 0 56px 60px 0;
  margin: auto;
  max-width: 854px;
}
#rank-math-faq .rank-math-list-item .rank-math-answer.faq-a-open {
  display: block !important;
}
#rank-math-faq .rank-math-list-item .rank-math-answer p {
  font-size: 20px;
  line-height: 1.8em;
  margin-bottom: 0;
}
#rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-question::after {
  background: var(--theme-palette-color-7) url(/wp-content/themes/blocksy-child/assets/img/icons/icon-accordion-open.svg) no-repeat center;
  background-size: 23px;
  border-radius: 50%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  content: '';
  height: 40px;
  width: 40px;
}
#rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-question.faq-q-open::after {
  background: var(--theme-palette-color-1) url(/wp-content/themes/blocksy-child/assets/img/icons/icon-accordion-close.svg) no-repeat center;
}
#rank-math-faq .rank-math-list-item:has(.faq-q-open) {
  background-color: var(--cdr--color-light-grey3);
}
/* FAQ (alternative-blue) on home */
#rank-math-faq.alternative-blue .rank-math-list-item {
  border-top: none !important;
}
#rank-math-faq.alternative-blue .rank-math-list-item:has(.faq-q-open) {
  background: none;
}
#rank-math-faq.alternative-blue .rank-math-list-item .rank-math-question,
#rank-math-faq.alternative-blue .rank-math-list-item .rank-math-answer p {
  color: var(--theme-palette-color-7);
  font-family: var(--cdr--font-family-sans);
  line-height: 1.35;
}
#rank-math-faq.alternative-blue .rank-math-list-item .rank-math-question {
  align-items: center;
  display: flex;
  font-weight: 500;
  gap: 16px;
  padding: 16px 0;
  max-width: unset;
}
#rank-math-faq.alternative-blue .rank-math-list-item .rank-math-question::after {
  display: none;
}
#rank-math-faq.alternative-blue .rank-math-list-item .rank-math-question.faq-q-open::after {
  display: none;
}
#rank-math-faq.alternative-blue .rank-math-list-item .rank-math-question::before {
  background: var(--cdr--color-gold) url(/wp-content/themes/blocksy-child/assets/img/icons/icon-accordion-open-alternative.svg) no-repeat center;
  background-size: 23px;
  border-radius: 50%;
  content: '';
  display: inline-block;
  height: 36px;
  min-height: 36px;
  min-width: 36px;
  width: 36px;
}
#rank-math-faq.alternative-blue .rank-math-list-item .rank-math-question.faq-q-open::before {
  background: var(--theme-palette-color-7) url(/wp-content/themes/blocksy-child/assets/img/icons/icon-accordion-close-alternative.svg) no-repeat center;
}
#rank-math-faq.alternative-blue .rank-math-list-item .rank-math-answer {
  max-width: unset;
  padding: 0 0 32px 54px;
}
/* Stackable overlay must not eat clicks on FAQ questions (nested stk--has-background-overlay). */
.faq-alternative-blue-wrapper.stk--has-background-overlay::before,
.faq-alternative-blue-wrapper .stk--has-background-overlay::before {
  pointer-events: none;
}

@media (min-width: 1000px) {
  #rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-question {
    padding-left: 32px;
    padding-right: 84px;
  }
  #rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-question::after {
    margin-right: 32px;
  }
  #rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-answer {
    padding-left: 32px;
  }
}



/* PLUGIN: Stackable: Accordion */
.entry-content details.stk-block-accordion {
  border-top: 2px solid var(--cdr--color-light-grey) !important;
  max-width: 100% !important;
  width: 100% !important;
}
.entry-content details.stk-block-accordion:last-of-type {
  border-bottom: 2px solid var(--cdr--color-light-grey) !important;
}
.entry-content details.stk-block-accordion.stk--is-open {
  background-color: var(--cdr--color-light-grey3);
}
/* accordion heading */
.entry-content details.stk-block-accordion summary.stk-block-accordion__heading {
  padding: 32px 0 32px 0;
}
.entry-content details.stk-block-accordion summary.stk-block-accordion__heading .stk-block-column__content {
  background: transparent;
  box-shadow: none;
  margin: 0;
  padding: 0;
}
.entry-content details.stk-block-accordion summary.stk-block-accordion__heading .stk-block-column__content .stk-inner-blocks,
.entry-content details.stk-block-accordion .stk-block-accordion__content .stk-block-column__content .stk-inner-blocks {
  margin: auto;
  max-width: 854px;
}
/* accordion heading icon */
.entry-content details.stk-block-accordion summary.stk-block-accordion__heading .wp-block-stackable-icon {
  align-self: center;
  background: var(--theme-palette-color-7) url(/wp-content/themes/blocksy-child/assets/img/icons/icon-accordion-open.svg) no-repeat center;
  background-size: 23px;
  border-radius: 50%;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
  content: '';
  height: 40px;
  width: 40px;
}
.entry-content
  details.stk-block-accordion:is(.stk--is-open, [open])
  summary.stk-block-accordion__heading
  .wp-block-stackable-icon {
  background: var(--theme-palette-color-1)
    url(/wp-content/themes/blocksy-child/assets/img/icons/icon-accordion-close.svg) no-repeat center;
  background-size: auto;
}
.entry-content details.stk-block-accordion summary.stk-block-accordion__heading .wp-block-stackable-icon .stk--svg-wrapper {
  display: none;
}
/* accordion content */
.entry-content details.stk-block-accordion .stk-block-accordion__content .stk-block-column__content {
  margin: 0;
  padding: 0 0 60px 0;
}
.entry-content details.stk-block-accordion .stk-block-accordion__content .stk-block-column__content > * {
  padding-right: 56px;
}


/* PLUGIN: TOC — canonical: src/styles/ez-toc.css (BaseLayout import, T-043) */

/* PLUGIN: RateMyPost: hide */
.rmp-widgets-container {
  display: none !important;
}


/* PLUGIN: Borlabs Cookies */
body #BorlabsCookieBox ._brlbs-btn._brlbs-btn-accept-all {
  background-color: var(--theme-palette-color-1);
}
body #BorlabsCookieBox a {
  color: var(--theme-palette-color-1);
}


/* BREAKPOINTS */
@media (max-width: 1140px) {
  /* HEADER: top-row */
  body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-contact-info ul {
    gap: 20px;
  }
}

@media (max-width: 1066px) {
  /* HEADER: top-row */
  body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-container {
    width: calc(100% - 38px);
  }
}

@media (max-width: 1012px) {
  /* HEADER: top-row */
  body[data-header="type-1:sticky:shrink"] header [data-row="top"] .ct-contact-info ul {
    gap: 10px;
  }
}

/* tablet */
html {
  --cdr-header-contact-label: attr(data-cdr-header-contact-label string);
  --cdr-header-contact-bar-label: attr(data-cdr-header-contact-bar-label string);
}

@media (max-width: 999px) {
  /* header: mobile */
  header#header [data-device="mobile"] [data-items] {
    align-items: flex-end;
    margin-bottom: 16px;
  }
  /* header: mobile menu button */
  header#header [data-device="mobile"] button[data-toggle-panel="#offcanvas"] {
    height: 40px;
    width: 40px;
  }
  /* blue bar: contact info: hack/use the desktop top row */
  header#header [data-device="desktop"] {
    display: block;
  }
  /* set top row fixed on bottom */
  header#header [data-device="desktop"] [data-row="top"] {
    bottom: 0;
    position: fixed;
    width: 100%;
  }
  /* move icons to right */
  header#header [data-device="desktop"] [data-row="top"] [data-items] {
    justify-content: flex-end;
  }
  /* apply text */
  header#header [data-device="desktop"] [data-row="top"] [data-items]::before {
    color: white;
    content: var(--cdr-header-contact-label);
    font-family: var(--cdr--font-family-sans);
    font-size: 12px;
    left: 50px;
    line-height: 16px;
    position: absolute;
    width: 100px;
  }
  /* hide contact text close to icons, hide middle row, hide logo */
  header#header [data-device="desktop"] [data-row="top"] .ct-contact-info .contact-info,
  header#header [data-device="desktop"] [data-row="middle"],
  header#header [data-device="desktop"] [data-row="top"] .ct-container .ct-header-text {
    display: none;
  }
  header#header [data-device="desktop"] [data-row="top"] .ct-contact-info ul li {
    gap: 0;
  }

  /* MOBILE MENU */
  /* container */
  .ct-drawer-canvas #offcanvas[data-behaviour="modal"] {
    --side-panel-width: 100%;
    margin: 0 8px;
  }
  /* close btn */
  .ct-drawer-canvas #offcanvas .ct-panel-actions {
    align-self: flex-end;
    margin-right: 25px;
    width: 25px;
    z-index: 99;
  }
  /* inner container */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] {
    margin-top: -20px;
    padding: 0;
    position: relative;
  }
  /* logo: make absolute to be able to make line below */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] .site-logo-container {
    border-bottom: 2px solid rgba(255,255,255,0.1);
    margin: 0 11px;
    height: 47px;
    position: absolute;
    width: calc(100% - 120px);
  }
  /* add padding to img to simulate padding of parent container */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] .site-logo-container img {
    padding-bottom: 17px;
  }
  /* move nav to top due to logo absolute position */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav {
    margin-top: 60px;
  }
  /* add margins and padings to elements */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li .ct-sub-menu-parent,
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > .ct-menu-link,
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul li .ct-menu-link {
    margin: 12px 0;
    padding: 0 63px;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul.sub-menu {
    list-style: none;
    padding-left: 0;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li ul li .ct-sub-menu-parent {
    margin: 5px 0;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li ul li .ct-sub-menu-parent a {
    margin: 5px 0;
  }
  /* mega menu */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul li.menu-item-object-custom {
    color: var(--theme-palette-color-7);
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul li.menu-item-object-custom a.ct-column-heading {
    font-weight: 600;
    padding: 0;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul li.menu-item-object-custom a::before {
    display: none;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul li.menu-item-object-custom a {
    padding: 0 33px;
  }
  /* mega menu: icon */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul li .ct-icon-container {
    display: none;
  }
  /* openend submenu has another background */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li.dropdown-active {
    background-color: rgba(255,255,255,0.1);
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  /* toggle button 1st level */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li .ct-sub-menu-parent button {
    --toggle-button-size: 20px;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li .ct-sub-menu-parent button svg {
    background-color: var(--cdr--color-light-grey2) !important;
    border-radius: 50% !important;
    fill: #262626;
    height: 100%;
    padding: 4px;
    width: 100%;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li.dropdown-active button svg {
    background-color: var(--theme-palette-color-8) !important;
  }
  /* toggle button 2nd level */
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li ul li .ct-sub-menu-parent button {
    background: url(/wp-content/themes/blocksy-child/assets/img/icons/icon-angle-down-grey.svg) no-repeat center / contain !important;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li ul li .ct-sub-menu-parent button svg {
    display: none;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul > li.dropdown-active .ct-sub-menu-parent button {
    rotate: -90deg;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul > li.dropdown-active ul li .ct-sub-menu-parent button {
    rotate: 0deg;
  }
  .ct-drawer-canvas #offcanvas .ct-panel-content[data-device="mobile"] nav > ul > li > ul > li.dropdown-active ul li.dropdown-active .ct-sub-menu-parent button {
    rotate: -90deg;
  }


  /* hero section cutom on person page */
  main .hero-section header.entry-header .custom-author-meta > div {
    flex-wrap: wrap;
    row-gap: 0;
  }


  /* FOOTER */
  /* footer rows  */
  footer#footer [data-row="top"] .ct-container,
  footer#footer [data-row="middle"] .ct-container,
  footer#footer [data-row="bottom"] .ct-container {
    margin: auto;
    width: calc(100% - 32px);
  }
  footer#footer [data-row="top"] .ct-container [data-column="widget-area-4"] > *,
  footer#footer [data-row="middle"] .ct-container [data-column] > * {
    padding-left: 52px;
    padding-right: 52px;
  }
  footer#footer [data-row="top"] .ct-container [data-column="widget-area-5"] {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0 52px 25px 52px;
  }
  /* list: more to left */
  footer#footer [data-row="top"] .ct-container [data-column="widget-area-5"] .stk-block-icon-list ul {
    margin-left: -10px;
    padding-inline-start: 0;
  }
  /* top row: switch position of widget */
  footer#footer [data-row="top"] .ct-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 50px;
  }
  /* newsletter */
  footer#footer [data-row="top"] .nf-form-cont .nf-form-content .nf-row:first-child,
  footer#footer [data-row="top"] .nf-form-cont .nf-form-content .nf-row:nth-child(2) {
    display: block;
    margin-right: 0;
    width: 100%;
  }
  /* footer: bottom-row: copyright & legal */
  footer#footer [data-row="bottom"] .ct-container {
    padding-bottom: 90px;
  }

  /* featured posts */
  /* cards */
  .entries.featured-posts.grid {
    grid-template-columns: 1fr 1fr;
  }
  .ct-posts-shortcode .entries article.entry-card:last-child,
  .entries.featured-posts.grid article.entry-card:last-child {
    grid-column-end: 3;
    grid-column-start: 1;
  }


  /* NEWS / BLOG */
  /* set container width */
  body.blog main > .ct-container {
    --theme-block-width: calc(100% - 76px);
    width: 100%;
  }
  /* set items width in container */
  body.blog main > .ct-container > section > * {
    margin: auto;
    width: var(--theme-block-width);
  }
  /* card */
  [data-prefix="blog"] .entry-card .entry-title {
    --fontSize: 22px;
  }
  /* correct feature-box in blog */
  body.blog main > .ct-container > section > .entries + div[data-block^="hook:"] {
    width: 100%;
  }
  /* pagination */
  body.blog main > .ct-container > section .ct-pagination {
    margin-top: 60px;
  }


  /* FAQ RankMath */
  .faq-container {
    width: 100% !important;
  }
  #rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-question,
  #rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-answer {
    margin-left: calc(calc(100% - var(--theme-block-width)) / 2);
    margin-right: calc(calc(100% - var(--theme-block-width)) / 2);
  }


  /* PLUGIN: Stackable: Accordion */
  /* heading & content */
  .entry-content details.stk-block-accordion summary.stk-block-accordion__heading .stk-block-column__content .stk-inner-blocks,
  .entry-content details.stk-block-accordion .stk-block-accordion__content .stk-block-column__content .stk-inner-blocks {
    max-width: var(--theme-block-width);
  }

  /* content inserted by blocksy content blocks (hooks), like contact form */
  body #main article div[data-block^="hook:"] .entry-content > * {
    max-width: unset;
    width: 100%;
  }
  /* contact form */
  body #main article div[data-block^="hook:"] .entry-content .nf-form-cont {
    padding-left: 0;
    padding-right: 0;
  }
  body #main article div[data-block^="hook:"] .entry-content .nf-form-cont .nf-form-wrap {
    max-width: var(--default-editor,var(--theme-block-max-width)) !important;
    margin-left: var(--default-editor, auto);
    margin-right: var(--default-editor, auto);
    width: var(--default-editor, var(--theme-block-width));
  }
}

@media (max-width: 930px) {
  /* Standorte: overview */
  body .cdr.standorte-overview {
    gap: 24px;
  }
  body .cdr.standorte-overview .standort .stk-block-icon-label .stk-inner-blocks {
    flex-direction: column;
  }
  body .cdr.standorte-overview .standort .stk-block-icon-label .stk-inner-blocks .stk-block-icon {
    justify-content: center;
  }
  body .cdr.standorte-overview .standort .stk-block-icon-label .stk-inner-blocks .stk-block-heading .stk-block-heading__text {
    text-align: center;
  }
}

/* mobile */
@media (max-width: 767px) {
  /* hero section */
  body .hero-section > .stk-row {
    flex-direction: column;
  }
}

@media (min-width: 690px) and (max-width: 767px) {
  body .hero-section.special > .stk-row {
    flex-direction: column-reverse;
  }
}

/* mobile */
@media (max-width: 689px) {
  /* font sizes */
  body,
  body a,
  body p,
  body li,
  body main .entry-content ul::marker,
  body main .entry-content ol::marker,
  table th,
  table td {
    font-size: 16px;
    line-height: 1.5em;
  }
  /* hero on evergreen: more padding-bottom */
  body.single-evergreen .hero-section[data-type=type-2]>[class*=ct-container] {
    padding-bottom: 64px !important;
  }
  body .hero-section h1 {
    font-size: 26px;
  }
  body main h2.second-article-title {
    font-size: 22px !important;
  }
  body h2 {
    --theme-font-size: 24px;
  }
  body .hero-section h2:not(.second-article-title) {
    font-size: 20px;
    line-height: 1.4em;
  }
  body h3 {
    --theme-font-size: 20px;
  }
  body h4 {
    --theme-font-size: 18px;
  }
  body h5 {
    --theme-font-size: 16.5px;
  }
  body .entry-content figcaption {
    line-height: 1.5em;
  }

  /* single: intro */
  body.single-post .cdr-post-intro .cdr-post-intro__content,
  body.single-post .post-intro .intro-content .stk-inner-blocks {
    font-size: 20px;
  }


  /* hero section: meta items */
  main .hero-section header.entry-header {
    padding-bottom: 24px !important;
  }
  main .hero-section header.entry-header .entry-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  main .hero-section header.entry-header .entry-meta li {
    margin-bottom: 0;
  }


  /* hero section cutom on person page */
  main .hero-section header.entry-header .custom-author-meta {
    padding-top: 20px !important;
  }
  main .hero-section header.entry-header .custom-author-meta > div {
    flex-direction: column;
    gap: 10px;
  }


  /* list */
  body main .entry-content ul:not(.stk-block-icon-list__ul, .entry-meta, .menu, .sub-menu, .related-posts),
  body main .entry-content ol {
    padding-left: 25px;
  }


  /* feature box */
  .cdr-box-feature .outer-box {
    margin-top: 20px;
  }
  /* feature box: label */
  .cdr-box-feature .inner-box .cdr-box-label {
    align-self: center;
  }
  /* feature box: title */
  .cdr-box-feature .inner-box .box-title {
    font-size: 22px;
    margin-bottom: 13px;
  }

  /* feature box link list */
  .cdr-box-feature.link-list .outer-box {
    margin-bottom: 7px;
  }
  .cdr-box-feature.link-list nav ul {
    display: flex;
    flex-direction: column;
  }
  .cdr-box-feature.link-list nav ul li {
    border-bottom: 2px solid #e6e6e6 !important;
    margin-bottom: 13px !important;
    padding-bottom: 13px !important;
  }
  .cdr-box-feature.link-list nav ul li:last-child {
    border: none !important;
    margin-bottom: 0 !important;
  }

  /* feature box imaged */
  .cdr-box-feature.imaged .outer-box {
    align-items: center;
    flex-direction: column-reverse;
  }
  .cdr-box-feature.imaged .inner-box {
    max-width: 100%;
    width: auto;
  }
  .cdr-box-feature.imaged .img-box {
    --img-dimension: 100%;
    max-height: auto;
    max-width: var(--img-dimension);
    min-height: auto;
    min-width: var(--img-dimension);
  }
  .cdr-box-feature.imaged .img-box img {
    height: auto;
    width: 100%;
  }


  /* Button CTA */
  main .cdr-btn-cta .stk-block-button {
    width: var(--theme-block-width);
  }
  .stk-block-button-group.cdr-btn-cta .stk-block-button a.stk-button {
    display: flex;
  }
  .stk-block-button-group.cdr-btn-cta .stk-block-button a.stk-button .stk--svg-wrapper .stk--inner-svg svg.svg-inline--fa {
    margin-block-start: 2px !important;
    margin-inline-start: 3px !important;
  }


  /* padding before content */
  body main > .ct-container[data-vertical-spacing*="top"]:last-child,
  body main > .ct-container-full[data-vertical-spacing*="top"]:last-child {
    padding-top: 30px;
  }

  /* header displayed in footer */
  header#header [data-device="desktop"] [data-row="top"] [data-items]::before {
    display: none !important;
  }
  header#header [data-device="desktop"] [data-row="top"] [data-items] {
    justify-content: center !important;
  }
  header#header [data-row="top"] .ct-contact-info ul li:first-child,
  header#header [data-row="top"] .ct-contact-info ul li:last-child,
  header#header [data-row="top"] .ct-header-text {
    display: none !important;
  }
  header#header [data-row="top"] .ct-contact-info ul li {
    display: block !important;
    margin-bottom: 5px !important;
    margin-top: 10px !important;
    text-align: center !important;
  }
  header#header [data-row="top"] .ct-contact-info ul li > * {
    display: inline-block !important;
  }
  header#header [data-row="top"] .ct-contact-info ul li .contact-info {
    display: inline-block !important;
    margin-left: 10px;
  }
  header#header [data-row="top"] .ct-contact-info ul li .contact-info .contact-title {
    display: none !important;
  }
  header#header [data-row="top"] .ct-contact-info ul li .contact-info .contact-text a {
    font-size: 27px !important;
    font-weight: 600 !important;
  }
  header#header [data-row="top"] .ct-contact-info ul li:after {
    display: block !important;
    color: white !important;
    content: var(--cdr-header-contact-bar-label);
    font-size: 15px !important;
    font-weight: 600 !important;
  }



  /* footer: top-row */
  footer#footer [data-row="top"] .ct-container [data-column="widget-area-5"] {
    padding-bottom: 34px;
  }
  footer#footer [data-row="top"] [data-column="widget-area-4"] .ct-widget:first-child {
    padding-bottom: 34px;
  }
  footer#footer [data-row="top"] [data-column="widget-area-4"] .ct-widget:nth-child(2) {
    margin-top: 50px;
    padding-bottom: 50px;
  }
  footer#footer [data-row="top"] [data-column="widget-area-4"] .ct-widget:last-child {
    margin-top: 50px;
  }


  /* nav: oft gesucht */
  footer#footer [data-row="top"] .ct-container .oft-gesucht .widget_nav_menu ul.widget-menu {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* footer: middle-row */
  footer#footer [data-row="middle"] {
    padding-top: 38px;
  }

  /* footer: middle-row: smaller images */
  footer#footer [data-row="middle"] .ct-container figure img {
    height: 25px;
    width: auto;
  }
  /* footer: bottom-row: copyright & legal */
  footer#footer [data-row="bottom"] .ct-container {
    align-items: center;
    display: flex;
    flex-direction: column-reverse;
  }
  footer#footer [data-row="bottom"] .ct-container [data-column="copyright"] .ct-footer-copyright,
  footer#footer [data-row="bottom"] .ct-container [data-column="text"] .ct-header-text {
    margin-left: 0;
  }
  footer#footer [data-row="bottom"] .ct-container [data-column="text"] .ct-header-text ul {
    padding-left: 0;
  }
  /* anwalt.de bewertungen */
  footer#footer .ct-container .anwalt-de-rating {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 5px;
  }

  /* rank math faq */
  #rank-math-rich-snippet-wrapper {
    width: 100%;
  }
  #rank-math-rich-snippet-wrapper .rank-math-question,
  #rank-math-rich-snippet-wrapper .rank-math-answer {
    margin: auto;
    width: var(--default-editor, var(--theme-block-width));
  }
  #rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-question {
    font-size: 22px;
    padding-bottom: 18px;
    padding-top: 18px;
  }
  #rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-answer {
    padding-bottom: 18px;
  }
  #rank-math-faq:not(.alternative-blue) .rank-math-list-item .rank-math-answer p {
    font-size: 16px;
    line-height: 1.5em;
  }


  /* home faq */
  body.home .entry-content .stk-block-columns.faq {
    width: 100% !important;
  }
  body.home .entry-content .stk-block-columns.faq .rank-math-list-item .rank-math-question ,
  body.home .entry-content .stk-block-columns.faq .rank-math-list-item .rank-math-answer {
    width: var(--default-editor, var(--theme-block-width));
  }


  /* BLOG/NEWS */
  body.blog main > .ct-container > section > .entries {
    gap: 30px;
    width: 100%;
  }
  /* card */
  body.blog main > .ct-container > section > .entries article.entry-card {
    background: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
  }
  /* card: date */
  body.blog main > .ct-container > section > .entries article.entry-card .entry-meta {
    margin: 0;
    position: absolute;
    top: 84px;
  }
  /* card: title + excerpt */
  body.blog main > .ct-container > section > .entries article.entry-card .entry-title,
  body.blog main > .ct-container > section > .entries article.entry-card .entry-excerpt {
    background-color: var(--theme-palette-color-7);
    width: 100%;
    z-index: 3;
  }
  /* card: title */
  body.blog main > .ct-container > section > .entries article.entry-card .entry-title {
    font-size: 22px;
    margin-bottom: 0;
    margin-top: -56px;
    padding: 15px 20px;
  }
  /* card: excerpt */
  body.blog main > .ct-container > section > .entries article.entry-card .entry-excerpt {
    margin-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  /* card: read-more link */
  body.blog main > .ct-container > section > .entries article.entry-card .entry-button {
    background-color: var(--theme-palette-color-7);
    justify-content: flex-start;
    padding: 15px 20px 15px 20px;
    width: 100%;
  }


  /* HOME: posts & featured posts */
  /* cards */
  .ct-posts-shortcode .entries,
  .entries.featured-posts.grid {
    display: flex;
    flex-direction: column;
  }
  .ct-posts-shortcode .entries article .entry-title,
  .entries.featured-posts.grid article .entry-title {
    margin-top: 9px;
  }
  .ct-posts-shortcode .entries article .entry-title a,
  .entries.featured-posts.grid article .entry-title a {
    font-size: 20px;
  }
  .ct-posts-shortcode .entries article.entry-card:last-child,
  .entries.featured-posts.grid article.entry-card:last-child {
    grid-column-end: unset;
    grid-column-start: unset;
  }
}

/* autorenprofil: stacked layout (portrait / name / rating) */
@media (max-width: 730px) {
  main .autorenprofil,
  main .entry-content .autorenprofil {
    max-width: 360px !important;
  }
  main .autorenprofil .stk-block-image,
  main .entry-content .autorenprofil .stk-block-image {
    margin-bottom: 0;
  }
  main .autorenprofil .wp-block-group,
  main .entry-content .autorenprofil .wp-block-group {
    align-items: center;
    flex-direction: column;
    gap: 0;
  }
  main .autorenprofil .wp-container-core-group-is-layout-47cc4cdf,
  main .autorenprofil .wp-container-core-group-is-layout-2e1435bd,
  main .entry-content .autorenprofil .wp-container-core-group-is-layout-47cc4cdf,
  main .entry-content .autorenprofil .wp-container-core-group-is-layout-2e1435bd {
    flex-wrap: wrap !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  main .autorenprofil .wp-block-group.profile-row,
  main .entry-content .autorenprofil .wp-block-group.profile-row {
    row-gap: 20px;
  }
  main .autorenprofil .wp-block-group.text-part,
  main .entry-content .autorenprofil .wp-block-group.text-part {
    gap: 25px;
  }
  main .autorenprofil .wp-block-group.name-and-rating,
  main .entry-content .autorenprofil .wp-block-group.name-and-rating {
    gap: 8px;
  }
  main .autorenprofil .wp-block-group.name-and-rating .stk-block-text__text a span,
  main .entry-content .autorenprofil .wp-block-group.name-and-rating .stk-block-text__text a span {
    font-size: 22px;
  }
  main .autorenprofil .profile-row .wp-block-stackable-text,
  main .entry-content .autorenprofil .profile-row .wp-block-stackable-text {
    align-self: flex-start;
  }
}


@media (max-width: 575px) {
  /* Standorte: overview */
  body .standorte-overview-wrapper h3 {
    text-align: left;
  }
  body .cdr.standorte-overview {
    flex-direction: column;
    gap: 12px;
  }
  body .cdr.standorte-overview .standort .stk-block-icon-label .stk-inner-blocks {
    flex-direction: row;
  }
  body .cdr.standorte-overview .standort .stk-block-icon-label .stk-inner-blocks .stk-block-icon {
    justify-content: flex-start;
  }
  body .cdr.standorte-overview .standort .stk-block-icon-label .stk-inner-blocks .stk-block-heading .stk-block-heading__text {
    text-align: left;
  }
}


@media (max-width: 555px) {
  /* nav: oft gesucht */
  footer#footer [data-row="top"] .ct-container .oft-gesucht .widget_nav_menu ul.widget-menu {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


@media (max-width: 440px) {
  /* blue bar: contact info icons/buttons */
  header#header [data-device="desktop"] [data-row="top"] .ct-contact-info ul {
    gap: 30px;
  }
}


@media (max-width: 350px) {
  /* blue bar: contact info icons/buttons */
  header#header [data-device="desktop"] [data-row="top"] .ct-contact-info ul {
    gap: 15px;
  }
}