/*
Theme Name: Raheem Academic
Theme URI: https://profraheembuxsoomro.com/
Author: Academic Website Studio
Description: Academic portfolio theme with editable publications, workshops, research themes, and activities.
Version: 1.2.24
Requires at least: 6.1
Requires PHP: 7.4
Text Domain: raheem-academic
License: GPL-2.0-or-later
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:138px}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:#18264a;background:#fff;line-height:1.7}a{color:inherit}button,input,select{font:inherit}button{cursor:pointer}.container{max-width:1180px;margin:auto;padding:0 26px}.skip-link{position:absolute;top:-80px;left:10px;background:#fff;padding:10px;z-index:300}.skip-link:focus{top:8px}.utility{background:#122146;color:#f4f6ff;font-size:12px}.utility-inner{min-height:35px;display:flex;justify-content:space-between;align-items:center;gap:10px}.utility a{text-decoration:none}.utility a:hover{color:#56e0d0}.site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 2px 16px #1523480b}.header-content{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:118px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0}.brand-mark{height:43px;width:47px;display:flex;justify-content:center;align-items:center;border-radius:13px;background:linear-gradient(135deg,#4736e9,#ec48ad);color:white;font-weight:800;box-shadow:0 8px 18px #6437bd35}.brand-mark span{color:#ffd567}.brand strong{display:block;font-family:Manrope,sans-serif;font-size:16px;font-weight:800;line-height:1.3;letter-spacing:-.5px}.brand small{display:block;color:#7582a0;font-size:9px;letter-spacing:1.3px;font-weight:700}.header-right{display:flex;flex-direction:column;gap:7px;align-items:flex-end;min-width:0}.navigation{display:flex;align-items:center;gap:5px;white-space:nowrap}.navigation a{font-weight:700;font-size:11px;text-decoration:none;padding:8px;border-radius:9px;border:1.5px solid #dfe4f2;transition:background .2s,color .2s,transform .2s,border-color .2s}.navigation a:hover,.navigation a:focus-visible{background:#eaeaff;color:#6d39df;transform:translateY(-2px)}.navigation .contact-nav{background:linear-gradient(125deg,#6533e9,#b349ee);color:white;padding:10px 14px;border-color:transparent;box-shadow:0 5px 14px #6335e72c}.navigation .contact-nav:hover{color:#fff;background:linear-gradient(125deg,#ec3994,#fc7a41)}.social-nav,.footer-social,.contact-social{display:flex;gap:7px;flex-wrap:wrap}.social-nav{justify-content:flex-end}.social-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e6eaf5;text-decoration:none;padding:4px 9px 4px 4px;border-radius:30px;color:#37466a;background:#fafbff;transition:transform .23s,background .23s,border-color .23s,box-shadow .23s;white-space:nowrap}.social-chip:hover,.social-chip:focus-visible{transform:translateY(-3px);background:#fff;border-color:#c0b4fa;box-shadow:0 7px 15px #1924581c}.social-icon{width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-weight:800;font-size:10px;color:white;background:#6c4ee5}.social-label{font-size:10px;font-weight:700}.social-chip.orcid .social-icon{background:#a6ce39}.social-chip.facebook .social-icon{background:#1877f2;font-size:16px}.social-chip.linkedin .social-icon{background:#0a66c2}.social-chip.researchgate .social-icon{background:#00b9b0}.social-chip.scholar .social-icon{background:#3974df;font-size:11px}.social-chip.youtube .social-icon{background:#f33643}.social-chip.email .social-icon{background:#e75461;font-size:13px}.social-chip:hover .social-icon{filter:brightness(.92);transform:scale(1.06)}.menu-toggle{display:none;border:0;background:#f1edff;border-radius:9px;padding:12px}.menu-toggle span{display:block;width:20px;height:2px;background:#5332d8;margin:4px 0}.hero{background:linear-gradient(120deg,#17214e 5%,#2a2467 55%,#653081 110%);color:white;position:relative;overflow:hidden}.hero-orb{position:absolute;border-radius:50%;pointer-events:none}.hero-orb.one{height:340px;width:340px;right:-170px;top:-140px;background:radial-gradient(circle,#d74dc13a,transparent 70%)}.hero-orb.two{height:420px;width:420px;left:-250px;bottom:-240px;background:radial-gradient(circle,#06cbbc34,transparent 70%)}.hero-grid{position:relative;min-height:605px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:60px;padding-top:55px;padding-bottom:60px}.eyebrow{font-weight:800;font-size:11px;letter-spacing:1.5px}.eyebrow.light{color:#bdf9ed}.eyebrow i{display:inline-block;border-radius:100%;height:9px;width:9px;background:#5befd3;margin-right:7px;box-shadow:0 0 0 5px #5befd31c}.hero h1{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(38px,4.1vw,62px);line-height:1.13;letter-spacing:-2.4px;margin:27px 0 20px}.hero h1 em{color:#ffd574;font-style:normal}.hero-lead{font-family:Manrope,sans-serif;font-size:23px;font-weight:800;margin:0 0 10px}.hero-desc{font-size:15px;color:#d5def3;max-width:600px;line-height:1.9;margin:0 0 23px}.hero-buttons{display:flex;flex-wrap:wrap;gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:12px 18px;border-radius:12px;text-decoration:none;font-size:13px;font-weight:800;transition:all .2s}.button:hover{transform:translateY(-3px);box-shadow:0 10px 26px #06072d3d}.button.bright{color:#1c2454;background:#ffd16c}.button.bright:hover{background:#5fe8d5}.button.outlined{color:white;border:1px solid #b7acec80}.button.outlined:hover{background:#ffffff20}.hero-mini{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.hero-mini span{border:1px solid #d5ccff45;color:#ddd9fc;padding:5px 10px;border-radius:30px;font-size:11px}.portrait-zone{position:relative;max-width:480px;margin-left:auto;width:100%}.portrait-frame{border:7px solid white;border-radius:36px;overflow:hidden;position:relative;z-index:2;box-shadow:0 30px 60px #060c3040;aspect-ratio:0.94}.portrait-frame img{display:block;height:100%;width:100%;object-fit:cover;object-position:center center}.portrait-ring{border:3px solid #4be1c8;position:absolute;inset:24px -16px -15px 18px;border-radius:40px;transform:rotate(4deg)}.floating-label{position:absolute;bottom:28px;left:-43px;z-index:3;padding:12px 17px;background:white;border-radius:13px;color:#26335b;box-shadow:0 12px 28px #0a0c3440}.floating-label span{display:block;font-weight:800;font-size:21px;font-family:Manrope}.floating-label small{font-size:10px;color:#7381a0;font-weight:700}.floating-square{position:absolute;z-index:3;top:-15px;right:-12px;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#ffcf67;color:#2f2562;font-size:35px;transform:rotate(12deg)}.stats-section{background:#fff;box-shadow:0 9px 35px #20254a08}.stat-grid{display:grid;grid-template-columns:repeat(5,1fr);padding-top:28px;padding-bottom:6px}.stat-grid>div{border-right:1px solid #e6eaf2;padding:10px 28px}.stat-grid>div:first-child{padding-left:0}.stat-grid>div:last-child{border:0}.stat-grid strong{display:block;font-family:Manrope;font-size:30px;line-height:1.25;color:#302d83;font-weight:800}.stat-grid strong span{color:#e65b9f}.stat-grid>div>span{display:block;color:#697895;font-size:11px;font-weight:700}.stat-note{font-size:10px;color:#98a1b6;text-align:right;margin:0;padding:0 0 17px}.section{padding:92px 0}.section.tinted{background:#f7f8fd}.section-head{margin-bottom:35px}.section-kicker{color:#7350d7;font-size:13px;font-weight:800;letter-spacing:2px;border:1.5px solid #c9b8f5;border-radius:30px;padding:6px 14px;display:inline-block}.section-head h2,.contact-wrap h2{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(34px,3.4vw,48px);letter-spacing:-1.5px;line-height:1.2;margin:16px 0 12px}.section-head h2::after{content:"";display:block;width:64px;height:4px;background:#ffd16c;border-radius:2px;margin-top:14px}.section-head h2 span,.contact-wrap h2 span{color:#7952dc}.section-head.split{display:flex;align-items:end;justify-content:space-between;gap:35px}.section-head.split>p{font-size:13px;color:#71809c;max-width:350px}.about-layout{display:grid;grid-template-columns:1.15fr .75fr;gap:72px}.about-main p{color:#5e6c86;font-size:14px;line-height:2}.about-main .intro{font-size:19px;color:#27385e;line-height:1.7;font-weight:600}.mini-chips,.tag-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:25px}.mini-chips span,.tag-row span{background:#eceaff;color:#6144bd;font-size:11px;font-weight:800;padding:7px 10px;border-radius:6px}.about-aside{background:linear-gradient(155deg,#f0ecff,#f6fbff);padding:26px;border-radius:20px}.about-aside h3{margin:0 0 20px;font-family:Manrope}.aside-entry{padding:13px 0;border-bottom:1px solid #dee3f1}.aside-entry b{display:block;color:#7051c3;font-size:11px;margin-bottom:4px}.aside-entry span{font-size:12px;color:#586883;line-height:1.6;display:block}.text-link{display:inline-block;margin-top:20px;color:#6946d4;font-size:12px;font-weight:800;text-decoration:none}.text-link:hover{text-decoration:underline}.research-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.research-card{display:block;text-decoration:none;color:inherit;position:relative;background:#fff;border:1px solid #e6eafa;border-radius:17px;padding:25px;min-height:216px;transition:transform .22s,box-shadow .22s,border-color .22s}.research-card:hover{transform:translateY(-5px);border-color:#cabdfa;box-shadow:0 16px 40px #2e2e7620}.card-no{color:#9a78e7;font-weight:800;font-size:13px}.research-card h3{font-family:Manrope;font-size:17px;line-height:1.4;margin:14px 0 8px}.research-card p{font-size:12px;color:#71809a;margin:0;line-height:1.8}.card-arrow{position:absolute;right:20px;top:20px;color:#a0abd0}.pub-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.pub-search{position:relative;flex:1;min-width:230px}.pub-search span{position:absolute;left:14px;top:6px;font-size:28px;color:#8c95b3}.pub-search input,.pub-toolbar select{border:1px solid #dce2f1;border-radius:11px;background:white;outline:none;padding:13px 14px;font-size:13px;color:#28395c;width:100%}.pub-search input{padding-left:42px}.pub-search input:focus,.pub-toolbar select:focus{border-color:#8865eb;box-shadow:0 0 0 3px #8865eb1e}.pub-toolbar select{width:auto;min-width:160px}.pub-results{color:#9aa3b7;font-size:11px;margin-left:auto}.publication-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.publication-item{border:1px solid #e5e9f4;border-radius:16px;padding:22px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.publication-item:hover{transform:translateY(-3px);box-shadow:0 12px 27px #26306513}.pub-top{display:flex;align-items:center;justify-content:space-between}.year-pill{background:#ffd16c;color:#1c2454;border-radius:5px;font-weight:800;font-size:11px;padding:3px 9px}.pub-order{color:#b3bace;font-size:12px}.publication-item h3{font-size:15px;font-family:Manrope;line-height:1.55;margin:12px 0;color:#5b3fd4}.publication-item p{font-size:11px;line-height:1.8;color:#7a86a0;word-break:break-word;flex:1}.doi{align-self:flex-start;text-decoration:none;font-size:11px;color:#7044d1;font-weight:800;margin-top:8px}.doi:hover{text-decoration:underline}.unlinked{font-size:10px;color:#adb5c4}.note{font-size:11px;color:#97a2b3;margin-top:18px}.empty-results{padding:35px;text-align:center;background:#f8f8ff;color:#73809d}.dark-section{background:#16224a;color:white}.dark-section .section-kicker{color:#66ddce}.dark-section .section-head h2 span{color:#ffd479}.teaching-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.teaching-panel{background:#ffffff0e;border:1px solid #ffffff28;border-radius:20px;padding:29px}.panel-icon{height:43px;width:43px;border-radius:12px;background:#45d8c4;color:#122146;display:grid;place-items:center;font-size:25px}.teaching-panel h3{font-family:Manrope;font-size:21px}.teaching-panel p{font-size:13px;color:#c2cceb}.tag-row span{background:#ffffff16;color:#c6fff6}.teaching-footnote{margin-top:18px;color:#8d9bc1;font-size:11px}.workshop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.workshop-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border:1px solid #e6eafa;border-radius:20px;overflow:hidden;transition:transform .22s,box-shadow .22s,border-color .22s}.workshop-card:hover{transform:translateY(-5px);border-color:#cabdfa;box-shadow:0 16px 40px #2e2e7620}.workshop-card-media{aspect-ratio:16/9;background:linear-gradient(135deg,#4736e9,#ec48ad);display:grid;place-items:center;overflow:hidden;position:relative}.workshop-card-media img{width:100%;height:100%;object-fit:cover;display:block}.workshop-card-fallback{display:flex;flex-direction:column;align-items:center;gap:4px;color:#fff}.workshop-card-year-big{font-family:Manrope,sans-serif;font-weight:800;font-size:44px;line-height:1;letter-spacing:-1px}.workshop-card-icon{font-size:26px;color:#ffd574}.workshop-card-label{font-family:Manrope,sans-serif;font-weight:800;font-size:15px;letter-spacing:3px;text-transform:uppercase;color:#fff}.workshop-card-body{padding:22px 22px 20px;flex:1;display:flex;flex-direction:column}.workshop-year{color:#6a46cf;font-weight:800;font-size:13px}.workshop-card h3{font-size:19px;line-height:1.4;margin:10px 0 6px;font-family:Manrope}.workshop-card p{font-size:13px;margin:0 0 6px;color:#7e89a2;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.workshop-when{color:#6a46cf!important;font-weight:700}.workshop-card-link{display:inline-block;margin-top:auto;padding-top:10px;color:#6946d4;font-size:12px;font-weight:800}.workshop-posts{display:block}.workshop-post{padding:6px 0 36px;margin-bottom:36px;border-bottom:1px solid #e0e6f4}.workshop-post:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.workshop-post-head{display:flex;gap:18px;align-items:center;margin-bottom:20px}.workshop-post-titles{flex:1;min-width:200px}.workshop-post-thumb{flex-shrink:0;width:96px;height:96px;border-radius:16px;overflow:hidden;display:block;text-decoration:none;box-shadow:0 8px 20px #2e2e7620}.workshop-post-thumb-img{width:100%;height:100%;object-fit:contain;background:#fff;padding:6px;display:block}.workshop-post-thumb-fallback{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:linear-gradient(135deg,#4736e9,#ec48ad);color:#fff}.workshop-post-thumb-year{font-family:Manrope,sans-serif;font-weight:800;font-size:22px;line-height:1}.workshop-post-thumb-fallback span[aria-hidden="true"]{font-size:18px;color:#ffd574}.workshop-post-titles h3{font-size:22px;line-height:1.35;margin:6px 0 4px;font-family:Manrope}.workshop-post-titles h3 a{text-decoration:none;color:inherit}.workshop-post-titles h3 a:hover{color:#6946d4}.workshop-post-titles p{font-size:12px;margin:0;color:#7e89a2}.workshop-gallery{display:grid;grid-template-columns:repeat(4,64px);gap:8px;flex-shrink:0}.workshop-gallery-link{display:block;border-radius:10px;overflow:hidden}.workshop-gallery-img{width:64px;height:64px;object-fit:cover;border-radius:10px;display:block;cursor:zoom-in}.rb-lightbox{position:fixed;inset:0;background:rgba(10,15,40,.88);display:flex;align-items:center;justify-content:center;z-index:999;padding:20px;cursor:zoom-out}.rb-lightbox img{max-width:92vw;max-height:88vh;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.4)}.rb-lightbox-close{position:absolute;top:16px;right:26px;color:#fff;font-size:38px;line-height:1;cursor:pointer}.workshop-post-body p{color:#5e6c86;font-size:14px;line-height:2}.workshop-post-body h2,.workshop-post-body h3{font-family:Manrope;color:#27385e}.single-workshop-full-desc{margin:28px 0}.single-workshop-full-desc h2{font-family:Manrope;color:#27385e;font-size:24px;margin:0 0 10px}.single-workshop-full-desc p{color:#5e6c86;font-size:14px;line-height:2}.single-workshop-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:28px 0}.single-workshop-gallery-img{width:100%;height:auto;border-radius:14px;display:block;cursor:zoom-in}@media(max-width:570px){.single-workshop-gallery{grid-template-columns:1fr}.workshop-post-head{flex-wrap:wrap}.workshop-gallery{grid-template-columns:repeat(4,1fr);width:100%}.workshop-gallery-img{width:100%;height:auto;aspect-ratio:1}.workshop-post-thumb{width:72px;height:72px}.workshop-post-titles h3{font-size:19px}}.download-group{margin-bottom:34px}.download-group h2{font-family:Manrope,sans-serif;color:#27385e;font-size:24px;margin:0 0 10px}.download-list{list-style:none;margin:0;padding:0}.download-item{border:1px solid #e5e9f4;border-radius:14px;padding:16px 20px;margin-bottom:10px;background:#fff}.download-item a{font-weight:800;color:#5b3fd4;text-decoration:none;font-size:15px}.download-item a:hover{text-decoration:underline}.download-item p{font-size:13px;color:#7a86a0;margin:6px 0 0;line-height:1.7}.activity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.activity-card{background:white;border-radius:17px;padding:22px;border:1px solid #e8ebf3;transition:transform .2s}.activity-card:hover{transform:translateY(-5px)}.activity-icon{display:grid;place-items:center;width:40px;height:40px;background:#ebedff;color:#6547d5;border-radius:12px;font-size:22px}.activity-type{display:block;text-transform:uppercase;font-size:9px;font-weight:800;letter-spacing:1px;color:#866ee1;margin-top:18px}.activity-card h3{font-family:Manrope;font-size:16px;line-height:1.5}.activity-card p{font-size:12px;color:#738099}.editorial{margin-top:20px;border-left:4px solid #48cdb9;padding:15px 20px;background:#eefbf8;display:flex;gap:18px;align-items:center;border-radius:0 12px 12px 0}.editorial strong{min-width:130px;color:#237a77;font-size:13px}.editorial span{font-size:12px;color:#63778a}.contact-section{background:linear-gradient(130deg,#f6f2ff,#eefcff)}.contact-wrap{display:grid;grid-template-columns:1fr .85fr;gap:65px;align-items:center}.contact-wrap>div>p{font-size:14px;color:#697891}.contact-details{display:grid;gap:14px;margin:27px 0}.contact-details>*{font-size:13px;color:#576783;text-decoration:none}.contact-details a:hover{color:#673ee1}.contact-card{background:white;border-radius:22px;padding:30px;box-shadow:0 20px 55px #242d6816}.contact-card h3{margin-top:0;font-family:Manrope}.contact-card p{font-size:13px;color:#8190a6}.contact-social{gap:10px}.contact-social .social-chip{padding:6px 12px 6px 6px}.contact-social .social-icon{width:29px;height:29px}.link-disclaimer{font-size:10px!important;margin-top:22px}.footer{background:#101a39;color:white;padding:44px 0 15px}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.footer-inner strong{font-family:Manrope;font-size:28px}.footer-inner strong span{color:#ffd476}.footer-inner small{display:block;font-size:11px;color:#b1bdd5;line-height:1.7}.footer-social{justify-content:end}.footer-social .social-chip{background:#28355a;border-color:#3b496e;color:white}.footer-social .social-chip:hover{background:#38466c}.footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #354262;margin-top:25px;padding-top:17px;color:#9daac7;font-size:10px}.footer-bottom a{color:#cceae9;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #ffcb6b;outline-offset:3px}@media(max-width:1120px){.header-content{min-height:115px}.navigation a{font-size:11px;padding:7px}.social-label{display:none}.social-chip{padding:4px}.social-icon{height:25px;width:25px}.hero-grid{gap:28px}.activity-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:850px){html{scroll-padding-top:90px}.utility-inner{font-size:10px}.header-content{min-height:78px;position:relative}.menu-toggle{display:block}.header-right{display:none;position:absolute;top:100%;right:20px;left:20px;background:white;border-radius:0 0 18px 18px;padding:20px;box-shadow:0 24px 34px #14214c26;align-items:stretch}.header-right.open{display:flex}.navigation{flex-direction:column;align-items:stretch;white-space:normal}.navigation a{font-size:14px}.social-nav{justify-content:center;padding-top:10px}.social-label{display:inline}.social-chip{padding:4px 9px 4px 4px}.hero-grid{grid-template-columns:1fr;min-height:0}.hero-copy{max-width:700px}.portrait-zone{margin:10px auto 0;max-width:400px}.about-layout,.contact-wrap{grid-template-columns:1fr;gap:30px}.research-grid{grid-template-columns:repeat(2,1fr)}.section{padding:65px 0}.section-head.split{display:block}.section-head.split>p{max-width:650px}.floating-label{left:0}}@media(max-width:570px){.container{padding-left:18px;padding-right:18px}.utility-inner{flex-direction:column;align-items:flex-start;gap:0;padding-top:5px;padding-bottom:5px}.utility-inner a{display:none}.brand strong{font-size:14px}.brand small{font-size:8px}.hero-grid{padding-top:44px}.hero h1{font-size:38px;letter-spacing:-1.8px}.hero-lead{font-size:18px}.portrait-zone{max-width:315px}.floating-square{right:-3px}.stat-grid{grid-template-columns:repeat(2,1fr)}.stat-grid>div{padding:13px!important;border-bottom:1px solid #ebeff6}.stat-grid>div:nth-child(2n){border-right:0}.stat-note{text-align:left;padding-top:10px}.research-grid,.publication-grid,.teaching-grid,.activity-grid{grid-template-columns:1fr}.workshop-grid{grid-template-columns:1fr}.footer-inner{display:block}.footer-social{margin-top:20px;justify-content:start}.footer-bottom{flex-wrap:wrap}.editorial{display:block}.editorial strong{display:block;margin-bottom:7px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Enlarged personal name replaces previous homepage slogan */
.hero h1.personal-name {font-size:clamp(48px,5.3vw,78px);line-height:1.08;letter-spacing:-2.6px;margin:27px 0 24px;}
@media(max-width:570px){.hero h1.personal-name{font-size:clamp(42px,9vw,54px);letter-spacing:-1.6px;}}

