/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

#main {
  padding: 0 !important;
}

body, .h1-size, h2, h3, h4, h5, .main-nav>li>a .menu-text, .masthead .top-bar .mini-contacts {
  font-family: Helvetica, Arial, Verdana, sans-serif !important;
}

.masthead .top-bar .mini-contacts {
  font-weight: 300;
  font-size: 11px;
}

.scroll-top {
  display: none;
}

body .gallery-carousel-shortcode.dt-owl-carousel-call .owl-dots {
  bottom: 20px;
  top: auto;
}

/* Abschnittsrhythmus Startseite */
/* Willkommen: eigenstaendige Sektion, symmetrische Abstaende */
.vc_column-inner.vc_custom_1613685844817{
	padding-top:clamp(60px,7vw,110px)!important;
	padding-bottom:clamp(60px,7vw,110px)!important;
}
/* Abschnitts-Ueberschriften: viel Luft nach oben, wenig zum eigenen Inhalt */
#anwaelte > .wpb_column > .vc_column-inner,
#fachgebiete > .wpb_column > .vc_column-inner,
#sekretariat:not(.sekretariat) > .wpb_column > .vc_column-inner,
#anfahrt-kontakt > .wpb_column > .vc_column-inner{
	padding-top:clamp(60px,7vw,110px)!important;
	padding-bottom:clamp(20px,2vw,30px)!important;
}

/* Ausreisser einsammeln */
.wpb_row.vc_custom_1617148584604{padding-top:0!important}          /* Anwaltskarten */
.wpb_row.vc_custom_1789118418018{padding-bottom:clamp(28px,3vw,40px)!important}

.wpb_row.vc_custom_1613414052886{                                   /* Kontaktformular */
	padding-top:clamp(60px,7vw,110px)!important;
	padding-bottom:clamp(45px,5vw,70px)!important;
}


/* KARTE */
.exggmap-wrapper .exggmap-caption{
	display: none;
}
.exampp-hints{
	font-style: italic;
}

/* TEAM */
/* ---------- Basis ---------- */
.ram-persons{display:grid;width:100%}

/* falls Pods einen Zwischen-Wrapper ausgibt */
.ram-persons > *:not(.ram-person){display:contents}

.ram-person{min-width:0}

.ram-person__body{display:flex;flex-direction:column;min-width:0}

.ram-person__name{margin:0 0 2px;line-height:1.4}

.ram-person__role{margin:0;line-height:1.5;color:#777}

.ram-person__text{margin-top:22px;line-height:1.5}
.ram-person__text p{margin:0 0 6px}
.ram-person__text p:last-child{margin-bottom:0}

.ram-person__mail{margin-top:auto;word-break:break-word}

/* ---------- Variante A: Bild links, 2 Spalten ---------- */
.ram-persons--media{grid-template-columns:repeat(2,1fr);gap:50px 40px}

.ram-persons--media .ram-person{display:flex;gap:24px;align-items:flex-start}

.ram-persons--media .ram-person__image{flex:0 0 250px;margin:0}

.ram-persons--media .ram-person__image img{
	display:block;
	width:100%;
	height:auto;
	aspect-ratio:1/1;
	object-fit:cover;
	object-position:center 25%;
}

.ram-persons--media .ram-person__name{font-size:20px}

/* ---------- Variante B: Karten, 4 Spalten ---------- */
.ram-persons--cards{grid-template-columns:repeat(4,1fr);gap:30px}

.ram-persons--cards .ram-person{background:#F5F5F5;padding:28px 30px}

.ram-persons--cards .ram-person__body{height:100%}

.ram-persons--cards .ram-person__name{font-size:17px;font-weight:600}

.ram-persons--cards .ram-person__role,
.ram-persons--cards .ram-person__text,
.ram-persons--cards .ram-person__mail{font-size:15px}

.ram-persons--cards .ram-person__role,


/* ab hier Anwaelte einspaltig, Bild bleibt links */
@media (max-width:1280px){
	.ram-persons--media{grid-template-columns:1fr;gap:50px}
	.ram-persons--media .ram-person{gap:22px}
	.ram-persons--media .ram-person__image{flex-basis:250px}
}

/* ab hier Karten zweispaltig */
@media (max-width:1000px){
	.ram-persons--cards{grid-template-columns:repeat(2,1fr);gap:25px}
}

/* Mobile: Karten einspaltig, Anwaelte Bild oben / Text darunter */
@media (max-width:600px){
	.ram-persons--cards{grid-template-columns:1fr}
	.ram-persons--cards .ram-person{padding:24px}
	.ram-persons--media .ram-person{flex-direction:column;gap:16px}
	.ram-persons--media .ram-person__image{flex:0 0 auto;width:100%;}
	.ram-persons--media .ram-person__name{font-size:18px}
	.ram-persons--media .ram-person__text{margin-top:16px}
}