/*!
 * fb3_v5 consolidated stylesheet
 *
 * Base styles:
 * - Imported from fb3_v2's unminified template CSS (Bootstrap + Cassiopeia-derived rules).
 *
 * Project styles:
 * - Merged/cleaned overrides from fb3_v2/css/ig-template.css.
 *
 * Note: This keeps a single stylesheet in the asset manager while we consolidate.
 * After validation, the imported base can be copied into this file for a fully standalone bundle.
 */
@import url("template.css");
/* SChriftart lokal einbinden  */
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* open-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/open-sans-v44-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/open-sans-v44-latin-800.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


/* ==========================================================================
   ig overrides (merged from fb3_v2/css/ig-template.css)
   ========================================================================== */

:root {
  --ig-green: #8e9b7c;
  --ig-hgreen: #eff6e4;
  --ig-brown: #836f63;
  --ig-black: #2b2727;
  --ig-white: #ffffff;
  --social-size: 48px;

  /* Bootstrap overrides (prefer variables over !important where possible) */
  --bs-body-font-size: clamp(1rem, 1.3vw, 1.1rem);
  --bs-menu-font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  --bs-menusub-font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  --bs-body-font-family: "Open Sans", sans-serif;
  --bs-body-color: var(--ig-black);
  --bs-body-bg: var(--ig-white);
}

/* Base elements */
body {
  font-weight: 350;
  font-family: var(--bs-body-font-family);
  color: var(--ig-black);
  background-color: var(--ig-white);
  padding: 0;
  margin: 0;
  font-size: var(--bs-body-font-size);
}

/* Nur auf Unterseite mit Item-ID 880 
body.item-880, body.item-884 #ig-main-wrapper {
  background: var(--ig-green);
	color: var(--ig-white);
}*/
body.item-880 a:link,
body.item-880 a:visited,
body.item-880 a:hover,
body.item-880 a:active,
body.item-880 h2 {
		color: var(--ig-white)!important;
}
.component-area {

}
ul {
  padding-left: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ig-green) !important;
}

h2 a {
  color: var(--ig-green);
  text-decoration: none;
}

a {
  color: var(--ig-green);
  text-decoration: underline;
}

a:hover {
  opacity: 0.7;
  text-decoration: none;
}

a:hover h2 {
  opacity: 0.7 !important;
  text-decoration: underline;
}
p {
  margin-bottom: 2rem;
}

li {
  list-style-type: none;
}

.article-info a {
  text-decoration: none;
}

.readmore {
  padding-top: 0em;
}

.ig-border {
	padding: 0 0 5rem 0;
}


.person-card {
  display: flex;
  gap: 1rem;              /* Abstand Bild-Text */
  align-items: flex-start; /* Bild oben ausrichten */
  width: 100%;
	padding-bottom: 3rem;
}

.person-image {
  flex-shrink: 0;         /* Bild nicht verkleinern */
  width: 150px;           /* Feste Breite wie alte td */
}

.person-image img {
  width: 100%;
  height: auto;
  display: block;
}

.person-info {
  flex: 1;                /* Nimmt Rest-Platz */
  padding-top: 0.5rem;    /* valign: top simulieren */
}

.person-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.person-info li {
  margin-bottom: 0.5rem;
}



.ig-pics {
  background-color: var(--ig-green);
}

/* Buttons */
.btn {
  text-decoration: none;
  text-align: left !important;
  --bs-border-radius: 2rem;
  --bs-btn-color: var(--ig-white) !important;
  --bs-btn-bg: var(--ig-brown) !important;
  --bs-btn-border-color: var(--ig-brown) !important;
  --bs-btn-hover-color: var(--ig-white) !important;
  --bs-btn-hover-bg: var(--ig-brown) !important;
  --bs-btn-hover-border-color: var(--ig-brown) !important;
  --bs-btn-active-color: var(--ig-white) !important;
  --bs-btn-active-bg: var(--ig-brown) !important;
  --bs-btn-active-border-color: var(--ig-brown) !important;
}

.btn-primary {
  --bs-btn-color: var(--ig-white) !important;
  --bs-btn-bg: var(--ig-brown) !important;
  --bs-btn-border-color: var(--ig-brown) !important;
  --bs-btn-hover-color: var(--ig-white) !important;
  --bs-btn-hover-bg: var(--ig-brown) !important;
  --bs-btn-hover-border-color: var(--ig-brown) !important;
  --bs-btn-active-color: var(--ig-white) !important;
  --bs-btn-active-bg: var(--ig-brown) !important;
  --bs-btn-active-border-color: var(--ig-brown) !important;
}

