/* ============================================
   TOUR GUIDES DIRECTORY  —  /tour-guides
   Prefix: tg-
   ============================================ */

.tg-page {
    width: 100%;
    overflow-x: hidden;
    background: var(--antologa-surface-warm, #f7f5f2);
    min-height: 100dvh;
    padding-bottom: calc(var(--bottom-chrome, 5rem) + 2rem);
}

.tg-hero {
    background:
        linear-gradient(135deg, rgba(0, 79, 113, 0.92), rgba(7, 130, 130, 0.88)),
        url("/img/pictures/hero03.jpg") center / cover no-repeat;
    color: var(--antologa-pure-white, #fff);
    padding: 5.5rem 1.5rem 3rem;
}

.tg-hero__inner {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.tg-hero__eyebrow {
    display: block;
    font-family: Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--antologa-contrast, #e1a951);
    margin-bottom: 0.75rem;
}

.tg-hero__title {
    font-family: Inter, sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 0.75rem;
}

.tg-hero__sub {
    font-family: Nunito, sans-serif;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.tg-container {
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
}

.tg-loading,
.tg-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 16rem;
    text-align: center;
    color: var(--antologa-dark, #1a2226);
}

.tg-empty__icon {
    font-size: 2.75rem !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
    color: var(--antologa-primary, #078282);
}

.tg-empty__sub {
    color: #6b767c !important;
    max-width: 28rem;
}

.tg-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tg-count {
    font-weight: 700 !important;
    color: #6b767c !important;
}

.tg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.tg-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tg-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--antologa-primary, #078282) 35%, transparent);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.tg-card__media {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-card__initials {
    font-family: Inter, sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.04em;
}

.tg-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.1rem 1.15rem 1.25rem;
    flex: 1;
}

.tg-card__name-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tg-card__name {
    font-family: Inter, sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: var(--antologa-dark, #1a2226);
    line-height: 1.25;
}

.tg-card__verified {
    display: inline-flex;
    color: var(--antologa-primary, #078282);
}

.tg-card__verified .mud-icon-root {
    font-size: 1.1rem !important;
    width: 1.1rem !important;
    height: 1.1rem !important;
}

.tg-card__type {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--antologa-contrast, #e1a951);
}

.tg-card__meta,
.tg-card__rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #5a646a;
}

.tg-card__meta .mud-icon-root {
    font-size: 1rem !important;
    width: 1rem !important;
    height: 1rem !important;
    color: var(--antologa-primary, #078282);
}

.tg-card__stars {
    color: var(--antologa-contrast, #e1a951);
    letter-spacing: 0.02em;
}

.tg-card__reviews {
    color: #8a949a;
}

.tg-card__bio {
    margin: 0.15rem 0 0;
    font-family: Nunito, sans-serif;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #5a646a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tg-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.tg-chip {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--antologa-primary, #078282) 12%, white);
    color: var(--antologa-secondary, #004f71);
}

.tg-chip--muted {
    background: #eef1f3;
    color: #5a646a;
}

.tg-card__listings {
    margin-top: auto;
    padding-top: 0.55rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--antologa-primary, #078282);
}

.tg-card__cta {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--antologa-secondary, #004f71);
    margin-top: 0.35rem;
}

.tg-card:hover .tg-card__cta {
    color: var(--antologa-primary, #078282);
}

@media (max-width: 960px) {
    .tg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tg-hero {
        padding: 4.75rem 1.15rem 2.25rem;
    }

    .tg-grid {
        grid-template-columns: 1fr;
    }

    .tg-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
