/* "Our Team" page (app/parcalar/ekip.php): navy top with the team photo, then a card per person
   (photo left, details right) in 2 columns, 1 column on phones */

/* ---- Top */
.as-ek-ust { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 76px) 0 clamp(44px, 6vw, 92px); background: radial-gradient(70% 90% at 85% 10%, #0d2c42 0%, var(--as-lacivert) 60%); color: #fff; }
.as-ek-ust::after { content: ''; position: absolute; left: 0; bottom: 0; width: min(220px, 30vw); height: 4px; background: var(--as-kirmizi); }
.as-ek-ust > .as-ic { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.as-ek-ust h1 { margin: 22px 0 0 !important; color: #fff !important; font-size: clamp(38px, 4.8vw, 62px) !important; font-weight: 800; letter-spacing: -.02em; }
.as-ek-giris { max-width: 560px; margin: 20px 0 0; font-size: clamp(16.5px, 1.3vw, 18px); line-height: 1.7; color: rgba(255, 255, 255, .78); }
.as-ek-giris strong { display: block; margin-bottom: 6px; color: #fff; font-weight: 700; }
.as-ek-dugmeler { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 30px; }
.as-ek-tel { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; font-size: 19px; font-weight: 700; text-decoration: none; }
.as-ek-tel svg { width: 44px; height: 44px; padding: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); fill: #fff; transition: background-color .2s, border-color .2s; }
.as-ek-tel:hover svg { background: var(--as-kirmizi); border-color: var(--as-kirmizi); }
.as-ek-grup { margin: 0; }
.as-ek-grup img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 543; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* ---- People: light grey with a faint dot pattern */
.as-ek-liste { padding: clamp(56px, 7vw, 100px) 0; background:
  radial-gradient(circle at 1px 1px, rgba(5, 28, 44, .07) 1px, transparent 0) 0 0 / 22px 22px,
  linear-gradient(180deg, #f2f4f7 0%, #f8f9fb 100%); }
.as-ek-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }

/* card: photo left, details right */
.as-ek-kart { position: relative; display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 0; height: 100%; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(5, 28, 44, .05), 0 10px 30px rgba(5, 28, 44, .06); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.as-ek-kart.linkli:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(5, 28, 44, .13); }
.as-ek-kart:focus-within { outline: 3px solid var(--as-kirmizi); outline-offset: 3px; }
.as-ek-foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--as-gri); }
.as-ek-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.as-ek-kart.fotosuz .as-ek-foto img { object-position: center; }
.as-ek-kart.linkli:hover .as-ek-foto img { transform: scale(1.04); }
.as-ek-bilgi { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 12px 14px 12px 28px; }
.as-ek-bolum { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; line-height: 1.4; color: var(--as-kirmizi); }
.as-ek-bolum::before { content: ''; flex: none; width: 18px; height: 2px; border-radius: 2px; background: var(--as-kirmizi); }
.as-ek-bilgi h3 { margin: 0 !important; color: var(--as-lacivert) !important; font-size: clamp(21px, 1.8vw, 25px) !important; font-weight: 800 !important; line-height: 1.2 !important; }
.as-ek-bilgi h3 a { color: var(--as-lacivert) !important; text-decoration: none; }
.as-ek-bilgi h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
.as-ek-bilgi h3 a:focus-visible { outline: none; }
.as-ek-kart.linkli:hover h3 a { color: var(--as-kirmizi) !important; }
.as-ek-is { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: #4a5763; }
.as-ek-profil { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--as-lacivert); }
.as-ek-profil svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--as-kirmizi); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.as-ek-kart.linkli:hover .as-ek-profil svg { transform: translateX(4px); }

.as-ek-cagri { padding-top: clamp(48px, 6vw, 88px); }

@media (max-width: 1100px) {
  .as-ek-kart { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
  .as-ek-bilgi { padding-left: 22px; }
}
@media (max-width: 900px) {
  .as-ek-ust > .as-ic { grid-template-columns: minmax(0, 1fr); }
  .as-ek-izgara { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .as-ek-kart { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .as-ek-ust .as-h-yol:not(:has(li:nth-child(3))) { display: none; }
  .as-ek-ust .as-h-yol + h1 { margin-top: 0 !important; }
  .as-ek-dugmeler .as-dugme { width: 100%; }
  .as-ek-izgara { gap: 14px; }
  .as-ek-kart { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); padding: 10px; border-radius: 18px; }
  .as-ek-foto { border-radius: 12px; }
  .as-ek-bilgi { padding: 6px 6px 6px 16px; }
  .as-ek-bolum { margin-bottom: 8px; font-size: 10.5px; letter-spacing: .06em; gap: 8px; }
  .as-ek-bolum::before { width: 12px; }
  .as-ek-bilgi h3 { font-size: 18px !important; }
  .as-ek-is { margin-top: 4px; font-size: 14px; }
  .as-ek-profil { margin-top: 12px; font-size: 13.5px; gap: 8px; }
  .as-ek-profil svg { width: 28px; height: 28px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .as-ek-kart, .as-ek-foto img, .as-ek-profil svg { transition: none; }
  .as-ek-kart.linkli:hover { transform: none; }
  .as-ek-kart.linkli:hover .as-ek-foto img { transform: none; }
}

/* ======== Profile pages (app/parcalar/ekip-profil.php) ======== */
.as-pr-ust > .as-ic { display: block; }
.as-pr-yazi { min-width: 0; }
.as-pr-dugmeler .as-dugme { max-width: 100%; min-width: 0; }
.as-pr-ust-ic { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(24px, 3vw, 40px); }
.as-pr-foto { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 26px; background: var(--as-gri); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.as-pr-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.as-pr-foto.fotosuz img { object-position: center; }
.as-pr-bolum { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.as-pr-bolum::before { content: ''; flex: none; width: 28px; height: 2px; border-radius: 2px; background: var(--as-kirmizi); }
.as-pr-ust h1 { margin: 0 !important; color: #fff !important; font-size: clamp(36px, 4.4vw, 58px) !important; font-weight: 800; letter-spacing: -.02em; line-height: 1.08 !important; }
.as-pr-is { margin: 14px 0 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: rgba(255, 255, 255, .8); }
.as-pr-cipler { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 26px 0 0; padding: 0; }
.as-pr-cipler li { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 16px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; font-weight: 600; color: #fff; }
.as-pr-cipler svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.as-pr-dugmeler { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.as-pr-dugmeler .as-dugme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.as-ep-dugme span { overflow: hidden; text-overflow: ellipsis; }

/* profile text: an easy reading width, first paragraph a little larger */
.as-pr-metin-bolum { padding: clamp(48px, 6vw, 88px) 0; }
.as-pr-metin { max-width: 780px; }
.as-pr-metin > p:first-child { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.6; color: var(--as-lacivert); }

/* colleagues */
.as-pr-diger-ust { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.as-pr-diger h2 { margin: 0 !important; font-size: clamp(26px, 2.6vw, 36px) !important; font-weight: 800 !important; color: var(--as-lacivert) !important; }
.as-pr-tumu { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--as-lacivert) !important; text-decoration: none; }
.as-pr-tumu svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--as-kirmizi); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.as-pr-tumu:hover svg { transform: translateX(4px); }
.as-pr-diger + .as-ek-cagri { background: #f8f9fb; }

@media (max-width: 900px) {
  .as-pr-ust-ic { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 700px) {
  .as-pr-ust-ic { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .as-pr-foto { width: min(260px, 72%); }
  .as-pr-dugmeler .as-dugme { width: 100%; }
  .as-pr-ust .as-h-yol li:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .as-pr-tumu svg { transition: none; } }

/* Google reviews box under the profile text */
.as-pr-yorum { padding: 0 0 clamp(48px, 6vw, 88px); }
.as-pr-yorum .as-ic { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid #e3e7ec; }
.as-pr-yorum-ust { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--as-kirmizi); }
.as-pr-yorum-ust::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--as-kirmizi); }
.as-pr-yorum h2 { margin: 0 0 28px !important; font-size: clamp(24px, 2.4vw, 32px) !important; font-weight: 800 !important; color: var(--as-lacivert) !important; text-wrap: balance; }
.as-pr-yorum-kutu { min-height: 120px; }
.as-pr-metin-bolum { padding-bottom: clamp(40px, 5vw, 64px); }

/* Profile body: text with a plain contact box at the side (like Slater and Gordon's profiles) */
.as-pr-govde { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.as-pr-metin { max-width: 760px; }
.as-pr-metin p, .as-pr-metin li { font-size: clamp(17.5px, 1.35vw, 19px) !important; line-height: 1.75 !important; color: #2b3944; }
.as-pr-metin > p:first-child { font-size: clamp(17.5px, 1.35vw, 19px); color: #2b3944; }
.as-pr-yan { position: static; } /* the contact box stays in place, it does not follow the scroll */
.as-pr-kutu { padding: 28px 28px 30px; border: 1px solid #dfe4ea; border-radius: 18px; background: #fff; }
.as-pr-kutu h2 { margin: 0 0 18px !important; font-size: 22px !important; font-weight: 800 !important; color: var(--as-lacivert) !important; }
.as-pr-kutu ul { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.as-pr-kutu li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.45; color: #2b3944; }
.as-pr-kutu li svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--as-kirmizi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.as-pr-kutu li span { min-width: 0; overflow-wrap: anywhere; }
.as-pr-kutu a { color: var(--as-lacivert) !important; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.as-pr-kutu a:hover { color: var(--as-kirmizi) !important; }
.as-pr-kutu-bilgi { margin-top: 20px !important; padding-top: 20px !important; border-top: 1px solid #e8ecf0; }
@media (max-width: 960px) {
  .as-pr-govde { grid-template-columns: minmax(0, 1fr); }
  .as-pr-yan { position: static; }
}
