/* --- FONKELHUT REVIEWS --- */

.fhr-wrapper {
    font-family: 'Jost', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- GEMIDDELDE --- */
.fhr-gemiddelde {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 28px;
}

.fhr-gem-cijfer {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 600;
    color: #2C4A2E;
}

.fhr-gem-sterren {
    color: #9A8B2A;
    font-size: 20px;
    letter-spacing: 2px;
}

.fhr-gem-aantal {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #5A6040;
}

/* --- FILTERTABS --- */
.fhr-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.fhr-filter-btn {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #2C4A2E;
    background: #FAF8F2;
    border: 1px solid #D6C98A;
    border-radius: 20px;
    padding: 8px 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fhr-filter-btn:hover {
    background: #E8DCA0;
}

.fhr-filter-btn.active {
    background: #2C4A2E;
    color: #FAF8F2;
    border-color: #2C4A2E;
}

/* --- CARROUSEL --- */
.fhr-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fhr-carousel {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.fhr-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.fhr-nav {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #D6C98A;
    background: #FAF8F2;
    color: #2C4A2E;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.fhr-nav:hover:not(:disabled) {
    background: #2C4A2E;
    color: #FAF8F2;
}

.fhr-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.fhr-pagina-indicator {
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #5A6040;
    margin-top: 12px;
}

.fhr-card {
    height: 320px;
    flex: 0 0 calc((100% - 40px) / 3);
    background: #FAF8F2;
    border: 1px solid #D6C98A;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fhr-card-featured {
    background: #2C4A2E;
    border-color: #2C4A2E;
}

/* --- STERREN --- */
.fhr-sterren {
    color: #9A8B2A;
    font-size: 16px;
    letter-spacing: 3px;
}

.fhr-card-featured .fhr-sterren {
    color: #E8DCA0;
}

/* --- TEKST --- */
.fhr-tekst {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    color: #3a3a2e;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fhr-card-featured .fhr-tekst {
    color: #FAF8F2;
}

/* --- LEES MEER --- */
.fhr-leesmeer {
    align-self: flex-start;
    flex: 0 0 auto;
    background: none;
    border: none;
    padding: 0;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #9A8B2A;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fhr-leesmeer:hover {
    color: #2C4A2E;
}

.fhr-card-featured .fhr-leesmeer {
    color: #E8DCA0;
}

.fhr-card-featured .fhr-leesmeer:hover {
    color: #FAF8F2;
}

/* --- FOOTER (naam + dienst) --- */
.fhr-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #D6C98A;
    padding-top: 12px;
}

.fhr-card-featured .fhr-footer {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.fhr-naam {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #2C4A2E;
}

.fhr-card-featured .fhr-naam {
    color: #FAF8F2;
}

.fhr-dienst-badge {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #5A6040;
    background: #D6E8C4;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.fhr-card-featured .fhr-dienst-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #D4EBC8;
}

/* --- GEEN REVIEWS --- */
.fhr-geen-reviews {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #5A6040;
    font-style: italic;
    font-weight: 300;
    padding: 12px 0;
}

/* --- POPUP MET VOLLEDIGE REVIEW --- */
.fhr-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fhr-modal.fhr-modal-open {
    display: flex;
}

.fhr-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 74, 46, 0.55);
}

.fhr-modal-content {
    position: relative;
    background: #FAF8F2;
    border-radius: 16px;
    padding: 36px 32px;
    max-width: 520px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.fhr-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #D6C98A;
    background: #FAF8F2;
    color: #2C4A2E;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.fhr-modal-close:hover {
    background: #2C4A2E;
    color: #FAF8F2;
}

.fhr-modal-sterren {
    color: #9A8B2A;
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.fhr-modal-tekst {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.7;
    color: #3a3a2e;
    margin: 0 0 20px;
}

.fhr-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #D6C98A;
    padding-top: 14px;
}

.fhr-modal-naam {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2C4A2E;
}

.fhr-modal-dienst {
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #5A6040;
    background: #D6E8C4;
    padding: 4px 10px;
    border-radius: 12px;
}

.fhr-modal-datum {
    display: block;
    margin-top: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: #5A6040;
}

/* --- RESPONSIVE --- */
/* JS herberekent de exacte kaartbreedte in pixels op basis van tonen="" en
   het venster; deze regels zijn enkel een fallback zolang JS nog niet actief is. */
@media (max-width: 768px) {
    .fhr-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 480px) {
    .fhr-card {
        flex-basis: 100%;
    }
    .fhr-gemiddelde {
        flex-wrap: wrap;
    }
    .fhr-nav {
        width: 32px;
        height: 32px;
    }
}
