/* ═══════════════════════════════════════════════════════════════════════════
   Tourist Locations — Front-end Styles v1.0
   Accent: #1EBD90
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Section wrapper (full width, no horizontal padding) ───────────────── */
.tl-section {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* ─── Section heading ───────────────────────────────────────────────────── */
.tl-section__heading {
    text-align: center;
    margin-bottom: 32px;
}

.tl-section__heading h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2b3c;
    margin: 0 0 10px;
    line-height: 1.3;
}

.tl-section__heading p {
    font-size: 16px;
    color: #5a6a7c;
    margin: 0;
    line-height: 1.5;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Cards grid ────────────────────────────────────────────────────────── */
.tl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ─── Card ──────────────────────────────────────────────────────────────── */
.tl-card {
    background: #f5f5f7;
    border: 1px solid rgba(30, 189, 144, .12);
    border-radius: 14px;
    padding: 24px;
    box-sizing: border-box;
    transition: box-shadow .25s ease, transform .25s ease;
    display: flex;
    flex-direction: column;
}

.tl-card:hover {
    box-shadow: 0 8px 28px rgba(30, 189, 144, .12);
    transform: translateY(-3px);
}

/* ─── Card title ────────────────────────────────────────────────────────── */
.tl-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1a2b3c;
    margin: 0 0 12px;
    line-height: 1.3;
}

.tl-card__title-icon {
    color: #1EBD90;
    font-size: 24px;
    flex-shrink: 0;
}

/* ─── Card description ──────────────────────────────────────────────────── */
.tl-card__desc {
    font-size: 15px;
    line-height: 1.65;
    color: #3a4a5c;
    margin: 0 0 auto;
    padding-bottom: 16px;
}

/* ─── Card meta (distance + time) ───────────────────────────────────────── */
.tl-card__meta {
    display: flex;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(30, 189, 144, .1);
    margin-top: auto;
}

.tl-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #1EBD90;
}

.tl-card__meta .material-icons-outlined {
    font-size: 18px;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .tl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .tl-section {
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .tl-section__heading {
        margin-bottom: 24px;
    }

    .tl-section__heading h2 {
        font-size: 22px;
    }

    .tl-section__heading p {
        font-size: 14px;
    }

    .tl-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tl-card {
        padding: 20px;
    }

    .tl-card:hover {
        transform: none;
        box-shadow: none;
    }
}