.btn-secondary {
  --bs-btn-color: var(--ig-black) !important;
  --bs-btn-bg: var(--ig-white) !important;
  --bs-btn-border-color: var(--ig-white) !important;
  --bs-btn-hover-color: var(--ig-white) !important;
  --bs-btn-hover-bg: #38541c96 !important;
  --bs-btn-hover-border-color: var(--ig-green) !important;
  --bs-btn-active-color: var(--ig-black) !important;
  --bs-btn-active-bg: var(--ig-white) !important;
  --bs-btn-active-border-color: var(--ig-white) !important;
}
.btn-spacer {
	margin:0.4rem;
}
a:hover.btn-primary,
a:hover.btn-secondary,
a:hover.btn {
  text-decoration: none;
  transform: translateY(-5px);
}

.camera_caption_desc a.btn {
  background-color: var(--ig-white) !important;
  color: var(--ig-black) !important;
  text-decoration: none;
}

.camera_caption_desc a.btn:hover {
  background-color: var(--ig-white) !important;
}

/* PreLoader */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
}

#loader-wrapper .loader-section {
  position: fixed;
  top: 0;
  width: 51%;
  height: 100%;
  background: var(--ig-brown);
  z-index: 1000;
  transform: translateX(0);
}

#loader-wrapper .loader-section.section-left {
  left: 0;
}

#loader-wrapper .loader-section.section-right {
  right: 0;
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 13vw;
  height: 13vw;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 5px dotted transparent;
  border-top-color: var(--ig-green);
  animation: spin 2s linear infinite;
  z-index: 99999;
}

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 5px dotted transparent;
  border-top-color: var(--ig-green);
  animation: spin 3s linear infinite;
}

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 5px dotted transparent;
  border-top-color: var(--ig-green);
  animation: spin 1.5s linear infinite;
}

.loaded #loader-wrapper {
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s 1s ease-out;
}

.loaded #loader-wrapper .loader-section.section-left {
  transform: translateX(-100%);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader-wrapper .loader-section.section-right {
  transform: translateX(100%);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader {
  opacity: 0;
  transition: all 0.3s ease-out;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Social icons */
.soc_icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 30px 0;
  flex-wrap: wrap;
}

.soc_icons li {
  list-style: unset;
  display: block;
  padding: 2%;
}

.soc_icons li a {
  color: var(--ig-white);
  font-size: var(--social-size);
  width: var(--social-size);
  height: var(--social-size);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3px;
  transition: 0.3s;
  border: unset;
  background: unset;
  position: relative;
  text-decoration: none;
}

.soc_icons li a:hover {
  color: var(--ig-black);
  transform: translateY(-5px);
  transition: 0.3s;
}

/* Module layout rows */

.ig-module-row-3colums {
  display: flex;
  justify-content: normal;
  gap: 6rem;
  margin-inline: auto;
  max-width: 80%;
  padding: 5rem 0 5rem 0;
  margin: 0 auto;
	text-align: justify;
}

.ig-module-row-3colums .moduletable {
  flex: 1 1 calc((100% - 4rem) / 3); /* drei Spalten, Rand links/rechts wird kleiner */
  box-sizing: border-box;
}


.ig-module-row-1colums {
  display: flex;
  justify-content: center;   /* zentriert die drei Boxen im Container */
  margin-inline: auto;       /* zentriert den ganzen Block */
  max-width: 40%;         /* optional, maximale Gesamtbreite */
  padding: 5rem;
  margin: 0 auto;
}
.ig-module-row-1colums .moduletable {
  flex: 1 1 calc((100% - 4rem) / 3); /* drei Spalten, Rand links/rechts wird kleiner */
  box-sizing: border-box;
}


.ig-module-row-3colums h3,
.ig-module-row-3colums h1,
.ig-module-row-1colums h3,
.ig-module-row-1colums h1,
.moduletable h3,
.moduletable h1 {
  font-size: clamp(1.7em, 1.9vw, 2.2em);
  text-align: center;
  padding: 1rem 0;
}

.ig-module-row-3colums h3,
.ig-module-row-3colums h1,
.ig-module-row-1colums h3,
.ig-module-row-1colums h1 {
  color: var(--ig-brown) !important;
}

.ig-module-row {
  width: 100%;
  margin: 0 auto;
  padding: 5rem 0;
  background-color: var(--ig-green);
}

.ig-module-row h3 {
  color: var(--ig-white) !important;
}

.ig-module-row-1col {
  width: 90vw;
  margin: 0 auto;
}

/* Navbar & DJ Megamenu */
.navbar-brand {
  width: 2em;
  height: 2em;
  display: flex;
  z-index: 10;
  margin: 1vh;
}

.navbar {
  background-color: var(--ig-green);
}

nav #mainmenu {
  display: flex;
  justify-content: center;
}

