/* Náš tým — Figma DDM-Praha 525:4445 (LektorNahled, 2 sloupce) */

.tym-breadcrumb {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}
.tym-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.tym-breadcrumb .breadcrumb-item.active {
    color: #666;
}

.tym-intro {
    padding: 60px 0 40px;
    text-align: center;
}
.tym-intro__title {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.15;
    color: #2d2f43;
    margin: 0 auto;
    max-width: 946px;
}
.tym-intro__text {
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #2d2f43;
    max-width: 820px;
    margin: 16px auto 0;
}

.tym-section {
    padding: 20px 0;
}
.tym-section__title {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    margin: 0 0 30px;
    text-align: left;
}

.tym-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.tym-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    min-height: 289px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
.tym-card__foto {
    flex: 0 0 289px;
    width: 289px;
    max-width: 42%;
    aspect-ratio: 1;
    align-self: stretch;
    border-radius: 8px;
    background: #e0e0e0 center/cover no-repeat;
}
.tym-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 16px 16px 0;
    min-width: 0;
}
.tym-card__name {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.15;
    color: #2d2f43;
    margin: 0;
    word-break: break-word;
}
.tym-card__role {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}
.tym-card__kontakt {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    line-height: 1.3;
    color: #2d2f43;
    margin: 0;
}
.tym-card__tel {
    font-weight: 700;
    color: #2d2f43;
    text-decoration: none;
}
.tym-card__tel:hover,
.tym-card__mail:hover {
    text-decoration: underline;
}
.tym-card__mail {
    font-weight: 400;
    color: #2d2f43;
    text-decoration: none;
    word-break: break-all;
}
.tym-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 8px 20px;
    min-height: 45px;
    min-width: min(100%, 280px);
    border-radius: 8px;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
}
.tym-card__cta:hover {
    filter: brightness(0.95);
    color: #fff !important;
}

/* Detail pedagoga — Figma 525:5788 */
.tym-pedagog {
    padding: 40px 0 20px;
}
.tym-pedagog__head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}
.tym-pedagog__info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.tym-pedagog__name {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.15;
    color: #2d2f43;
    margin: 0;
}
.tym-pedagog__role {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    margin: 0;
    white-space: pre-wrap;
}
.tym-pedagog__kontakt {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    line-height: 1.3;
    color: #2d2f43;
    margin: 0;
}
.tym-pedagog__bio {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    line-height: 1.35;
    color: #000;
    max-width: 713px;
}
.tym-pedagog__foto {
    flex: 0 0 467px;
    width: 467px;
    max-width: 40%;
    aspect-ratio: 1;
    border-radius: 8px;
    background: #e8e8ee center/cover no-repeat;
}
.tym-pedagog-aktivity,
.tym-pedagog-clanky {
    padding: 20px 0 40px;
}
.tym-pedagog-aktivity .breadcrumb-wrapper,
.tym-pedagog-aktivity .filtr-wrap,
.tym-pedagog-aktivity .pinned-header {
    display: none !important;
}
.tym-pedagog-clanky__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.tym-pedagog-clanek {
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}
.tym-pedagog-clanek__foto {
    height: 160px;
    background: #ddd center/cover no-repeat;
}
.tym-pedagog-clanek__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.tym-pedagog-clanek__name {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #2d2f43;
    margin: 0;
}
.tym-pedagog-clanek__perex {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    color: #2d2f43;
    margin: 0;
    flex: 1;
}
.tym-pedagog-clanek__link {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}
.tym-pedagog-clanek__link:hover {
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .tym-pedagog__head { flex-direction: column-reverse; }
    .tym-pedagog__foto { width: 100%; max-width: 320px; flex-basis: auto; align-self: center; }
    .tym-pedagog-clanky__grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .tym-pedagog__name { font-size: 26px; }
    .tym-pedagog__role,
    .tym-pedagog__kontakt,
    .tym-pedagog__bio { font-size: 16px; }
}

@media (max-width: 1199.98px) {
    .tym-card__name { font-size: 26px; }
    .tym-card__role,
    .tym-card__kontakt { font-size: 18px; }
    .tym-card__cta { font-size: 20px; min-width: 0; width: 100%; }
    .tym-card__foto { flex-basis: 220px; width: 220px; }
}

@media (max-width: 991.98px) {
    .tym-grid { grid-template-columns: 1fr; }
    .tym-intro { padding: 40px 0 28px; }
    .tym-intro__title,
    .tym-section__title { font-size: 32px; }
}

@media (max-width: 575.98px) {
    .tym-card {
        flex-direction: column;
        min-height: 0;
        gap: 0;
    }
    .tym-card__foto {
        flex: none;
        width: 100%;
        max-width: none;
        aspect-ratio: 1;
        border-radius: 8px 8px 0 0;
    }
    .tym-card__body {
        padding: 16px;
        gap: 12px;
    }
    .tym-intro__title,
    .tym-section__title { font-size: 28px; }
    .tym-card__name { font-size: 22px; }
    .tym-card__role,
    .tym-card__kontakt { font-size: 16px; }
    .tym-card__cta { font-size: 18px; }
}
