/* Hirdetes listazas */
.haz-hex-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}
.haz-hex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.haz-hex-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}
.haz-hex-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.haz-hex-info {
    padding: 15px;
}
.haz-hex-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}
.haz-hex-price {
    font-size: 16px;
    color: green;
    margin: 5px 0;
}
.haz-hex-year {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}
.haz-hex-btn {
    display: inline-block;
    padding: 10px 15px;
    background: #064b2d;
    color: #fff;
    border-radius: 5px;
    text-decoration: none !important;
    margin-top: 10px;
    font-weight: bold;
}
.haz-hex-btn:hover {
    background: #bc9921;
    color: #fff !important;
}
/* Lapozas */
.haz-hex-pager {
    text-align: center;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.haz-hex-pager a {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #064b2d;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
    background-color: #f9f9f9;
    transition: background-color 0.3s, color 0.3s;
}

.haz-hex-pager a:hover {
    background: #bc9921;
    color: #fff;
    border-color: #0056b3;
}

.haz-hex-pager .current-page {
    display: inline-block;
    padding: 8px 12px;
    background: #064b2d;
    color: #fff;
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
    cursor: default;
}

/* Egyedi hirdetesek */

.hirdetes-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.hirdetes-gallery img {
    max-width: 100%;
    margin-bottom: 10px;
}
.hirdetes-details table {
    width: 100%;
    border-collapse: collapse;
}
.hirdetes-details table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.hirdetes-details h2 {
    margin-top: 20px;
    font-size: 18px;
    color: #064b2d;
}
.hirdetes-details ul {
    padding: 0;
    margin: 0;
    list-style-type: square;
}
.hirdetes-details ul li {
    margin-left: 20px;
}
.hirdetes-description h2 {
    margin-top: 40px;
    font-size: 22px;
    color: #333;
}
.back-to-listing {
    margin-top: 20px;
    text-align: center;
}
.back-to-listing .btn-back {
    display: inline-block;
    padding: 10px 20px;
    background: #064b2d;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}
.back-to-listing .btn-back:hover {
    background: #bc9921;
}

/* Szures */
.haz-hex-filter {
	  margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}
.haz-hex-filter .filter-item {
    display: flex;
    flex-direction: column;
    min-width: 140px;
    gap: 5px;
}
.haz-hex-filter .filter-item label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px;
}
.haz-hex-filter input,
.haz-hex-filter select {
    font-size: 14px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 160px;
}
.haz-hex-filter .filter-inline-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.haz-hex-filter .filter-buttons {
    display: contents;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}
.haz-hex-filter .submit-btn {
    padding: 6px 12px;
    background-color: #064b2d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
}
.haz-hex-filter .submit-btn:hover {
    background-color: #bc9921;
}
.haz-hex-filter .btn-reset {
    padding: 6px 12px;
    background-color: #e9ecef;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #6c757d;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}
.haz-hex-filter .btn-reset:hover {
    background-color: #ddd;
    color: #333;
}