.rowa-filter-wrapper {
  margin: 30px 0;
}

/* Filterbar */

.rowa-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 24px;
  background: #12002b;
  border-radius: 999px;
  align-items: center;
  color: #ffffff;
}

.rowa-filter-item {
  display: flex;
  align-items: center;
}

.rowa-filter-select,
.rowa-filter-search-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  padding: 8px 12px;
  outline: none;
  min-width: 160px;
}

.rowa-filter-select option {
  background: #12002b;
}

/* Suchfeld etwas breiter */

.rowa-filter-search {
  flex: 1 1 200px;
}

.rowa-filter-search-input {
  width: 100%;
}

.rowa-filter-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Loading / Fehler / Empty */

.rowa-filter-loading,
.rowa-filter-error,
.rowa-filter-empty {
  padding: 20px 0;
  font-size: 16px;
}

/* Ergebnisgrid */

.rowa-filter-results {
  margin-top: 24px;
}

.rowa-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.rowa-filter-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.rowa-filter-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.rowa-filter-card-body {
  padding: 16px 18px 20px;
}

.rowa-filter-card-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.rowa-filter-card-excerpt {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
}

.rowa-filter-card-link {
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}

/* Mobile */

@media (max-width: 768px) {
  .rowa-filterbar {
    border-radius: 24px;
    padding: 14px 16px;
  }

  .rowa-filter-select,
  .rowa-filter-search-input {
    font-size: 15px;
    min-width: 120px;
  }
}

/* LIST VIEW — Eurogate Style */

.rowa-job-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.rowa-job-item {
    background: rgba(233,241,255,0.9);
    border-radius: 18px;
    padding: 35px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;

}

.rowa-job-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 18px;
}

.rowa-job-meta {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.rowa-job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.meta-icon {
    font-size: 18px;
}

.rowa-job-right {
    display: flex;
    gap: 20px;
}

.rowa-btn {
    background: #1c0036;
    padding: 12px 28px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
}

.rowa-btn.apply {
    background: #1c0036;
}

.rowa-btn.more {
    background: #1c0036;
}

/* Mobile */
@media (max-width: 900px) {
    .rowa-job-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .rowa-job-right {
        margin-top: 20px;
    }
}
/* =========================================================
   EUROGATE STYLE JOB LIST
   ========================================================= */

.rowa-job-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 35px !important;
    width: 100%;
    margin-top: 40px;
}

/* Job Item */
.rowa-job-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 40px !important;
    background: #e9f1ff !important;
    border-radius: 18px !important;
    padding: 35px 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    color: #0d0d0d !important;
}

/* Left section */
.rowa-job-left {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    max-width: 65% !important;
}

/* Title */
.rowa-job-title {
    font-size: 26px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #0d0d0d !important;
}

/* Meta list */
.rowa-job-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
}

.rowa-job-meta-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 16px !important;
    color: #0d0d0d !important;
}

/* Right section (Buttons) */
.rowa-job-right {
    display: flex !important;
    flex-shrink: 0 !important;
    gap: 20px !important;
}

/* Buttons */
.rowa-btn {
    background: #1c0036 !important;
    padding: 12px 25px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

/* Responsive */
@media (max-width: 900px) {

    .rowa-job-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .rowa-job-left {
        max-width: 100% !important;
    }

    .rowa-job-right {
        width: 100% !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
}

/* ============================
   Dropdown-Optik neu (funktionierend)
============================ */

.rowa-filter-item {
    position: relative;
}

.rowa-filter-item::before {
    content: "⌄"; /* oder "▾" oder SVG – sag Bescheid */
    position: absolute;
    left: 10px;
    top: 30%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    pointer-events: none;
}

/* Select selbst: transparent + Platz für Chevron */
.rowa-filter-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding-left: 32px !important; /* Platz für Icon */
    font-size: 16px !important;
    cursor: pointer;

    min-width: 140px;
}

/* Nativen Pfeil ausblenden */
.rowa-filter-select::-ms-expand {
    display: none;
}

.rowa-filter-select option {
    background: #12002b;
    color: #ffffff;
}

/* =========================================
   NEWS-GRID (3 Karten pro Reihe, responsive)
   ========================================= */

.rowa-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.rowa-news-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rowa-news-image-wrap {
    display: block;
}

.rowa-news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.rowa-news-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rowa-news-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.rowa-news-title a {
    text-decoration: none;
    color: #111;
}

.rowa-news-title a:hover {
    text-decoration: underline;
}

.rowa-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.rowa-news-meta-item::before {
    content: "• ";
}

.rowa-news-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1 1 auto;
}

.rowa-news-footer {
    margin-top: auto;
}

.rowa-news-btn {
    padding-inline: 20px;
    font-size: 14px;
}

/* =========================================================
   NEWS — DIVI STYLE MASONRY GRID
   ========================================================= */

/* Masonry Container */
.rowa-news-grid {
    display: grid;
    grid-auto-flow: column; /* erzwingt Zeilen-Layout */
}



@media (max-width: 1200px) {
    .rowa-news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 700px) {
    .rowa-news-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}


/* News Card */
.rowa-news-card {
    display: inline-block !important;   /* WICHTIG für Masonry */
    width: 100%;
    margin: 0 0 32px;
    background: #ffffff;
    border-radius: 0px;                 /* Keine Rundungen */
    box-shadow: 0px 12px 28px rgba(0,0,0,0.20); /* Stärkerer Divi-Schatten */
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.rowa-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 18px 40px rgba(0,0,0,0.28);
}

/* Bild */
.rowa-news-image {
    width: 100%;
    height: auto;       /* natürliche Bildhöhe */
    display: block;
}

/* Body */
.rowa-news-body {
    padding: 20px 22px 26px;
}

