/*
Theme Name: Ophthalmos Medical
Author: OpenAI
Description: Professional Greek WordPress theme for an ophthalmologist. Editable pages, services, conditions and contact settings.
Version: 2.7
Text Domain: ophthalmos
*/
:root{--blue:#2877b7;--blue2:#1f669f;--ink:#173247;--muted:#667784;--pale:#eef6fb;--line:#dbe8f0;--white:#fff;--shadow:0 12px 35px rgba(26,72,105,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1160px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:13px}.custom-logo{max-height:56px;width:auto}.brand-mark{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-size:23px}.brand-text strong{display:block;font-size:18px}.brand-text span{display:block;color:var(--muted);font-size:12px}.nav ul{display:flex;gap:26px;list-style:none;padding:0;margin:0;align-items:center}.nav a{font-size:14px;font-weight:650}.nav a:hover,.nav .current-menu-item>a{color:var(--blue)}.menu-toggle{display:none;border:0;background:var(--pale);padding:10px 13px;border-radius:8px}.hero{background:linear-gradient(100deg,#f4f9fc 0%,#edf6fb 55%,#e5f1f8 100%);padding:82px 0}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:65px}.eyebrow{color:var(--blue);font-weight:750;text-transform:uppercase;letter-spacing:.12em;font-size:12px}.hero h1{font-size:clamp(38px,5vw,64px);line-height:1.08;margin:12px 0 20px}.hero p{font-size:18px;color:var(--muted);max-width:620px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;border-radius:7px;background:var(--blue);color:#fff;font-weight:700;border:1px solid var(--blue)}.btn:hover{background:var(--blue2)}.btn.alt{background:#fff;color:var(--blue)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-photo{min-height:430px;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);background:#dcebf4}.hero-photo img{width:100%;height:100%;min-height:430px;object-fit:cover}.placeholder{height:100%;min-height:430px;display:grid;place-items:center;color:#6f8797;text-align:center;padding:30px}.section{padding:82px 0}.section.soft{background:#f7fafc}.section-head{max-width:700px;margin:0 auto 42px;text-align:center}.section-head h2,.page-title{font-size:clamp(30px,4vw,43px);line-height:1.15;margin:8px 0 13px}.section-head p{color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:27px;box-shadow:0 7px 22px rgba(35,78,106,.05)}.card .thumb{height:180px;margin:-27px -27px 22px;overflow:hidden;border-radius:14px 14px 0 0;background:var(--pale)}.card .thumb img{width:100%;height:100%;object-fit:cover}.card h3{margin:4px 0 9px;font-size:21px}.card p{color:var(--muted);margin:0}.readmore{display:inline-block;margin-top:17px;color:var(--blue);font-weight:700}.about-grid,.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:55px;align-items:center}.about-image img{border-radius:18px;box-shadow:var(--shadow)}.content h2{font-size:36px;line-height:1.2}.content p{color:#4f6574}.cta{background:var(--blue);color:#fff;border-radius:20px;padding:42px 48px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{margin:0 0 7px;font-size:30px}.cta p{margin:0;opacity:.88}.cta .btn{background:#fff;color:var(--blue);border-color:#fff}.page-hero{padding:58px 0;background:var(--pale);border-bottom:1px solid var(--line)}.entry{padding:60px 0}.entry-content{max-width:860px}.entry-content img{border-radius:12px}.archive-grid{padding:60px 0}.contact-box{background:var(--pale);padding:32px;border-radius:16px}.contact-row{margin-bottom:18px}.contact-row strong{display:block}.contact-row span,.contact-row a{color:var(--muted)}.site-footer{background:#173247;color:#dce7ee;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:1.3fr .7fr .8fr;gap:40px}.footer-title{color:#fff;font-size:16px;font-weight:750;margin-bottom:13px}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin:8px 0}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:20px;font-size:13px;color:#aebfca}.wp-block-button__link{background:var(--blue)}
@media(max-width:850px){.menu-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:82px;background:#fff;border-bottom:1px solid var(--line);padding:18px 20px}.nav.open{display:block}.nav ul{display:block}.nav li{padding:9px 0}.hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr}.hero{padding:55px 0}.hero-photo{min-height:330px}.hero-photo img{min-height:330px}.cards{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr}.cta{display:block}.cta .btn{margin-top:20px}}
@media(max-width:560px){.container{width:min(100% - 28px,1160px)}.cards{grid-template-columns:1fr}.section{padding:60px 0}.header-inner{min-height:72px}.nav{top:72px}.brand-text span{display:none}.hero h1{font-size:39px}.cta{padding:30px}.hero-photo{min-height:280px}.hero-photo img{min-height:280px}}

/* v1.2 – Full-width manageable home slider */
.home-slider{position:relative;width:100%;overflow:hidden;background:#edf6fc}.slides-wrap{position:relative}.home-slide{display:none;width:100%}.home-slide.is-active{display:block}.slide-image{display:block;width:100%;height:auto;aspect-ratio:2.5/1;object-fit:cover;object-position:center}.slider-prev,.slider-next{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.88);color:#176ca7;font-size:34px;line-height:1;cursor:pointer;box-shadow:0 4px 18px rgba(0,0,0,.12)}.slider-prev{left:24px}.slider-next{right:24px}.slider-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px;z-index:3}.slider-dot{width:10px;height:10px;border:0;border-radius:50%;background:rgba(255,255,255,.65);box-shadow:0 1px 4px rgba(0,0,0,.25);padding:0;cursor:pointer}.slider-dot.is-active{background:#2877b7}.fallback-logo{display:block;width:auto;height:64px;max-width:180px;object-fit:contain}.custom-logo{max-height:72px;width:auto}.brand{gap:14px}
@media(max-width:700px){.slide-image{aspect-ratio:2.5/1;min-height:0;object-fit:cover}.slider-prev,.slider-next{width:34px;height:34px;font-size:26px}.slider-prev{left:8px}.slider-next{right:8px}.slider-dots{bottom:7px}.fallback-logo{height:48px;max-width:135px}.brand-text{display:none}}


/* v1.3 – clickable appointment hotspot + responsive doctor identity */
.home-slide{position:relative}
.slide-appointment-hotspot{position:absolute;z-index:4;left:3.7%;top:73.5%;width:18.5%;height:10.5%;border-radius:999px;display:block;cursor:pointer}
.slide-appointment-hotspot:focus-visible{outline:3px solid #2877b7;outline-offset:3px;background:rgba(40,119,183,.08)}
@media(max-width:700px){
  .header-inner{gap:8px;padding-top:7px;padding-bottom:7px}
  .brand{display:flex;align-items:center;gap:7px;min-width:0;flex:1}
  .fallback-logo,.custom-logo{height:42px;max-width:105px;flex:0 0 auto}
  .brand-text{display:block!important;min-width:0;line-height:1.15}
  .brand-text strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .brand-text span{display:block!important;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
  .menu-toggle{flex:0 0 auto;margin-left:4px}
  .slide-appointment-hotspot{left:3.7%;top:73.5%;width:18.5%;height:10.5%}
}
@media(max-width:390px){
  .fallback-logo,.custom-logo{height:38px;max-width:92px}
  .brand-text strong{font-size:9.5px}
  .brand-text span{font-size:7.5px}
}


/* v1.4 dynamic service / condition cards */
.dynamic-card{padding:0;overflow:hidden;display:flex;flex-direction:column;transition:transform .22s ease,box-shadow .22s ease}
.dynamic-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(35,78,106,.12)}
.dynamic-card .thumb{display:block;height:210px;margin:0;border-radius:14px 14px 0 0;overflow:hidden;background:var(--pale)}
.dynamic-card .thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.dynamic-card:hover .thumb img{transform:scale(1.035)}
.dynamic-card .card-body{padding:24px 26px 27px;display:flex;flex-direction:column;flex:1}
.dynamic-card .card-body h3{margin:0 0 10px}
.dynamic-card .card-body p{flex:1}
.btn-more{align-self:center;display:inline-flex;align-items:center;gap:9px;background:var(--blue);color:#fff;padding:9px 17px;border-radius:999px;font-size:14px;line-height:1.2}
.btn-more:hover{background:var(--blue2);color:#fff}
@media(max-width:850px){.dynamic-card .thumb{height:190px}}
@media(max-width:560px){.dynamic-card .thumb{height:220px}}

/* v1.7 biography and article presentation */
.bio-hero{background:linear-gradient(135deg,#f4f9fc,#eaf4fa);padding:72px 0;border-bottom:1px solid var(--line)}
.bio-hero-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:64px;align-items:center}.bio-photo img,.bio-photo .placeholder{width:100%;min-height:460px;max-height:560px;object-fit:cover;border-radius:22px;box-shadow:var(--shadow)}.doctor-placeholder{background:linear-gradient(145deg,#e7f2f9,#f8fbfd);border:1px dashed #aac9dc;display:flex;flex-direction:column;gap:8px}.doctor-placeholder small{font-size:12px}.bio-intro h1{font-size:clamp(36px,4.6vw,58px);line-height:1.08;margin:12px 0}.bio-specialty{color:var(--blue);font-weight:750;font-size:20px;margin-bottom:22px}.bio-intro p{font-size:18px;color:var(--muted);max-width:650px}.bio-content{max-width:980px}.bio-section{padding:30px 0;border-bottom:1px solid var(--line)}.bio-section:first-child{padding-top:0}.bio-section h2{font-size:30px;margin:0 0 18px}.bio-timeline{display:grid;gap:18px}.bio-item{display:grid;grid-template-columns:120px 1fr;gap:24px;padding:22px;background:#f8fbfd;border:1px solid var(--line);border-radius:14px}.bio-year{color:var(--blue);font-weight:800}.bio-item h3{margin:0 0 6px}.bio-item p{margin:0 0 8px}.bio-link{display:inline-flex;gap:8px;align-items:center}.medical-note{margin-top:28px;padding:18px 20px;background:var(--pale);border-left:4px solid var(--blue);border-radius:8px}.entry-content h2,.entry-content h3{color:var(--ink)}.entry-content h2{font-size:32px;margin-top:0}.entry-content h3{font-size:22px;margin-top:30px}.entry-content p{color:#4f6574}.btn-more{margin-left:auto;margin-right:auto}
@media(max-width:850px){.bio-hero-grid{grid-template-columns:1fr;gap:32px}.bio-photo{max-width:520px}.bio-photo img,.bio-photo .placeholder{min-height:360px}.bio-hero{padding:50px 0}}
@media(max-width:560px){.bio-item{grid-template-columns:1fr;gap:6px;padding:18px}.bio-photo img,.bio-photo .placeholder{min-height:320px}.bio-intro h1{font-size:34px}}


/* v1.8 complete biography */
.bio-entry{padding-top:54px}.bio-highlights{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.bio-highlights span{display:inline-flex;padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);color:#31566d;font-size:13px;font-weight:700}.bio-profile-copy>p:first-of-type{font-size:18px;line-height:1.8}.bio-conferences{display:grid;gap:12px;padding-left:22px}.bio-conferences li{padding-left:5px;color:#4f6574;line-height:1.65}.bio-item ul{margin:10px 0 0;padding-left:20px;color:#4f6574}.bio-item li{margin:5px 0}.bio-year{line-height:1.35}.bio-section:last-child{border-bottom:0}
@media(max-width:560px){.bio-highlights{gap:7px}.bio-highlights span{font-size:12px;padding:7px 10px}.bio-entry{padding-top:38px}}


/* v2.0 – polished biography + editable contact/appointment page */
.bio-content{max-width:1080px}.bio-timeline{gap:20px}.bio-item{grid-template-columns:190px minmax(0,1fr);align-items:start;padding:26px 28px;border-radius:18px;background:linear-gradient(135deg,#f8fbfd,#f2f8fc);box-shadow:0 8px 24px rgba(35,78,106,.05)}.bio-year{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:9px 12px;border-radius:12px;background:#e7f3fb;color:#176ca7;font-size:14px}.bio-item>div{min-width:0}.bio-item h3{font-size:22px;line-height:1.3}.bio-item p,.bio-item li{font-size:16px}.bio-conferences{grid-template-columns:repeat(2,minmax(0,1fr));list-style:none;padding:0}.bio-conferences li{padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#f8fbfd}.contact-page{padding:70px 0}.contact-page-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:34px;align-items:start}.contact-panel,.appointment-form-wrap{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow)}.contact-panel{background:linear-gradient(145deg,#f5fafe,#eef7fc)}.contact-panel h2,.appointment-form-wrap h2{margin:0 0 8px;font-size:28px}.contact-intro{color:var(--muted);margin:0 0 26px}.contact-details{display:grid;gap:14px}.contact-detail{display:grid;grid-template-columns:42px 1fr;gap:13px;align-items:start;padding:14px 0;border-bottom:1px solid var(--line)}.contact-detail:last-child{border-bottom:0}.contact-icon{width:42px;height:42px;border-radius:12px;background:#fff;color:var(--blue);display:grid;place-items:center;font-weight:800}.contact-detail strong{display:block;margin-bottom:2px}.contact-detail a,.contact-detail span{color:#4f6574}.appointment-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-field{display:grid;gap:6px}.form-field.full{grid-column:1/-1}.form-field label{font-weight:700;font-size:14px}.form-field input,.form-field textarea{width:100%;border:1px solid #cbdde8;border-radius:10px;padding:12px 13px;font:inherit;color:var(--ink);background:#fff}.form-field textarea{min-height:120px;resize:vertical}.form-field input:focus,.form-field textarea:focus{outline:2px solid rgba(40,119,183,.16);border-color:var(--blue)}.form-consent{grid-column:1/-1;font-size:12px;color:var(--muted)}.form-message{grid-column:1/-1;padding:12px 14px;border-radius:10px}.form-message.success{background:#eaf7ef;color:#23633a}.form-message.error{background:#fff1f1;color:#8a2d2d}.contact-map{margin-top:34px;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:var(--pale)}.contact-map iframe{display:block;width:100%;height:430px;border:0}.contact-editor-copy{margin-bottom:28px;color:#4f6574}.contact-editor-copy:empty{display:none}
@media(max-width:850px){.bio-item{grid-template-columns:150px minmax(0,1fr)}.bio-conferences{grid-template-columns:1fr}.contact-page-grid{grid-template-columns:1fr}}
@media(max-width:560px){.bio-item{grid-template-columns:1fr}.bio-year{justify-self:start}.appointment-form{grid-template-columns:1fr}.form-field.full,.form-consent{grid-column:auto}.contact-panel,.appointment-form-wrap{padding:22px}.contact-map iframe{height:340px}}

/* v2.1 – refined biography alignment + contact page */
.bio-entry .bio-section{padding:38px 0}.bio-entry .bio-section>h2{margin-bottom:24px}.bio-entry .bio-timeline{display:grid;gap:18px}.bio-entry .bio-item{display:grid;grid-template-columns:170px minmax(0,1fr);gap:30px;align-items:start;width:100%;padding:26px 30px}.bio-entry .bio-year{width:100%;min-height:46px;white-space:normal}.bio-entry .bio-item h3{margin:2px 0 8px}.bio-entry .bio-item p{max-width:none;line-height:1.75}.bio-entry .bio-item ul{margin:12px 0 0;padding-left:20px;columns:1}.bio-entry .bio-conferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bio-entry .bio-conferences li{margin:0;line-height:1.65}.contact-page-grid{grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr)}.contact-panel,.appointment-form-wrap{height:100%}.contact-detail>div:last-child{min-width:0}.contact-detail a{overflow-wrap:anywhere}.contact-map-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:38px 0 14px}.contact-map-head h2{margin:0}.contact-map-head p{margin:0;color:var(--muted)}
@media(max-width:850px){.bio-entry .bio-item{grid-template-columns:140px minmax(0,1fr);gap:20px}.bio-entry .bio-conferences{grid-template-columns:1fr}.contact-page-grid{grid-template-columns:1fr}}
@media(max-width:560px){.bio-entry .bio-item{grid-template-columns:1fr;padding:20px}.bio-entry .bio-year{width:auto;justify-self:start}.contact-map-head{display:block}.contact-map-head p{margin-top:5px}}

/* v2.2 – compact editorial biography timeline */
.bio-content{max-width:1100px;margin-left:auto;margin-right:auto}
.bio-entry .bio-section{padding:34px 0}
.bio-entry .bio-section>h2{font-size:32px;line-height:1.2;margin:0 0 24px;letter-spacing:-.02em}
.bio-entry .bio-profile-copy p{max-width:920px;line-height:1.85}
.bio-entry .bio-timeline{position:relative;display:grid;gap:16px;padding-left:0}
.bio-entry .bio-item{position:relative;display:grid;grid-template-columns:145px minmax(0,1fr);gap:24px;align-items:start;width:100%;padding:20px 24px;background:#fff;border:1px solid #dce9f1;border-radius:15px;box-shadow:0 6px 18px rgba(35,78,106,.045)}
.bio-entry .bio-item::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:3px;background:var(--blue)}
.bio-entry .bio-year{width:auto;min-width:0;min-height:0;display:inline-flex;align-items:center;justify-content:center;justify-self:start;padding:7px 11px;border-radius:8px;background:#eaf5fb;color:#176ca7;font-size:13px;font-weight:800;line-height:1.25;white-space:normal}
.bio-entry .bio-item>div{min-width:0;padding-top:1px}
.bio-entry .bio-item h3{font-size:21px;line-height:1.3;margin:0 0 7px;color:var(--ink)}
.bio-entry .bio-item p{font-size:15.5px;line-height:1.7;margin:0 0 7px;color:#4f6574}
.bio-entry .bio-item p:last-child{margin-bottom:0}
.bio-entry .bio-item ul{display:flex;flex-wrap:wrap;gap:7px 9px;list-style:none;padding:5px 0 0;margin:8px 0 0}
.bio-entry .bio-item li{position:relative;margin:0;padding:6px 10px 6px 25px;border-radius:8px;background:#f4f9fc;color:#425f72;font-size:14px;line-height:1.4}
.bio-entry .bio-item li::before{content:"✓";position:absolute;left:9px;top:6px;color:var(--blue);font-weight:800}
.bio-entry .bio-conferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}
.bio-entry .bio-conferences li{padding:15px 17px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(35,78,106,.035);font-size:14.5px;line-height:1.6}
@media(max-width:760px){
 .bio-entry .bio-item{grid-template-columns:1fr;gap:10px;padding:18px 20px}
 .bio-entry .bio-year{justify-self:start}
 .bio-entry .bio-conferences{grid-template-columns:1fr}
}
@media(max-width:560px){
 .bio-entry .bio-section{padding:28px 0}
 .bio-entry .bio-section>h2{font-size:27px}
 .bio-entry .bio-item{padding:17px 17px 17px 20px;border-radius:13px}
 .bio-entry .bio-item h3{font-size:19px}
 .bio-entry .bio-item ul{display:grid;gap:7px}
}

/* v2.3 – centered compact biography cards */
.bio-entry .bio-timeline{display:grid!important;gap:14px!important;width:100%;}
.bio-entry .bio-item{display:block!important;width:min(100%,820px)!important;max-width:820px!important;margin:0 auto!important;padding:18px 22px!important;border-radius:14px!important;box-sizing:border-box!important;background:#fff!important;}
.bio-entry .bio-item::before{top:14px!important;bottom:14px!important;width:3px!important;}
.bio-entry .bio-year{display:flex!important;width:max-content!important;max-width:100%!important;min-width:130px!important;margin:0 auto 14px!important;padding:7px 14px!important;justify-content:center!important;text-align:center!important;white-space:normal!important;}
.bio-entry .bio-item>div{display:block!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;min-width:0!important;text-align:left!important;}
.bio-entry .bio-item h3{width:100%!important;max-width:none!important;margin:0 0 7px!important;font-size:20px!important;line-height:1.3!important;}
.bio-entry .bio-item p{display:block!important;width:100%!important;max-width:none!important;margin:0 0 7px!important;line-height:1.7!important;}
.bio-entry .bio-item ul{width:100%!important;max-width:none!important;}
.bio-entry .bio-section>h2{text-align:center!important;}
@media(max-width:560px){.bio-entry .bio-item{width:100%!important;padding:16px 17px!important}.bio-entry .bio-year{min-width:115px!important;margin-bottom:12px!important}.bio-entry .bio-item h3{font-size:18px!important}}


/* v2.4 – redesigned biography: editorial timeline, no oversized cards */
.bio-entry{padding-top:44px}
.bio-content{max-width:1040px!important;margin:0 auto!important}
.bio-entry .bio-section{padding:38px 0!important;border-bottom:1px solid #e5eef4!important}
.bio-entry .bio-section>h2{text-align:left!important;font-size:30px!important;margin:0 0 26px!important;display:flex;align-items:center;gap:12px}
.bio-entry .bio-section>h2::before{content:"";width:34px;height:4px;border-radius:9px;background:var(--blue);flex:0 0 auto}
.bio-entry .bio-profile-copy p{max-width:none!important;font-size:17px!important;line-height:1.85!important}
.bio-entry .bio-timeline{position:relative!important;display:grid!important;gap:0!important;width:100%!important;padding:0!important}
.bio-entry .bio-timeline::before{content:"";position:absolute;left:135px;top:10px;bottom:10px;width:1px;background:#cfe0eb}
.bio-entry .bio-item{position:relative!important;display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:52px!important;width:100%!important;max-width:none!important;margin:0!important;padding:12px 0 28px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.bio-entry .bio-item::before{content:""!important;position:absolute!important;left:130px!important;top:20px!important;width:11px!important;height:11px!important;border:3px solid #fff!important;border-radius:50%!important;background:var(--blue)!important;box-shadow:0 0 0 1px #b9d4e5!important}
.bio-entry .bio-year{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:6px 0!important;background:transparent!important;color:var(--blue)!important;text-align:right!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important}
.bio-entry .bio-item>div{width:100%!important;padding:0!important;margin:0!important;text-align:left!important}
.bio-entry .bio-item h3{font-size:21px!important;margin:0 0 6px!important;line-height:1.3!important}
.bio-entry .bio-item p{width:100%!important;max-width:none!important;font-size:15.5px!important;line-height:1.72!important;margin:0 0 7px!important}
.bio-entry .bio-item ul{display:flex!important;flex-wrap:wrap!important;gap:8px!important;list-style:none!important;padding:7px 0 0!important;margin:5px 0 0!important}
.bio-entry .bio-item li{padding:7px 11px 7px 29px!important;border:1px solid #deebf3!important;border-radius:999px!important;background:#f7fbfd!important;font-size:13.5px!important;line-height:1.35!important}
.bio-entry .bio-item li::before{content:"✓";position:absolute;left:11px;top:7px;color:var(--blue);font-weight:900}
.bio-entry .bio-conferences{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.bio-entry .bio-conferences li{position:relative;padding:14px 16px 14px 44px!important;border:1px solid #e0ebf2!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
.bio-entry .bio-conferences li::before{content:"✓";position:absolute;left:15px;top:14px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#eaf5fb;color:var(--blue);font-size:12px;font-weight:900}
.bio-highlights{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;margin-top:28px!important}
.bio-highlights span{display:flex!important;align-items:center!important;gap:10px!important;padding:11px 13px!important;border-radius:12px!important;background:rgba(255,255,255,.78)!important;font-size:13px!important}
.bio-hi-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;background:#e7f3fb;color:var(--blue)}
.bio-hi-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){
 .bio-entry .bio-timeline::before{left:8px}
 .bio-entry .bio-item{grid-template-columns:1fr!important;gap:7px!important;padding:10px 0 24px 30px!important}
 .bio-entry .bio-item::before{left:3px!important;top:17px!important}
 .bio-entry .bio-year{text-align:left!important;padding:0!important}
 .bio-entry .bio-conferences{grid-template-columns:1fr!important}
 .bio-highlights{grid-template-columns:1fr!important}
}


/* v2.5 – biography actually applied through routed page template */
.bio-entry .bio-section{max-width:940px;margin-left:auto!important;margin-right:auto!important;padding:30px 0!important}
.bio-entry .bio-section>h2{font-size:28px!important;margin-bottom:22px!important}
.bio-entry .bio-timeline{max-width:900px;margin:0 auto!important}
.bio-entry .bio-timeline::before{left:128px!important}
.bio-entry .bio-item{grid-template-columns:105px minmax(0,1fr)!important;gap:46px!important;padding:10px 0 24px!important}
.bio-entry .bio-item::before{left:123px!important;top:18px!important}
.bio-entry .bio-year{font-size:12.5px!important;line-height:1.35!important;padding-top:2px!important}
.bio-entry .bio-item>div{min-width:0!important;width:100%!important}
.bio-entry .bio-item h3{font-size:20px!important;margin:0 0 5px!important;max-width:none!important}
.bio-entry .bio-item p{max-width:none!important;width:100%!important;margin:0 0 5px!important}
@media(max-width:700px){.bio-entry .bio-timeline::before{left:7px!important}.bio-entry .bio-item{grid-template-columns:1fr!important;padding-left:28px!important;gap:4px!important}.bio-entry .bio-item::before{left:2px!important}.bio-entry .bio-year{text-align:left!important}}

/* v2.6 – balanced alternating biography timeline */
.bio-entry .bio-section{max-width:1060px!important;margin:0 auto!important;padding:38px 0!important}
.bio-entry .bio-section>h2{justify-content:center!important;text-align:center!important;margin-bottom:30px!important}
.bio-entry .bio-timeline{position:relative!important;display:block!important;max-width:1040px!important;margin:0 auto!important;padding:4px 0!important}
.bio-entry .bio-timeline::before{content:""!important;position:absolute!important;left:50%!important;top:0!important;bottom:0!important;width:2px!important;transform:translateX(-50%)!important;background:linear-gradient(#dcebf4,#9fcbe7,#dcebf4)!important}
.bio-entry .bio-item{position:relative!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:70px!important;width:100%!important;padding:0 0 28px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.bio-entry .bio-item::before{content:""!important;position:absolute!important;left:50%!important;top:17px!important;width:12px!important;height:12px!important;transform:translateX(-50%)!important;border-radius:50%!important;background:var(--blue)!important;border:3px solid #fff!important;box-shadow:0 0 0 2px #b9d8eb!important;z-index:2!important}
.bio-entry .bio-year{position:absolute!important;left:50%!important;top:0!important;transform:translateX(-50%)!important;width:max-content!important;max-width:150px!important;margin:0!important;padding:7px 13px!important;border-radius:999px!important;background:#eaf5fb!important;color:#176ca7!important;font-size:12px!important;line-height:1.3!important;text-align:center!important;z-index:3!important}
.bio-entry .bio-item>div{grid-column:2!important;width:100%!important;min-width:0!important;padding:18px 22px!important;margin:0!important;border:1px solid #e0ebf2!important;border-radius:14px!important;background:#fff!important;box-shadow:0 7px 22px rgba(35,78,106,.055)!important;text-align:left!important}
.bio-entry .bio-item:nth-child(even)>div{grid-column:1!important;text-align:right!important}
.bio-entry .bio-item h3{font-size:20px!important;line-height:1.3!important;margin:0 0 6px!important;width:100%!important}
.bio-entry .bio-item p{font-size:15px!important;line-height:1.65!important;margin:0 0 5px!important;width:100%!important;max-width:none!important}
.bio-entry .bio-item ul{display:flex!important;flex-wrap:wrap!important;gap:7px!important;width:100%!important;margin-top:10px!important}
.bio-entry .bio-item:nth-child(even) ul{justify-content:flex-end!important}
.bio-entry .bio-item li{text-align:left!important}
.bio-highlights span{border:1px solid #dcebf4!important;box-shadow:0 5px 15px rgba(35,78,106,.045)!important;transition:transform .2s ease,box-shadow .2s ease!important}
.bio-highlights span:hover{transform:translateY(-2px)!important;box-shadow:0 9px 22px rgba(35,78,106,.09)!important}
.bio-hi-icon{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:12px!important;background:linear-gradient(145deg,#edf8fe,#dceef9)!important;box-shadow:inset 0 0 0 1px rgba(40,119,183,.08)!important}
.bio-hi-icon svg{width:22px!important;height:22px!important;stroke-width:1.7!important}
@media(max-width:760px){
 .bio-entry .bio-timeline::before{left:12px!important;transform:none!important}
 .bio-entry .bio-item{display:block!important;padding:0 0 20px 38px!important}
 .bio-entry .bio-item::before{left:13px!important;top:14px!important;transform:translateX(-50%)!important}
 .bio-entry .bio-year{position:relative!important;left:auto!important;top:auto!important;transform:none!important;display:inline-flex!important;margin:0 0 8px!important;max-width:100%!important}
 .bio-entry .bio-item>div,.bio-entry .bio-item:nth-child(even)>div{width:100%!important;padding:16px 17px!important;text-align:left!important}
 .bio-entry .bio-item:nth-child(even) ul{justify-content:flex-start!important}
}

/* v2.7 — clean alternating timeline + unified SVG icon system */
.bio-entry .bio-timeline{max-width:1040px!important}
.bio-entry .bio-item{display:grid!important;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important;gap:0!important;align-items:start!important;padding:0 0 30px!important}
.bio-entry .bio-timeline::before{left:50%!important}
.bio-entry .bio-item::before{left:50%!important;top:19px!important}
.bio-entry .bio-year{position:static!important;transform:none!important;grid-column:1!important;justify-self:end!important;align-self:start!important;margin:7px 18px 0 0!important;max-width:190px!important;white-space:normal!important}
.bio-entry .bio-item>div{grid-column:3!important;padding:20px 22px!important;text-align:left!important}
.bio-entry .bio-item:nth-child(even) .bio-year{grid-column:3!important;justify-self:start!important;margin:7px 0 0 18px!important}
.bio-entry .bio-item:nth-child(even)>div{grid-column:1!important;grid-row:1!important;text-align:left!important}
.bio-entry .bio-item:nth-child(even) ul{justify-content:flex-start!important}
.bio-entry .bio-item h3,.bio-entry .bio-item p,.bio-entry .bio-item li{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.contact-icon{display:grid!important;place-items:center!important}
.contact-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bio-hi-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.bio-entry .bio-item{display:block!important;padding:0 0 22px 34px!important}.bio-entry .bio-year,.bio-entry .bio-item:nth-child(even) .bio-year{display:inline-flex!important;margin:0 0 9px!important;justify-self:auto!important}.bio-entry .bio-item>div,.bio-entry .bio-item:nth-child(even)>div{width:100%!important;text-align:left!important}.bio-entry .bio-timeline::before{left:10px!important}.bio-entry .bio-item::before{left:10px!important;top:15px!important}}
