/* =============================================================================
   BonTrip — listarea publica a ghidurilor (/{lang}/ghiduri)
   Acelasi limbaj vizual ca paginile de recenzii si de categorie:
   #FFBE00 accente, #f8fafb carduri, #475467 text secundar, #16a34a verde.
   ========================================================================== */

.gl-section {
    padding: 60px 20px 90px;
    background: #ffffff;
}
.gl-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- Antet ---------- */
.gl-header { text-align: center; margin-bottom: 42px; }
.gl-label {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475467;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 16px;
}
.gl-header h1 {
    font-size: 36px;
    line-height: 1.15;
    color: #101828;
    margin: 0 0 12px;
}
.gl-header p {
    font-size: 16px;
    line-height: 1.7;
    color: #475467;
    margin: 0 auto;
    max-width: 620px;
}

.gl-count {
    font-size: 13.5px;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* ---------- Grila ---------- */
.gl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.gl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef2f6;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.gl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    border-color: transparent;
}

.gl-card-image {
    position: relative;
    height: 185px;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    overflow: hidden;
}
.gl-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.gl-card:hover .gl-card-image img { transform: scale(1.06); }

.gl-card-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 38px;
    color: #cbd5e1;
}

.gl-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,190,0,.95);
    color: #3d2f00;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .02em;
}

/* ---------- Continut card ---------- */
.gl-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 20px;
}

.gl-card-parent {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 8px;
}
.gl-card-parent i { font-size: 10px; transform: rotate(90deg); }

.gl-card-body h2 {
    font-size: 19px;
    line-height: 1.3;
    color: #101828;
    margin: 0 0 10px;
}
.gl-card-body p {
    font-size: 14px;
    line-height: 1.65;
    color: #475467;
    margin: 0 0 16px;
}

.gl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}
.gl-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    font-size: 11.5px;
    font-weight: 600;
    color: #475467;
    white-space: nowrap;
}
.gl-chip i { font-size: 10px; opacity: .8; }

.gl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}
.gl-sub { font-size: 12px; color: #94a3b8; }
.gl-more {
    font-size: 13.5px;
    font-weight: 700;
    color: #16a34a;
}

/* ---------- Stare goala ---------- */
.gl-empty {
    text-align: center;
    padding: 70px 24px;
    background: #f8fafb;
    border-radius: 24px;
}
.gl-empty i { font-size: 38px; color: #cbd5e1; display: block; margin-bottom: 16px; }
.gl-empty p { font-size: 15.5px; color: #475467; margin: 0 0 22px; }

.gl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.gl-btn:hover {
    box-shadow: 0 10px 24px rgba(22,163,74,.28);
    color: #fff;
}

/* ---------- Paginare ---------- */
.gl-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.gl-page {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8fafb;
    border: 1px solid transparent;
    color: #475467;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.gl-page:hover { background: #fff; border-color: #16a34a; color: #16a34a; }
.gl-page.is-current {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    cursor: default;
}
.gl-page--nav { font-size: 12px; }
.gl-ellipsis { color: #cbd5e1; padding: 0 3px; }

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
    .gl-section { padding: 36px 16px 64px; }
    .gl-header h1 { font-size: 27px; }
    .gl-header p { font-size: 15px; }
    .gl-grid { grid-template-columns: 1fr; gap: 20px; }
    .gl-card-image { height: 165px; }
    .gl-card-body { padding: 18px 20px 16px; }
}
