/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: neve
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Neve is a super fast, easily customizable, multi-purpose theme.
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve
*/

.no-h4w .h4w_link, .no-h4w .h4w_con {
	display:none;
}

.google-auto-placed,
.autors-widget,
.wp-block-embed,
.mpx {
	margin-bottom:30px;
}

/*
#header-grid .google-auto-placed {
	margin-top:20px;
	padding-bottom:20px;
}

.site-header .google-auto-placed,
.site-header ins.adsbygoogle {
.site-header.has-sticky-rows--desktop .google-auto-placed,
.site-header.has-sticky-rows--mobile .google-auto-placed
	display:none !important;
}
*/

.float-right {
	float:right
}

.header-menu-sidebar .nav-ul li:not([class*=block])>.wrap>a {
    padding: 5px 0;
}

.has-background .wp-block-group__inner-container {
	padding:20px 30px;
	margin-bottom:30px;
}
.has-background .wp-block-group__inner-container *:last-child {
	margin-bottom:0;
}

/* 
 Mobiler Header
*/
@media (max-width: 768px) {
  nav.header--row.header-main,
  nav.header--row.header-main .header--row-inner,
  nav.header--row.header-main .container,
  nav.header--row.header-main .row--wrapper,
  nav.header--row.header-main .hfg-slot.left,
  nav.header--row.header-main .hfg-slot.right,
  nav.header--row.header-main .builder-item,
  nav.header--row.header-main .item--inner {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
	  background:#666666;
  }

  nav.header--row.header-main .hfg-slot.left,
  .custom-mobile-header {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .custom-mobile-header {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    z-index: 999;
    position: relative;
  }
  .custom-mobile-header li {
    margin: 0;
    padding: 0;
  }

  .custom-mobile-header li:nth-child(1),
  .custom-mobile-header li:nth-child(2) { flex: 0 0 27%; }
  .custom-mobile-header li:nth-child(3) { flex: 0 0 46%; }

  .custom-mobile-header li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    background-color: #666666; 
    padding: 6px 4px;
    line-height: 1.1;
  }

.custom-mobile-header li:nth-child(1) a,
  .custom-mobile-header li:nth-child(2) a {
    font-size: 13px;
  }

.custom-mobile-header li:last-child a {
    background-color: #3ca25f;
    white-space: nowrap;
  }
/*  .custom-mobile-header li + li a {
    border-left: 1px solid rgba(255,255,255,0.2);
  }*/


.custom-mobile-header li a { border: 0; }
.custom-mobile-header li:has(~ li:not([hidden]):not(.is-hidden)) a {
  border-right: 1px solid rgba(255,255,255,0.2);
}

@supports not (selector(:has(*))) {
  .custom-mobile-header li + li a {
    border-left: 1px solid rgba(255,255,255,0.2);
  }
}	
	

  .custom-mobile-header li a:hover { opacity: 0.9; }
}

/* 
 Lesetipp im Content
*/
.ltipp {
    background-color: #f9f9f9;
    border-left: 4px solid #cb0000;
    padding: 16px 20px;
    margin: 32px 0;
    border-radius: 8px;
    font-size: 1.1em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: background-color 0.3s ease;
}

.ltipp::before {
    content: "Lesetipp";
    display: block;
    font-size: 0.75em;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
    padding-left: 32px;
    background-image: var(--wpr-bg-48e522a8-1778-4921-8ff4-63ac2eb62b2d);
    background-repeat: no-repeat;
    background-size: 22px 22px;
    background-position: left center;
    line-height: 1.6;
}

.ltipp a {
    font-weight: 600;
    transition: all 0.2s ease;
}

.ltipp a:hover {
}
/* 
 Kurzinfo Box
*/
.kurzinfo {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  padding: 20px 24px;
  margin: 30px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #111;
}

.kurzinfo h2 {
  margin-top: 0;
  font-weight: 700;
  font-size: 1.3rem;
  color: #111;
  margin-bottom: 0.75em;
}

.kurzinfo ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.kurzinfo li {
  margin-bottom: 1em;
}