/* Updated three-line name treatment */
.hero h1.personal-name{font-size:clamp(44px,5.2vw,72px);font-weight:800;line-height:1.04;letter-spacing:-3px;margin:24px 0 26px;}
.hero h1.personal-name span{white-space:nowrap}
.hero h1.personal-name em{color:#ffd33e;font-style:normal;}
@media(max-width:570px){.hero h1.personal-name{font-size:clamp(34px,9.5vw,44px);letter-spacing:-2px;}}
/* WordPress navigation menu markup support */
.navigation li {list-style:none;display:contents}
.navigation .menu-item a {font-weight:700;font-size:11px;text-decoration:none;padding:8px;border-radius:9px;transition:background .2s,color .2s,transform .2s}
.navigation .menu-item a:hover,.navigation .menu-item a:focus-visible {background:#eaeaff;color:#6d39df;transform:translateY(-2px)}
.navigation .menu-item a.contact-nav {background:linear-gradient(125deg,#6533e9,#b349ee);color:white;padding:10px 14px}
.navigation .menu-item a.contact-nav:hover {background:linear-gradient(125deg,#ec3994,#fc7a41);color:white}
@media(max-width:850px){.navigation .menu-item a{font-size:14px}}

/* --- Separate sub-pages (v1.1.0) --- */
.page-hero{background:linear-gradient(120deg,#17214e 5%,#2a2467 55%,#653081 110%);color:#fff;padding:64px 0 56px}
.page-hero h1{font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(40px,4.6vw,62px);line-height:1.12;letter-spacing:-1.8px;margin:16px 0 18px;padding-bottom:16px;border-bottom:4px solid #ffd574}
.page-hero h1 span{color:#ffd574}.page-hero .section-kicker{color:#ffd574;border-color:#ffd57480}
.page-hero p{color:#d5def3;max-width:720px;font-size:16px;margin:0}
.page-kicker{color:#66ddce;font-size:11px;font-weight:800;letter-spacing:2px}
.page-content{font-size:15px;color:#5e6c86;line-height:1.9;margin-bottom:30px}
.page-content p{margin:0 0 14px}
.dark-panel{background:#16224a;border-radius:22px;padding:34px;color:#fff}
.dark-panel .teaching-footnote{color:#8d9bc1}
@media(max-width:570px){.page-hero{padding:44px 0 40px}.dark-panel{padding:22px}}

/* Publications filter fix (v1.1.1): .publication-item sets display:flex, which
   overrides the browser's default [hidden]{display:none}. Without this,
   the search counter updates but non-matching cards stay visible. */
[hidden]{display:none!important}
.publication-item[hidden]{display:none!important}

/* --- YouTube nav button (v1.1.2): last in the menu, bigger and red so it stands out --- */
.navigation a.youtube-nav,.navigation .menu-item a.youtube-nav,.social-nav a.youtube-nav{background:linear-gradient(125deg,#e60000,#ff2e2e);color:#fff;font-size:12px;font-weight:800;padding:9px 12px;border-radius:12px;box-shadow:0 6px 16px #e6000033;letter-spacing:.2px;white-space:nowrap}
.navigation a.youtube-nav:hover,.navigation a.youtube-nav:focus-visible,.navigation .menu-item a.youtube-nav:hover,.navigation .menu-item a.youtube-nav:focus-visible,.social-nav a.youtube-nav:hover,.social-nav a.youtube-nav:focus-visible{background:linear-gradient(125deg,#b30000,#ff1a1a);color:#fff;transform:translateY(-3px) scale(1.06);box-shadow:0 12px 26px #e6000055}
@media(max-width:1120px){.navigation a.youtube-nav,.navigation .menu-item a.youtube-nav,.social-nav a.youtube-nav{font-size:12px;padding:9px 12px}}
@media(max-width:850px){.navigation a.youtube-nav,.navigation .menu-item a.youtube-nav,.social-nav a.youtube-nav{font-size:16px;padding:12px 16px;text-align:center}}

/* --- Research profiles strip + timeline (v1.2.0) --- */
.profile-strip{background:#f7f8fd;border-bottom:1px solid #e6eaf2;padding:26px 0}
.profile-strip-inner{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.profile-strip-inner>div{min-width:220px}
.profile-strip-inner>div strong{display:block;font-family:Manrope;font-size:16px;color:#302d83}
.profile-strip-inner>div span{font-size:11px;color:#697895}
.profile-chip{flex:1;min-width:230px;background:#fff;border:1px solid #e6eafa;border-radius:14px;padding:14px 18px;text-decoration:none;transition:transform .2s,box-shadow .2s}
.profile-chip:hover{transform:translateY(-3px);box-shadow:0 12px 26px #26306514}
.profile-chip b{display:block;color:#302d83;font-size:14px}
.profile-chip span{font-size:11px;color:#71809a}
.timeline{margin-top:44px;background:#f7f8fd;border:1px solid #e6eaf2;border-radius:20px;padding:28px}
.timeline h3{margin:0 0 14px;font-family:Manrope}
.timeline-row{display:grid;grid-template-columns:150px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid #e0e6f4;font-size:13px}
.timeline-row:last-of-type{border:0}
.timeline-row b{color:#7051c3}
.timeline-row span{color:#586883;line-height:1.6}
@media(max-width:570px){.timeline-row{grid-template-columns:1fr;gap:2px}}

/* --- Hero role word (v1.2.3): "Professor" stands out in the hero description --- */
.hero-desc .hero-role{font-family:Manrope,sans-serif;font-size:20px;font-weight:800;font-style:italic;color:#ffd574;letter-spacing:-.5px}

/* --- View counter (v1.2.4) --- */
.utility-right{display:flex;gap:16px;align-items:center}
.utility-views{color:#8ef0dd;font-weight:700;white-space:nowrap}
@media(max-width:570px){.utility-views{display:none}}

/* --- Single workshop page (v1.2.6) --- */
.single-when{color:#c2cceb;font-size:14px;font-weight:700;margin-top:10px}
.single-workshop{max-width:760px}
.single-workshop-image{margin-bottom:28px}
.single-workshop-image img{width:100%;height:auto;border-radius:20px;display:block}
.single-workshop-body p{color:#5e6c86;font-size:14px;line-height:2}