nav .dj-megamenu-wrapper {
  width: auto;
}

.dj-megamenu-clean li ul.dj-submenu > li > a {
  font-size: var(--bs-menusub-font-size) !important;
  line-height: 24px;
  color: var(--ig-black) !important;
  text-decoration: none;
  padding: 12px 20px;
  margin: 0;
  transition: all 0.2s ease-out;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
}
.dj-megamenu-clean li ul.dj-submenu {
    padding-left: 10px;
}

.dj-megamenu-wrapper {
  font-weight: 400;
  color: var(--ig-green) !important;
}

.dj-megamenu-clean li a.dj-up_a {
  font-style: normal;
  font-size: var(--bs-menu-font-size) !important;
  color: var(--ig-white) !important;
  cursor: pointer;
}
.dj-megamenu-clean li {
	 list-style-type: none;
}
 

.dj-megamenu-clean li a.active > span span.name {
font-weight: 600;
}

/* Footer */
.ig-footer {
  background-color: var(--ig-brown);
}

/* Back to top */
.back-to-top-link {
  inset-inline-end: 2rem;
  bottom: 2rem;
  z-index: 10000;
  color: var(--ig-black, #112855);
  pointer-events: all;
  background-color: var(--ig-white, #fff);
  border: 1px solid var(--ig-white, #112855);
  opacity: 0;
  border-radius: 1rem;
  padding: 0.5em;
  transition: opacity 0.2s ease-in;
  position: fixed;
  text-align: center;
  font-size: 1.7vw;
  margin: 0;
}

.back-to-top-link.visible {
  opacity: 1;
}

.back-to-top-link:hover,
.back-to-top-link:focus {
  color: var(--ig-white, #fff);
  background-color: var(--ig-green);
  border-color: var(--ig-green, #fff);
}

/* Component / articles */

/*.com-content-category-blog__item:after,
.blog__item:after {
  border: 5px solid;
  width: 60%;
  border-top-color: var(--ig-green);
}*/

.com-content-category-blog {
	padding: 5rem 0rem;	
}

.com-content-tag-desc {
  padding: 0 0 5rem 0;
}
.com-content-tag-desc p {
  padding: 0;
  margin: 0;
}
/* 3:2-Rahmen für Blog- UND Tag-Ansicht */
.com-content-category-blog__item .item-image,
.com-tags-tag__items .item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    float: none;
    margin: 0 0 1rem 0;
}

/* Link füllt die Box */
.com-content-category-blog__item .item-image > a,
.com-tags-tag__items .item-image > a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Bild zuschneiden + Hover-Zoom */
.com-content-category-blog__item .item-image img,
.com-tags-tag__items .item-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.com-content-category-blog__item .item-image:hover img,
.com-content-category-blog__item .item-image > a:hover img,
.com-tags-tag__items .item-image:hover img,
.com-tags-tag__items .item-image > a:hover img {
    transform: scale(1.05);
}


	
/* Eltern voll breit GRÜN über das Grid hinaus */
#initiative-contact {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background: var(--ig-green);              /* dein Grün */
    padding: 3rem 2vw;                /* responsive padding */
}

/* Kind 70% zentriert */
#initiative-contact .initiative-blog {
    max-width: 1200px;                /* max für Desktop */
    width: 80%;
    margin: 0 auto;
    color: white;                     /* Text weiß auf Grün? */
}


.initiative-blog a:link,
.initiative-blog a:visited,
.initiative-blog a:hover,
.initiative-blog a:active,
.initiative-blog h2,
.initiative-blog h3, 
.initiative-blog h4,
.initiative-blog h1 {
		color: var(--ig-white)!important;
}



.ig-category-desc {
    display: flex;
    gap: 5rem;                  /* ← 5rem Lücke zwischen Bild & Text */
    align-items: center;        /* Vertikal mittig */
	width: 70%;
  margin: auto;
}

.ig-image-column {
    flex: 0 0 25%;         /* 1/3 Breite */
}

.ig-image-column .ig-category-img {
    width: 100%;
    height: auto;               /* ← Vollständige Höhe, kein Cropping */
    max-width: 100%;
    max-height: none;           /* ← Keine Höhenbeschränkung */
    object-fit: contain;        /* ← GANZES BILD sichtbar, passt sich an */
    object-position: center;
}

.ig-text-column {
    flex: 1;
}

.ig-card-body {
  flex: 1 1 auto;
  color: var(--ig-white);
}
:root, *, ::before, ::after {
  box-sizing: border-box;
}
.ig-card {
  --bs-card-spacer-y: 1rem;
  --bs-card-spacer-x: 1rem;
  --bs-card-border-width: var(--bs-border-width);
  --bs-card-border-color: var(--bs-border-color-translucent);
  --bs-card-border-radius: var(--bs-border-radius);

  --bs-card-bg: none;
  color: var(--ig-white);
  word-wrap: break-word;
}
.ig-card-title {

  color: var(--ig-white)!important;
  word-wrap: break-word;
}
.contact-thumbnail {
	padding: 0.25rem;
 
  max-width: 15rem;
  height: auto;
}
.contact-thumbnail-wrapper {
    width: 10rem;
    flex: 0 0 10rem;
}

.contact-thumbnail-wrapper img,
.contact-thumbnail {
    max-width: 100%;
    height: auto;
    display: block;
}

.ig-header {
	/*padding: 0 0 5rem 0rem;*/
}
.ig-header-logo {
	width: 20%;
	height: auto;
	
}
.cameraSlide {
	
	filter: blur(1px);
}


.article-info {
  font-size: x-small;
  color: var(--ig-green)!important;
}

.mod-articles-grid {
  --grid-layout-gap: 3rem !important;
}

.mod-articles-category a, .mod-articles-category a:link, .mod-articles-category a:visited {
	color: var(--ig-white);
	font-size: x-small;
	text-decoration: none;
}

.mod-articles-grid p {
  color: var(--ig-white);
}
.mod-articles-item-content > .article-info, .mod-articles-item-content > .article-info a {
  color: var(--ig-white)!important;
}

.caption {
  font-size: x-small;
  color: var(--ig-green);
	left: 1rem;
  position: relative;
  top: 0.2rem;
  padding-right: 12rem;
}

.mod-articles-grid .mod-articles-image,
.mod-articles-items .mod-articles-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.mod-articles-link {
  color: var(--ig-white) !important;
  text-decoration: none !important;
}

li.mod-articles-grid,
ul.mod-articles-grid {
  list-style-type: none;
}

.mod-articles-title {
  margin: 0 0 0.6em 0;
  font-size: 1.4em;
  hyphens: auto;
  color: var(--ig-white);
}

.mod-articles-readmore {
  margin-top: 0.4em;
}

.mod-articles-readmore a,
.mod-articles-link {
  color: var(--ig-brown);
  text-decoration: none;
  font-weight: bold;
}

.mod-articles-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.mod-articles-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
  will-change: transform;
}

.mod-articles-image:hover img,
.mod-articles-item:focus-within .mod-articles-image img {
  transform: scale(1.08);
}

/* CK Slideshow overrides */
.camera_caption {
  bottom: 0;
  display: block;
  position: relative;
  height: 100%;
  margin: auto;
  width: 100%;
  z-index: 1000;
}

.camera_caption > div {
  background: rgba(255, 255, 255, 0) !important;
  padding: 10px 20px;
  display: block;
  height: 100%;
  text-align: center;
  align-content: center;
}

.camera_caption_title {
  font-size: clamp(1rem, 4vw, 4rem) !important;
  line-height: 1em !important;
  width: 50%;
  margin: auto;
font-weight: 600!important;
}

.camera_caption_desc {
  font-size: clamp(0.6rem, 1.2vw, 1.2rem) !important;
  width: 40%;
  line-height: clamp(1rem, 1.7vw, 1.7rem) !important;
  margin: auto;
  padding-top: 1rem;
}

.camera_fakehover {
  opacity: 0.8;
}

.ig-klareworte {
  font-size: clamp(1rem, 1.9vw, 1.8rem) !important;
  line-height: 2.4rem !important;
  font-style: italic;
  font-weight: 200;
  background: rgba(255, 255, 255, 0.4);
  padding: 2rem;
  color: var(--ig-hgreen);
}

/* Main wrapper (custom 3-column layout) */
#ig-main-wrapper {
  display: flex;
  flex-direction: row;
	justify-content: center;

}