/* Titel */
.rowa-news-title {
    margin: 0 0 14px;
    font-size: 18px;
    font: Roboto Condensed
    font-weight: 700;
    line-height: 1.35;
}

.rowa-news-title a {
    color: #333333;
    text-decoration: none;
}

.rowa-news-title a:hover {
    text-decoration: underline;
}

/* Meta Row */
.rowa-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 18px;     /* größer */
    opacity: 0.85;
    margin-bottom: 10px;
}

/* Einzelnes Meta-Item */
.rowa-news-meta-item {
    position: relative;
    padding-left: 26px; /* Platz für Icon */
    line-height: 1.3;
}

/* Icons – größer + stilistisch einheitlich */
.rowa-news-meta-item.year::before {
    content: "📅";
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

.rowa-news-meta-item.company::before {
    content: "🏢";
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

/* Excerpt */
.rowa-news-excerpt {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
    opacity: .9;
}

/* Button */
.rowa-news-btn {
    display: inline-block;
    padding: 4px 10px;
    background: #ffcc00 !important;
    color: #fff !important;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
}

.rowa-news-btn:hover {
    opacity: .9;
}

/* =========================================================
   FIX: Entfernt alle Layout-Störer (Gleichhöhe, Flexbox usw.)
   ========================================================= */

.rowa-news-grid *,
.rowa-news-card,
.rowa-news-card * {
    height: auto !important;
    min-height: auto !important;
    display: block;
}

/* Masonry braucht zwingend inline-block */
.rowa-news-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px !important;
}

@media (max-width: 1200px) {
    .rowa-news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 700px) {
    .rowa-news-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* FORCE-DISABLE flex/grid on wrapper — Masonry needs inline-blocks */
.rowa-news-grid,
.rowa-filter-results,
.rowa-filter-results > div,
.rowa-filter-results > * {
    display: block !important;
    height: auto !important;
}

/* Masonry Spalten */
.rowa-news-grid {
    column-count: 3 !important;
    column-gap: 32px !important;
    width: 100%;
}

@media (max-width: 1200px) {
    .rowa-news-grid { column-count: 2 !important; }
}

@media (max-width: 700px) {
    .rowa-news-grid { column-count: 1 !important; }
}

/* Karten */
.rowa-news-card {
    display: inline-block !important;
    width: 100% !important;
    margin: 0 0 32px !important;
    background: #ffffff;
    border-radius: 0px !important;
    overflow: hidden !important;

    /* Neuer kompakter Schatten */
    border: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow:
    0px 12px 18px -9px #4A4A49 !important;
       /* 0 4px 22px rgba(0,0,0,0.20),
        0 2px 8px rgba(0,0,0,0.16) !important;*/

    transition: transform .15s ease, box-shadow .15s ease;
}

.rowa-news-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 10px 20px rgba(0,0,0,0.16),
        0 4px 10px rgba(0,0,0,0.10) !important;
}


.rowa-news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 55px rgba(0,0,0,0.32) !important;
}

/* Bild — HARDCROP wie Divi */
.rowa-news-image {
    width: 100%;
    height: 150px !important;   /* crop Höhe */
    object-fit: cover !important;
    display: block;
}

/* ===== FIX: Abstand zwischen Jobkarten wiederherstellen ===== */
.rowa-job-list {
    gap: 60px !important;     /* mehr Abstand zwischen den Karten */
    margin-top: 50px !important;
}

.rowa-job-item {
    margin-bottom: 20px !important; /* Falls Divi Höhen/Abstände überschreibt */
}

/* =========================================================
   ROWA (Design) – Bugfixes/Styles
   - Filter: #d0d0d0 Hintergrund, #4a4a49 Text, größer, 10px Rundung
   - Listenanzeigen: #d0d0d0 Hintergrund, #4a4a49 Text, 10px Rundung
   - Buttons: #ffcc00 Hintergrund, #4a4a49 Text
   ========================================================= */

.rowa-filterbar {
    background: #d0d0d0 !important;
    color: #4a4a49 !important;
    border-radius: 10px !important;
}

.rowa-filter-select,
.rowa-filter-search-input {
    color: #4a4a49 !important;
    font-size: 18px !important;
}

.rowa-filter-select {
    /* links mehr Platz, weil der Chevron über ::before sitzt */
    padding: 10px 14px 10px 34px !important;
}

.rowa-filter-search-input {
    padding: 10px 14px !important;
}

.rowa-filter-search-input::placeholder {
    color: rgba(74, 74, 73, 0.65) !important;
}

/* Dropdown-Chevron */
.rowa-filter-item::before {
    color: #4a4a49 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.rowa-filter-select option {
    background: #d0d0d0 !important;
    color: #4a4a49 !important;
}

/* Karriere: Job-Liste */
.rowa-job-item {
    background: #d0d0d0 !important;
    color: #4a4a49 !important;
    border-radius: 10px !important;
}

.rowa-job-title,
.rowa-job-meta-item,
.rowa-job-meta-item span {
    color: #4a4a49 !important;
}

/* Buttons allgemein */
.rowa-btn {
    background: #ffcc00 !important;
    color: #4a4a49 !important;
}

.rowa-btn:hover {
    opacity: 0.9;
}

/* News/Messe-Karten ebenfalls als "Anzeige" behandeln */
.rowa-news-card {
    background: #d0d0d0 !important;
    color: #4a4a49 !important;
    border-radius: 10px !important;
}

.rowa-news-title a {
    color: #4a4a49 !important;
}

.rowa-news-meta,
.rowa-news-excerpt {
    color: #4a4a49 !important;
}

.rowa-news-btn {
    background: #ffcc00 !important;
    color: #4a4a49 !important;
}

.rowa-news-btn:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .rowa-filter-select,
    .rowa-filter-search-input {
        font-size: 16px !important;
    }
}

