/* Site-wide layout and resilient animation fallbacks */
html{scroll-behavior:smooth;scroll-padding-top:1rem}body{overflow-x:hidden}.site-shell{overflow-x:hidden}.site-content-wrap{min-height:100vh}.skip-link{position:fixed;left:1rem;top:-5rem;z-index:2000;background:#111;color:#fff;padding:.75rem 1rem;text-decoration:none;transition:top .2s}.skip-link:focus{top:1rem;color:#fff}.aos-disabled [data-aos]{opacity:1!important;transform:none!important}.aos-disabled .txt-fx.slide-up .letter{transform:none!important}

/* Fixed sidebar */
#header-nav{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;border-right:1px solid rgba(0,0,0,.06)}.site-logo img{display:block;max-width:100%;max-height:92px;width:auto;height:auto}.sidebar-bottom{flex:0 0 auto}.email-links a{overflow-wrap:anywhere;line-height:1.45}.social-list a{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(0,0,0,.1);transition:background .2s,color .2s,border-color .2s}.social-list a:hover{background:#111;color:#fff!important;border-color:#111}.sidebar-copyright p{font-size:.78rem;line-height:1.55;margin-bottom:.45rem;color:#666}.menu-btn{appearance:none;border:0;background:#fff;border-radius:50%;box-shadow:0 10px 30px rgba(0,0,0,.14);padding:0}.menu-btn>span{top:50%;transform:translateY(-50%)}.nav-active .menu-btn>span{transform:translateY(-50%) rotate(45deg)}.menu-backdrop{position:fixed;inset:0;background:rgba(17,17,17,.45);z-index:7;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}.nav-active .menu-backdrop{opacity:1;visibility:visible}.nav-active{overflow:hidden}

/* Shared page heading hierarchy */
.content-page{padding-top:clamp(4.5rem,8vw,8rem);padding-bottom:clamp(4.5rem,8vw,8rem)}.page-hero{position:relative;margin-bottom:clamp(3rem,6vw,5.5rem)}.page-hero:after{content:"";display:block;width:72px;height:4px;margin-top:2rem;background:var(--bs-primary)}.page-eyebrow{display:block;margin-bottom:.85rem;color:#777;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.page-title{max-width:1100px;margin:0;font-size:clamp(2.65rem,6.2vw,6.2rem);font-weight:900;line-height:.98;letter-spacing:-.055em;text-wrap:balance;overflow-wrap:anywhere}.page-lead{max-width:820px;margin:1.5rem 0 0;color:#5f6267;font-size:clamp(1.05rem,1.45vw,1.3rem);line-height:1.75}.detail-header{margin-bottom:clamp(2.5rem,5vw,4.5rem)}.detail-title{font-size:clamp(2.4rem,5.2vw,5.3rem);line-height:1.04}.detail-date{display:block;margin:.25rem 0 1rem}.detail-meta{margin:1.25rem 0 0}.detail-page .hero-image{display:block;width:100%;max-height:720px;margin:0 0 clamp(2.75rem,5vw,5rem);border-radius:2px;object-fit:cover;background:#f2f2f0}.detail-actions{margin-top:2.5rem}.detail-back{margin-top:clamp(3.5rem,6vw,6rem);padding-top:1.5rem;border-top:1px solid rgba(0,0,0,.12)}.detail-back a{display:inline-flex;align-items:center;gap:.65rem;font-weight:700;text-decoration:none}.detail-back a:hover{gap:.9rem}

/* Content cards shared by blog, projects and academic works */
.content-grid{position:relative;z-index:1}.content-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(0,0,0,.085);background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.025);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.content-card:hover{transform:translateY(-5px);border-color:rgba(0,0,0,.16);box-shadow:0 20px 48px rgba(0,0,0,.08)}.card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#f1f1ef;text-decoration:none}.card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.content-card:hover .card-media img{transform:scale(1.03)}.media-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;flex-direction:column;padding:2rem;text-align:center;background:linear-gradient(135deg,#f5f5f2,#dfdfd9);color:#111}.media-placeholder strong{font-size:clamp(1.35rem,3vw,2rem);letter-spacing:.18em}.media-placeholder small{max-width:85%;margin-top:.75rem;color:#666;line-height:1.45}.content-card .card-body{display:flex;flex:1;flex-direction:column;padding:1.55rem}.meta-line{font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#7a7d82}.card-title{margin:.75rem 0 .9rem;line-height:1.3;overflow-wrap:anywhere}.card-title a{color:inherit;text-decoration:none}.card-title a:hover{color:var(--bs-primary)}.card-summary{display:-webkit-box;overflow:hidden;margin-bottom:1.35rem;color:#666;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:4}.card-read-link{display:inline-flex;align-items:center;gap:.45rem;margin-top:auto;color:#111;font-size:.78rem;font-weight:800;letter-spacing:.075em;text-decoration:none;text-transform:uppercase}.card-read-link:hover{gap:.7rem;color:var(--bs-primary)}

/* Blog */
.blog-card{height:100%}.blog-grid .blog-card .card-media{aspect-ratio:16/9}

/* Portfolio */
.portfolio-grid img{width:100%;height:100%;object-fit:cover}.project-card .card-media{aspect-ratio:4/3}.portfolio-Swiper .image-holder{aspect-ratio:1/1;overflow:hidden;background:#f1f1ef}.portfolio-Swiper .image-holder>a{display:block;width:100%;height:100%}.portfolio-Swiper .image-holder img{width:100%;height:100%;object-fit:cover}.portfolio-Swiper .caption{padding-top:1rem}.portfolio-Swiper .caption .title{font-weight:700;line-height:1.35}.portfolio-Swiper .image-format{flex:0 0 auto;padding:.3rem .55rem;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}

/* Academic works */
.academic-cover{aspect-ratio:4/3}.academic-card-body{display:flex;flex:1;flex-direction:column}.academic-meta{display:flex;flex-wrap:wrap;gap:.45rem 1rem;color:#777;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.075em}.academic-meta span+span,.academic-meta time+span,.academic-meta span+time,.academic-meta time+time{position:relative}.academic-meta span+span:before,.academic-meta time+span:before,.academic-meta span+time:before,.academic-meta time+time:before{content:"•";position:absolute;left:-.65rem}.academic-journal{margin-top:.8rem;color:#34373b;font-size:.9rem;font-weight:700;line-height:1.45}.academic-summary{max-width:880px}.academic-detail .btn-outline-dark{border-radius:0}

/* Long-form content */
.content-body{font-size:clamp(1rem,1.15vw,1.12rem);line-height:1.9;color:#34363a}.rich-content>*:first-child{margin-top:0}.rich-content>*:last-child{margin-bottom:0}.rich-content p{margin:0 0 1.35rem}.rich-content h2,.rich-content h3,.rich-content h4{margin:2.5rem 0 1rem;line-height:1.25;letter-spacing:-.02em}.rich-content h2{font-size:clamp(1.7rem,3vw,2.35rem)}.rich-content h3{font-size:clamp(1.4rem,2.4vw,1.85rem)}.rich-content ul,.rich-content ol{margin:0 0 1.5rem;padding-left:1.35rem}.rich-content li{margin-bottom:.5rem}.rich-content a{font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.rich-content img{display:block;max-width:100%;height:auto;margin:2rem auto}.rich-content figure{max-width:100%;margin:2.5rem 0}.rich-content figcaption{margin-top:.65rem;color:#777;font-size:.85rem;text-align:center}.rich-content blockquote{margin:2.25rem 0;padding:1.3rem 1.5rem;border-left:4px solid var(--bs-primary);background:#f6f6f3;font-size:1.08em}.rich-content table{display:block;width:100%;max-width:100%;margin:2rem 0;overflow-x:auto;border-collapse:collapse}.rich-content th,.rich-content td{padding:.8rem 1rem;border:1px solid #ddd;white-space:normal}.rich-content th{background:#f5f5f3}.rich-content hr{margin:2.75rem 0;border-color:rgba(0,0,0,.12)}

/* Contact and feedback */
.contact-alert{border-radius:0}.empty-state{position:relative;z-index:1;padding:clamp(3rem,7vw,5rem) 1.5rem;border:1px dashed #b8b8b5;background:rgba(255,255,255,.72);text-align:center}.empty-state-icon{display:block;margin-bottom:1rem;color:#888;font-size:1.6rem;font-weight:900;letter-spacing:.1em}.empty-state h1,.empty-state h2{margin-bottom:.75rem}.empty-state p{max-width:620px;margin:0 auto 1.5rem;color:#666}

/* Background section numbers should never cover content */
.bg-text{isolation:isolate}.bg-text:after{pointer-events:none;opacity:.7}.bg-text>*{position:relative;z-index:1}

/* Keyboard focus */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(255,83,74,.45);outline-offset:3px}

@media(max-width:1199px){.page-title{letter-spacing:-.045em}.content-card .card-body{padding:1.4rem}}
@media(max-width:991px){#header-nav{width:min(88vw,390px);max-width:390px;padding-top:1rem!important;box-shadow:20px 0 50px rgba(0,0,0,.15)}.site-logo img{max-height:72px}.content-page{padding-top:5.5rem}.site-content-wrap{margin-left:0!important;margin-right:0!important}.menu-btn{top:10px;right:10px;margin:14px;width:44px;height:44px;padding:9px}.menu-btn>span{left:9px;width:26px}.page-hero{padding-right:2.5rem}.bg-text:after{font-size:24rem;right:-2rem;bottom:3rem}}
@media(max-width:767px){.page-title{font-size:clamp(2.5rem,13vw,4.2rem);letter-spacing:-.04em}.detail-title{font-size:clamp(2.35rem,11vw,3.85rem)}.page-lead{font-size:1.05rem}.content-page{padding-top:5rem;padding-bottom:4.5rem}.page-hero{margin-bottom:3rem}.page-hero:after{width:54px;margin-top:1.5rem}.content-card .card-body{padding:1.25rem}.detail-page .hero-image{margin-bottom:2.5rem}.detail-actions .btn{width:100%}.bg-text:after{font-size:17rem;opacity:.55}.rich-content blockquote{padding:1.1rem 1.2rem}.academic-meta{gap:.4rem .85rem}}
@media(max-width:575px){.container,.container-fluid{--bs-gutter-x:1.5rem}.page-hero{padding-right:1rem}.menu-btn{right:6px}.card-summary{-webkit-line-clamp:5}.academic-meta span+span:before,.academic-meta time+span:before,.academic-meta span+time:before,.academic-meta time+time:before{left:-.55rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.content-card:hover{transform:none}.content-card:hover .card-media img{transform:none}}

/* Academic works: responsive two-column publication grid and article layout */
.academic-page{position:relative;isolation:isolate;padding-top:clamp(4.5rem,7vw,7rem);background:linear-gradient(180deg,rgba(247,247,244,.72) 0,rgba(255,255,255,0) 28rem);overflow:visible}
.academic-layout{position:relative;width:100%;max-width:1180px;margin:0 auto;min-width:0}
.academic-page-hero{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;max-width:980px;margin:0 0 clamp(2.75rem,5vw,4.75rem)!important;padding:0!important;opacity:1!important;visibility:visible!important;transform:none!important;clip:auto!important}
.academic-page-hero:after{margin-top:1.75rem}
.academic-page-hero .page-eyebrow,.academic-page-title,.academic-page-lead{position:relative!important;left:auto!important;right:auto!important;opacity:1!important;visibility:visible!important;transform:none!important}
.academic-page-title{width:100%;max-width:1100px;margin:0;font-size:clamp(2.65rem,6.2vw,6.2rem);font-weight:900;line-height:.98;letter-spacing:-.055em;text-wrap:balance;overflow-wrap:anywhere}
.academic-page-lead{max-width:760px;margin:1.35rem 0 0}

/* Two equal columns on desktop/tablet; one column on phones */
.academic-publications{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(1.25rem,2.3vw,2rem);min-width:0}
.academic-publication{display:flex;min-width:0;height:100%;overflow:hidden;flex-direction:column;border:1px solid rgba(17,17,17,.1);background:#fff;box-shadow:0 10px 34px rgba(17,17,17,.035);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.academic-publication:hover{transform:translateY(-3px);border-color:rgba(17,17,17,.18);box-shadow:0 22px 50px rgba(17,17,17,.075)}
.academic-publication-media{position:relative;display:block;width:100%;aspect-ratio:16/9;min-height:0;max-height:320px;overflow:hidden;background:#ecece7;text-decoration:none}
.academic-publication-media img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;transition:transform .4s ease}
.academic-publication:hover .academic-publication-media img{transform:scale(1.025)}
.academic-cover-placeholder{box-sizing:border-box;display:flex;width:100%;height:100%;min-height:0;align-items:flex-start;justify-content:flex-end;flex-direction:column;padding:clamp(1.35rem,2.5vw,2rem);background:linear-gradient(145deg,#191919 0,#343434 62%,#5a5a56 100%);color:#fff}
.academic-cover-placeholder:before{content:"";display:block;width:52px;height:4px;margin-bottom:auto;background:var(--bs-primary)}
.academic-cover-kicker{margin-bottom:.7rem;color:rgba(255,255,255,.66);font-size:.67rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.academic-cover-placeholder strong{font-size:clamp(1.35rem,2vw,1.9rem);font-weight:850;line-height:1.08;letter-spacing:-.035em}
.academic-cover-placeholder small{max-width:100%;margin-top:.65rem;color:rgba(255,255,255,.72);font-size:.8rem;line-height:1.45}
.academic-publication-content{display:flex;min-width:0;flex:1;flex-direction:column;padding:clamp(1.3rem,2.3vw,2rem)}
.academic-publication-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem .7rem;margin-bottom:.75rem;color:#777;font-size:.68rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.academic-publication-meta>*{display:inline-flex;align-items:center;min-width:0}
.academic-publication-meta>*+*:before{content:"";flex:0 0 auto;width:4px;height:4px;margin-right:.7rem;border-radius:50%;background:var(--bs-primary)}
.academic-publication-journal{margin:0 0 .55rem;color:#505257;font-size:.84rem;font-weight:700;line-height:1.5;overflow-wrap:break-word}
.academic-publication-title{max-width:100%;margin:.75rem 0 .9rem;font-weight:var(--heading-font-weight);line-height:1.3;letter-spacing:normal;text-wrap:pretty;overflow-wrap:anywhere}
.academic-publication-title a{color:#111;text-decoration:none}
.academic-publication-title a:hover{color:var(--bs-primary)}
.academic-publication-summary{display:-webkit-box;max-width:100%;overflow:hidden;margin:0 0 1.35rem;color:#666;font-size:inherit;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:4}
.academic-publication-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-top:auto;padding-top:.2rem}
.academic-read-more{display:inline-flex;align-items:center;gap:.45rem;color:#111;font-size:.78rem;font-weight:800;letter-spacing:.075em;text-decoration:none;text-transform:uppercase}
.academic-read-more:hover{gap:.75rem;color:var(--bs-primary)}
.academic-doi-label{max-width:52%;color:#85878b;font-size:.68rem;line-height:1.45;text-align:right;overflow-wrap:anywhere}

.academic-detail-page{position:relative;padding-top:clamp(3.5rem,6vw,6.5rem);background:linear-gradient(180deg,rgba(247,247,244,.8) 0,rgba(255,255,255,0) 34rem);overflow:visible}
.academic-detail-shell{position:relative;width:100%;max-width:1040px;margin:0 auto;min-width:0}
.academic-breadcrumb{margin-bottom:clamp(2rem,4vw,3.5rem)}
.academic-breadcrumb a,.academic-detail-back a{display:inline-flex;align-items:center;gap:.65rem;color:#55585d;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-decoration:none;text-transform:uppercase}
.academic-breadcrumb a:hover,.academic-detail-back a:hover{gap:.9rem;color:#111}
.academic-article-header{position:relative!important;left:auto!important;right:auto!important;max-width:980px;margin:0 auto clamp(2.75rem,5vw,4.75rem);opacity:1!important;visibility:visible!important;transform:none!important}
.academic-article-title{position:relative!important;left:auto!important;right:auto!important;width:100%;max-width:1100px;margin:0;font-size:clamp(2.4rem,5.2vw,5.3rem);font-weight:900;line-height:1.04;letter-spacing:-.055em;text-wrap:pretty;overflow-wrap:anywhere;opacity:1!important;visibility:visible!important;transform:none!important}
.academic-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:clamp(1.75rem,3.5vw,2.75rem);overflow:hidden;border:1px solid rgba(17,17,17,.1);background:rgba(17,17,17,.1)}
.academic-fact{min-width:0;padding:1rem 1.15rem;background:#fff}
.academic-fact-wide{grid-column:1/-1}
.academic-fact span{display:block;margin-bottom:.35rem;color:#85878b;font-size:.65rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.academic-fact strong{display:block;color:#24262a;font-size:.88rem;font-weight:750;line-height:1.45;overflow-wrap:anywhere}
.academic-abstract{margin-top:1.5rem;padding:clamp(1.35rem,3vw,2rem);border-left:4px solid var(--bs-primary);background:#fff;box-shadow:0 10px 30px rgba(17,17,17,.035)}
.academic-abstract-label{display:block;margin-bottom:.55rem;color:#777;font-size:.67rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.academic-abstract p{max-width:900px;margin:0;color:#474a50;font-size:clamp(1rem,1.25vw,1.13rem);line-height:1.8}
.academic-primary-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}
.academic-primary-actions .btn{min-width:190px;padding:.9rem 1.4rem;border-radius:0;font-size:.82rem;font-weight:750}
.academic-hero-figure{width:100%;max-width:900px;margin:0 auto clamp(2.5rem,5vw,4.5rem);overflow:hidden;border:1px solid rgba(17,17,17,.08);background:#f0f0ed}
.academic-hero-figure img{display:block;width:100%;aspect-ratio:16/9;height:auto;max-height:510px;object-fit:cover;object-position:center;background:#f3f3f0}
.academic-paper{max-width:900px;margin:0 auto;padding:clamp(1.5rem,4vw,3.25rem);border:1px solid rgba(17,17,17,.09);background:#fff;box-shadow:0 18px 60px rgba(17,17,17,.045)}
.academic-paper-heading{margin-bottom:clamp(1.5rem,3vw,2.5rem);padding-bottom:1rem;border-bottom:1px solid rgba(17,17,17,.1)}
.academic-paper-heading span{color:#6f7277;font-size:.7rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.academic-paper-content{max-width:760px;margin:0 auto;color:#34363a;font-size:clamp(1rem,1.15vw,1.12rem);line-height:1.9}
.academic-paper-content h1,.academic-paper-content h2,.academic-paper-content h3,.academic-paper-content h4{max-width:100%;overflow-wrap:break-word;word-break:normal;text-wrap:pretty;hyphens:none}
.academic-paper-content h1{margin:2.5rem 0 1rem;font-size:clamp(1.8rem,3.5vw,2.65rem);line-height:1.2}
.academic-paper-content h2{font-size:clamp(1.55rem,3vw,2.15rem)}
.academic-paper-content h3{font-size:clamp(1.3rem,2.5vw,1.7rem)}
.academic-paper-content p,.academic-paper-content li{text-align:left}
.academic-paper-content table{font-size:.9rem}
.academic-detail-back{max-width:900px;margin:clamp(3rem,6vw,5rem) auto 0;padding-top:1.5rem;border-top:1px solid rgba(17,17,17,.12)}

@media(max-width:991px){
  body.academic-list-page #main-content,body.academic-detail-view #main-content{min-width:0;transform:none!important}
  body.academic-list-page .site-content-wrap,body.academic-detail-view .site-content-wrap{min-width:0;transform:none!important}
  .academic-layout,.academic-detail-shell{max-width:100%}
  .academic-page-title{font-size:clamp(2.65rem,6.2vw,6.2rem)}
  .academic-publication-content{padding:1.35rem}
  .academic-publication-title{font-size:2rem}
  .academic-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .academic-fact-wide{grid-column:1/-1}
}
@media(max-width:767px){
  .academic-page,.academic-detail-page{width:100%;padding-top:4.5rem;padding-bottom:4.5rem;overflow:visible}
  .academic-page-hero{width:100%!important;max-width:100%!important;margin:0 0 2.35rem!important;padding:0!important;text-align:left!important}
  .academic-page-hero:after{width:54px;margin-top:1.45rem}
  .academic-page-hero .page-eyebrow{display:block!important;width:100%;margin:0 0 .75rem;text-align:left!important}
  .academic-page-title{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;font-size:clamp(2.5rem,13vw,4.2rem);line-height:.98;letter-spacing:-.04em;text-align:left!important;text-wrap:pretty;overflow-wrap:anywhere}
  .academic-page-lead{display:block!important;width:100%;max-width:100%;margin:1.1rem 0 0;font-size:1rem;line-height:1.65;text-align:left!important}
  .academic-publications{grid-template-columns:minmax(0,1fr);gap:1.25rem;width:100%}
  .academic-publication{width:100%;min-height:0}
  .academic-publication-media{width:100%;aspect-ratio:16/9;max-height:230px;min-height:0}
  .academic-publication-media img{width:100%;height:100%;min-height:0;object-fit:cover}
  .academic-cover-placeholder{height:100%;min-height:0;padding:1.25rem}
  .academic-cover-placeholder strong{font-size:clamp(1.3rem,6vw,1.7rem)}
  .academic-publication-content{padding:1.25rem}
  .academic-publication-title{font-size:2rem;line-height:1.3;letter-spacing:normal}
  .academic-publication-summary{margin:0 0 1.35rem;font-size:inherit;line-height:1.75;-webkit-line-clamp:4}
  .academic-publication-footer{align-items:flex-start;flex-direction:column;gap:.75rem}
  .academic-doi-label{max-width:100%;text-align:left}
  .academic-breadcrumb{margin-bottom:1.75rem}
  .academic-article-header{width:100%;max-width:100%;margin:0 0 2.35rem;text-align:left!important}
  .academic-article-header .page-eyebrow{display:block!important;text-align:left!important}
  .academic-article-title{display:block!important;width:100%!important;max-width:100%!important;font-size:clamp(2.35rem,11vw,3.85rem);line-height:1.04;letter-spacing:-.04em;text-align:left!important;overflow-wrap:anywhere}
  .academic-facts{grid-template-columns:1fr}
  .academic-fact-wide{grid-column:auto}
  .academic-primary-actions{display:grid;grid-template-columns:1fr}
  .academic-primary-actions .btn{width:100%;min-width:0}
  .academic-hero-figure{width:100%;max-width:100%;margin-bottom:2.25rem}
  .academic-hero-figure img{width:100%;aspect-ratio:16/9;height:auto;max-height:240px;object-fit:cover}
  .academic-paper{width:100%;max-width:100%;padding:1.25rem}
  .academic-paper-content{font-size:1rem;line-height:1.9}
}
@media(max-width:575px){
  .academic-publication-meta{gap:.38rem .55rem}
  .academic-publication-meta>*+*:before{margin-right:.55rem}
  .academic-publication-media{max-height:205px}
  .academic-cover-placeholder{padding:1.1rem}
  .academic-paper{margin-left:0;margin-right:0}
}

/* Academic action buttons remain inside the content width even without Bootstrap box-sizing */
.academic-primary-actions .btn{box-sizing:border-box;max-width:100%;display:inline-flex;align-items:center;justify-content:center;border:1px solid #111;text-decoration:none}
.academic-primary-actions .btn-dark{background:#111;color:#fff}
.academic-primary-actions .btn-outline-dark{background:transparent;color:#111}
.academic-cover-placeholder{box-sizing:border-box}

/* FINAL MENU + CONTACT TYPOGRAPHY PARITY */
/* İletişim bölümündeki Roboto, başlık ağırlığı ve gövde ölçüleri bütün içerik sayfalarının referansıdır. */
.page-title,
.detail-title,
.academic-page-title,
.academic-article-title{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  font-family:var(--heading-font)!important;
  font-size:calc(1.625rem + 4.5vw)!important;
  font-weight:var(--heading-font-weight)!important;
  line-height:var(--heading-line-height)!important;
  letter-spacing:normal!important;
  text-align:left!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}

.page-eyebrow,
.academic-page-hero .page-eyebrow,
.academic-article-header .page-eyebrow{
  font-family:var(--bs-body-font-family)!important;
  font-size:var(--bs-body-font-size)!important;
  font-weight:var(--bs-body-font-weight)!important;
  line-height:var(--bs-body-line-height)!important;
  letter-spacing:normal!important;
}

.page-lead,
.academic-page-lead,
.academic-publication-summary,
.academic-abstract p,
.academic-paper-content,
.content-body,
.rich-content,
.content-card .card-summary{
  font-family:var(--bs-body-font-family)!important;
  font-size:var(--bs-body-font-size)!important;
  font-weight:var(--bs-body-font-weight)!important;
  line-height:var(--bs-body-line-height)!important;
  letter-spacing:normal!important;
}

.content-card .card-title,
.academic-publication-title,
.academic-publication-title a{
  font-family:var(--heading-font)!important;
  font-weight:var(--heading-font-weight)!important;
  line-height:var(--heading-line-height)!important;
  letter-spacing:normal!important;
}

.academic-publication-title{
  margin:.75rem 0 .9rem!important;
  font-size:1.5rem!important;
}

.academic-publication-journal,
.academic-fact strong{
  font-family:var(--bs-body-font-family)!important;
  font-size:var(--bs-body-font-size)!important;
  font-weight:500!important;
  line-height:var(--bs-body-line-height)!important;
}

.academic-paper-content h1,
.academic-paper-content h2,
.academic-paper-content h3,
.academic-paper-content h4{
  font-family:var(--heading-font)!important;
  font-weight:var(--heading-font-weight)!important;
  line-height:var(--heading-line-height)!important;
  letter-spacing:normal!important;
}
.academic-paper-content h1{font-size:2.5rem!important}
.academic-paper-content h2{font-size:2rem!important}
.academic-paper-content h3{font-size:1.75rem!important}
.academic-paper-content h4{font-size:1.5rem!important}

/* Masaüstünde iki sütun, mobilde tek sütun; görseller kontrollü 16:9 oranında. */
.academic-publications{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:1.5rem!important}
.academic-publication-media{aspect-ratio:16/9!important;min-height:0!important;max-height:none!important}
.academic-publication-media img{width:100%!important;height:100%!important;object-fit:cover!important}

@media (min-width:1200px){
  .page-title,.detail-title,.academic-page-title,.academic-article-title{font-size:5rem!important}
}

@media (max-width:991px){
  #header-nav{left:0!important;right:auto!important}
  body #main-content,
  body .site-content-wrap,
  .page-hero,
  .academic-page-hero,
  .academic-article-header{
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
}

@media (max-width:767px){
  .academic-publications{grid-template-columns:minmax(0,1fr)!important;gap:1.25rem!important}
  .academic-publication-title{font-size:1.35rem!important}
  .academic-publication-media{width:100%!important;max-height:230px!important}
  .academic-page-hero,.academic-article-header{width:100%!important;max-width:100%!important;text-align:left!important}
}

@media (max-width:575px){
  .academic-publication-media{max-height:205px!important}
  .academic-paper-content h1{font-size:2rem!important}
  .academic-paper-content h2{font-size:1.75rem!important}
  .academic-paper-content h3{font-size:1.5rem!important}
  .academic-paper-content h4{font-size:1.25rem!important}
}

/* ==========================================================
   UNIFIED INNER PAGE SYSTEM V5
   Akademik Çalışmalar sayfasının düzeni tüm iç sayfalarda ortaklaştırıldı.
   Ana sayfa bu kurallardan etkilenmez.
   ========================================================== */
body.inner-page{
  --inner-shell:1180px;
  --inner-reading:900px;
  --inner-border:rgba(17,17,17,.09);
  --inner-muted:#676b70;
  --inner-surface:#fff;
}
body.inner-page #main-content,
body.inner-page .site-content-wrap{
  min-width:0;
  overflow:visible;
}
body.inner-page .content-page{
  position:relative;
  isolation:isolate;
  width:100%;
  padding-top:clamp(4.5rem,7vw,7rem);
  padding-bottom:clamp(4.5rem,7vw,7rem);
  background:linear-gradient(180deg,rgba(247,247,244,.74) 0,rgba(255,255,255,0) 30rem);
}
body.inner-page .academic-layout,
body.inner-page .unified-page-shell{
  width:100%;
  max-width:var(--inner-shell);
  margin:0 auto;
}
body.inner-page .academic-detail-shell,
body.inner-page .unified-detail-shell{
  width:100%;
  max-width:var(--inner-reading);
  margin:0 auto;
}

/* Ortak başlık ve alt başlık yapısı */
body.inner-page .page-hero,
body.inner-page .academic-page-hero,
body.inner-page .unified-page-hero,
body.inner-page .academic-article-header,
body.inner-page .unified-detail-header{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  max-width:980px!important;
  margin:0 0 clamp(2.75rem,5vw,4.75rem)!important;
  padding:0!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  clip:auto!important;
}
body.inner-page .page-hero:after,
body.inner-page .academic-page-hero:after,
body.inner-page .unified-page-hero:after{
  content:"";
  display:block;
  width:68px;
  height:4px;
  margin-top:1.75rem;
  background:var(--bs-primary);
}
body.inner-page .page-eyebrow{
  position:static!important;
  display:block!important;
  width:auto!important;
  margin:0 0 .8rem!important;
  color:#74777c!important;
  font-family:var(--bs-body-font-family)!important;
  font-size:.78rem!important;
  font-weight:700!important;
  line-height:1.5!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
body.inner-page .page-title,
body.inner-page .academic-page-title,
body.inner-page .academic-article-title,
body.inner-page .detail-title{
  position:static!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  color:var(--heading-color)!important;
  font-family:var(--heading-font)!important;
  font-size:clamp(3rem,5.6vw,5rem)!important;
  font-weight:700!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  text-align:left!important;
  text-wrap:balance;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
body.inner-page .page-lead,
body.inner-page .academic-page-lead{
  position:static!important;
  display:block!important;
  width:100%!important;
  max-width:800px!important;
  margin:1.35rem 0 0!important;
  color:var(--inner-muted)!important;
  font-family:var(--bs-body-font-family)!important;
  font-size:1rem!important;
  font-weight:400!important;
  line-height:1.75!important;
  letter-spacing:normal!important;
  text-align:left!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}

/* Liste sayfaları: masaüstünde iki sütun, mobilde tek sütun */
body.inner-page .unified-content-grid,
body.inner-page .academic-publications{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:1.5rem!important;
  width:100%!important;
  min-width:0;
}
body.inner-page .unified-content-card,
body.inner-page .academic-publication,
body.inner-page .content-card{
  display:flex;
  min-width:0;
  height:100%;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--inner-border);
  background:var(--inner-surface);
  box-shadow:0 14px 42px rgba(17,17,17,.04);
}
body.inner-page .unified-content-card .card-media,
body.inner-page .academic-publication-media{
  display:block;
  width:100%;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:16/9!important;
  overflow:hidden;
  background:#f1f1ee;
}
body.inner-page .unified-content-card .card-media img,
body.inner-page .academic-publication-media img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
body.inner-page .unified-content-card .card-body,
body.inner-page .academic-publication-content{
  display:flex;
  min-width:0;
  flex:1;
  flex-direction:column;
  padding:1.45rem!important;
}
body.inner-page .card-title,
body.inner-page .academic-publication-title{
  margin:.7rem 0 .85rem!important;
  font-family:var(--heading-font)!important;
  font-size:1.5rem!important;
  font-weight:700!important;
  line-height:1.28!important;
  letter-spacing:-.018em!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body.inner-page .card-summary,
body.inner-page .academic-publication-summary{
  margin:0 0 1.3rem!important;
  color:var(--inner-muted)!important;
  font-family:var(--bs-body-font-family)!important;
  font-size:.95rem!important;
  font-weight:400!important;
  line-height:1.75!important;
  letter-spacing:normal!important;
}
body.inner-page .card-read-link{
  margin-top:auto;
}

/* Hakkımda, Deneyim ve İletişim kartları */
body.inner-page .unified-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.5rem;
  width:100%;
}
body.inner-page .unified-info-card{
  min-width:0;
  padding:clamp(1.5rem,3vw,2.5rem);
  border:1px solid var(--inner-border);
  background:#fff;
  box-shadow:0 14px 42px rgba(17,17,17,.04);
}
body.inner-page .unified-card-header{
  margin-bottom:1.5rem;
  padding-bottom:1.1rem;
  border-bottom:1px solid rgba(17,17,17,.1);
}
body.inner-page .unified-card-header h2{
  margin:0;
  font-family:var(--heading-font);
  font-size:clamp(1.65rem,2.8vw,2.2rem);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.025em;
}
body.inner-page .resume-timeline{
  display:grid;
  gap:0;
}
body.inner-page .resume-entry{
  position:relative;
  padding:0 0 1.45rem 1.4rem;
  border-left:2px solid rgba(255,83,74,.28);
}
body.inner-page .resume-entry:last-child{padding-bottom:0}
body.inner-page .resume-entry:before{
  content:"";
  position:absolute;
  left:-6px;
  top:.35rem;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--bs-primary);
}
body.inner-page .resume-entry h3{
  margin:.35rem 0 .45rem;
  font-size:1.18rem;
  font-weight:700;
  line-height:1.35;
}
body.inner-page .resume-entry p,
body.inner-page .unified-muted{
  margin:0;
  color:var(--inner-muted);
  line-height:1.75;
}
body.inner-page .profile-facts{margin:0}
body.inner-page .profile-fact-row{
  display:grid;
  grid-template-columns:minmax(110px,.72fr) minmax(0,1.4fr);
  gap:1rem;
  padding:1rem 0;
  border-bottom:1px solid rgba(17,17,17,.08);
}
body.inner-page .profile-fact-row:first-child{padding-top:0}
body.inner-page .profile-fact-row:last-child{padding-bottom:0;border-bottom:0}
body.inner-page .profile-fact-row dt{font-weight:700}
body.inner-page .profile-fact-row dd{min-width:0;margin:0;color:var(--inner-muted);overflow-wrap:anywhere}
body.inner-page .unified-skill-list{display:grid;gap:1.35rem;margin:0}
body.inner-page .unified-skill-head{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.55rem}
body.inner-page .unified-skill-head span{font-weight:600}
body.inner-page .unified-skill-head strong{font-size:.82rem}
body.inner-page .unified-skill-track{height:8px;overflow:hidden;border-radius:999px;background:#e9e9e5}
body.inner-page .unified-skill-track span{display:block;height:100%;border-radius:inherit;background:var(--bs-primary)}
body.inner-page .unified-contact-form{display:grid;gap:1rem}
body.inner-page .unified-contact-form label{display:block;margin-bottom:.4rem;font-weight:600}
body.inner-page .unified-contact-form .form-control{min-height:48px;padding:.75rem .9rem;border:1px solid rgba(17,17,17,.17);border-radius:0}
body.inner-page .unified-contact-form textarea.form-control{min-height:150px;resize:vertical}
body.inner-page .honeypot-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}

/* Detay sayfaları */
body.inner-page .academic-breadcrumb,
body.inner-page .unified-breadcrumb{
  margin:0 0 2rem;
}
body.inner-page .academic-breadcrumb a,
body.inner-page .unified-breadcrumb a,
body.inner-page .academic-detail-back a,
body.inner-page .unified-detail-back a{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.065em;
  text-transform:uppercase;
  text-decoration:none;
}
body.inner-page .unified-detail-meta{
  margin-top:1.1rem;
  color:#777;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.inner-page .academic-abstract,
body.inner-page .unified-summary{
  margin-top:1.7rem;
  padding:1.25rem 1.35rem;
  border-left:4px solid var(--bs-primary);
  background:rgba(247,247,244,.9);
}
body.inner-page .academic-abstract p,
body.inner-page .unified-summary p{
  margin:0;
  color:#45484c;
  font-size:1rem!important;
  line-height:1.8!important;
}
body.inner-page .academic-hero-figure,
body.inner-page .unified-hero-figure{
  width:100%;
  max-width:var(--inner-reading);
  margin:0 auto clamp(2.5rem,5vw,4.5rem);
  overflow:hidden;
  border:1px solid var(--inner-border);
  background:#f0f0ed;
}
body.inner-page .academic-hero-figure img,
body.inner-page .unified-hero-figure img{
  display:block;
  width:100%;
  height:auto;
  max-height:510px;
  aspect-ratio:16/9;
  object-fit:cover;
}
body.inner-page .academic-paper,
body.inner-page .unified-paper{
  width:100%;
  max-width:var(--inner-reading);
  margin:0 auto;
  padding:clamp(1.5rem,4vw,3.25rem);
  border:1px solid var(--inner-border);
  background:#fff;
  box-shadow:0 18px 60px rgba(17,17,17,.045);
}
body.inner-page .academic-paper-content,
body.inner-page .unified-paper-content{
  max-width:760px;
  margin:0 auto;
  color:#34363a;
  font-family:var(--bs-body-font-family)!important;
  font-size:1rem!important;
  font-weight:400!important;
  line-height:1.9!important;
  letter-spacing:normal!important;
}
body.inner-page .academic-paper-content h1,
body.inner-page .unified-paper-content h1{font-size:2.4rem!important}
body.inner-page .academic-paper-content h2,
body.inner-page .unified-paper-content h2{font-size:2rem!important}
body.inner-page .academic-paper-content h3,
body.inner-page .unified-paper-content h3{font-size:1.6rem!important}
body.inner-page .academic-paper-content h4,
body.inner-page .unified-paper-content h4{font-size:1.3rem!important}
body.inner-page .academic-paper-content h1,
body.inner-page .academic-paper-content h2,
body.inner-page .academic-paper-content h3,
body.inner-page .academic-paper-content h4,
body.inner-page .unified-paper-content h1,
body.inner-page .unified-paper-content h2,
body.inner-page .unified-paper-content h3,
body.inner-page .unified-paper-content h4{
  margin:2rem 0 .9rem;
  font-family:var(--heading-font)!important;
  font-weight:700!important;
  line-height:1.25!important;
  letter-spacing:-.02em!important;
}
body.inner-page .academic-detail-back,
body.inner-page .unified-detail-back{
  max-width:var(--inner-reading);
  margin:clamp(3rem,6vw,5rem) auto 0;
  padding-top:1.5rem;
  border-top:1px solid rgba(17,17,17,.12);
}

/* Menü: bağlantı tıklamasından sonra katman kesin olarak kapanır. */
body:not(.nav-active) .menu-backdrop{pointer-events:none}

@media(max-width:991px){
  body.inner-page #main-content,
  body.inner-page .site-content-wrap,
  body.inner-page .page-hero,
  body.inner-page .academic-page-hero,
  body.inner-page .academic-article-header{
    inset:auto!important;
    transform:none!important;
  }
  body.inner-page .site-content-wrap{
    margin-left:0!important;
    margin-right:0!important;
  }
}
@media(max-width:767px){
  body.inner-page .content-page{padding-top:4.75rem;padding-bottom:4.5rem}
  body.inner-page .page-hero,
  body.inner-page .academic-page-hero,
  body.inner-page .unified-page-hero,
  body.inner-page .academic-article-header,
  body.inner-page .unified-detail-header{
    width:100%!important;
    max-width:100%!important;
    margin-bottom:2.5rem!important;
    padding:0!important;
    text-align:left!important;
  }
  body.inner-page .page-title,
  body.inner-page .academic-page-title,
  body.inner-page .academic-article-title,
  body.inner-page .detail-title{
    font-size:clamp(2.45rem,11.5vw,3.45rem)!important;
    line-height:1.08!important;
    letter-spacing:-.03em!important;
  }
  body.inner-page .page-lead,
  body.inner-page .academic-page-lead{font-size:.98rem!important;line-height:1.7!important}
  body.inner-page .unified-content-grid,
  body.inner-page .academic-publications,
  body.inner-page .unified-card-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:1.25rem!important;
  }
  body.inner-page .unified-content-card .card-media,
  body.inner-page .academic-publication-media{max-height:230px!important}
  body.inner-page .card-title,
  body.inner-page .academic-publication-title{font-size:1.35rem!important}
  body.inner-page .unified-info-card{padding:1.3rem}
  body.inner-page .profile-fact-row{grid-template-columns:1fr;gap:.25rem}
  body.inner-page .academic-paper,
  body.inner-page .unified-paper{padding:1.25rem}
  body.inner-page .academic-hero-figure img,
  body.inner-page .unified-hero-figure img{max-height:260px}
  body.inner-page .academic-paper-content h1,
  body.inner-page .unified-paper-content h1{font-size:2rem!important}
  body.inner-page .academic-paper-content h2,
  body.inner-page .unified-paper-content h2{font-size:1.7rem!important}
  body.inner-page .academic-paper-content h3,
  body.inner-page .unified-paper-content h3{font-size:1.4rem!important}
}
@media(max-width:575px){
  body.inner-page .unified-content-card .card-media,
  body.inner-page .academic-publication-media{max-height:205px!important}
  body.inner-page .academic-abstract,
  body.inner-page .unified-summary{padding:1.05rem 1.1rem}
}
