/* Tikehub — profil public organisateur */
body:has(.th-org) > main {
    margin-top: 6.75rem !important;
    padding-top: 1.25rem !important;
}

@media (max-width: 640px) {
    body:has(.th-org) > main {
        margin-top: 5.85rem !important;
        padding-top: 1rem !important;
    }
}

.th-org {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0.75rem 1rem 3rem;
}

@media (min-width: 640px) {
    .th-org {
        padding: 1.25rem 1.5rem 3.5rem;
    }
}

.th-org-hero {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
    .th-org-hero {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.75rem;
    }
}

.th-org-avatar {
    flex-shrink: 0;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--th-peach);
    color: var(--th-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    box-shadow: var(--th-shadow);
}

.th-org-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.th-org-hero__body {
    flex: 1;
    min-width: 0;
}

.th-org-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: #f8e4b0;
    color: #c2782a;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.th-org-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--th-ink);
    margin: 0 0 0.65rem;
    line-height: 1.15;
}

.th-org-hero__bio {
    margin: 0 0 1.1rem;
    color: var(--th-text);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 42rem;
}

.th-org-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

@media (min-width: 640px) {
    .th-org-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.th-org-stat {
    background: #fff;
    border-radius: 22px;
    padding: 0.85rem 1rem;
    box-shadow: var(--th-shadow);
}

.th-org-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--th-ink);
    line-height: 1.1;
}

.th-org-stat span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--th-text-muted);
}

.th-org-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.th-org-links a,
.th-org-links button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0.5rem 0.9rem;
    border: none;
    border-radius: 9999px;
    background: #fff;
    color: var(--th-ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--th-shadow);
}

.th-org-links a:hover,
.th-org-links button:hover {
    background: var(--th-peach);
    color: var(--th-ink);
}

.th-org-links .th-org-social {
    width: 42px;
    padding: 0;
}

.th-org-tabs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    margin-bottom: 1.35rem;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.th-org-tabs::-webkit-scrollbar {
    display: none;
}

.th-org-tabs button {
    flex-shrink: 0;
    min-height: 42px;
    padding: 0.55rem 1rem;
    border: none;
    border-radius: 9999px;
    background: #fff;
    color: var(--th-ink);
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--th-shadow);
}

.th-org-tabs button.is-active {
    background: var(--th-coral);
    color: #fff;
}

.th-org-section h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--th-ink);
    margin: 0 0 1rem;
}

.th-org-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .th-org-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .th-org-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.th-org-empty {
    background: #fff;
    border-radius: 28px;
    padding: 2.5rem 1.25rem;
    text-align: center;
    box-shadow: var(--th-shadow);
    color: var(--th-text-muted);
}

.th-org-empty i {
    font-size: 2.4rem;
    color: var(--th-peach);
    margin-bottom: 0.75rem;
}

.th-org .th-card__cta {
    margin-top: auto;
}
