/* ── Canibuild H&L Feed — Frontend Styles ── */

.cani-hl-grid {
    display: grid;
    gap: 24px;
    margin: 24px 0;
}
.cani-hl-cols-1 { grid-template-columns: 1fr; }
.cani-hl-cols-2 { grid-template-columns: repeat(2, 1fr); }
.cani-hl-cols-3 { grid-template-columns: repeat(3, 1fr); }
.cani-hl-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .cani-hl-cols-3,
    .cani-hl-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .cani-hl-cols-2,
    .cani-hl-cols-3,
    .cani-hl-cols-4 { grid-template-columns: 1fr; }
}

/* ── Card ── */
.cani-hl-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.cani-hl-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

/* ── Image ── */
.cani-hl-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f4f8;
}
.cani-hl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cani-hl-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 13px;
}

/* ── Body ── */
.cani-hl-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Suburb badge ── */
.cani-hl-suburb {
    display: inline-block;
    background: #EBF3FB;
    color: #1F5C99;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* ── Title ── */
.cani-hl-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}
.cani-hl-title a {
    text-decoration: none;
    color: inherit;
}
.cani-hl-title a:hover { color: #1F5C99; }

.cani-hl-facade {
    font-size: 13px;
    color: #777;
    margin: 0 0 10px;
}

/* ── Price ── */
.cani-hl-price {
    font-size: 22px;
    font-weight: 800;
    color: #1F5C99;
    margin: 8px 0 12px;
}

/* ── Specs ── */
.cani-hl-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cani-hl-spec {
    background: #f5f7fa;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

/* ── Actions ── */
.cani-hl-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cani-hl-btn {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
    background-color: #1F5C99;
    transition: opacity 0.15s;
    border: 2px solid transparent;
}
.cani-hl-btn:hover { opacity: 0.88; }
.cani-hl-btn-outline {
    background: transparent !important;
    border: 2px solid #1F5C99;
    color: #1F5C99 !important;
}
.cani-hl-btn-outline:hover {
    background: #1F5C99 !important;
    color: #fff !important;
    opacity: 1;
}

.cani-hl-no-results {
    color: #777;
    font-style: italic;
    padding: 20px 0;
}
