body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #4a4a4a;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    line-height: 1.8; /* Növelt sorokköz a jobb olvashatóságért */
    font-size: 18px; /* Nagyobb betűméret */
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #007bff; /* Kékes árnyalat */
    margin-bottom: 0.5em;
}

p.description, ul, h2 {
    margin-top: 0;
    padding-left: 20px;
}

p.synonyms {
    font-size: 18px;
	margin-top: 0;
    padding-left: 20px;
}


ul {
    list-style: inside disc;
}

li {
    margin-bottom: 0.5em;
}

h2 {
    color: #333333;
    border-bottom: 2px solid #007bff; /* Kékes szín az alcímek alá */
    padding-bottom: 0.3em;
    margin-top: 1em;
}

/* Reszponzív design, kisebb képernyők esetén */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    h1 {
        font-size: 1.8em;
    }
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}


/* Mobil nézethez */
@media (max-width: 768px) {
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-info {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .company-logo {
        align-self: flex-start;
        width: 70px;
        height: 70px;
    }
}

.position-item {
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
    transition: background-color 0.3s;
}

.position-item a {
    text-decoration: none;
    color: #007bff;
    display: block; /* Ez teszi lehetővé, hogy az <a> tag az egész cellát lefedje */
}

.position-item:hover {
    background-color: #e6e6e6;
}

.position-content {
    padding: 10px; /* Az eredeti padding itt van most */
}

.position-item a:hover {
    text-decoration: underline;
}

.back-to-list {
    background-color: #f0f0f0;
    margin-top: 20px;
    text-align: center;
    transition: background-color 0.3s;
}

.back-to-list a {
    text-decoration: none;
    color: #007bff;
    display: block;
}

.back-content {
    padding: 10px;
}

.back-to-list:hover {
    background-color: #e6e6e6;
}

.back-to-list a:hover {
    text-decoration: underline;
}

/* Keresőmező és gomb konténer */
.search-container {
    display: flex;
    justify-content: center; /* Középre igazítás */
    margin: 10px 10px 10px 10px; /* Egy kis tér a szomszédos elemektől */
	width: 300px;
}

/* Keresőmező stílusa */
#searchInput {
    flex-grow: 1; /* Kitölti a rendelkezésre álló teret */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px; /* Csak a bal oldali sarkok lekerekítése */
	margin: 10px;
	width: 300px;
	font-size: 14px;	
}


/* Autosuggest lista stílusa */
#suggestion-box {
    position: absolute;
    width: 300px; /* A szélesség megegyezik a keresőmező szélességével */
    border: 1px solid #ccc;
    border-top: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    z-index: 1000; /* Biztosítja, hogy a lista a többi elem fölött jelenjen meg */
    font-size: 14px;
}

.suggest-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
	width: 300px;
}

.suggest-item:hover {
    background-color: #f0f0f0;
}


/* Keresőmező konténerének stílusa */
.search-container {
    display: flex;
    justify-content: center; /* Középre igazítás */
    margin: 10px 0; /* Egy kis tér a szomszédos elemektől */
    width: 300px; /* Teljes szélesség használata */
}

.job-card h3, .job-card p {
	margin-top: 5px;
    margin-bottom: 5px; /* Kisebb függőleges tér */
}

.more-text {
    display: none;
    /* További stílusok */
}

.more-text.show {
    display: inline;
    /* További stílusok */
}

.read-more-button {
    /* Gomb stílusai */
}


.job-card p {
    margin-top: 5px; /* Csökkenti a felső margót */
    margin-bottom: 5px; /* Szabályozza az alsó margót */
}

.job-card .job-description p {
    margin-bottom: 0; /* Eltávolítja az alsó margót a leírás első részétől */
}

.job-card {
    margin-bottom: 60px; /* Hozzáad egy alsó margót minden állásajánlati kártyához */
}

.job-card p.company-name,
.job-card p.company-sector, 
.job-card p.job-location {
    font-size: 14px; /* Kisebb betűméret */
    margin-top: 5px;
    margin-bottom: 5px;
}

.job-card p.job-salary {
    font-size: 14px; /* Kisebb betűméret */
    margin-top: 5px;
    margin-bottom: 5px;
	font-weight: 700;
}

.job-card p.job-description {
    font-size: 14px; /* Kisebb betűméret */
    margin-top: 5px;
    margin-bottom: 5px;
}

.related-jobs .job-card {
    background-color: #ffffff; /* Fehér háttérszín */
    border: 1px solid #ddd; /* Szegély a kártyák körül */
    padding: 15px; /* Belső térköz */
    margin-bottom: 15px; /* Alsó margó a kártyák között */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Enyhe árnyékhatás */
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-info {
    flex: 1;
    margin-right: 15px;
}

.company-logo {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    align-self: flex-start;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.related-jobs {
    background-color: #f4f4f4; /* Háttérszín, amely eltér a kártyák színétől */
    padding: 20px; /* Térköz a szülő elem és a kártyák között */
}

/* Pagination styles */
.pagination {
    text-align: center;
    margin: 5px 0;
}

.pagination ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.pagination ul li {
    margin: 0 5px;
}

.pagination ul li a {
    display: block;
    padding: 5px 5px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 5px;
    width: 15px;
    height: 15px;
    line-height: 10px;
    text-align: center;
}

.pagination ul li.active a {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}