
/* Team module and team page */
.team-carousel-wrap{position:relative;padding:0 54px}.teamSwiper{overflow:hidden;padding:10px 4px 34px}.teamSwiper .swiper-wrapper{align-items:stretch}.teamSwiper .swiper-slide{height:auto;display:flex}.teamSwiper .team-card-modern{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.team-nav{position:absolute;top:50%;z-index:5;width:42px;height:42px;border:1px solid rgba(148,163,184,.35);border-radius:50%;background:#fff;color:#0f172a;box-shadow:0 10px 28px rgba(15,23,42,.12);transform:translateY(-50%);transition:.25s ease}.team-nav:hover{background:var(--ix-primary,#2563eb);color:#fff;transform:translateY(-50%) scale(1.06)}.team-prev{left:0}.team-next{right:0}.team-page-section{padding:var(--theme-section-spacing,80px) 0;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%)}.team-page-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:28px}.team-page-item{flex:0 0 calc((100% - (var(--team-desktop) - 1)*28px)/var(--team-desktop));max-width:calc((100% - (var(--team-desktop) - 1)*28px)/var(--team-desktop));display:flex}.team-profile-card{width:100%;overflow:hidden;border:1px solid rgba(148,163,184,.22);border-radius:var(--theme-card-radius,22px);background:#fff;box-shadow:0 14px 44px rgba(15,23,42,.07);transition:.3s ease}.team-profile-card:hover{transform:translateY(-8px);box-shadow:0 24px 60px rgba(15,23,42,.13)}.team-profile-media{aspect-ratio:4/4.4;overflow:hidden;background:#e2e8f0}.team-profile-media img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.team-profile-card:hover .team-profile-media img{transform:scale(1.04)}.team-profile-body{padding:24px;text-align:center}.team-profile-body h2{font-size:1.15rem;margin:0 0 6px}.team-position{color:var(--ix-primary,#2563eb);font-weight:700;margin:0 0 12px}.team-bio{color:#64748b;font-size:.92rem;line-height:1.7;margin:0}.team-contact-links{display:flex;justify-content:center;gap:10px;margin-top:18px}.team-contact-links a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f1f5f9;color:#0f172a;text-decoration:none;transition:.2s}.team-contact-links a:hover{background:var(--ix-primary,#2563eb);color:#fff}
@media(max-width:1199.98px){.team-page-item{flex-basis:calc((100% - (var(--team-tablet) - 1)*22px)/var(--team-tablet));max-width:calc((100% - (var(--team-tablet) - 1)*22px)/var(--team-tablet))}.team-page-grid{gap:22px}}
@media(max-width:767.98px){.team-carousel-wrap{padding:0 38px}.team-nav{width:36px;height:36px}.team-page-grid{gap:16px}.team-page-item{flex-basis:calc((100% - (var(--team-mobile) - 1)*16px)/var(--team-mobile));max-width:calc((100% - (var(--team-mobile) - 1)*16px)/var(--team-mobile))}.team-profile-body{padding:18px 12px}.team-profile-body h2{font-size:1rem}.team-bio{font-size:.82rem}}

/* CMS sayfalarındaki Ekibimiz modülü */
.page-team-module{overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)}
.page-team-carousel .pageTeamSwiper{overflow:hidden;padding:10px 4px 28px}
.page-team-carousel .swiper-wrapper{align-items:stretch}
.page-team-carousel .swiper-slide{height:auto;display:flex}
.page-team-carousel .page-team-card{width:100%;height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 22px}
.page-team-carousel .swiper-button-lock,.page-team-carousel .team-nav.swiper-button-disabled{opacity:0;pointer-events:none}
.page-team-carousel:not(.swiper-initialized) .swiper-wrapper{display:flex;justify-content:center;gap:26px;flex-wrap:nowrap}
.page-team-carousel:not(.swiper-initialized) .swiper-slide{flex:0 0 calc((100% - (var(--team-desktop) - 1)*26px)/var(--team-desktop));max-width:calc((100% - (var(--team-desktop) - 1)*26px)/var(--team-desktop))}
@media(max-width:1199.98px){.page-team-carousel:not(.swiper-initialized) .swiper-slide{flex-basis:calc((100% - (var(--team-tablet) - 1)*22px)/var(--team-tablet));max-width:calc((100% - (var(--team-tablet) - 1)*22px)/var(--team-tablet))}}
@media(max-width:767.98px){.page-team-carousel:not(.swiper-initialized) .swiper-slide{flex-basis:calc((100% - (var(--team-mobile) - 1)*18px)/var(--team-mobile));max-width:calc((100% - (var(--team-mobile) - 1)*18px)/var(--team-mobile))}.page-team-carousel .page-team-card{min-height:190px;padding:24px 16px}}

/* CMS sayfa modülü: dengeli kart ölçüsü ve kesin merkezleme */
.page-team-module {
    padding-top: clamp(64px, 7vw, 96px) !important;
    padding-bottom: clamp(64px, 7vw, 96px) !important;
}
.page-team-module .container {
    max-width: 1180px;
}
.page-team-module .section-head {
    margin-bottom: 38px !important;
}
.page-team-carousel {
    max-width: 1050px;
    margin-inline: auto;
    padding-inline: 58px;
}
.page-team-carousel .pageTeamSwiper {
    padding: 16px 8px 34px;
}
.page-team-carousel .swiper-wrapper {
    align-items: stretch;
}
.page-team-carousel .swiper-slide {
    min-width: 0;
}
.page-team-carousel .page-team-card {
    min-height: 310px;
    padding: 34px 24px 30px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--theme-card-radius, 24px);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.page-team-carousel .page-team-card:hover {
    transform: translateY(-7px);
    border-color: rgba(37, 99, 235, .3);
    box-shadow: 0 24px 58px rgba(15, 23, 42, .14);
}
.page-team-carousel .team-photo-modern {
    width: 148px;
    height: 148px;
    margin-bottom: 24px !important;
    border-width: 6px;
    box-shadow: 0 17px 38px rgba(15, 23, 42, .18);
}
.page-team-carousel .page-team-card h3 {
    margin-bottom: 7px !important;
    color: var(--ix-dark, #0f172a);
    font-size: 1.08rem !important;
    line-height: 1.35;
}
.page-team-carousel .page-team-card p {
    font-size: .92rem !important;
    line-height: 1.55;
}
.page-team-carousel .team-nav {
    top: 48%;
}
.page-team-carousel .team-nav.swiper-button-lock {
    display: none;
}
.page-team-module .btn-modern {
    min-width: 184px;
}

@media (min-width: 1200px) {
    .page-team-carousel[data-team-count="1"] { max-width: 350px; }
    .page-team-carousel[data-team-count="2"] { max-width: 700px; }
    .page-team-carousel[data-team-count="3"] { max-width: 980px; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .page-team-carousel[data-team-count="1"] { max-width: 350px; }
    .page-team-carousel[data-team-count="2"] { max-width: 680px; }
}
@media (max-width: 767.98px) {
    .page-team-carousel {
        padding-inline: 42px;
    }
    .page-team-carousel .page-team-card {
        min-height: 276px;
        padding: 28px 18px 24px;
    }
    .page-team-carousel .team-photo-modern {
        width: 126px;
        height: 126px;
    }
}


/* 2026-08-01: az içerikte kesin merkezleme, fazla içerikte yatay kaydırma */
.team-auto-carousel,
.reference-auto-carousel {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 58px;
}
.team-auto-carousel .swiper,
.reference-auto-carousel .swiper {
    width: 100%;
    overflow: hidden;
    padding: 14px 6px 34px;
}
.team-auto-carousel .swiper-wrapper,
.reference-auto-carousel .swiper-wrapper {
    align-items: stretch;
}
.team-auto-carousel .swiper-slide {
    width: calc((100% - (var(--team-desktop) - 1) * 26px) / var(--team-desktop));
    height: auto;
    display: flex;
}
.reference-auto-carousel .swiper-slide {
    width: calc((100% - (var(--ref-desktop) - 1) * 26px) / var(--ref-desktop));
    height: auto;
    display: flex;
}
.team-auto-carousel .swiper-wrapper:has(.swiper-slide:only-child),
.reference-auto-carousel .swiper-wrapper:has(.swiper-slide:only-child) {
    justify-content: center;
}
.team-auto-carousel .team-card-modern,
.reference-auto-carousel .reference-card-modern {
    width: 100%;
}
.reference-card-modern {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    border: 1px solid rgba(148,163,184,.22);
    border-radius: var(--theme-card-radius,20px);
    background: #fff;
    box-shadow: 0 14px 36px rgba(15,23,42,.07);
    text-decoration: none;
    color: var(--ix-dark,#0f172a);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.reference-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(37,99,235,.3);
    box-shadow: 0 22px 48px rgba(15,23,42,.12);
}
.reference-card-modern .reference-logo {
    max-width: 180px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.reference-prev { left: 0; }
.reference-next { right: 0; }

@media (max-width:1199.98px) {
    .team-auto-carousel .swiper-slide {
        width: calc((100% - (var(--team-tablet) - 1) * 22px) / var(--team-tablet));
    }
    .reference-auto-carousel .swiper-slide {
        width: calc((100% - (var(--ref-tablet) - 1) * 22px) / var(--ref-tablet));
    }
}
@media (max-width:767.98px) {
    .team-auto-carousel,
    .reference-auto-carousel {
        padding-inline: 42px;
    }
    .team-auto-carousel .swiper-slide {
        width: calc((100% - (var(--team-mobile) - 1) * 18px) / var(--team-mobile));
    }
    .reference-auto-carousel .swiper-slide {
        width: calc((100% - (var(--ref-mobile) - 1) * 18px) / var(--ref-mobile));
    }
}

/* Swiper, yetersiz kart sayısında wrapper genişliğini içerik kadar tutup ortalar */
.team-auto-carousel .swiper-wrapper,
.reference-auto-carousel .swiper-wrapper {
    box-sizing: border-box;
}
.team-auto-carousel .swiper-wrapper[style*="transition-duration"],
.reference-auto-carousel .swiper-wrapper[style*="transition-duration"] {
    min-width: 100%;
}

/* Final slider correction: Swiper controls widths; short rows are centered. */
.team-auto-carousel .swiper-slide,
.reference-auto-carousel .swiper-slide {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
}
.team-auto-carousel .swiper-wrapper,
.reference-auto-carousel .swiper-wrapper {
    justify-content: flex-start;
}
.team-auto-carousel .swiper-button-lock,
.reference-auto-carousel .swiper-button-lock {
    display: none !important;
}
.team-home-section .team-card-modern,
.page-team-module .page-team-card {
    width: 100%;
    text-align: center;
}
.team-home-section .team-card-modern {
    min-height: 270px;
    padding: 30px 22px;
}
.team-home-section .team-photo-modern {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 14px 34px rgba(15,23,42,.16);
}
.references-home-section .reference-card-modern,
.page-module-references .reference-card-modern {
    width: 100%;
}


/* 2026-08-01 kayıt bazlı carousel: az kartta kesin merkezleme */
.team-auto-carousel .swiper-wrapper.is-centered-row,
.reference-auto-carousel .swiper-wrapper.is-centered-row {
    justify-content: center !important;
    transform: translate3d(0,0,0) !important;
}
.team-auto-carousel.is-insufficient .swiper,
.reference-auto-carousel.is-insufficient .swiper {
    cursor: default;
}
.team-auto-carousel [hidden],
.reference-auto-carousel [hidden] {
    display: none !important;
}
.page-team-carousel.is-insufficient,
.reference-auto-carousel.is-insufficient {
    margin-inline: auto;
}
