/* =========================================================
   EXPERT PROFILE V5 — PROFESSIONAL TIMELINE / PROFILE UX
   Keeps existing SEO content and brand system intact.
   ========================================================= */
body.expert-page { --expert-ink:#17182e; --expert-brand:#9e1f63; --expert-indigo:#2c3990; --expert-soft:#fbf7fa; }

body.expert-page .profile-hero { padding-bottom: 22px; }
body.expert-page .profile-hero-inner { gap: 24px; align-items: stretch; }
body.expert-page .profile-photo-card,
body.expert-page .profile-main { border-radius: 30px; }
body.expert-page .profile-main { display:flex; flex-direction:column; justify-content:center; }
body.expert-page .profile-main h1 { max-width: 820px; }

.expert-snapshot {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px;
  max-width:1180px; margin:0 auto; padding:0 1.4rem 12px;
}
.expert-snapshot-item {
  min-height:92px; padding:18px 18px 16px; border:1px solid #e9e3eb; border-radius:20px;
  background:rgba(255,255,255,.88); box-shadow:0 12px 30px rgba(29,27,55,.05);
}
.expert-snapshot-item strong { display:block; color:var(--expert-ink); font-size:17px; line-height:1.22; letter-spacing:-.02em; }
.expert-snapshot-item span { display:block; margin-top:6px; color:#697084; font-size:12.5px; line-height:1.45; }

.expert-subnav-wrap { position:sticky; top:82px; z-index:16; padding:10px 16px 0; pointer-events:none; }
.expert-subnav {
  width:max-content; max-width:min(100%,1120px); margin:0 auto; display:flex; gap:7px; padding:7px;
  overflow:auto; scrollbar-width:none; border:1px solid rgba(225,218,229,.92); border-radius:18px;
  background:rgba(255,255,255,.92); box-shadow:0 12px 34px rgba(27,26,53,.08); backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px); pointer-events:auto;
}
.expert-subnav::-webkit-scrollbar{display:none}
.expert-subnav a { flex:0 0 auto; padding:10px 14px; border-radius:12px; color:#555c70; text-decoration:none; font-size:12.5px; font-weight:800; transition:.2s ease; }
.expert-subnav a:hover,.expert-subnav a.is-active { color:#fff; background:linear-gradient(135deg,var(--expert-brand),var(--expert-indigo)); box-shadow:0 8px 20px rgba(158,31,99,.16); }

.expert-section { scroll-margin-top:155px; }
.expert-section-heading { display:grid; grid-template-columns:minmax(0,.85fr) minmax(300px,1.15fr); gap:30px; align-items:end; margin-bottom:26px; }
.expert-section-heading .expert-kicker { display:inline-flex; width:max-content; padding:7px 10px; border-radius:999px; color:#8d1956; background:#fbf0f6; border:1px solid #eed8e4; font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.expert-section-heading h2 { margin:10px 0 0; font-size:clamp(30px,4vw,46px); line-height:1.04; letter-spacing:-.045em; }
.expert-section-heading p { margin:0; color:#687084; font-size:15.5px; line-height:1.75; }

.expert-timeline-shell {
  display:grid; grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr); gap:22px; align-items:start;
}
.expert-timeline {
  position:relative; padding:4px 0 2px 42px;
}
.expert-timeline::before { content:""; position:absolute; left:13px; top:12px; bottom:14px; width:2px; background:linear-gradient(180deg,#9e1f63,#2c3990 72%,#e9e5ee); }
.expert-timeline-item { position:relative; margin:0 0 16px; padding:22px 24px; border:1px solid #e8e3eb; border-radius:22px; background:#fff; box-shadow:0 12px 34px rgba(26,25,52,.055); }
.expert-timeline-item::before { content:""; position:absolute; left:-37px; top:28px; width:14px; height:14px; border:4px solid #fff; border-radius:50%; background:linear-gradient(135deg,#9e1f63,#2c3990); box-shadow:0 0 0 1px rgba(158,31,99,.16),0 6px 18px rgba(158,31,99,.18); }
.expert-timeline-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:10px; }
.expert-timeline-year { display:inline-flex; padding:6px 9px; border-radius:9px; color:#fff; background:#20223f; font-size:11px; font-weight:900; letter-spacing:.04em; }
.expert-timeline-type { color:#9e1f63; font-size:11px; font-weight:850; text-transform:uppercase; letter-spacing:.07em; }
.expert-timeline-item h3 { margin:0 0 8px; color:#20223f; font-size:20px; line-height:1.25; }
.expert-timeline-item p { margin:0; color:#656d80; font-size:14px; line-height:1.72; }
.expert-timeline-item p + p { margin-top:8px; }

.expert-academic-aside { position:sticky; top:158px; display:grid; gap:12px; }
.expert-academic-card { padding:22px; border:1px solid #e8e1e8; border-radius:22px; background:linear-gradient(145deg,#fff,#fcf7fa); box-shadow:0 12px 34px rgba(27,26,54,.05); }
.expert-academic-card--dark { color:#fff; border:0; background:linear-gradient(145deg,#1d2042,#292d65 58%,#70204f); }
.expert-academic-card small { display:block; color:#9e1f63; font-size:10.5px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.expert-academic-card--dark small { color:#f2bdd8; }
.expert-academic-card h3 { margin:8px 0 9px; font-size:19px; line-height:1.3; }
.expert-academic-card--dark h3 { color:#fff !important; }
.expert-academic-card p { margin:0; color:#646c80; font-size:13.5px; line-height:1.65; }
.expert-academic-card--dark p { color:#e6e7f0; }
.expert-academic-card a { display:inline-flex; margin-top:14px; color:#8b1b57; font-size:12px; font-weight:850; text-decoration:none; }
.expert-academic-card--dark a { color:#fff; }

.expert-training-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.expert-training-group { overflow:hidden; border:1px solid #e8e1e9; border-radius:20px; background:#fff; box-shadow:0 10px 30px rgba(26,25,51,.045); }
.expert-training-group summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer; padding:18px 20px; color:#22243e; font-size:15px; font-weight:850; }
.expert-training-group summary::-webkit-details-marker{display:none}
.expert-training-group summary::after { content:"+"; width:30px; height:30px; display:grid; place-items:center; flex:0 0 auto; border-radius:10px; color:#8e1b58; background:#fbf0f6; font-size:20px; font-weight:500; transition:transform .2s ease; }
.expert-training-group[open] summary::after { transform:rotate(45deg); }
.expert-training-list { display:grid; gap:9px; margin:0; padding:0 20px 20px; list-style:none; }
.expert-training-list li { position:relative; padding:11px 12px 11px 32px; border-radius:12px; color:#5d6578; background:#faf9fc; font-size:13.5px; line-height:1.55; }
.expert-training-list li::before { content:"✓"; position:absolute; left:12px; top:11px; color:#9e1f63; font-weight:900; }

.expert-approach-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.expert-approach-card { padding:24px; border:1px solid #e8e3eb; border-radius:22px; background:#fff; box-shadow:0 12px 34px rgba(25,24,50,.05); }
.expert-approach-card .num { width:38px; height:38px; display:grid; place-items:center; margin-bottom:16px; border-radius:12px; color:#fff; background:linear-gradient(135deg,#9e1f63,#2c3990); font-size:11px; font-weight:900; }
.expert-approach-card h3 { margin:0 0 8px; font-size:17px; }
.expert-approach-card p { margin:0; color:#677084; font-size:13.5px; line-height:1.7; }

body.expert-page .highlight-strip { gap:14px; }
body.expert-page .mini-card { transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
body.expert-page .mini-card:hover { transform:translateY(-3px); border-color:rgba(158,31,99,.25)!important; box-shadow:0 18px 40px rgba(27,26,54,.09)!important; }

.expert-profile-note { margin-top:18px; padding:14px 16px; border-left:3px solid #9e1f63; border-radius:0 12px 12px 0; color:#646c80; background:#fbf7fa; font-size:12.5px; line-height:1.6; }

@media (max-width: 960px) {
  .expert-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}
  .expert-section-heading{grid-template-columns:1fr;gap:10px;align-items:start}
  .expert-timeline-shell{grid-template-columns:1fr}
  .expert-academic-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .expert-subnav-wrap{top:72px}
}
@media (max-width: 700px) {
  .expert-snapshot{padding:0 18px 10px;gap:9px}
  .expert-snapshot-item{min-height:82px;padding:15px}
  .expert-snapshot-item strong{font-size:15px}
  .expert-subnav-wrap{padding:8px 12px 0;top:68px}
  .expert-subnav{max-width:100%;margin:0;border-radius:15px}
  .expert-subnav a{padding:9px 11px;font-size:11.5px}
  .expert-timeline{padding-left:34px}
  .expert-timeline::before{left:10px}
  .expert-timeline-item::before{left:-31px}
  .expert-timeline-item{padding:19px 18px}
  .expert-academic-aside{grid-template-columns:1fr}
  .expert-training-grid{grid-template-columns:1fr}
  .expert-approach-grid{grid-template-columns:1fr}
  .expert-section-heading h2{font-size:32px}
}
@media (max-width: 430px) {
  .expert-snapshot{grid-template-columns:1fr 1fr}
  .expert-snapshot-item strong{font-size:14px}
  .expert-snapshot-item span{font-size:11.5px}
}


/* V12.1 social profile card */
.expert-social-card p{margin-bottom:16px}
.expert-social-links{display:grid;gap:9px;margin-top:15px}
.expert-academic-card .expert-social-link{display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:11px;margin:0;padding:10px 11px;border:1px solid #eee6ec;border-radius:13px;background:#fff;color:#262842;text-decoration:none;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.expert-academic-card .expert-social-link:hover{transform:translateY(-2px);border-color:#dfb7cd;box-shadow:0 9px 22px rgba(64,30,64,.08)}
.expert-social-link>span:nth-child(2){min-width:0}
.expert-social-link b{display:block;color:#22243f;font-size:12.5px;line-height:1.25}
.expert-social-link small{display:block;margin-top:2px;color:#757b8f;font-size:10.5px;font-weight:650;letter-spacing:0;text-transform:none;overflow-wrap:anywhere}
.expert-social-link em{color:#9e1f63;font-style:normal;font-size:13px;font-weight:900;text-align:center}
.expert-social-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#fff;font-size:14px;font-weight:900;line-height:1;background:linear-gradient(135deg,#2c3990,#9e1f63)}
.expert-social-icon--linkedin{background:#0a66c2}
.expert-social-icon--instagram{background:linear-gradient(135deg,#5b51d8,#c13584 55%,#f77737)}
.expert-social-icon--brand{background:linear-gradient(135deg,#9e1f63,#2c3990)}
@media(max-width:760px){.expert-academic-card .expert-social-link{grid-template-columns:36px minmax(0,1fr) 18px;padding:10px}.expert-social-icon{width:36px;height:36px}}

/* V12.5 - academic thesis card */
.expert-academic-card--thesis{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#fbf4f8);border-color:#ead4e0}
.expert-academic-card--thesis::after{content:"";position:absolute;right:-42px;bottom:-52px;width:128px;height:128px;border-radius:50%;border:1px solid rgba(158,31,99,.10);box-shadow:0 0 0 24px rgba(44,57,144,.025);pointer-events:none}
.expert-thesis-school{display:block;margin-top:13px;color:#4e5570;font-size:12px;font-weight:800;line-height:1.45}


/* V12.6 - profile closing module and five-card work areas */
body.expert-page #calisma-alanlari .highlight-strip{
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:stretch;
}
body.expert-page #calisma-alanlari .mini-card{
  min-height:172px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
body.expert-page #calisma-alanlari .mini-card a{
  color:#20223f;
  text-decoration:none;
}
body.expert-page #calisma-alanlari .mini-card a:hover strong{color:#9e1f63}

.expert-closing{
  max-width:1180px;
  margin:2.6rem auto 0;
  padding:26px;
  border:1px solid #e8e1e9;
  border-radius:28px;
  background:linear-gradient(145deg,#ffffff 0%,#fdf9fb 55%,#f7f5fd 100%);
  box-shadow:0 18px 52px rgba(26,25,52,.07);
}
.expert-closing-main{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  gap:22px;
  align-items:stretch;
}
.expert-closing-copy{
  padding:8px 8px 8px 6px;
}
.expert-closing-copy .expert-kicker{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  color:#8d1956;
  background:#fbf0f6;
  border:1px solid #eed8e4;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.expert-closing-copy h2{
  max-width:640px;
  margin:12px 0 12px;
  color:#1f213e;
  font-size:clamp(26px,3.2vw,38px);
  line-height:1.08;
  letter-spacing:-.04em;
}
.expert-closing-copy p{
  max-width:680px;
  margin:0;
  color:#626a7d;
  font-size:15px;
  line-height:1.75;
}
.expert-closing-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px;
}
.expert-closing-contact{
  display:grid;
  grid-template-columns:1fr;
  gap:11px;
}
.expert-contact-item{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:108px;
  padding:18px 20px;
  border:1px solid #e8e2eb;
  border-radius:18px;
  background:rgba(255,255,255,.88);
  box-shadow:0 10px 28px rgba(31,29,58,.045);
}
.expert-contact-item>span{
  margin-bottom:6px;
  color:#9e1f63;
  font-size:10.5px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.expert-contact-item a,.expert-contact-item strong{
  color:#242641;
  font-size:17px;
  font-weight:850;
  text-decoration:none;
}
.expert-contact-item small{
  margin-top:4px;
  color:#757b8d;
  font-size:12.5px;
  line-height:1.45;
}
.expert-closing-lower{
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
  gap:14px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #ebe5ed;
}
.expert-peer-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:16px;
  padding:20px;
  border-radius:20px;
  color:#fff;
  background:linear-gradient(145deg,#202343,#2b2f68 58%,#6d204e);
  box-shadow:0 14px 32px rgba(35,32,73,.11);
}
.expert-peer-kicker{
  display:block;
  color:#efbed5;
  font-size:10px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.expert-peer-card h3{
  margin:7px 0 7px;
  color:#fff!important;
  font-size:19px;
  line-height:1.25;
}
.expert-peer-card p{
  margin:0;
  color:#e5e6ef;
  font-size:13px;
  line-height:1.6;
}
.expert-peer-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 13px;
  border-radius:13px;
  color:#20223f;
  background:#fff;
  text-decoration:none;
  font-size:12.5px;
  font-weight:850;
}
.expert-closing-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}
.expert-closing-fact{
  min-height:104px;
  padding:17px 18px;
  border:1px solid #e8e2eb;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(31,29,58,.04);
}
.expert-closing-fact strong{
  display:block;
  color:#20223f;
  font-size:16px;
  line-height:1.25;
}
.expert-closing-fact span{
  display:block;
  margin-top:6px;
  color:#737a8d;
  font-size:12px;
  line-height:1.45;
}
@media(max-width:1100px){
  body.expert-page #calisma-alanlari .highlight-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:860px){
  .expert-closing-main,.expert-closing-lower{grid-template-columns:1fr}
  .expert-closing-contact{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body.expert-page #calisma-alanlari .highlight-strip{grid-template-columns:1fr 1fr}
  body.expert-page #calisma-alanlari .mini-card{min-height:150px}
  .expert-closing{padding:18px;border-radius:22px}
  .expert-closing-contact,.expert-closing-facts{grid-template-columns:1fr 1fr}
  .expert-closing-actions .btn{flex:1 1 100%;text-align:center;justify-content:center}
}
@media(max-width:480px){
  body.expert-page #calisma-alanlari .highlight-strip{grid-template-columns:1fr}
  body.expert-page #calisma-alanlari .mini-card{min-height:0}
  .expert-closing-contact,.expert-closing-facts{grid-template-columns:1fr}
}