#ig-left {
  order: 1;
  width: 10%;
}

#ig-main {
  order: 2;
  width: 80%;
}


#ig-right {
  order: 3;
  width: 10%;
}



hr {
  border: 3px dotted var(--ig-green) !important;
  margin: auto !important;
  color: inherit;
  width: 60%;
  opacity: 0.7;
}

/* Article full-width header image */
.ig-article-fullimg {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 50vh;
  overflow: hidden;
	margin-bottom: 5rem;
}

.ig-article-fullimg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
}


.ig-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3% 0;
  background: linear-gradient(to top, rgba(43, 39, 39, 1) 0%, rgba(43, 39, 39, 0.5) 60%, rgba(43, 39, 39, 0) 100%);
  z-index: 10;
}

.ig-title-overlay-inner {
  width: 80%;
  margin: auto;
  padding: 0 10% 0 2%;
}

.ig-title-overlay h1,
.ig-title-overlay h2 {
  margin: 0;
  padding-left: 0;
  font-size: clamp(1.2em, 2.8vw, 2.6em);
  font-weight: 600;
  color: var(--ig-white) !important;
}

.ig-article-info-title-fullimg {
  font-size: clamp(0.7em, 0.8vw, 0.9em);
  color: var(--ig-white) !important;
  padding: 1% 0 0 2%;
}

