/*
Theme Name:  Viveres Selections
Theme URI:   https://viveres.eu
Author:      Pedro van Eijk
Description: Luxury property rental theme for Viveres Selections. All credits to Viviane Cruz.
Version:            4.2.897
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: viveres
License:     Private
*/

/* ── Horizontal overflow fix ─────────────────────────────────────────────── */
html {
    overflow-x: hidden;
}

/* ── Base font: Inter (geladen via functions.php) ────────────────────────── */
body,
body input,
body textarea,
body select,
body button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ── Layout: container max-width ─────────────────────────────────────────── */
#main {
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* ── Accessibility: screen-reader-only class (WordPress standard) ────────── */
/* Verbergt "Posts pagination" h2 en andere SR-only labels die WP uitstuurt   */
/* zoals "Skip to content", zonder ze uit de DOM te verwijderen               */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background-color: #f7f7f7;
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #222;
    display: block;
    font-size: 14px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ── Properties archive pagination ──────────────────────────────────────── */
.properties-pagination {
    margin: 40px 0 20px;
    display: flex;
    justify-content: center;
}
.properties-pagination .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}
.properties-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6b5e50;
    text-decoration: none;
    border: 1px solid #e8e2d5;
    background: #fff;
    transition: all .15s;
    box-sizing: border-box;
}
.properties-pagination .page-numbers:hover {
    border-color: #b8986f;
    color: #b8986f;
    background: #fdfbf7;
}
.properties-pagination .page-numbers.current {
    background: #b8986f;
    border-color: #b8986f;
    color: #fff;
    font-weight: 600;
}
.properties-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: #aaa;
}
.properties-pagination .page-numbers.prev,
.properties-pagination .page-numbers.next {
    padding: 0 16px;
    font-weight: 500;
}