.kurzinfo li:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .kurzinfo {
    font-size: 1rem;
    padding: 16px 20px;
  }
}
/* 
 RankMath Breadcrumb 
*/
.rank-math-breadcrumb {
	font-size:14px;
	}
.rank-math-breadcrumb a {
	color: #676767;
	text-decoration:underline;
	}
.rank-math-breadcrumb a:hover {
	text-decoration:none;
	}

/* 
 RankMath FAQ 
*/
.rank-math-faq, .schema-faq, .rank-math-list {
  --rm-faq-gap: 28px;
  --rm-q-size: 18px;
  margin-bottom: 30px;
}

.rank-math-faq .rank-math-faq-item,
.schema-faq .schema-faq-section,
.rank-math-list .rank-math-list-item {
  padding: calc(var(--rm-faq-gap) * 0.5) 0;
  border-bottom: 1px solid #e5e7eb;
}

.rm-faq-toggle {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  cursor: pointer;
  line-height: 1.2;
  font-weight: 600;
  font-size: var(--rm-q-size);
  color: inherit;
  background: none;
}

.rm-faq-toggle::after {
  content: "+";
  font-weight: 700;
  font-size: 1.1em;
  line-height: 1;
  flex: 0 0 auto;
}

.rm-faq-toggle[aria-expanded="true"]::after { content: "–"; }

.rm-faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 260ms ease;
  will-change: max-height;
}

.rm-faq-answer[data-open="true"] {
  max-height: 900px;
}

@media (prefers-reduced-motion: reduce) {
  .rm-faq-answer { transition: none; }
}

.rm-faq-answer > * {
  margin: 14px 0 0 0;
  font-size: inherit;
  line-height: 1.6;
}

.rm-faq-toggle:focus-visible {
  outline: 2px solid #999;
  outline-offset: 4px;
}

.rm-faq-toggle:hover,
.rm-faq-toggle:active {
  background: none !important;
  color: inherit !important;
}

@media (max-width: 480px) {
  .rank-math-faq { --rm-q-size: 16px; }
}

/* 
 externe Links kennzeichnen 
*/
.entry-content a[href^="http"]:not([href*="buergergeld.org"])::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  background-color: currentColor;
  mask-image: url(/external-link-mask.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
	line-height:1;
	vertical-align: middle;
}

/* 
 Table of Content 
*/
#ez-toc-container {
    background: white;
		box-shadow:none;
    padding:0;
}

.ez-toc-title {
    font-size: 30px;
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 20px;
}

#ez-toc-container ul {
	list-style:none;
	padding:0;
	margin-bottom:40px;
}

#ez-toc-container ul li {
	line-height:32px;
	margin-bottom:10px;
}
#ez-toc-container ul li a {
	color:#333;
	border-bottom:1px solid #333;
	text-decoration:none;
}
#ez-toc-container ul li a:hover {
	border-bottom:0;
	background:white;
}
.ez-toc-list.ez-toc-list-level-1>li:before {
    width: 32px;
    height: 32px;
    line-height: 32px;
}
.ez-toc-list.ez-toc-list-level-1>li {
    counter-increment: number;
		padding-left:45px!important;
    position: relative;	
}
.ez-toc-list.ez-toc-list-level-1>li:before {
		content: counter(number);
    background-color: white;
    color: #cb0000;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #cb0000;
    position: absolute;
    top: 0;
    left: 0;
}

/* 
 Tablepress
*/
.tablepress thead th {
	background:transparent;
}
.tablepress>:where(thead,tfoot)>tr>* {
    background-color: transparent;
}
.tablepress tfoot th {
	background:transparent;
}
.tablepress th, .tablepress td, .mog th, .mog td, .rs2024 th, .rs2024 td {
	text-align:right;
}
.tablepress th:first-child, .tablepress td:first-child, .mog th:first-child, .mog td:first-child, .rs2024 th:first-child, .rs2024 td:first-child {
	text-align:left;
}
.mog td:nth-child(3){
	font-weight:bold;
	font-size:16px;
}
.mog.mog_top td:nth-child(1){
	font-weight:bold;
	font-size:16px;
}
.mog.mog_top td:nth-child(3){
	font-weight:normal;
	font-size:14px;
}
.rs2024 td:nth-child(3){
	font-weight:bold;
	font-size:16px;
	color:grey;
}
.tablepress th, .mog th, .rs2024 th {
	font-size:15px;
}
.tablepress, .mog {
	font-size:16px;
}
.tablepress-table-description {
	text-align:center;
	font-size:14px;	
	margin-bottom:20px;
	margin-top:-10px;
}
/* 
 Tabellen
*/
.kdu-overview,
.tbl {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin-bottom:30px;
}