.ig-article-info-title-fullimg a,
.ig-article-info-title-fullimg a:link,
.ig-article-info-title-fullimg a:visited,
.ig-article-info-title-fullimg a:active {
  text-decoration: none;
  color: var(--ig-white);
}

.ig-article-info-title-fullimg a:hover {
  opacity: 0.7;
}

.ig-article-contentimg {
  float: left;
  width: 40% !important;
  margin-right: 2%;
  margin-bottom: 2%;
}

.ig-article-contentimg img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}



.com-content-article {
  /*padding: 5% 0;*/
}


/* SUCHE Lupe versteckt Feld *//* Joomla 6 Weiße Lupe-Suche - KEINE Effekte */
/* Joomla 6 Suche: Rundes Feld 2rem + 200px Slide */
.mod-finder button[type="submit"] {
  text-indent: -9999px;
  overflow: hidden;
  width: 40px;
}

.mod-finder button[type="submit"] span {
  text-indent: 0;
}

.mod-finder__search .input-group {
  position: relative;
  display: inline-flex;
  border-radius: 2rem;       /* Rundung auf Container */
}

.mod-finder__search .form-control {
  order: -1;
  width: 0;
  opacity: 0;
  height: 100%;
  border-radius: 2rem!important; 
  border: none;
  background: white;
  box-shadow: none;
  padding-left: 1rem;         /* Platz für Rundung */
  margin-right: 0;            /* KEIN Overlap mehr! */
  transition: width 0.4s ease, opacity 0.4s ease;
}

.mod-finder__search .btn-primary {
  border-radius: 0 2rem 2rem 0 !important;  /* Rechts rund, links eckig für Feld */
  width: 40px;
  background: transparent !important;
  border: none !important;
  border-left: 1px solid #e9ecef;
  box-shadow: none !important;
  margin-left: -1px;          /* Nahtloser Übergang */
}

