/*
Theme Name: SYNERGIE
Theme URI:  https://www.synergie.de
Author:     Rehbrand
Author URI: https://www.rehbrand.de
Template:   Divi
Version:    1.0
License:    GNU General Public License v2 or later
*/


/*---------ZVOOVE STYLING---------*/

/* --- Grundlayout der Jobliste --- */

.sy-joblist {
    margin: 40px 0;
    padding: 0;
}

/* Jede Stellenzeile als „Card“-ähnlicher Block */
.sy-job {
    list-style: none;
    padding: 20px 20px 20px 20px;
    border-bottom: 10px solid #f4f4f4;
    display: flex;
    flex-direction: column;
    gap: 4px;
	background-color: #fafafa;
}

/* Hover-Effekt über die gesamte Zeile */
.sy-job:hover {
    background-color: #fafafa;
}

/* --- Stellenzähler über der Liste --- */
.sy-jobcounter {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

/* --- Datum --- */
.sy-job__date-row {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.sy-job__date {
    font-weight: 400;
}

/* Titel der Stellen in der Jobliste */
.sy-joblist .sy-job__title,
.sy-joblist .sy-job__title a,
.sy-joblist h3.sy-job__title,
.sy-joblist h4.sy-job__title,
.sy-joblist .sy-job__title-link {
    font-size: 28px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

.sy-job__title-link,
.sy-job__title a {
    text-decoration: none;
    color: #222;
    transition: color 0.2s ease;
}

/* Rot auf Hover – im Synergie-Look */
.sy-job__title-link:hover,
.sy-job__title a:hover {
    color: #c63625;
}

/* --- Info-Bereich (Ort, Arbeitszeit etc.) --- */
.sy-job__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 14px;
    color: #444;
    margin-top: 4px;
}

/* Icons leicht abgesetzt */
.sy-job__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* sorgt für vertikale Ausrichtung */
    gap: 8px 16px;
}

/* Icons sauber skalieren */
.sy-job__meta .material-icons {
    font-size: 16px;     /* kleinere Icons */
    margin-right: 6px;   /* Abstand vor Text */
    line-height: 1;      /* verhindert "Hochspringen" */
    display: inline-flex;
    align-items: center; /* perfektes Zentrieren */
    justify-content: center;
    position: relative;
    top: 0;              /* wichtig: KEINE Verschiebung mehr */
}
/* --- Suchfeld oben über der Liste --- */
.sy-joblist input[type="text"],
.sy-joblist input[type="search"] {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    max-width: 260px;
}

/* Fokus- und Hoverzustand des Suchfeldes */
.sy-joblist input[type="text"]:focus,
.sy-joblist input[type="search"]:focus {
    outline: none;
    border-color: #c63625;
    box-shadow: 0 0 0 1px rgba(198, 54, 37, 0.1);
}

/* --- Mobile Optimierung --- */
@media (max-width: 768px) {
    .sy-job {
        padding: 16px 0;
    }

    .sy-job__title {
        font-size: 18px;
    }

    .sy-job__meta {
        flex-direction: column;
        gap: 2px;
    }
}

