/* ClubProperty Related Content — Clean & Modern */

.cpr-wrap {
    --cpr-text: #1a1a1a;
    --cpr-muted: #888888;
    --cpr-divider: rgba(0, 0, 0, 0.1);
    --cpr-radius: 4px;
    --cpr-radius-pill: 2px;

    margin: 64px 0 0;
    padding: 0;
    background: transparent;
    font-family: inherit;
    color: var(--cpr-text);
    box-sizing: border-box;
}

.cpr-wrap *,
.cpr-wrap *::before,
.cpr-wrap *::after {
    box-sizing: border-box;
}

/* Header */
.cpr-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cpr-divider);
    gap: 16px;
}

.cpr-heading-group {
    min-width: 0;
}

.cpr-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cpr-muted);
    margin-bottom: 6px;
}

.cpr-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--cpr-text);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Nav arrows */
.cpr-nav {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.cpr-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: transparent;
    color: var(--cpr-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

.cpr-arrow:hover:not(:disabled) {
    background: var(--cpr-text);
    border-color: var(--cpr-text);
    color: #fff;
}

.cpr-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.cpr-arrow svg {
    display: block;
}

/* Track */
.cpr-track-wrap {
    overflow: hidden;
}

.cpr-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

/* Card */
.cpr-card {
    flex: 0 0 calc((100% - 48px) / 3);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s ease;
}

.cpr-card:hover {
    transform: translateY(-4px);
}

.cpr-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    border-radius: var(--cpr-radius);
    position: relative;
    overflow: hidden;
}

.cpr-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: #1a1a1a;
    padding: 5px 10px;
    border-radius: var(--cpr-radius-pill);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cpr-card-body {
    padding: 0;
}

.cpr-card-meta {
    font-size: 11px;
    color: var(--cpr-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
}

.cpr-card-title {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 10px;
    color: var(--cpr-text);
    letter-spacing: -0.01em;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cpr-card-excerpt {
    color: var(--cpr-muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 0 0 12px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cpr-card-cta {
    font-size: 13px;
    color: var(--cpr-text);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--cpr-text);
    padding-bottom: 2px;
    transition: gap 0.2s ease;
    line-height: 1;
}

.cpr-card:hover .cpr-card-cta {
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cpr-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .cpr-wrap {
        margin-top: 40px;
    }
    .cpr-title {
        font-size: 20px;
    }
    .cpr-track {
        gap: 16px;
    }
    .cpr-card {
        flex: 0 0 78%;
    }
    .cpr-arrow {
        width: 36px;
        height: 36px;
    }
    .cpr-card-title {
        font-size: 15px;
    }
}