.kdu-overview th,
.kdu-overview td,
.tbl th,
.tbl td {
  padding:.65rem .9rem;
  border-bottom:1px solid #e5e7eb;
}

.kdu-overview thead th,
.tbl thead th {
  font-weight:700;
  border-bottom:2px solid #e5e7eb;
}

.kdu-overview tbody th[scope="row"],
.tbl tbody th[scope="row"] {
  font-weight:400;
	font-size:inherit;
}

.kdu-overview .num,
.tbl .num {
  text-align:right;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.kdu-overview caption,
.tbl caption {
  caption-side: bottom;
  text-align:center;
  font-size:.95em;
  line-height: 1.35;
  margin-top:.6rem;
  font-weight:400;
  color:#666;
}

@media (max-width:640px){
  .kdu-overview,
  .tbl {
    font-size:.95rem;
  }

  .kdu-overview th,
  .kdu-overview td,
  .tbl th,
  .tbl td {
    padding:.55rem .7rem;
  }
}
.tbl.zebra tbody tr:nth-child(even),
.kdu-overview.zebra tbody tr:nth-child(even) {
  background-color: var(--nv-light-bg);
}
/* 
 Tabellen Auszahlung
*/
table.auszahlung{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  color:#111;
  font-variant-numeric: tabular-nums;
  border:1px solid #e5e7eb;
}

table.auszahlung caption{
  caption-side: top;
  text-align: left;
  font-weight: 600;
  margin:.25rem 0 .5rem;
  color: inherit;
}

table.auszahlung th,
table.auszahlung td{
  padding:.6rem .75rem;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
  vertical-align: top;
}

table.auszahlung thead th{
  background:#f4f6f8 !important;
  color:#111 !important;
  position: sticky;
  top:0;
  z-index:1;
}

table.auszahlung th[scope="row"]{ font-weight:600; }
table.auszahlung tbody tr{ background:#fff !important; }
table.auszahlung tbody tr:nth-child(even){ background:#fafbfc !important; }
table.auszahlung tbody tr:hover{ background:#f0f6ff !important; }
table.auszahlung td time{ white-space:nowrap; }
table.auszahlung tbody tr.is-current > th,
table.auszahlung tbody tr.is-current > td {
  background: #fff7cc !important;
  font-weight: 700 !important;
  color: #111 !important;
}
@media (max-width: 640px){
  table.auszahlung{ display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}

/* 
 Pfändungstabelle
*/
.postid-11527 table {
	font-size:16px;
}
.postid-11527 .ab-accordion-text {
    padding:0;
}
.postid-11527 .tablepress thead th, .postid-11527 .tablepress tr:first-child td {
	background:#cb0000;
	color:white;
	text-align:center;
	font-weight:bold;
}
.postid-11527 .tablepress tr:first-child td:hover {
}
/* Accordion Pfändungstabelle */
.pt .wp-block-themeisle-blocks-accordion-item__title {padding-left:0; padding-right:0}
.pt .wp-block-themeisle-blocks-accordion-item__content {padding:0}

/* 
 MiniJob Rechner
*/
.mj_container {
    margin: 20px;
    font-family: Arial, sans-serif;
}

.mj_input_group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mj_input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: none;
    border-radius: 5px;
}

.mj_button {
    padding: 10px;
    background-color: #cb0000;
    color: white;
    border: none;
    cursor: pointer;
}

.mj_result {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
}

@media (max-width: 600px) {
    .mj_input_group {
        flex-direction: column; /* Stapelt die Elemente vertikal */
        gap: 5px;
    }

    .mj_input, .mj_button {
        width: 100%; /* Sorgt dafür, dass beide Elemente die volle Breite einnehmen */
        padding: 12px; /* Größere Touch-Ziele für bessere Zugänglichkeit */
    }

    .mj_container {
        margin: 10px; /* Reduzierter Außenabstand für kleinere Bildschirme */
    }
}

/* ===========================================================
   NEWSLETTER-BOX – (Stand Juli 2025)
   =========================================================== */

/* ---------- 0. Farbvariablen ---------- */
:root{
  --brand-green:       #3ca25f;
  --brand-green-dark:  #338550;
  --brand-green-light: #f1fbf4;
  --text-dark:         #111;
  --text-muted:        #555;
  --border-soft:       #E2E8EC;
}

/* ---------- 1. Grundlayout ---------- */
.newsletter-box{
  background: var(--brand-green-light);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 32px 40px;
  margin: 40px auto;
  max-width: 680px;                 /* Desktop */
  text-align: center;
  color: var(--text-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  box-sizing: border-box;
}

/* ---------- 2. Headline ---------- */
.newsletter-box h2,
.newsletter-box h3{
  font-size: 1.5rem;
  margin: 0 0 14px;
  color: var(--brand-green);
  line-height: 1.3;
}

/* ---------- 3. Benefit-Liste ---------- */
.newsletter-box .nl-benefits{       /* höhere Spezifität + !important */
  list-style: none !important;      /* verhindert schwarze Disc-Bullets */
  margin: 0 auto 24px;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.nl-benefits li{
  position: relative;
  margin: 6px 0;
  padding-left: 26px;
  font-size: 1rem;
  line-height: 1.45;
}
.nl-benefits li::before{
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.2em;
  color: var(--brand-green);
  font-weight: 700;
}

/* ---------- 4. Formular ---------- */
.newsletter-form{ max-width: 460px; margin: 0 auto; }
.newsletter-form .form-row{
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.newsletter-form input[type="email"]{
  flex: 1 1 auto;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
  transition: border-color .3s ease, box-shadow .3s ease;
  min-width: 0;
}
.newsletter-form input[type="email"]:focus{ border-color: var(--brand-green); }
.newsletter-form button{
  flex: 0 0 auto;
  background: var(--brand-green);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .15s ease;
}
.newsletter-form button:hover{
  background: var(--brand-green-dark);
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

/* ---------- 5. Kleingedrucktes ---------- */
.newsletter-box .nl-privacy{
  display: block;
  margin-top: 14px;
  font-size: .875rem;
  color: var(--text-muted);
}

/* ---------- 6. Accessibility ---------- */
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* ---------- 7. Desktop-only Bullet ---------- */
@media (max-width: 767px){
  .only-desktop{ display:none; }
}

/* ===========================================================
   HOTFIX – Mobile-Feinschliff  (nur anfügen, nichts löschen)
   =========================================================== */

/* 1 | Grüne Häkchen erzwingen & Größe harmonisieren */
@media (max-width: 480px){

  /* 1 | Grüne Häkchen erzwingen & Größe harmonisieren */
  .nl-benefits li::before{
    content:"\2714\FE0E";
    color: var(--brand-green) !important;
    font-size: 1.05rem;
    line-height:1;
  }
  .nl-benefits li{
    white-space:normal !important;
    padding-left:22px;            /* kleiner = mehr Platz für Text */
  }

  /* 2 | Abstand zwischen Eingabefeld & Button */
  .newsletter-form button{ margin-top:16px !important; }

  /* 3 | Liste auf volle Breite */
  .nl-benefits{
    width:100% !important;
    display:block !important;
    text-align:left;
  }
@media (max-width:480px){
  .newsletter-form input[type="email"]{
    width:100% !important;
    max-width:100% !important;
    flex:0 0 100% !important;
    box-sizing:border-box;
  }
}

/*** Jobcenter Listen der Städte ***/

ul.ortschaften {
    margin: 0 0 30px 0;
    padding: 0;
}
ul.ortschaften li {
    display: inline-block;
}
ul.ortschaften li::after {
  content: ",";
}
ul.ortschaften li:last-child::after {
  content: "";
}