/* Koopgidsen presentation.
   Keep page-specific selectors here; functions.php only decides when to load it. */

.page-id-27 .entry-content,
.woocommerce-shop .entry-content,
.page-id-1411 .entry-content {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
}

.sw-kg-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .8rem;
    border: 1px solid #e7e4de;
    border-radius: 999px;
    background: #fff;
    color: #1f2731;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}

.sw-kg-chip:before {
    content: "";
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    background: var(--sw-kg-accent, #1D9E75);
}

.sw-kg-chip:hover {
    color: #C8553D;
    text-decoration: none;
}

.sw-kg-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.4rem;
    border-radius: 999px;
    background: #C8553D;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
}

.sw-kg-btn-primary:hover {
    background: #b04535;
    color: #fff;
    text-decoration: none;
}

.sw-kg-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: .63rem 1.35rem;
    border: 2px solid #273443;
    border-radius: 999px;
    color: #273443;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.sw-kg-btn-outline:hover {
    border-color: #C8553D;
    color: #C8553D;
    text-decoration: none;
}

.sw-kg-stats {
    display: flex;
    align-items: flex-start;
}

.sw-kg-stat {
    display: flex;
    flex-direction: column;
    gap: .12rem;
    padding-right: 2rem;
}

.sw-kg-stat + .sw-kg-stat {
    padding-left: 2rem;
    border-left: 1px solid #dcd9d3;
}

.sw-kg-stat__number {
    margin: 0 !important;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2731;
}

.sw-kg-stat__label {
    margin: 0 !important;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1D9E75;
}

.sw-kg-panel {
    box-shadow: 0 18px 45px rgba(31, 39, 49, .04);
}

.sw-kg-panel .wp-block-kadence-image img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sw-kg-list {
    margin-top: 2rem;
    border-top: 1px solid #e7e4de;
}

.sw-kg-row {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: start;
    padding: 1.65rem 0;
    border-bottom: 1px solid #e7e4de;
}

.sw-kg-row__number {
    color: var(--sw-kg-accent);
    font-weight: 700;
    font-size: .9rem;
}

.sw-kg-row h3 {
    margin: 0 0 .45rem;
    font-size: 1.45rem;
    line-height: 1.2;
}

.sw-kg-row h3 a {
    color: #273443;
    text-decoration: none;
}

.sw-kg-row h3 a:hover {
    color: var(--sw-kg-accent);
    text-decoration: underline;
}

.sw-kg-row p {
    margin: 0;
    color: #253244;
    line-height: 1.55;
}

.sw-kg-row__link {
    white-space: nowrap;
    color: var(--sw-kg-accent);
    font-weight: 700;
    text-decoration: none;
}

.sw-kg-row__link:hover {
    text-decoration: underline;
}

.sw-kg-older {
    padding: 1.4rem 0 0;
}

.sw-kg-older h3 {
    font-size: 1rem;
    text-transform: uppercase;
    color: #5F5E5A;
}

.sw-kg-older ul {
    columns: 2;
    margin: 0;
    padding-left: 1.1rem;
}

.sw-kg-older a {
    color: #273443;
}

.sw-kg-note {
    display: flex;
    gap: 1rem;
}

.sw-kg-note__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: .55rem;
    background: #1D9E75;
    color: #fff;
    font-weight: 800;
}

@media (max-width: 767px) {
    .sw-kg-row {
        grid-template-columns: 2.5rem minmax(0, 1fr);
        gap: 1rem;
    }

    .sw-kg-row__link {
        grid-column: 2;
    }

    .sw-kg-older ul {
        columns: 1;
    }

    .sw-kg-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .sw-kg-stat + .sw-kg-stat {
        padding-left: 0;
        border-left: none;
    }
}
