
/* ════════════════════════════════════════════════════════
   LEADING FRANCHISES SECTION
════════════════════════════════════════════════════════ */
.lf-section {
    background: #f5f5f5;
    padding: 48px 0 52px;
}

.lf-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Header ──────────────────────────────────────────── */
.lf-header {
    margin-bottom: 28px;
}

.lf-title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.2;
}

.lf-title-underline {
    width: 44px;
    height: 3px;
    background: #d0021b;
    border-radius: 2px;
}

/* ── Grid ────────────────────────────────────────────── */
.lf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* ── Card ────────────────────────────────────────────── */
.lf-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s, transform 0.22s;
}

.lf-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.11);
    transform: translateY(-2px);
}

/* Logo area */
.lf-card__logo-wrap {
    width: 100%;
    height: 160px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.lf-card__logo {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.lf-card__logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff0f0;
    color: #d0021b;
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

/* Card body */
.lf-card__body {
    padding: 14px 16px 10px;
    flex: 1;
}

.lf-card__category {
    font-size: 11.5px;
    color: #888;
    margin: 0 0 5px;
    line-height: 1.3;
}

.lf-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.3;
}

/* Meta rows */
.lf-card__meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lf-card__meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}

.lf-card__meta-label {
    color: #888;
    flex-shrink: 0;
    white-space: nowrap;
}

.lf-card__meta-value {
    color: #333;
    text-align: right;
    font-size: 12px;
}

.lf-card__meta-value--bold {
    font-weight: 700;
    color: #1a1a1a;
}

/* Footer / button */
.lf-card__footer {
    padding: 12px 16px 16px;
}

.lf-card__btn {
    display: block;
    width: 100%;
    padding: 9px 0;
    border: 1.5px solid #d0021b;
    border-radius: 5px;
    color: #d0021b;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    background: #fff;
    transition: background 0.18s, color 0.18s;
    letter-spacing: 0.2px;
}

.lf-card__btn:hover {
    background: #d0021b;
    color: #fff;
}

/* Empty */
.lf-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #888;
    font-size: 15px;
}

/* View All */
.lf-view-all {
    margin-top: 28px;
    text-align: center;
}

.lf-view-all-btn {
    display: inline-block;
    padding: 11px 32px;
    border: 2px solid #d0021b;
    border-radius: 6px;
    color: #d0021b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}

.lf-view-all-btn:hover {
    background: #d0021b;
    color: #fff;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
    .lf-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .lf-section { padding: 32px 0 36px; }
    .lf-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .lf-card__logo-wrap { height: 130px; }
}

@media (max-width: 480px) {
    .lf-grid { grid-template-columns: 1fr; }
    .lf-card__logo-wrap { height: 150px; }
}