.mod-finder__search .btn-primary span.icon-search:before {
  content: '\f002';
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  color: white !important;
  background: none;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mod-finder__search:hover .form-control,
.mod-finder__search .form-control:focus {
  width: 200px;
  opacity: 1;
}


/* Pagination zentriert + Gesamtseiten rechts */
/* Pagination zentriert + Active groß + Pfeile mit Labels */
/* Pagination: Vertikal ausgerichtet + gleiche Höhe + korrekte Pfeile */
/* Pagination: Oval Buttons + perfekte Rundung überall */
/* Pagination: Oval Buttons + SICHTBARE Pfeile */
.com-content-category-blog__pagination {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.pagination__wrapper .pagination {
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

/* ALLE Buttons: Oval + gleiche Höhe */
.pagination .page-link {
  background: var(--ig-brown) !important;
  color: var(--ig-white) !important;
  border: 1px solid var(--ig-brown) !important;
  border-radius: 24px !important;
  padding: 0.75rem 1rem;
  min-width: 48px;
  min-height: 48px;
  height: 48px;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 14px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1;
  box-sizing: border-box !important;
  position: relative;
}

.pagination .page-link:hover:not(.active) {
  background: var(--ig-green) !important;
  border-color: var(--ig-green) !important;  transform: translateY(-5px);
}

/* ACTIVE: Größer + Oval */
.pagination .page-item.active .page-link {
  background: var(--ig-green) !important;
  border-color: var(--ig-green) !important;
  font-size: 16px !important;
  font-weight: bold;
  min-width: 52px;
  min-height: 52px;
  height: 52px;
  border-radius: 26px !important;
}

/* PFEILE: KLEINER + Sichtbar */
.pagination .page-item:first-child .page-link,
.pagination .page-item:nth-child(2) .page-link,
.pagination .page-item:nth-last-child(2) .page-link,
.pagination .page-item:last-child .page-link {
  min-width: 60px;
  min-height: 40px;
  height: 40px;
	width: 60px;
  border-radius: 22px !important;
}

/* Font Awesome 7 Free Pfeile für Pagination */
.pagination .icon-angle-double-left::before {
  content: "\f100" !important;  /* FA7: angle-double-left */
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900;
}

.pagination .icon-angle-left::before {
  content: "\f104" !important;  /* FA7: angle-left */
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900;
}

.pagination .icon-angle-right::before {
  content: "\f105" !important;  /* FA7: angle-right */
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900;
}

.pagination .icon-angle-double-right::before {
  content: "\f101" !important;  /* FA7: angle-double-right */
  font-family: "Font Awesome 7 Free" !important;
  font-weight: 900;
}

/* Pfeile sichtbar + kleiner */
.pagination .page-item:first-child .page-link,
.pagination .page-item:nth-child(2) .page-link,
.pagination .page-item:nth-last-child(2) .page-link,
.pagination .page-item:last-child .page-link {
  font-size: 14px !important;   /* FA-Icons sichtbar */
}
.counter {font-size: smaller;}


/* Schlagwörter */
.tags-masonry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* 4 Spalten */
    gap: 1rem;
	height: 30rem;
	
}
/* 1. Reihe: xx | x | xx  → Karten 1, 3 sind doppelt so breit */
.tags-masonry-grid .tag-card:nth-child(1),
.tags-masonry-grid .tag-card:nth-child(3) {
    grid-column: span 2;        /* doppelte Breite = xx */
}

/* 2. Reihe: x | xx | x  → Karte 5 ist doppelt so breit */
.tags-masonry-grid .tag-card:nth-child(5) {
    grid-column: span 2;
}
/* Grundgröße: alle gleich hoch */
.tag-card {
    min-height: 120px;          /* Höhe der Kacheln */
    position: relative;
    overflow: hidden;
}

/* Bild vollflächig */
.tag-image-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.tag-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

  transition: transform 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
  will-change: transform;
	
}
.tag-image-link:hover img {
 transform: scale(1.08);
	
}
.tag-description {
    margin-top: 0.75rem;
    font-size: 1.05rem;
    color: #f8f9fa; /* oder passend zu deinem Overlay */
}

/* Titel rechts unten */
.tag-title-overlay {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    background: var(--ig-green);
    color: var(--ig-white);
    white-space: nowrap;
}

/* Joomla-Modul-Position ggf. full-width machen */
.mod-tagspopular {
    .container, .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}


/* Bild zuschneiden + Hover-Zoom */
.com-content-category-blog__item .item-image img,
.com-tags-tag__items .item-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.com-content-category-blog__item .item-image:hover img,
.com-content-category-blog__item .item-image > a:hover img,
.com-tags-tag__items .item-image:hover img,
.com-tags-tag__items .item-image > a:hover img {
    transform: scale(1.05);
}



#visformcontainer {
  padding: 5rem 0;
}