/*
Theme Name: Mahmut Light Portfolio
Version: 5.5.0
Text Domain: mahmut-light-portfolio
*/

:root{
  --bg:#d7d2e6; --panel:#efe9fbcc; --panel-2:#f6f2fc; --panel-3:#efe9fa;
  --line:#e5dff3; --text:#293153; --muted:#5c6480; --accent:#6677ad; --accent-soft:#ede8f8;
  --mlp-site-max-width:1040px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.mlp-wrap{max-width:var(--mlp-site-max-width);margin:28px auto;border:1px solid #ece7f7;border-radius:30px;overflow:hidden;background:rgba(239,233,251,.70);box-shadow:0 28px 90px rgba(98,93,135,.14);backdrop-filter:blur(12px)}
.mlp-shell{position:relative;overflow:hidden;background:linear-gradient(180deg,#f3f1fa 0%,#e7e2f1 38%,#ded9ec 100%)}
.mlp-shell:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 0%,rgba(255,255,255,.82),transparent 35%),linear-gradient(180deg,rgba(246,242,252,.92),rgba(234,228,246,.72))}
.mlp-wave{position:absolute;left:50%;transform:translateX(-50%);border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1)}
.w1{top:70px;height:124px;width:1300px}.w2{top:102px;height:156px;width:1370px}.w3{top:154px;height:184px;width:1450px}.w4{top:246px;height:192px;width:1520px}.w5{top:390px;height:170px;width:1460px}.w6{top:472px;height:180px;width:1510px}.w7{top:628px;height:170px;width:1450px}.w8{top:848px;height:170px;width:1500px}
.mlp-inner{position:relative;z-index:1;padding:20px 32px 32px}
.mlp-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}
.mlp-brand{display:flex;align-items:center;gap:12px}
.mlp-logo-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:999px;border:1px solid rgba(97,112,164,.3);background:rgba(255,255,255,.75);box-shadow:0 2px 10px rgba(0,0,0,.05);overflow:hidden}
.mlp-logo-btn img,.custom-logo{width:100%;height:100%;object-fit:cover;border-radius:999px}
.mlp-logo-dot{width:32px;height:32px;border-radius:999px;background:#5b6ca2;color:#fff;display:grid;place-items:center;font-weight:700}
.mlp-brand-name{font-family:Georgia,serif;font-size:20px;letter-spacing:-.03em}
.mlp-nav{display:flex;align-items:center;gap:24px;font-size:15px;color:#313752}
.mlp-nav a.active{border-bottom:2px solid #68729d;padding-bottom:7px;color:#232b45}
.mlp-lang{display:flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.7);border-radius:12px;padding:6px 12px}
.mlp-lang-link{font-size:13px;color:#98a0bd}
.mlp-lang-link.active{color:#293153;font-weight:600}
.mlp-frame{position:relative;overflow:hidden;border-radius:28px;border:1px solid rgba(255,255,255,.65);background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(243,238,251,.88));box-shadow:0 18px 40px rgba(118,115,158,.12);backdrop-filter:blur(12px)}
.mlp-frame:before{content:"";position:absolute;inset:1px;border-radius:27px;border:1px solid rgba(255,255,255,.60)}
.mlp-frame:after{content:"";position:absolute;left:24px;right:24px;top:0;height:1px;background:rgba(255,255,255,.70)}
.mlp-frame-inner{position:relative;z-index:1}
.mlp-hero{display:grid;grid-template-columns:1.06fr .94fr;align-items:center;gap:20px;padding:24px}
.mlp-title{font-family:Georgia,serif;font-size:60px;line-height:.96;letter-spacing:-.04em;margin:0}
.mlp-subtitle{font-size:20px;color:#434b65;margin:12px 0 0}
.mlp-text{font-size:15px;line-height:1.9;color:#5e6681;max-width:420px;margin:16px 0 0}
.mlp-cta{display:inline-block;margin-top:32px;border-radius:999px;padding:13px 32px;background:linear-gradient(180deg,#5d77bb 0%,#4965ab 100%);color:#fff;box-shadow:0 10px 22px rgba(77,101,171,.28)}
.mlp-hero-media{position:relative;height:390px}
.mlp-hero-aura{position:absolute;inset:10px;border-radius:42px;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(232,227,244,.46));filter:blur(2px)}
.mlp-hero-frame{position:absolute;inset:14px 34px;border-radius:38px;border:1px solid rgba(255,255,255,.75);background:linear-gradient(180deg,rgba(255,255,255,.42),rgba(255,255,255,.18));box-shadow:0 30px 60px rgba(111,112,162,.18)}
.mlp-hero-image{position:absolute;inset:24px 58px;overflow:hidden;border-radius:32px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 24px 48px rgba(111,112,162,.16)}
.mlp-hero-image:before{content:"";position:absolute;inset:0;border-radius:32px;border:10px solid rgba(255,255,255,.30);z-index:1}
.mlp-hero-image:after{content:"";position:absolute;inset:14px;border-radius:24px;border:1px solid rgba(255,255,255,.35);z-index:1}
.mlp-hero-image img{width:100%;height:100%;object-fit:cover}
.mlp-section{margin-bottom:36px}
.mlp-section-pad{padding:20px}
.mlp-section-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.mlp-badge-title{display:inline-flex;align-items:center;border-radius:999px;border:1px solid rgba(255,255,255,.6);background:rgba(244,239,251,.9);padding:6px 16px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.mlp-section-head h2{font-family:Georgia,serif;font-size:27px;letter-spacing:-.03em;margin:0}
.mlp-line{height:1px;flex:1;background:#c7c2d9}
.mlp-grid-2,.mlp-grid-books,.mlp-grid-related,.mlp-contact-grid,.mlp-grid-blog{display:grid;gap:16px}
.mlp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.mlp-grid-books{grid-template-columns:repeat(4,minmax(0,1fr))}
.mlp-grid-related{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.mlp-project-card,.mlp-card,.mlp-contact-card{border-radius:24px;border:1px solid var(--line);background:linear-gradient(180deg,#f6f2fc 0%,#efe9fa 100%);box-shadow:0 14px 28px rgba(126,123,168,.10)}
.mlp-project-card,.mlp-card{padding:16px}
.mlp-project-inner{display:grid;grid-template-columns:.9fr 1.3fr;align-items:center;gap:16px}
.mlp-project-card h3,.mlp-card h4{font-family:Georgia,serif;color:var(--text);margin:0}
.mlp-project-card h3{font-size:28px;line-height:1}
.mlp-project-text{margin-top:12px;max-width:170px;font-size:14px;line-height:2;color:#515975}
.mlp-project-url{margin-top:28px;font-size:13px;color:#49506a}
.mlp-project-thumb{overflow:hidden;border-radius:18px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.35);box-shadow:inset 0 0 18px rgba(255,255,255,.2)}
.mlp-project-thumb img{width:100%;height:150px;object-fit:cover}
.mlp-card h4{font-size:23px;line-height:1.1;margin-top:12px}
.mlp-card p{margin:8px 0 0;font-size:14px;line-height:1.7;color:var(--muted)}
.mlp-square-thumb{position:relative;width:68%;aspect-ratio:1/1;margin:0 auto;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.7);background:#e8e2f5;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.mlp-book-thumb{position:relative;width:82%;aspect-ratio:1/1;margin:0 auto;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.7);background:#e8e2f5;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.mlp-square-thumb img,.mlp-book-thumb img{width:100%;height:100%;object-fit:cover}
.mlp-book-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.04) 36%,rgba(0,0,0,.22))}
.mlp-book-title{position:absolute;left:0;right:0;top:12px;padding:0 8px;text-align:center;color:#fff;font-family:Georgia,serif;font-size:12px;line-height:1.1;text-shadow:0 2px 10px rgba(0,0,0,.28)}
.mlp-book-author{position:absolute;left:0;right:0;bottom:8px;text-align:center;color:#fff;font-size:10px}
.mlp-pill-btn,.mlp-readmore{display:inline-flex;align-items:center;border-radius:999px;border:1px solid #ddd7ef;background:#ede8f8;padding:8px 16px;font-size:12px;font-weight:600;color:#58617f;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.mlp-readmore{margin-top:12px}
.mlp-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:20px}
.mlp-page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.78);color:#55607f;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.mlp-page-btn.active{border-color:transparent;background:#6677ad;color:#fff}
.mlp-page-btn.disabled{opacity:.48;pointer-events:none}
.mlp-pagination--projects-home{margin-top:24px}
.mlp-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mlp-contact-card{padding:20px}
.mlp-contact-row{display:flex;align-items:center;gap:16px;font-size:16px;color:#49506b}
.mlp-contact-label{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#7b83a1}
.mlp-contact-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#edf1ff;color:#6c78a8}
.mlp-socials{display:flex;justify-content:flex-start;align-items:center;gap:12px;margin-top:20px}
.mlp-social{display:grid;place-items:center;width:44px;height:44px;border-radius:18px;background:#6877ab;color:#fff;box-shadow:0 10px 20px rgba(97,109,163,.18);font-weight:700}
.mlp-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mlp-tag{display:inline-flex;border-radius:999px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.75);padding:6px 12px;font-size:12px;color:#59627c}
[data-live-readers]{display:inline-flex;border-radius:999px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.8);padding:8px 16px;font-size:12px;color:#62708f;box-shadow:0 2px 8px rgba(0,0,0,.05);margin-bottom:12px}
.mlp-post-wrap{max-width:1080px;margin:28px auto}
.mlp-post-header{margin-bottom:20px}
.mlp-post-cover{max-width:760px;margin:0 auto 20px;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(126,123,168,.10)}
.mlp-post-cover img{width:100%;height:auto;max-height:420px;object-fit:cover}
.mlp-post-content{color:#5c6480;line-height:1.9}
@media (max-width:980px){
  .mlp-nav{display:none}
  .mlp-hero,.mlp-grid-2,.mlp-contact-grid{grid-template-columns:1fr}
  .mlp-grid-books,.mlp-grid-related,.cols-3,.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .mlp-inner{padding:18px}
  .mlp-title{font-size:42px}
  .mlp-grid-books,.mlp-grid-related,.cols-2,.cols-3,.cols-4,.mlp-contact-grid{grid-template-columns:1fr}
  .mlp-hero-media{height:300px}
  .mlp-square-thumb,.mlp-book-thumb{width:76%}
}


/* v5 adjustments */
.mlp-project-thumb img{height:200px}
.mlp-square-thumb{width:78%;border-radius:24px}
.mlp-book-thumb{width:92%;border-radius:24px}
.mlp-book-title{font-size:14px;line-height:1.15}
.mlp-book-author{font-size:11px;bottom:10px}
.mlp-socials{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin-top:20px;flex-wrap:wrap}
.mlp-social{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:#6877ab;color:#fff;box-shadow:0 8px 16px rgba(97,109,163,.16);font-size:14px;font-weight:700}
.mlp-post-cover{max-width:760px;margin:0 auto 22px;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(126,123,168,.10)}
.mlp-post-cover img{width:100%;height:auto;max-height:420px;object-fit:cover}
.mlp-card-link{display:block}
@media (max-width:640px){
  .mlp-square-thumb{width:84%}
  .mlp-book-thumb{width:88%}
}


/* v6 refinements */
.mlp-about-badge{
  position:absolute; right:28px; top:22px; z-index:2;
  display:inline-flex; align-items:center;
  border-radius:999px; padding:8px 16px;
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.62);
  color:var(--text); font-size:13px; font-weight:600;
  box-shadow:0 8px 16px rgba(111,112,162,.12);
  backdrop-filter:blur(8px);
}
.mlp-hero-image.modern{
  border-radius:34px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 28px 54px rgba(111,112,162,.20);
}
.mlp-hero-image.modern:before{border-width:12px}
.mlp-hero-image.modern:after{inset:16px;border-radius:26px}


/* v7 larger default visuals */
.mlp-project-thumb{width:100%}
.mlp-project-thumb img{height:220px}
.mlp-grid-books .mlp-card,
.mlp-grid-blog .mlp-card,
.mlp-grid-related .mlp-card{height:100%}
.mlp-grid-books .mlp-card .mlp-book-thumb,
.mlp-grid-blog .mlp-card .mlp-square-thumb,
.mlp-grid-related .mlp-card .mlp-square-thumb{
  transition:all .2s ease;
}
@media (max-width:640px){
  .mlp-project-thumb img{height:200px}
}


/* v8 bigger open-ended image controls */
.mlp-project-card,.mlp-card{overflow:visible}
.mlp-project-inner{grid-template-columns:.88fr 1.32fr}
.mlp-project-thumb{overflow:hidden}
.mlp-project-thumb img{height:250px}
.mlp-grid-books .mlp-card{padding:12px}
.mlp-grid-blog .mlp-card,.mlp-grid-related .mlp-card{padding:14px}
.mlp-card-link .mlp-square-thumb,
.mlp-card-link .mlp-book-thumb,
.mlp-project-thumb{
  transition:all .2s ease;
  max-width:none;
}
@media (max-width:640px){
  .mlp-project-thumb img{height:220px}
}


/* v9 fixes */
.mlp-post-cover{max-width:620px;margin:0 auto 18px;overflow:hidden;border-radius:24px;border:1px solid rgba(255,255,255,.7);box-shadow:0 14px 28px rgba(126,123,168,.10);background:rgba(255,255,255,.45)}
.mlp-post-cover img{width:100%;height:340px;object-fit:cover;display:block}
.mlp-post-content img{display:block;max-width:min(100%,680px);width:auto;height:auto;max-height:420px;margin:20px auto;border-radius:20px;border:1px solid rgba(255,255,255,.7);box-shadow:0 10px 22px rgba(126,123,168,.10)}
.mlp-post-content figure{margin:20px auto;text-align:center}
.mlp-post-content iframe,.mlp-post-content video{max-width:100%;border-radius:18px}
@media (max-width:640px){
  .mlp-post-cover{max-width:100%}
  .mlp-post-cover img{height:240px}
}


/* v10 fixes */
.mlp-book-overlay,
.mlp-book-title,
.mlp-book-author{display:none}
.mlp-book-thumb{
  width:92%;
  aspect-ratio:0.92/1;
  border-radius:28px;
  background:#dfe5ee;
  box-shadow:0 10px 24px rgba(126,123,168,0.12), inset 0 0 0 1px rgba(255,255,255,0.4);
}
.mlp-book-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.mlp-book-title-below{
  padding-top:14px;
  text-align:center;
}
.mlp-book-title-below h4{
  margin:0;
  font-family:Georgia, serif;
  font-size:18px;
  line-height:1.2;
  color:var(--text);
}
.mlp-book-title-below .mlp-book-meta{
  margin-top:4px;
  font-size:12px;
  color:#6a7391;
}
.mlp-book-button-wrap{
  padding-top:14px;
  text-align:center;
}
.mlp-pill-btn.modern{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:148px;
  padding:11px 22px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.72);
  background:linear-gradient(180deg, #f7f2fc 0%, #ebe5f7 100%);
  color:#4d5878;
  font-size:13px;
  font-weight:600;
  box-shadow:0 8px 18px rgba(126,123,168,.12);
}
.mlp-pill-btn.modern:hover{transform:translateY(-1px)}
.mlp-post-cover{
  max-width:560px;
  margin:0 auto 18px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 14px 28px rgba(126,123,168,.10);
  background:rgba(255,255,255,.45);
}
.mlp-post-cover img{
  width:100%;
  height:auto;
  max-height:320px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}
.mlp-post-content img{
  display:block;
  max-width:min(100%,560px);
  width:auto;
  height:auto;
  max-height:320px;
  object-fit:contain;
  margin:20px auto;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 10px 22px rgba(126,123,168,.10);
  background:rgba(255,255,255,.35);
}
@media (max-width:640px){
  .mlp-post-cover{max-width:100%}
  .mlp-post-cover img{max-height:240px}
  .mlp-post-content img{max-width:100%; max-height:240px}
}


/* v11 fixes */
.mlp-card-link img{
  object-fit:cover;
  object-position:center;
}
.mlp-square-thumb,
.mlp-book-thumb,
.mlp-project-thumb{
  background:rgba(255,255,255,.35);
  overflow:hidden;
}
.mlp-square-thumb img,
.mlp-book-thumb img,
.mlp-project-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* Books: remove all text overlay from image area, keep title only below */
.mlp-book-overlay,
.mlp-book-title,
.mlp-book-author{
  display:none !important;
}
.mlp-book-title-below{
  padding-top:14px;
  text-align:center;
}
.mlp-book-title-below h4{
  margin:0;
  font-family:Georgia, serif;
  font-size:18px;
  line-height:1.2;
  color:var(--text);
}
.mlp-book-title-below .mlp-book-meta{
  display:none !important;
}
.mlp-book-button-wrap{
  padding-top:14px;
  text-align:center;
}
.mlp-pill-btn.modern{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:150px;
  padding:11px 22px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.72);
  background:linear-gradient(180deg,#f7f2fc 0%,#ebe5f7 100%);
  color:#4d5878;
  font-size:13px;
  font-weight:600;
  box-shadow:0 8px 18px rgba(126,123,168,.12);
}
.mlp-pill-btn.modern:hover{
  transform:translateY(-1px);
}

/* Post images: keep proportions, shrink without overflow, frame hugs image */
.mlp-post-cover{
  max-width:560px;
  width:fit-content;
  margin:0 auto 18px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 14px 28px rgba(126,123,168,.10);
  background:rgba(255,255,255,.45);
}
.mlp-post-cover img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:320px;
  object-fit:contain;
  margin:0 auto;
}
.mlp-post-content figure{
  width:fit-content;
  max-width:100%;
  margin:20px auto;
}
.mlp-post-content img{
  display:block;
  width:auto;
  max-width:min(100%,560px);
  height:auto;
  max-height:320px;
  object-fit:contain;
  margin:0 auto;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 10px 22px rgba(126,123,168,.10);
  background:rgba(255,255,255,.35);
}
.mlp-post-content .wp-caption,
.mlp-post-content .wp-block-image{
  width:fit-content !important;
  max-width:100%;
  margin:20px auto;
}
.mlp-post-content .wp-caption img{
  margin:0 auto;
}
@media (max-width:640px){
  .mlp-post-cover{
    max-width:100%;
  }
  .mlp-post-cover img{
    max-height:240px;
    max-width:100%;
  }
  .mlp-post-content img{
    max-width:100%;
    max-height:240px;
  }
}


/* v12 image/frame fit and book card cleanup */
.mlp-card{overflow:hidden}
.mlp-book-thumb{
  width:92%;
  aspect-ratio:0.72/1;
  border-radius:28px;
  padding:0;
  background:rgba(255,255,255,.28);
  box-shadow:0 10px 24px rgba(126,123,168,0.12), inset 0 0 0 1px rgba(255,255,255,0.42);
}
.mlp-book-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#ffffff10;
}
.mlp-book-thumb::after{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.35);
  pointer-events:none;
}
.mlp-square-thumb{
  width:84%;
  aspect-ratio:0.9/1;
  border-radius:24px;
  background:rgba(255,255,255,.28);
}
.mlp-square-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#ffffff10;
}
.mlp-project-thumb{
  width:100%;
  border-radius:20px;
  background:rgba(255,255,255,.28);
}
.mlp-project-thumb img{
  width:100%;
  height:220px;
  object-fit:contain;
  object-position:center;
  background:#ffffff10;
}
.mlp-book-title-below{
  padding-top:16px;
  text-align:center;
}
.mlp-book-title-below h4{
  margin:0;
  font-family:Georgia, serif;
  font-size:18px;
  line-height:1.18;
  color:var(--text);
}
.mlp-book-button-wrap{
  padding-top:16px;
  padding-bottom:4px;
  text-align:center;
}
.mlp-pill-btn.modern{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:156px;
  padding:12px 24px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.78);
  background:linear-gradient(180deg,#faf7fd 0%,#ece6f7 100%);
  color:#495674;
  font-size:14px;
  font-weight:700;
  box-shadow:0 10px 22px rgba(126,123,168,.14);
}
.mlp-post-cover{
  max-width:520px;
  width:fit-content;
  margin:0 auto 18px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 14px 28px rgba(126,123,168,.10);
  background:rgba(255,255,255,.35);
}
.mlp-post-cover img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:300px;
  object-fit:contain;
  object-position:center;
  margin:0 auto;
}
.mlp-post-content figure,
.mlp-post-content .wp-block-image,
.mlp-post-content .wp-caption{
  width:fit-content !important;
  max-width:100%;
  margin:20px auto;
}
.mlp-post-content img{
  display:block;
  width:auto;
  max-width:min(100%,520px);
  height:auto;
  max-height:300px;
  object-fit:contain;
  object-position:center;
  margin:0 auto;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 10px 22px rgba(126,123,168,.10);
  background:rgba(255,255,255,.35);
}
@media (max-width:640px){
  .mlp-book-thumb{width:90%}
  .mlp-square-thumb{width:88%}
  .mlp-project-thumb img{height:190px}
  .mlp-post-cover img,
  .mlp-post-content img{max-height:220px}
}


/* v13 frame-fit and editor taxonomy support visuals */
.mlp-book-thumb{
  position:relative;
  width:92%;
  aspect-ratio:0.72/1;
  border-radius:28px;
  background:rgba(255,255,255,.28);
  box-shadow:0 10px 24px rgba(126,123,168,0.12), inset 0 0 0 1px rgba(255,255,255,0.42);
  overflow:hidden;
}
.mlp-book-thumb img{
  width:calc(100% - 20px);
  height:calc(100% - 20px);
  margin:10px;
  border-radius:22px;
  object-fit:contain;
  object-position:center;
  display:block;
  background:rgba(255,255,255,.10);
}
.mlp-book-thumb::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.32);
  pointer-events:none;
}
.mlp-square-thumb{
  overflow:hidden;
}
.mlp-square-thumb img{
  width:calc(100% - 18px);
  height:calc(100% - 18px);
  margin:9px;
  border-radius:18px;
  object-fit:contain;
  object-position:center;
  display:block;
  background:rgba(255,255,255,.10);
}
.mlp-project-thumb{
  overflow:hidden;
}
.mlp-project-thumb img{
  width:calc(100% - 18px);
  height:calc(100% - 18px);
  margin:9px;
  border-radius:16px;
  object-fit:contain;
  object-position:center;
  display:block;
  background:rgba(255,255,255,.10);
}
.mlp-card-link img{
  image-rendering:auto;
}
@media (max-width:640px){
  .mlp-book-thumb img{width:calc(100% - 16px);height:calc(100% - 16px);margin:8px}
  .mlp-square-thumb img,.mlp-project-thumb img{width:calc(100% - 14px);height:calc(100% - 14px);margin:7px}
}


/* v14 auto-expanding section grids */
.mlp-grid-books-auto,
.mlp-grid-posts-auto{
  display:grid;
  gap:20px;
  justify-content:flex-start;
}
.mlp-grid-books-auto{
  grid-template-columns:repeat(auto-fit,minmax(240px,240px));
}
.mlp-grid-posts-auto{
  grid-template-columns:repeat(auto-fit,minmax(260px,260px));
}
@media (max-width:640px){
  .mlp-grid-books-auto,
  .mlp-grid-posts-auto{
    grid-template-columns:1fr;
    justify-content:center;
  }
}


/* v15 centered content counts */
.mlp-books-center-wrap,
.mlp-posts-center-wrap{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
}
.mlp-books-center-wrap > .mlp-card{
  width:240px;
  flex:0 0 240px;
}
.mlp-posts-center-wrap > .mlp-card{
  width:260px;
  flex:0 0 260px;
}
@media (max-width:640px){
  .mlp-books-center-wrap > .mlp-card,
  .mlp-posts-center-wrap > .mlp-card{
    width:100%;
    max-width:360px;
    flex:1 1 100%;
  }
}


/* v17 clickable tags */
.mlp-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.mlp-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.72);
  background:linear-gradient(180deg,#f8f4fd 0%,#eee8f8 100%);
  padding:7px 14px;
  font-size:12px;
  color:#59627c;
  box-shadow:0 6px 14px rgba(126,123,168,.10);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor:pointer;
}
a.mlp-tag:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,#fbf8fe 0%,#e9e2f6 100%);
  box-shadow:0 8px 18px rgba(126,123,168,.14);
}


/* v19 project card style */
.mlp-projects-stack{
  display:grid;
  gap:20px;
}
.mlp-project-card{
  border-radius:30px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:24px;
  box-shadow:0 14px 32px rgba(126,123,168,.10);
}
.mlp-project-card .mlp-card-link{
  display:block;
}
.mlp-project-inner{
  display:grid;
  align-items:center;
  gap:24px;
  grid-template-columns:.82fr 1.18fr;
}
.mlp-project-card h3{
  font-family:Georgia,serif;
  font-size:34px;
  line-height:1;
  letter-spacing:-.03em;
  color:#293153;
  margin:0;
}
.mlp-project-text{
  margin-top:28px;
  max-width:220px;
  font-size:19px;
  line-height:2.1;
  color:#5f6783;
}
.mlp-project-url{
  margin-top:36px;
  font-size:16px;
  color:#5a6280;
}
.mlp-project-thumb{
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
  width:100% !important;
}
.mlp-project-thumb img{
  width:100%;
  height:245px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  background:transparent;
}
@media (max-width:900px){
  .mlp-project-inner{grid-template-columns:1fr}
  .mlp-project-card h3{font-size:30px}
  .mlp-project-text{max-width:none;font-size:17px;line-height:1.9}
  .mlp-project-url{margin-top:24px}
  .mlp-project-thumb img{height:220px}
}


/* v20 projects horizontal centered compact cards */
.mlp-projects-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
}
.mlp-projects-row > .mlp-project-card{
  width:100%;
  max-width:430px;
  flex:0 0 430px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}
.mlp-projects-row .mlp-project-inner{
  display:grid;
  align-items:center;
  gap:16px;
  grid-template-columns:.98fr 1.02fr;
}
.mlp-projects-row .mlp-project-card h3{
  font-family:Georgia,serif;
  font-size:24px;
  line-height:1;
  letter-spacing:-.03em;
  color:#293153;
  margin:0;
}
.mlp-projects-row .mlp-project-text{
  margin-top:16px;
  max-width:200px;
  font-size:15px;
  line-height:1.85;
  color:#5f6783;
}
.mlp-projects-row .mlp-project-url{
  margin-top:18px;
  font-size:14px;
  color:#5a6280;
  word-break:break-all;
}
.mlp-projects-row .mlp-project-thumb{
  width:100%;
  overflow:hidden;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-projects-row .mlp-project-thumb img{
  width:100%;
  height:150px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  display:block;
  background:transparent;
}
@media (max-width:940px){
  .mlp-projects-row > .mlp-project-card{
    max-width:430px;
    flex:1 1 430px;
  }
}
@media (max-width:640px){
  .mlp-projects-row > .mlp-project-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-projects-row .mlp-project-inner{grid-template-columns:1fr}
  .mlp-projects-row .mlp-project-card h3{font-size:22px}
  .mlp-projects-row .mlp-project-text{max-width:none}
  .mlp-projects-row .mlp-project-thumb img{height:170px}
}


/* v21: project cards smaller, centered, wrap to next row when needed */
.mlp-projects-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:18px;
}
.mlp-projects-row > .mlp-project-card{
  width:100%;
  max-width:360px;
  flex:0 1 360px;
  overflow:hidden;
  border-radius:22px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:14px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}
.mlp-projects-row .mlp-project-inner{
  display:grid;
  align-items:center;
  gap:14px;
  grid-template-columns:1fr 1fr;
}
.mlp-projects-row .mlp-project-card h3{
  font-family:Georgia,serif;
  font-size:21px;
  line-height:1;
  letter-spacing:-.03em;
  color:#293153;
  margin:0;
}
.mlp-projects-row .mlp-project-text{
  margin-top:14px;
  max-width:160px;
  font-size:14px;
  line-height:1.7;
  color:#5f6783;
}
.mlp-projects-row .mlp-project-url{
  margin-top:14px;
  font-size:13px;
  color:#5a6280;
  word-break:break-all;
}
.mlp-projects-row .mlp-project-thumb{
  width:100%;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-projects-row .mlp-project-thumb img{
  width:100%;
  height:124px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  display:block;
  background:transparent;
}
@media (max-width:640px){
  .mlp-projects-row > .mlp-project-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-projects-row .mlp-project-inner{
    grid-template-columns:1fr;
  }
  .mlp-projects-row .mlp-project-card h3{
    font-size:20px;
  }
  .mlp-projects-row .mlp-project-text{
    max-width:none;
  }
  .mlp-projects-row .mlp-project-thumb img{
    height:160px;
  }
}


/* v22 blog excerpt cleanup */
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
}
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:300px;
  flex:0 1 300px;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
}


/* v24 blog + related match requested horizontal layout */
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
}
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:470px;
  flex:0 1 470px;
  overflow:hidden;
  border-radius:26px;
  border:1px solid #e5dff3;
  background:linear-gradient(180deg,#f6f2fc 0%,#efe9fa 100%);
  padding:16px;
  box-shadow:0 14px 28px rgba(126,123,168,.10);
}
.mlp-blog-card-inner,
.mlp-related-card-inner{
  display:grid;
  align-items:start;
  gap:16px;
  grid-template-columns:170px 1fr;
}
.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100%;
  aspect-ratio:auto;
  overflow:hidden;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.70);
  background:#e8e2f5;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-row .mlp-square-thumb img,
.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:170px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:22px;
  line-height:1.08;
  color:#293153;
  margin:0;
}
.mlp-blog-row p,
.mlp-related-row p{
  margin:12px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:14px;
  line-height:1.75;
  color:#5c6480;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:190px;
  }
}


/* v25 compact blog + related cards matching latest layout */
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:390px;
  flex:0 1 390px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e5dff3;
  background:linear-gradient(180deg,#f6f2fc 0%,#efe9fa 100%);
  padding:16px;
  box-shadow:0 12px 24px rgba(126,123,168,.10);
}
.mlp-blog-card-inner,
.mlp-related-card-inner{
  display:grid;
  align-items:start;
  gap:16px;
  grid-template-columns:130px 1fr;
}
.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100%;
  aspect-ratio:auto;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.70);
  background:#e8e2f5;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-row .mlp-square-thumb img,
.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:130px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:20px;
  line-height:1.08;
  color:#293153;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-blog-row p,
.mlp-related-row p{
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:13px;
  line-height:1.65;
  color:#5c6480;
}
.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  margin-top:12px;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px;
  }
}


/* v26 compact project-like blog/related cards */
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:380px;
  flex:0 0 380px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}
.mlp-blog-card-inner,
.mlp-related-card-inner{
  display:grid;
  align-items:start;
  gap:16px;
  grid-template-columns:120px 1fr;
}
.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100%;
  aspect-ratio:auto;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-row .mlp-square-thumb img,
.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:120px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:19px;
  line-height:1.08;
  color:#293153;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-blog-row p,
.mlp-related-row p{
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:13px;
  line-height:1.6;
  color:#5c6480;
}
.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  margin-top:12px;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px;
  }
}


/* v27 exact blog + related compact horizontal layout */
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:380px;
  flex:0 0 380px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}
.mlp-blog-card-inner,
.mlp-related-card-inner{
  display:grid;
  align-items:start;
  gap:16px;
  grid-template-columns:120px 1fr;
}
.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100%;
  aspect-ratio:auto;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-row .mlp-square-thumb img,
.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:120px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:19px;
  line-height:1.08;
  color:#293153;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-blog-row p,
.mlp-related-row p{
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:13px;
  line-height:1.6;
  color:#5c6480;
}
.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  margin-top:12px;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px;
  }
}


/* v28 latest compact blog/related layout */
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.mlp-blog-row > .mlp-card{
  width:100%;
  max-width:380px;
  flex:0 0 380px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:400px;
  flex:0 0 400px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}
.mlp-blog-card-inner{
  display:grid;
  align-items:start;
  gap:16px;
  grid-template-columns:120px 1fr;
}
.mlp-related-card-inner{
  display:grid;
  align-items:start;
  gap:16px;
  grid-template-columns:136px 1fr;
}
.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100%;
  aspect-ratio:auto;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-row .mlp-square-thumb img{
  width:100%;
  height:136px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:136px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:18px;
  line-height:1.06;
  color:#293153;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-blog-row p,
.mlp-related-row p{
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:12px;
  line-height:1.55;
  color:#5c6480;
}
.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  margin-top:12px;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px;
  }
}


/* v29 harmonious blog + related cards */
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:392px;
  flex:0 0 392px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}
.mlp-blog-card-inner{
  display:grid;
  align-items:center;
  gap:16px;
  grid-template-columns:128px 1fr;
}
.mlp-related-card-inner{
  display:grid;
  align-items:start;
  gap:16px;
  grid-template-columns:136px 1fr;
}
.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100%;
  aspect-ratio:auto;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-row .mlp-square-thumb img{
  width:100%;
  height:128px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:136px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:17px;
  line-height:1.12;
  color:#293153;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-blog-row p,
.mlp-related-row p{
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:12px;
  line-height:1.6;
  color:#5c6480;
}
.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  margin-top:12px;
  padding:9px 16px;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px;
  }
}


/* v30 latest canvas-aligned blog + related cards */
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:428px;
  flex:0 0 428px;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}
.mlp-blog-card-inner,
.mlp-related-card-inner{
  display:grid;
  align-items:center;
  gap:16px;
  grid-template-columns:148px 1fr;
}
.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100%;
  aspect-ratio:auto;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-row .mlp-square-thumb img,
.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:148px;
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:18px;
  line-height:1.14;
  color:#293153;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-blog-row p,
.mlp-related-row p{
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:12px;
  line-height:1.65;
  color:#5c6480;
}
.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  margin-top:12px;
  padding:9px 16px;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px;
  }
}


/* v31 blog + related harmony adjustments */
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  max-width:440px;
  flex:0 0 440px;
}
.mlp-blog-card-inner,
.mlp-related-card-inner{
  gap:14px;
  grid-template-columns:156px 1fr;
}
.mlp-blog-row .mlp-square-thumb img,
.mlp-related-row .mlp-square-thumb img{
  height:156px;
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-size:17px;
  line-height:1.16;
}
.mlp-blog-row p,
.mlp-related-row p{
  font-size:12px;
  line-height:1.7;
}
.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  padding:9px 15px;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:180px;
  }
}


/* v32 adjustable blog/related cards */
:root{
  --mlp-blog-card-width: 440px;
  --mlp-blog-image-col: 156px;
  --mlp-blog-image-height: 156px;
  --mlp-blog-columns: 2;
  --mlp-related-card-width: 440px;
  --mlp-related-image-col: 156px;
  --mlp-related-image-height: 156px;
  --mlp-related-columns: 2;
}
.mlp-blog-row,
.mlp-related-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:16px;
}
.mlp-blog-row > .mlp-card{
  width:100%;
  max-width:min(var(--mlp-blog-card-width), calc((100% - (16px * (var(--mlp-blog-columns) - 1))) / var(--mlp-blog-columns)));
  flex:0 1 min(var(--mlp-blog-card-width), calc((100% - (16px * (var(--mlp-blog-columns) - 1))) / var(--mlp-blog-columns)));
}
.mlp-related-row > .mlp-card{
  width:100%;
  max-width:min(var(--mlp-related-card-width), calc((100% - (16px * (var(--mlp-related-columns) - 1))) / var(--mlp-related-columns)));
  flex:0 1 min(var(--mlp-related-card-width), calc((100% - (16px * (var(--mlp-related-columns) - 1))) / var(--mlp-related-columns)));
}
.mlp-blog-card-inner{
  display:grid;
  align-items:center;
  gap:16px;
  grid-template-columns:var(--mlp-blog-image-col) 1fr;
}
.mlp-related-card-inner{
  display:grid;
  align-items:center;
  gap:16px;
  grid-template-columns:var(--mlp-related-image-col) 1fr;
}
.mlp-blog-row .mlp-square-thumb img{
  height:var(--mlp-blog-image-height);
}
.mlp-related-row .mlp-square-thumb img{
  height:var(--mlp-related-image-height);
}
.mlp-blog-row h4,
.mlp-related-row h4{
  font-size:clamp(17px, calc(var(--mlp-blog-card-width) / 24), 21px);
  line-height:1.14;
}
.mlp-blog-row p,
.mlp-related-row p{
  font-size:12px;
  line-height:1.65;
}
@media (max-width:640px){
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100%;
    flex:1 1 100%;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px;
  }
}


/* v33 reliable adjustable blog/related layout */
:root{
  --mlp-blog-card-width: 440px;
  --mlp-blog-image-col: 156px;
  --mlp-blog-image-height: 156px;
  --mlp-blog-columns: 2;
  --mlp-related-card-width: 440px;
  --mlp-related-image-col: 156px;
  --mlp-related-image-height: 156px;
  --mlp-related-columns: 2;
}

.mlp-blog-row,
.mlp-related-row{
  display:grid;
  gap:16px;
  justify-content:center;
}

.mlp-blog-row{
  grid-template-columns:repeat(var(--mlp-blog-columns), minmax(0, min(var(--mlp-blog-card-width), 1fr)));
}

.mlp-related-row{
  grid-template-columns:repeat(var(--mlp-related-columns), minmax(0, min(var(--mlp-related-card-width), 1fr)));
}

.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100%;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}

.mlp-blog-card-inner{
  display:grid;
  align-items:center;
  gap:14px;
  grid-template-columns:minmax(110px, var(--mlp-blog-image-col)) minmax(0, 1fr);
}
.mlp-related-card-inner{
  display:grid;
  align-items:center;
  gap:14px;
  grid-template-columns:minmax(110px, var(--mlp-related-image-col)) minmax(0, 1fr);
}

.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100%;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-row .mlp-square-thumb img{
  width:100%;
  height:var(--mlp-blog-image-height);
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:var(--mlp-related-image-height);
  margin:0;
  border-radius:0;
  object-fit:cover;
  object-position:center;
  background:transparent;
}

.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:clamp(16px, calc(var(--mlp-blog-card-width) / 24), 21px);
  line-height:1.14;
  color:#293153;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-blog-row p,
.mlp-related-row p{
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:12px;
  line-height:1.65;
  color:#5c6480;
  word-break:break-word;
}
.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  margin-top:12px;
  padding:9px 16px;
}

@media (max-width:980px){
  .mlp-blog-row{grid-template-columns:repeat(min(var(--mlp-blog-columns), 2), minmax(0, 1fr));}
  .mlp-related-row{grid-template-columns:repeat(min(var(--mlp-related-columns), 2), minmax(0, 1fr));}
}
@media (max-width:640px){
  .mlp-blog-row,
  .mlp-related-row{
    grid-template-columns:1fr;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px;
  }
}


/* v36 reliable working blog + related settings */
:root{
  --mlp-blog-card-width: 440px;
  --mlp-blog-image-col: 156px;
  --mlp-blog-image-height: 156px;
  --mlp-blog-columns: 2;
  --mlp-related-card-width: 440px;
  --mlp-related-image-col: 156px;
  --mlp-related-image-height: 156px;
  --mlp-related-columns: 2;
}

.mlp-blog-row,
.mlp-related-row{
  display:grid !important;
  gap:16px;
  justify-content:center;
  align-items:stretch;
}

.mlp-blog-row{
  grid-template-columns:repeat(var(--mlp-blog-columns), minmax(280px, min(var(--mlp-blog-card-width), 1fr)));
}

.mlp-related-row{
  grid-template-columns:repeat(var(--mlp-related-columns), minmax(280px, min(var(--mlp-related-card-width), 1fr)));
}

.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card{
  width:100% !important;
  max-width:none !important;
  min-width:0;
  overflow:hidden;
  border-radius:24px;
  border:1px solid #e3deef;
  background:linear-gradient(180deg,#f5f2fb 0%,#eee9f8 100%);
  padding:16px;
  box-shadow:0 10px 22px rgba(126,123,168,.10);
}

.mlp-blog-card-inner{
  display:grid;
  align-items:center;
  gap:14px;
  grid-template-columns:minmax(110px, var(--mlp-blog-image-col)) minmax(0, 1fr);
}

.mlp-related-card-inner{
  display:grid;
  align-items:center;
  gap:14px;
  grid-template-columns:minmax(110px, var(--mlp-related-image-col)) minmax(0, 1fr);
}

.mlp-blog-row .mlp-square-thumb,
.mlp-related-row .mlp-square-thumb{
  width:100% !important;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}

.mlp-blog-row .mlp-square-thumb img{
  width:100%;
  height:var(--mlp-blog-image-height) !important;
  margin:0 !important;
  border-radius:0 !important;
  object-fit:cover;
  object-position:center;
  background:transparent;
}

.mlp-related-row .mlp-square-thumb img{
  width:100%;
  height:var(--mlp-related-image-height) !important;
  margin:0 !important;
  border-radius:0 !important;
  object-fit:cover;
  object-position:center;
  background:transparent;
}

.mlp-blog-row h4,
.mlp-related-row h4{
  font-family:Georgia,serif;
  font-size:clamp(16px, calc(var(--mlp-blog-card-width) / 24), 20px);
  line-height:1.14;
  color:#293153;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.mlp-blog-row p,
.mlp-related-row p{
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:12px;
  line-height:1.65;
  color:#5c6480;
  word-break:break-word;
}

.mlp-blog-row .mlp-readmore,
.mlp-related-row .mlp-readmore{
  margin-top:12px;
  padding:9px 16px;
}

@media (max-width:980px){
  .mlp-blog-row{grid-template-columns:repeat(min(var(--mlp-blog-columns), 2), minmax(0, 1fr));}
  .mlp-related-row{grid-template-columns:repeat(min(var(--mlp-related-columns), 2), minmax(0, 1fr));}
}
@media (max-width:640px){
  .mlp-blog-row,
  .mlp-related-row{
    grid-template-columns:1fr !important;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner{
    grid-template-columns:1fr;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img{
    height:170px !important;
  }
}


/* v40 mobile-first refinement */
.mlp-mobile-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.8);
  box-shadow:0 8px 18px rgba(126,123,168,.10);
  color:#4f5b7f;
}
.mlp-mobile-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:#4f5b7f;
  border-radius:99px;
  position:relative;
}
.mlp-mobile-toggle span::before,
.mlp-mobile-toggle span::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:#4f5b7f;
  border-radius:99px;
}
.mlp-mobile-toggle span::before{top:-6px}
.mlp-mobile-toggle span::after{top:6px}
.mlp-mobile-panel{
  display:none;
  margin:0 0 18px;
  padding:12px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.72);
  box-shadow:0 12px 24px rgba(126,123,168,.10);
  backdrop-filter:blur(10px);
}
.mlp-mobile-panel.is-open{display:block}
.mlp-mobile-panel nav{display:grid;gap:8px}
.mlp-mobile-link{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  color:#33405f;
  background:rgba(255,255,255,.55);
}
.mlp-mobile-panel .mlp-lang{
  display:flex;
  gap:8px;
  border:none;
  background:transparent;
  padding:0;
}
.mlp-mobile-panel .mlp-lang-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.55);
  color:#33405f;
}
.mlp-page-wrap{
  overflow:hidden;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.mlp-post-content,
.mlp-post-content *{max-width:100%}
.mlp-post-content img,
.mlp-post-content video,
.mlp-post-content iframe,
.mlp-post-content table{max-width:100%}
.mlp-post-content table{display:block;overflow-x:auto}
@media (max-width:980px){
  .mlp-wrap{margin:14px auto;border-radius:22px}
  .mlp-inner{padding:16px}
  .mlp-nav{display:none}
  .mlp-mobile-toggle{display:flex}
  .mlp-title{font-size:40px}
  .mlp-subtitle{font-size:17px}
  .mlp-text{max-width:none;line-height:1.75}
  .mlp-hero{grid-template-columns:1fr;gap:18px;padding:18px}
  .mlp-hero-media{order:-1;height:290px}
  .mlp-hero-image{inset:18px 34px}
  .mlp-hero-frame{inset:10px 20px}
  .mlp-grid-2,.mlp-contact-grid{grid-template-columns:1fr}
  .mlp-section-pad{padding:16px}
}
@media (max-width:640px){
  .mlp-wrap{margin:8px auto;border-radius:18px}
  .mlp-inner{padding:12px}
  .mlp-brand-name{font-size:18px}
  .mlp-title{font-size:32px;line-height:1.02}
  .mlp-hero{padding:14px}
  .mlp-hero-media{height:240px}
  .mlp-hero-image{inset:14px 20px}
  .mlp-hero-frame{inset:8px 12px}
  .mlp-post-content{font-size:15px;line-height:1.8}
  .mlp-projects-row > .mlp-project-card,
  .mlp-books-center-wrap > .mlp-card,
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100% !important;
    flex:1 1 100% !important;
  }
}


/* v41 seo + breadcrumb */
.mlp-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-bottom:18px;
  font-size:13px;
  color:#6b7490;
}
.mlp-breadcrumbs a{color:#55607f}
.mlp-breadcrumbs span{color:#7b83a1}


/* v42 mobile-safe pages + posts */
html, body { overflow-x: hidden; }
.mlp-page-wrap{ overflow-x:hidden; }
.mlp-post-content,
.mlp-post-content *{
  max-width:100%;
  box-sizing:border-box;
}
.mlp-post-content{
  word-break:break-word;
  overflow-wrap:anywhere;
}
.mlp-post-content img,
.mlp-post-content video,
.mlp-post-content iframe,
.mlp-post-content embed,
.mlp-post-content object,
.mlp-post-content table,
.mlp-post-content figure{
  max-width:100% !important;
}
.mlp-post-content img{ width:auto; height:auto; }
.mlp-post-content iframe,
.mlp-post-content video{ width:100%; min-height:220px; }
.mlp-post-content table{ display:block; overflow-x:auto; }

.mlp-mobile-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.82);
  box-shadow:0 8px 18px rgba(126,123,168,.10);
  color:#4f5b7f;
}
.mlp-mobile-toggle span{
  display:block;
  width:18px;
  height:2px;
  background:#4f5b7f;
  border-radius:99px;
  position:relative;
}
.mlp-mobile-toggle span::before,
.mlp-mobile-toggle span::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:#4f5b7f;
  border-radius:99px;
}
.mlp-mobile-toggle span::before{ top:-6px; }
.mlp-mobile-toggle span::after{ top:6px; }

.mlp-mobile-panel{
  display:none;
  margin:0 0 16px;
  padding:12px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.75);
  background:rgba(255,255,255,.76);
  box-shadow:0 12px 24px rgba(126,123,168,.10);
}
.mlp-mobile-panel.is-open{ display:block; }
.mlp-mobile-panel nav{ display:grid; gap:8px; }
.mlp-mobile-link{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  color:#33405f;
  background:rgba(255,255,255,.58);
}
.mlp-mobile-panel .mlp-lang{
  display:flex;
  gap:8px;
  margin-top:8px;
}
.mlp-mobile-panel .mlp-lang-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.58);
  color:#33405f;
}

@media (max-width:980px){
  .mlp-nav{ display:none !important; }
  .mlp-mobile-toggle{ display:flex; }
  .mlp-wrap{ margin:12px auto; border-radius:22px; }
  .mlp-inner{ padding:16px; }
  .mlp-hero{
    grid-template-columns:1fr !important;
    gap:18px;
    padding:18px;
  }
  .mlp-hero-media{ order:-1; height:290px; }
  .mlp-hero-image{ inset:18px 28px; }
  .mlp-hero-frame{ inset:10px 18px; }
  .mlp-grid-2,
  .mlp-contact-grid{ grid-template-columns:1fr !important; }
}

@media (max-width:640px){
  .mlp-wrap{ margin:8px auto; border-radius:18px; }
  .mlp-inner{ padding:12px; }
  .mlp-brand-name{ font-size:18px; line-height:1.1; }
  .mlp-title{ font-size:32px !important; line-height:1.04; }
  .mlp-subtitle{ font-size:16px; }
  .mlp-text{ font-size:14px; line-height:1.75; }
  .mlp-hero{ padding:14px; }
  .mlp-hero-media{ height:230px; }
  .mlp-hero-image{ inset:12px 18px; }
  .mlp-hero-frame{ inset:8px 12px; }
  .mlp-section-pad{ padding:14px; }
  .mlp-post-cover{ max-width:100% !important; margin:0 auto 16px; }
  .mlp-post-cover img,
  .mlp-post-content img{
    max-width:100% !important;
    height:auto !important;
    max-height:none !important;
  }
  .mlp-post-content{ font-size:15px; line-height:1.82; }
  .mlp-books-center-wrap > .mlp-card,
  .mlp-projects-row > .mlp-project-card,
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card{
    max-width:100% !important;
    flex:1 1 100% !important;
  }
}


/* v43 hard mobile content fixes */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.mlp-wrap, .mlp-shell, .mlp-inner, .mlp-frame, .mlp-frame-inner,
.mlp-card, .mlp-post-content, .mlp-post-content * {
  box-sizing: border-box;
}
.mlp-page-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.mlp-frame,
.mlp-frame-inner,
.mlp-card,
.mlp-post-content,
.mlp-post-content > * {
  min-width: 0;
}
.mlp-post-content {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.mlp-post-content p,
.mlp-post-content li,
.mlp-post-content blockquote,
.mlp-post-content pre,
.mlp-post-content code,
.mlp-post-content h1,
.mlp-post-content h2,
.mlp-post-content h3,
.mlp-post-content h4,
.mlp-post-content h5,
.mlp-post-content h6 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.mlp-post-content img,
.mlp-post-content figure,
.mlp-post-content video,
.mlp-post-content iframe,
.mlp-post-content embed,
.mlp-post-content object,
.mlp-post-content canvas,
.mlp-post-content svg,
.mlp-post-content table {
  max-width: 100% !important;
}
.mlp-post-content img {
  display: block;
  width: auto;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.mlp-post-content iframe,
.mlp-post-content video {
  display: block;
  width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 9;
}
.mlp-post-content pre {
  overflow-x: auto;
  white-space: pre-wrap;
}
.mlp-post-content table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}
.mlp-post-cover,
.mlp-post-cover img {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 820px) {
  .mlp-post-content,
  .mlp-post-content p,
  .mlp-post-content li {
    font-size: 15px;
    line-height: 1.82;
  }
  .mlp-header {
    gap: 10px;
    align-items: center;
  }
  .mlp-brand {
    min-width: 0;
  }
  .mlp-brand-name {
    min-width: 0;
    font-size: 18px;
    line-height: 1.1;
  }
}
@media (max-width: 640px) {
  .mlp-wrap {
    margin: 6px auto;
    border-radius: 16px;
  }
  .mlp-inner {
    padding: 10px;
  }
  .mlp-frame-inner,
  .mlp-section-pad {
    padding: 12px !important;
  }
  .mlp-card {
    padding: 12px !important;
  }
  .mlp-title {
    font-size: 30px !important;
    line-height: 1.04;
  }
  .mlp-post-content {
    font-size: 15px;
    line-height: 1.85;
  }
  .mlp-post-content h1 {
    font-size: 28px;
    line-height: 1.08;
  }
  .mlp-post-content h2 {
    font-size: 24px;
    line-height: 1.12;
  }
  .mlp-post-content h3 {
    font-size: 21px;
    line-height: 1.16;
  }
  .mlp-post-content h4,
  .mlp-post-content h5,
  .mlp-post-content h6 {
    line-height: 1.2;
  }
  .mlp-post-cover {
    margin-bottom: 14px;
  }
  .mlp-post-cover img,
  .mlp-post-content img {
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
  }
  .mlp-blog-row,
  .mlp-related-row,
  .mlp-books-center-wrap,
  .mlp-projects-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .mlp-blog-row > .mlp-card,
  .mlp-related-row > .mlp-card,
  .mlp-books-center-wrap > .mlp-card,
  .mlp-projects-row > .mlp-project-card {
    max-width: 100% !important;
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .mlp-blog-card-inner,
  .mlp-related-card-inner,
  .mlp-project-inner {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img,
  .mlp-project-thumb img {
    width: 100% !important;
    height: 180px !important;
  }
}


/* v44 mobile readability fixes */
@media (max-width: 640px){
  .mlp-post-content,
  .mlp-post-content p,
  .mlp-post-content li,
  .mlp-post-content blockquote {
    font-size: 15px !important;
    line-height: 1.9 !important;
  }

  .mlp-post-content h1,
  .mlp-post-content h2,
  .mlp-post-content h3,
  .mlp-post-content h4,
  .mlp-post-content h5,
  .mlp-post-content h6 {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* Blog cards: stop cutting text too aggressively on mobile */
  .mlp-blog-row h4,
  .mlp-related-row h4 {
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    display: block !important;
  }

  .mlp-blog-row p,
  .mlp-related-row p {
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    display: block !important;
  }

  /* Make card content stack naturally on mobile */
  .mlp-blog-card-inner,
  .mlp-related-card-inner,
  .mlp-project-inner {
    align-items: start !important;
  }

  .mlp-blog-row .mlp-square-thumb,
  .mlp-related-row .mlp-square-thumb,
  .mlp-project-thumb,
  .mlp-book-thumb {
    width: 100% !important;
  }

  .mlp-blog-row .mlp-square-thumb img,
  .mlp-related-row .mlp-square-thumb img,
  .mlp-project-thumb img {
    height: auto !important;
    min-height: 180px;
    max-height: none !important;
    object-fit: cover !important;
  }

  /* Prevent any hidden overflow from clipping mobile page/post content */
  .mlp-card,
  .mlp-frame,
  .mlp-frame-inner {
    overflow: visible !important;
  }
}


/* v45 full mobile reading for pages/posts */
.mlp-reading-card{
  overflow: visible !important;
}
.mlp-reading-card .mlp-post-content{
  max-width: 100% !important;
  width: 100% !important;
}
.mlp-reading-card .mlp-post-content,
.mlp-reading-card .mlp-post-content *{
  min-width: 0 !important;
}
.mlp-reading-card .mlp-post-content img,
.mlp-reading-card .mlp-post-content figure,
.mlp-reading-card .mlp-post-content video,
.mlp-reading-card .mlp-post-content iframe,
.mlp-reading-card .mlp-post-content table,
.mlp-reading-card .mlp-post-content pre{
  max-width: 100% !important;
}
.mlp-reading-card .mlp-post-content pre,
.mlp-reading-card .mlp-post-content code{
  white-space: pre-wrap !important;
  word-break: break-word !important;
}
@media (max-width: 820px){
  .mlp-reading-card{
    padding: 14px !important;
  }
  .mlp-reading-card .mlp-post-content{
    font-size: 15px !important;
    line-height: 1.9 !important;
  }
}
@media (max-width: 640px){
  .mlp-reading-card{
    padding: 12px !important;
    border-radius: 20px !important;
  }
  .mlp-reading-card .mlp-post-content{
    width: 100% !important;
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.92 !important;
  }
  .mlp-reading-card .mlp-post-content p,
  .mlp-reading-card .mlp-post-content li,
  .mlp-reading-card .mlp-post-content blockquote{
    font-size: 15px !important;
    line-height: 1.92 !important;
    margin-bottom: 1em;
  }
  .mlp-reading-card .mlp-post-content h1{
    font-size: 28px !important;
    line-height: 1.08 !important;
  }
  .mlp-reading-card .mlp-post-content h2{
    font-size: 24px !important;
    line-height: 1.12 !important;
  }
  .mlp-reading-card .mlp-post-content h3{
    font-size: 21px !important;
    line-height: 1.16 !important;
  }
  .mlp-reading-card .mlp-post-content h4,
  .mlp-reading-card .mlp-post-content h5,
  .mlp-reading-card .mlp-post-content h6{
    line-height: 1.2 !important;
  }
  .mlp-reading-card .mlp-post-content img{
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
  }
  .mlp-reading-card .mlp-post-content figure{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .mlp-reading-card .mlp-post-content iframe,
  .mlp-reading-card .mlp-post-content video{
    min-height: 200px !important;
  }
  .mlp-reading-card .mlp-post-content table{
    display: block !important;
    overflow-x: auto !important;
  }

  /* Blog cards on mobile should show full titles/summaries instead of clipping */
  .mlp-blog-row h4,
  .mlp-related-row h4{
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
  .mlp-blog-row p,
  .mlp-related-row p{
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
  }
}


/* v46 fix: never clamp page/post content */
.mlp-post-content p,
.mlp-post-content li,
.mlp-post-content blockquote,
.mlp-post-content h1,
.mlp-post-content h2,
.mlp-post-content h3,
.mlp-post-content h4,
.mlp-post-content h5,
.mlp-post-content h6 {
  display:block !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:initial !important;
  overflow:visible !important;
  text-overflow:clip !important;
  white-space:normal !important;
}

/* only card summaries should clamp on desktop */
.mlp-blog-row .mlp-card p,
.mlp-related-row .mlp-card p{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

@media (max-width: 640px){
  /* mobile: show full titles and summaries in cards too */
  .mlp-blog-row .mlp-card h4,
  .mlp-related-row .mlp-card h4,
  .mlp-blog-row .mlp-card p,
  .mlp-related-row .mlp-card p{
    display:block !important;
    -webkit-line-clamp:unset !important;
    -webkit-box-orient:initial !important;
    overflow:visible !important;
    text-overflow:clip !important;
    white-space:normal !important;
  }

  /* page/post content must always be fully readable */
  .mlp-reading-card,
  .mlp-reading-card .mlp-post-content,
  .mlp-reading-card .mlp-post-content *{
    overflow:visible !important;
    text-overflow:clip !important;
  }
}


/* v47 site width control */
.mlp-wrap{
  width:min(100% - 24px, var(--mlp-site-max-width));
}
@media (max-width:980px){
  .mlp-wrap{
    width:min(100% - 16px, var(--mlp-site-max-width));
  }
}
@media (max-width:640px){
  .mlp-wrap{
    width:min(100% - 12px, 100%);
  }
}


/* v48 positioning + premium CTA */
.mlp-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.mlp-cta-secondary{background:rgba(255,255,255,.62);color:var(--text);box-shadow:0 8px 18px rgba(86,95,129,.08)}
.mlp-positioning{display:grid;gap:24px}
.mlp-positioning-head{max-width:760px}
.mlp-positioning-head h2{margin:10px 0 0;font-family:Georgia,serif;font-size:34px;line-height:1.08;color:var(--text);letter-spacing:-.03em}
.mlp-positioning-head p{margin:14px 0 0;font-size:16px;line-height:1.85;color:var(--muted)}
.mlp-soft-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.72);color:#5d6788;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 6px 18px rgba(111,112,162,.08)}
.mlp-positioning-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.mlp-positioning-card{min-height:100%;padding:20px;border-radius:24px;border:1px solid rgba(255,255,255,.72);background:linear-gradient(180deg,rgba(255,255,255,.74) 0%,rgba(245,239,252,.92) 100%);box-shadow:0 12px 26px rgba(126,123,168,.08)}
.mlp-positioning-card h3{margin:0;font-family:Georgia,serif;font-size:22px;line-height:1.15;color:var(--text)}
.mlp-positioning-card p{margin:12px 0 0;font-size:14px;line-height:1.8;color:var(--muted)}
.mlp-cta-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:10px 4px}
.mlp-cta-panel h2{margin:10px 0 0;font-family:Georgia,serif;font-size:38px;line-height:1.04;letter-spacing:-.04em;color:var(--text);max-width:640px}
.mlp-cta-panel p{margin:14px 0 0;max-width:620px;font-size:16px;line-height:1.85;color:var(--muted)}
.mlp-cta-panel-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}
@media (max-width:1100px){.mlp-positioning-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:980px){.mlp-cta-panel{flex-direction:column;align-items:flex-start}.mlp-positioning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.mlp-positioning-head h2{font-size:29px}.mlp-positioning-grid{grid-template-columns:1fr}.mlp-positioning-card h3{font-size:20px}.mlp-cta-panel h2{font-size:31px}.mlp-hero-actions{flex-direction:column;align-items:stretch}.mlp-hero-actions .mlp-cta,.mlp-cta-panel-actions .mlp-cta{justify-content:center;width:100%}}


/* v49 project summary + title alignment fix */
.mlp-projects-row > .mlp-project-card{
  display:block;
}
.mlp-projects-row .mlp-card-link{
  display:block;
  height:100%;
}
.mlp-projects-row .mlp-project-inner{
  align-items:stretch;
  min-height:100%;
}
.mlp-projects-row .mlp-project-copy{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
  min-height:100%;
}
.mlp-projects-row .mlp-project-copy-top{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.mlp-projects-row .mlp-project-card h3{
  line-height:1.15;
  min-height:2.3em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-projects-row .mlp-project-text{
  margin-top:0;
  max-width:none;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:6.8em;
}
.mlp-projects-row .mlp-project-url{
  margin-top:auto;
}
@media (max-width:640px){
  .mlp-projects-row .mlp-project-card h3{
    min-height:0;
  }
  .mlp-projects-row .mlp-project-text{
    min-height:0;
    -webkit-line-clamp:5;
  }
}


/* v50 positioning polish + dedicated contact page */
.mlp-positioning-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
.mlp-positioning-card{
  padding:22px;
}
.mlp-positioning-card h3{
  font-size:24px;
  line-height:1.18;
}
.mlp-positioning-card p{
  margin-top:14px;
  font-size:15px;
  line-height:1.85;
}
@media (max-width:1100px){
  .mlp-positioning-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .mlp-positioning-grid{grid-template-columns:1fr;}
}

.mlp-contact-page{
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  gap:24px;
  align-items:start;
}
.mlp-contact-page-copy,
.mlp-contact-form-card{
  border-radius:28px;
  border:1px solid rgba(255,255,255,.75);
  background:linear-gradient(180deg,rgba(247,243,252,.94) 0%,rgba(239,233,248,.98) 100%);
  box-shadow:0 14px 28px rgba(126,123,168,.10);
  padding:26px;
}
.mlp-contact-lead{
  margin:0 0 14px;
  font-size:16px;
  line-height:1.9;
  color:var(--muted);
}
.mlp-contact-note-card,
.mlp-contact-warm-card{
  margin-top:22px;
  padding:20px 22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.52);
}
.mlp-contact-note-card h2,
.mlp-contact-warm-card h3{
  margin:0 0 12px;
  font-family:Georgia,serif;
  font-size:24px;
  line-height:1.2;
  color:var(--text);
}
.mlp-contact-note-card ul{
  margin:0;
  padding-left:20px;
  color:var(--muted);
}
.mlp-contact-note-card li{
  margin:0 0 10px;
  line-height:1.8;
}
.mlp-contact-warm-card p{
  margin:0;
  font-size:15px;
  line-height:1.85;
  color:var(--muted);
}
.mlp-contact-form{
  display:grid;
  gap:16px;
}
.mlp-form-field-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.mlp-form-field label{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  font-weight:700;
  color:#505a7b;
}
.mlp-form-field input,
.mlp-form-field textarea{
  width:100%;
  border-radius:18px;
  border:1px solid #ddd7ef;
  background:rgba(255,255,255,.84);
  padding:14px 16px;
  font:inherit;
  color:var(--text);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.02);
}
.mlp-form-field textarea{
  resize:vertical;
  min-height:220px;
}
.mlp-form-field input:focus,
.mlp-form-field textarea:focus{
  outline:none;
  border-color:#adb7d8;
  box-shadow:0 0 0 4px rgba(102,119,173,.10);
}
.mlp-form-alert{
  margin-bottom:16px;
  padding:14px 16px;
  border-radius:16px;
  font-size:14px;
  line-height:1.7;
}
.mlp-form-alert.success{
  background:rgba(231,247,237,.95);
  color:#276445;
  border:1px solid rgba(39,100,69,.12);
}
.mlp-form-alert.error{
  background:rgba(252,237,239,.95);
  color:#92414c;
  border:1px solid rgba(146,65,76,.12);
}
.mlp-contact-extra-content{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(198,194,217,.6);
}
@media (max-width:980px){
  .mlp-contact-page{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .mlp-contact-page-copy,
  .mlp-contact-form-card{padding:20px;}
  .mlp-form-field-grid{grid-template-columns:1fr;}
  .mlp-contact-note-card h2,
  .mlp-contact-warm-card h3{font-size:21px;}
}


/* v52 project cards with image + title + summary */
.mlp-projects-row{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}
.mlp-projects-row > .mlp-project-card{
  width:100% !important;
  max-width:none !important;
  flex:initial !important;
  padding:16px !important;
  display:block;
}
.mlp-projects-row > .mlp-project-card .mlp-card-link{
  display:block;
  height:100%;
}
.mlp-projects-row .mlp-project-inner{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-height:100%;
}
.mlp-projects-row .mlp-project-thumb{
  width:100%;
  aspect-ratio:16 / 10;
  min-height:220px;
  border-radius:22px;
  overflow:hidden;
  display:block;
  background:linear-gradient(135deg,#efe7fb 0%,#e5edf9 100%);
  border:1px solid rgba(255,255,255,.7);
}
.mlp-projects-row .mlp-project-thumb img,
.mlp-projects-row .mlp-project-placeholder{
  width:100%;
  height:100%;
  min-height:220px;
  display:block;
}
.mlp-projects-row .mlp-project-thumb img{
  object-fit:cover;
  object-position:center;
}
.mlp-projects-row .mlp-project-placeholder{
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  padding:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.55));
}
.mlp-projects-row .mlp-project-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.mlp-projects-row .mlp-project-copy-top{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}
.mlp-projects-row .mlp-project-card h3{
  margin:0;
  font-family:Georgia,serif;
  font-size:24px;
  line-height:1.22;
  letter-spacing:-.02em;
  min-height:2.44em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-projects-row .mlp-project-text{
  margin:0;
  max-width:none;
  font-size:15px;
  line-height:1.75;
  color:var(--muted);
  min-height:5.25em;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.mlp-projects-row .mlp-project-url{
  display:none !important;
}
@media (max-width:980px){
  .mlp-projects-row{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .mlp-projects-row > .mlp-project-card{padding:14px !important;}
  .mlp-projects-row .mlp-project-thumb,
  .mlp-projects-row .mlp-project-thumb img,
  .mlp-projects-row .mlp-project-placeholder{min-height:190px;}
  .mlp-projects-row .mlp-project-card h3{font-size:22px;min-height:auto;}
  .mlp-projects-row .mlp-project-text{min-height:auto;-webkit-line-clamp:4;}
}


/* v53 positioning six-card professional layout */
.mlp-positioning{
  gap:28px;
}
.mlp-positioning-head{
  max-width:820px;
}
.mlp-positioning-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:stretch;
}
.mlp-positioning-card{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-height:220px;
  padding:24px 22px !important;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.82) 0%,rgba(244,238,251,.96) 100%);
  border:1px solid rgba(255,255,255,.8);
  box-shadow:0 16px 34px rgba(112,108,150,.08);
  backdrop-filter:blur(8px);
}
.mlp-positioning-card h3{
  font-size:23px;
  line-height:1.18;
  letter-spacing:-.02em;
  min-height:54px;
}
.mlp-positioning-card p{
  margin-top:14px;
  font-size:14px;
  line-height:1.78;
}
@media (max-width:1100px){
  .mlp-positioning-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:640px){
  .mlp-positioning-grid{grid-template-columns:1fr !important;gap:14px !important;}
  .mlp-positioning-card{min-height:auto;padding:20px 18px !important;}
  .mlp-positioning-card h3{min-height:auto;font-size:21px;}
}


/* v55 richer contact intake form */
.mlp-form-field-grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.mlp-contact-form-card .mlp-cta{
  width:100%;
  justify-content:center;
}
@media (max-width:980px){
  .mlp-form-field-grid-3{grid-template-columns:1fr;}
}


/* v56 contact form spacing + remove home related clutter */
.mlp-contact-page{
  grid-template-columns:minmax(320px,.92fr) minmax(420px,1.08fr);
  gap:28px;
}
.mlp-contact-page-copy,
.mlp-contact-form-card{
  padding:32px;
}
.mlp-contact-form-card{
  position:relative;
}
.mlp-contact-form{
  gap:20px;
}
.mlp-form-field-grid{
  gap:18px;
}
.mlp-form-field label{
  margin-bottom:10px;
  font-size:13px;
}
.mlp-form-field input,
.mlp-form-field textarea{
  padding:16px 18px;
  border-radius:20px;
  font-size:15px;
}
.mlp-form-field textarea{
  min-height:240px;
}
@media (max-width:1100px){
  .mlp-contact-page{
    grid-template-columns:1fr;
  }
}
@media (max-width:640px){
  .mlp-contact-page-copy,
  .mlp-contact-form-card{
    padding:22px;
  }
  .mlp-form-field-grid{
    grid-template-columns:1fr;
  }
}


/* v58 project card read more framed like blog */
.mlp-projects-row .mlp-project-readmore{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  padding:9px 16px;
  border-radius:999px;
  border:1px solid #ddd7ef;
  background:#ede8f8;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
  font-size:12px;
  font-weight:600;
  color:#58617f;
  letter-spacing:.01em;
  width:max-content;
  transition:transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}
.mlp-projects-row .mlp-project-readmore::after{
  content:'›';
  font-size:16px;
  line-height:1;
  transform:translateY(-1px);
}
.mlp-projects-row .mlp-card-link:hover .mlp-project-readmore{
  color:#454d69;
  background:#e8e2f6;
  box-shadow:0 6px 16px rgba(126,123,168,.12);
  transform:translateY(-1px);
}


/* v59 single project related area made theme-aligned */
.mlp-single-related .mlp-frame-inner{
  overflow:hidden;
}
.mlp-single-related .mlp-section-head{
  margin-bottom:20px;
}
.mlp-projects-row--related{
  margin-top:4px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.mlp-projects-row--related > .mlp-project-card{
  padding:16px !important;
  border-radius:26px;
  background:linear-gradient(180deg,rgba(246,242,252,.96) 0%,rgba(239,233,250,.98) 100%);
  box-shadow:0 16px 30px rgba(126,123,168,.08);
}
.mlp-projects-row--related .mlp-project-thumb{
  border-radius:20px;
  min-height:205px;
}
.mlp-projects-row--related .mlp-project-thumb img,
.mlp-projects-row--related .mlp-project-placeholder{
  min-height:205px;
}
.mlp-projects-row--related .mlp-project-card h3{
  font-size:23px;
  min-height:2.5em;
}
.mlp-projects-row--related .mlp-project-text{
  min-height:5.4em;
  color:#5f6380;
}
.mlp-projects-row--related .mlp-project-readmore{
  margin-top:16px;
}
@media (max-width:1180px){
  .mlp-projects-row--related{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:980px){
  .mlp-projects-row--related{
    grid-template-columns:1fr;
  }
}


/* v30 professional blog archive layout */
.mlp-blog-archive-frame{margin-top:4px}
.mlp-section-head--archive{margin-bottom:10px}
.mlp-blog-archive-hero{margin-bottom:22px}
.mlp-archive-intro{
  max-width:760px;
  margin:0;
  color:#636c87;
  font-size:15px;
  line-height:1.85;
}
.mlp-archive-meta-bar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.mlp-archive-meta-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.68);
  color:#606985;
  font-size:12px;
  box-shadow:0 8px 16px rgba(126,123,168,.08);
}
.mlp-blog-archive-grid{
  display:grid;
  grid-template-columns:repeat(var(--mlp-blog-archive-columns,3), minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
.mlp-blog-archive-card{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:16px;
  border-radius:26px;
  border:1px solid #e4ddf2;
  background:linear-gradient(180deg, rgba(247,244,252,.98) 0%, rgba(238,233,248,.98) 100%);
  box-shadow:0 16px 34px rgba(119,114,157,.10);
}
.mlp-blog-archive-card .mlp-card-link{display:flex;flex-direction:column;height:100%}
.mlp-blog-archive-thumb-wrap{margin-bottom:14px}
.mlp-blog-archive-thumb,
.mlp-blog-archive-placeholder{
  width:100%;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.84);
  background:linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(234,228,245,.9) 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlp-blog-archive-thumb img{
  width:100%;
  height:230px;
  object-fit:cover;
  object-position:center;
}
.mlp-blog-archive-placeholder{
  min-height:230px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mlp-blog-archive-copy{display:flex;flex-direction:column;flex:1}
.mlp-blog-archive-kicker{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#7c84a0;
  margin-bottom:10px;
}
.mlp-blog-archive-copy h3{
  margin:0;
  font-family:Georgia,serif;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.03em;
  color:#2d3557;
}
.mlp-blog-archive-copy p{
  margin:14px 0 0;
  color:#5f6783;
  font-size:14px;
  line-height:1.85;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
}
.mlp-blog-archive-actions{margin-top:18px}
.mlp-readmore--primary{
  min-height:44px;
  padding:0 18px;
  background:linear-gradient(180deg,#f8f4fd 0%,#ebe5f7 100%);
  border:1px solid rgba(255,255,255,.78);
  color:#4f5978;
  box-shadow:0 8px 18px rgba(126,123,168,.10);
}
.mlp-pagination--archive{margin-top:26px;gap:10px}
.mlp-pagination--archive .mlp-page-btn{
  min-width:46px;
  height:46px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.76);
  background:rgba(255,255,255,.78);
  box-shadow:0 8px 18px rgba(126,123,168,.08);
}
.mlp-pagination--archive .mlp-page-btn.active{
  background:linear-gradient(180deg,#6778ad 0%,#5a6b9f 100%);
  color:#fff;
  border-color:transparent;
}
.mlp-blog-empty-state{
  text-align:center;
  padding:28px;
}
@media (max-width:1100px){
  .mlp-blog-archive-grid{grid-template-columns:repeat(min(var(--mlp-blog-archive-columns,3),2), minmax(0,1fr));}
}
@media (max-width:680px){
  .mlp-blog-archive-grid{grid-template-columns:1fr;}
  .mlp-blog-archive-copy h3{font-size:24px}
  .mlp-blog-archive-thumb img,.mlp-blog-archive-placeholder{min-height:0;height:210px}
  .mlp-pagination--archive .mlp-page-btn{min-width:42px;height:42px;padding:0 14px}
}


/* Mobile bottom nav */
.mlp-mobile-bottom-nav{
  position:fixed;
  left:14px;
  right:14px;
  bottom:calc(env(safe-area-inset-bottom, 0px) + 12px);
  z-index:9999;
  display:none;
  align-items:flex-end;
  justify-content:space-between;
  gap:8px;
  padding:14px 14px 12px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.76), rgba(242,236,250,.94));
  border:1px solid rgba(226,219,241,.96);
  box-shadow:0 18px 42px rgba(93,86,137,.14), inset 0 1px 0 rgba(255,255,255,.7);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.mlp-mobile-bottom-nav__item{
  flex:1; min-width:0; text-decoration:none; color:var(--muted);
  display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:6px;
}
.mlp-mobile-bottom-nav__icon{width:28px; height:28px; display:flex; align-items:center; justify-content:center; color:var(--text);}
.mlp-mobile-bottom-nav__icon svg{width:100%; height:100%; display:block;}
.mlp-mobile-bottom-nav__label{font-size:12px; line-height:1.1; text-align:center; letter-spacing:-.01em; color:var(--muted);}
.mlp-mobile-bottom-nav__item--cta{flex:1.35; gap:8px;}
.mlp-mobile-bottom-nav__cta-pill{
  width:100%; height:48px; padding:0 16px; border-radius:18px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(232,224,245,.98);
  background:linear-gradient(135deg, rgba(255,255,255,.62), rgba(208,193,244,.78));
  color:var(--text); font-size:14px; font-weight:600; line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75), 0 8px 24px rgba(129,116,176,.12);
}
.mlp-mobile-bottom-nav__label--cta{margin-top:4px;}
.mlp-mobile-bottom-nav__item.is-active .mlp-mobile-bottom-nav__icon,
.mlp-mobile-bottom-nav__item.is-active .mlp-mobile-bottom-nav__label{color:var(--text);}
.mlp-mobile-bottom-nav__item.is-active .mlp-mobile-bottom-nav__cta-pill{box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 10px 26px rgba(129,116,176,.16);}
@media (max-width: 768px){
  body{padding-bottom:108px;}
  .mlp-mobile-bottom-nav{display:flex;}
}
@media (max-width: 560px){
  .mlp-mobile-toggle{display:flex !important;}
  .mlp-nav{display:none !important;}
}
@media (max-width: 390px){
  .mlp-mobile-bottom-nav{left:12px; right:12px; padding:12px 12px 10px; border-radius:26px; gap:6px;}
  .mlp-mobile-bottom-nav__label{font-size:11px;}
  .mlp-mobile-bottom-nav__cta-pill{height:44px; font-size:13px; border-radius:16px; padding:0 14px;}
}

/* v63 mobile nav polish + top nav keep visible */
.mlp-mobile-bottom-nav__item--cta{
  justify-content:center;
  gap:0;
}
.mlp-mobile-bottom-nav__label--cta,
.mlp-mobile-bottom-nav__item--cta .mlp-mobile-bottom-nav__label{
  display:none;
}
.mlp-mobile-bottom-nav__cta-pill{
  white-space:nowrap;
  min-width:100%;
}

@media (max-width:980px){
  .mlp-header{
    display:grid;
    grid-template-columns:1fr;
    align-items:start;
    gap:14px;
  }
  .mlp-brand{
    justify-content:flex-start;
  }
  .mlp-nav{
    display:flex !important;
    flex-wrap:nowrap;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 2px 8px;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .mlp-nav::-webkit-scrollbar{display:none;}
  .mlp-nav a,
  .mlp-nav .mlp-lang{
    flex:0 0 auto;
  }
  .mlp-nav a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.76);
    background:rgba(255,255,255,.62);
    box-shadow:0 8px 18px rgba(126,123,168,.08);
    white-space:nowrap;
    font-size:14px;
  }
  .mlp-nav a.active{
    padding-bottom:0;
    border-bottom:none;
    background:linear-gradient(180deg, rgba(106,120,173,.16), rgba(255,255,255,.82));
    color:#232b45;
    box-shadow:0 10px 24px rgba(97,109,163,.12);
  }
  .mlp-nav .mlp-lang{
    min-height:42px;
    padding:6px 10px;
    border-radius:16px;
    background:rgba(255,255,255,.72);
    box-shadow:0 8px 18px rgba(126,123,168,.08);
  }
  .mlp-mobile-toggle,
  .mlp-mobile-panel{
    display:none !important;
  }
}

@media (max-width:560px){
  body{padding-bottom:104px;}
  .mlp-mobile-bottom-nav{
    left:10px;
    right:10px;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 10px);
    padding:10px;
    gap:6px;
    border-radius:24px;
  }
  .mlp-mobile-bottom-nav__item{
    gap:5px;
  }
  .mlp-mobile-bottom-nav__icon{
    width:24px;
    height:24px;
  }
  .mlp-mobile-bottom-nav__label{
    font-size:11px;
  }
  .mlp-mobile-bottom-nav__cta-pill{
    height:42px;
    padding:0 12px;
    border-radius:16px;
    font-size:13px;
  }
  .mlp-nav a{
    min-height:40px;
    padding:0 14px;
    font-size:13px;
  }
}


/* v64 mobile hamburger preference */
@media (max-width:980px){
  .mlp-nav{display:none !important;}
  .mlp-mobile-toggle{display:flex !important;}
  .mlp-header{
    grid-template-columns:1fr auto;
    align-items:center;
    gap:14px;
  }
  .mlp-header .mlp-brand{min-width:0;}
  .mlp-header .mlp-brand-line{align-items:center;}
}
@media (max-width:640px){
  .mlp-header{
    grid-template-columns:1fr auto;
    align-items:center;
  }
  .mlp-mobile-panel{
    margin-top:10px;
  }
}


/* v65 hamburger menu listing refinement */
.mlp-mobile-panel{
  position:relative;
  overflow:hidden;
}
.mlp-mobile-menu-list{
  display:grid;
  gap:10px;
}
.mlp-mobile-link{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-height:50px;
  padding:0 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.78);
  background:linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(244,239,252,.92) 100%);
  box-shadow:0 10px 22px rgba(126,123,168,.08), inset 0 1px 0 rgba(255,255,255,.65);
  color:#2e3858;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.01em;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.mlp-mobile-link:hover,
.mlp-mobile-link:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 14px 26px rgba(126,123,168,.12), inset 0 1px 0 rgba(255,255,255,.72);
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(241,236,250,.98) 100%);
  outline:none;
}
.mlp-mobile-link span{pointer-events:none;}
@media (max-width:640px){
  .mlp-mobile-panel{margin-top:12px; padding:14px;}
  .mlp-mobile-link{min-height:48px; font-size:14px;}
}


/* v66 robust mobile hamburger menu */
.mlp-mobile-toggle.is-active{
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 30px rgba(126,123,168,.16);
}
.mlp-mobile-toggle.is-active span{background:transparent;}
.mlp-mobile-toggle.is-active span::before{top:0; transform:rotate(45deg);}
.mlp-mobile-toggle.is-active span::after{top:0; transform:rotate(-45deg);}
.mlp-mobile-panel{
  display:none;
  opacity:0;
  transform:translateY(-6px);
  transition:opacity .22s ease, transform .22s ease;
}
.mlp-mobile-panel.is-open{
  display:block;
  opacity:1;
  transform:translateY(0);
}
.mlp-mobile-menu-list{
  grid-template-columns:1fr;
}
.mlp-mobile-link{
  text-decoration:none;
}
@media (min-width:981px){
  .mlp-mobile-toggle,
  .mlp-mobile-panel{display:none !important;}
}


/* v76 compact mobile dropdown menu */
@media (max-width:980px){
  .mlp-header{position:relative;}
  .mlp-nav{display:none !important;}
  .mlp-mobile-toggle{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    margin-left:auto;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.82);
    background:linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(241,236,250,.96) 100%);
    box-shadow:0 10px 24px rgba(108,103,150,.12), inset 0 1px 0 rgba(255,255,255,.78);
    position:relative;
    z-index:30;
  }
  .mlp-mobile-panel{
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    width:min(240px, calc(100vw - 48px));
    padding:10px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.78);
    background:linear-gradient(180deg, rgba(247,244,252,.98) 0%, rgba(237,232,248,.98) 100%);
    box-shadow:0 22px 40px rgba(95,89,136,.18), inset 0 1px 0 rgba(255,255,255,.8);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    z-index:25;
  }
  .mlp-mobile-panel.is-open{display:block !important;}
  .mlp-mobile-menu-list{display:grid;grid-template-columns:1fr;gap:6px;}
  .mlp-mobile-link{
    min-height:40px;
    padding:10px 12px;
    border-radius:12px;
    border:1px solid transparent;
    background:transparent;
    box-shadow:none;
    font-size:14px;
    font-weight:600;
    color:#2c3556;
  }
  .mlp-mobile-link:hover,
  .mlp-mobile-link:focus-visible{
    transform:none;
    background:rgba(255,255,255,.72);
    border-color:rgba(210,203,232,.9);
    box-shadow:0 6px 16px rgba(113,107,153,.10);
  }
  .mlp-mobile-panel .mlp-lang{display:none !important;}
}
@media (max-width:640px){
  .mlp-inner{padding:18px 16px 32px;}
  .mlp-mobile-toggle{width:42px;height:42px;border-radius:14px;}
  .mlp-mobile-panel{right:0;top:calc(100% + 8px);width:min(220px, calc(100vw - 32px));padding:8px;}
  .mlp-mobile-link{min-height:38px;padding:9px 11px;font-size:13px;border-radius:11px;}
}


/* v77 clean mobile hamburger override */
@media (max-width: 980px){
  .mlp-header,
  .mlp-post-header{position:relative;}

  .mlp-header .mlp-nav,
  .mlp-post-header .mlp-nav{display:none !important;}

  .mlp-mobile-toggle{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid rgba(206, 198, 228, 0.95);
    border-radius:16px;
    background:linear-gradient(180deg, rgba(255,255,255,0.84), rgba(247,244,252,0.92));
    box-shadow:0 14px 30px rgba(132,114,186,0.10), inset 0 1px 0 rgba(255,255,255,0.88);
    color:#3d426c;
    margin-left:auto;
    flex:0 0 auto;
    z-index:10031;
    cursor:pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mlp-mobile-toggle span,
  .mlp-mobile-toggle span::before,
  .mlp-mobile-toggle span::after{
    display:block;
    width:18px;
    height:2px;
    border-radius:999px;
    background:#4a4e78;
    content:"";
    position:relative;
    transition:transform .22s ease, opacity .22s ease, top .22s ease;
  }

  .mlp-mobile-toggle span::before{position:absolute; top:-6px; left:0;}
  .mlp-mobile-toggle span::after{position:absolute; top:6px; left:0;}
  .mlp-mobile-toggle.is-active span{background:transparent;}
  .mlp-mobile-toggle.is-active span::before{top:0; transform:rotate(45deg);}
  .mlp-mobile-toggle.is-active span::after{top:0; transform:rotate(-45deg);}

  .mlp-mobile-panel{
    display:block !important;
    position:fixed;
    top:88px;
    right:16px;
    left:auto;
    width:min(240px, calc(100vw - 32px));
    padding:10px;
    border-radius:18px;
    border:1px solid rgba(210, 202, 231, 0.96);
    background:rgba(249,247,253,0.96);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:0 24px 54px rgba(109, 97, 154, 0.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-8px) scale(.985);
    transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index:10030;
  }

  .admin-bar .mlp-mobile-panel{top:134px;}

  .mlp-mobile-panel.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0) scale(1);
  }

  .mlp-mobile-menu-list{
    display:grid;
    gap:6px;
  }

  .mlp-mobile-link{
    display:flex;
    align-items:center;
    min-height:42px;
    padding:10px 12px;
    border-radius:12px;
    color:#3f446d;
    text-decoration:none;
    font-size:15px;
    line-height:1.2;
    font-weight:500;
    background:transparent;
    transition:background-color .18s ease, color .18s ease, transform .18s ease;
  }

  .mlp-mobile-link:hover,
  .mlp-mobile-link:focus-visible{
    background:rgba(237, 233, 247, 0.95);
    color:#2f345d;
    outline:none;
    transform:translateX(1px);
  }

  .mlp-mobile-link span{display:block; width:100%;}

  .mlp-mobile-panel .mlp-lang{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    padding:8px 4px 2px;
    border-top:1px solid rgba(215, 209, 233, 0.75);
    margin-top:8px;
  }

  .mlp-mobile-panel .mlp-lang-link{
    min-width:34px;
    height:34px;
    border-radius:10px;
    font-size:12px;
    background:rgba(255,255,255,0.82);
    border:1px solid rgba(214,208,232,0.9);
  }

  body.mlp-mobile-menu-open{overflow:hidden;}
}


/* v78 iconified mobile dropdown */
@media (max-width: 980px){
  .mlp-mobile-panel{
    width:min(248px, calc(100vw - 26px));
    padding:10px;
    border-radius:18px;
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(242,238,250,.92));
    border:1px solid rgba(212,203,234,.95);
    box-shadow:0 20px 46px rgba(108,96,150,.18), inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
  }

  .mlp-mobile-menu-list{
    display:grid;
    gap:8px;
  }

  .mlp-mobile-link{
    display:grid !important;
    grid-template-columns:36px 1fr;
    align-items:center;
    gap:10px;
    min-height:46px;
    padding:10px 12px;
    border-radius:14px;
    color:var(--text);
    background:rgba(255,255,255,.55);
    border:1px solid rgba(220,212,239,.9);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
  }

  .mlp-mobile-link__icon{
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    color:var(--text);
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(239,234,248,.9));
    border:1px solid rgba(214,205,235,.92);
    box-shadow:0 8px 18px rgba(124,111,171,.10), inset 0 1px 0 rgba(255,255,255,.9);
    flex:none;
  }

  .mlp-mobile-link__icon svg{
    width:18px;
    height:18px;
    display:block;
  }

  .mlp-mobile-link__label{
    display:block;
    font-size:14px;
    line-height:1.2;
    letter-spacing:-.01em;
    font-weight:600;
    color:var(--text);
  }

  .mlp-mobile-link:hover,
  .mlp-mobile-link:focus-visible{
    background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(239,234,248,.9));
    border-color:rgba(202,192,228,.95);
    transform:translateY(-1px);
    box-shadow:0 12px 26px rgba(124,111,171,.12), inset 0 1px 0 rgba(255,255,255,.85);
  }
}

/* v79 refined mobile dropdown icon alignment */
@media (max-width: 980px){
  .mlp-mobile-panel{
    width:min(252px, calc(100vw - 24px));
    padding:10px;
    border-radius:18px;
  }

  .mlp-mobile-menu-list{
    gap:7px;
  }

  .mlp-mobile-link{
    grid-template-columns:40px 1fr !important;
    align-items:center !important;
    column-gap:11px;
    min-height:48px;
    padding:9px 12px !important;
    border-radius:14px;
    text-decoration:none;
  }

  .mlp-mobile-link__icon{
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    flex-shrink:0;
  }

  .mlp-mobile-link__icon svg{
    width:18px;
    height:18px;
    stroke-width:1.9;
    overflow:visible;
  }

  .mlp-mobile-link__label{
    display:flex;
    align-items:center;
    min-height:40px;
    font-size:14px;
    font-weight:600;
    letter-spacing:-0.01em;
    color:var(--text);
  }

  .mlp-mobile-link:hover,
  .mlp-mobile-link:focus-visible,
  .mlp-mobile-link.is-active{
    background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(236,231,247,.88));
    border-color:rgba(206,196,231,.96);
    box-shadow:0 12px 22px rgba(122,110,169,.12), inset 0 1px 0 rgba(255,255,255,.85);
  }
}


/* v80 icon box hard centering */
@media (max-width: 980px){
  .mlp-mobile-link{
    grid-template-columns:42px 1fr !important;
    column-gap:12px !important;
    align-items:center !important;
  }

  .mlp-mobile-link__icon{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;
    display:grid !important;
    place-items:center !important;
    line-height:0 !important;
    padding:0 !important;
    position:relative;
    overflow:hidden;
    border-radius:14px;
  }

  .mlp-mobile-link__icon svg{
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    min-height:20px !important;
    display:block !important;
    margin:0 !important;
    position:absolute;
    inset:50% auto auto 50%;
    transform:translate(-50%, -50%);
    transform-box:fill-box;
    transform-origin:center;
    overflow:visible;
  }

  .mlp-mobile-link__label{
    min-height:42px;
    line-height:1.15;
  }
}

/* v81 compact icon spacing refinement */
@media (max-width: 980px){
  .mlp-mobile-panel{
    width:min(244px, calc(100vw - 24px));
    padding:8px !important;
    border-radius:17px;
  }

  .mlp-mobile-menu-list{
    gap:5px !important;
  }

  .mlp-mobile-link{
    grid-template-columns:36px 1fr !important;
    column-gap:10px !important;
    min-height:42px !important;
    padding:7px 10px !important;
    border-radius:12px !important;
  }

  .mlp-mobile-link__icon{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    border-radius:11px !important;
  }

  .mlp-mobile-link__icon svg{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    min-height:18px !important;
  }

  .mlp-mobile-link__label{
    min-height:36px !important;
    font-size:13.5px !important;
    line-height:1.1 !important;
  }
}

@media (max-width: 420px){
  .mlp-mobile-panel{
    width:min(228px, calc(100vw - 20px));
    padding:7px !important;
  }

  .mlp-mobile-link{
    grid-template-columns:34px 1fr !important;
    column-gap:9px !important;
    min-height:40px !important;
    padding:7px 9px !important;
  }

  .mlp-mobile-link__icon{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    border-radius:10px !important;
  }

  .mlp-mobile-link__icon svg{
    width:17px !important;
    height:17px !important;
  }

  .mlp-mobile-link__label{
    min-height:34px !important;
    font-size:13px !important;
  }
}


/* v83 projects archive pagination */
.mlp-pagination--archive{
  margin-top:28px;
  padding-top:8px;
}
.mlp-pagination--archive .mlp-page-btn{
  min-width:44px;
  height:44px;
  padding:0 18px;
  border:1px solid rgba(182, 175, 212, .45);
  background:linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(241,236,251,.92) 100%);
  color:#5a627f;
  box-shadow:0 10px 24px rgba(120, 108, 166, .10), inset 0 1px 0 rgba(255,255,255,.85);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.mlp-pagination--archive .mlp-page-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(120, 108, 166, .14), inset 0 1px 0 rgba(255,255,255,.95);
}
.mlp-pagination--archive .mlp-page-btn.active,
.mlp-pagination--archive .mlp-page-btn.current{
  border-color:rgba(109, 118, 173, .18);
  background:linear-gradient(180deg, #6f79b1 0%, #606a9f 100%);
  color:#fff;
  box-shadow:0 16px 32px rgba(92, 103, 158, .22);
}
@media (max-width:640px){
  .mlp-pagination--archive{
    gap:6px;
  }
  .mlp-pagination--archive .mlp-page-btn{
    min-width:40px;
    height:40px;
    padding:0 14px;
  }
}

/* v86 blog card CTA alignment */
.mlp-posts-center-wrap > .mlp-card,
.mlp-blog-row > .mlp-card,
.mlp-related-row > .mlp-card,
.mlp-blog-archive-card{
  display:flex;
  flex-direction:column;
  height:100%;
}

.mlp-posts-center-wrap > .mlp-card .mlp-card-link,
.mlp-blog-row > .mlp-card .mlp-card-link,
.mlp-related-row > .mlp-card .mlp-card-link,
.mlp-blog-archive-card .mlp-card-link{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  height:100%;
}

.mlp-posts-center-wrap > .mlp-card p,
.mlp-blog-row > .mlp-card p,
.mlp-related-row > .mlp-card p,
.mlp-blog-archive-copy p{
  flex:1 1 auto;
}

.mlp-posts-center-wrap > .mlp-card .mlp-readmore,
.mlp-blog-row > .mlp-card .mlp-readmore,
.mlp-related-row > .mlp-card .mlp-readmore,
.mlp-blog-archive-actions{
  margin-top:auto;
}

.mlp-posts-center-wrap > .mlp-card .mlp-readmore,
.mlp-blog-row > .mlp-card .mlp-readmore,
.mlp-related-row > .mlp-card .mlp-readmore,
.mlp-blog-archive-actions .mlp-readmore{
  align-self:flex-start;
}

/* v87 archive blog card button alignment refinement */
.mlp-blog-archive-grid{
  align-items:stretch;
}

.mlp-blog-archive-card{
  height:100%;
}

.mlp-blog-archive-card .mlp-card-link{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:100%;
}

.mlp-blog-archive-copy{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}

.mlp-blog-archive-copy h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
  min-height:4.32em;
}

.mlp-blog-archive-copy p{
  flex:1 1 auto;
  min-height:7.4em;
}

.mlp-blog-archive-actions{
  margin-top:auto;
  padding-top:18px;
}

.mlp-blog-archive-actions .mlp-readmore{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

@media (max-width: 640px){
  .mlp-blog-archive-copy h3{
    -webkit-line-clamp:unset;
    min-height:0;
  }
  .mlp-blog-archive-copy p{
    min-height:0;
  }
}


/* v89 ensure archive/blog readmore appears inside all cards */
.mlp-blog-archive-card .mlp-card-link{
  gap:0;
}
.mlp-blog-archive-actions{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  margin-top:auto;
  padding-top:18px;
}
.mlp-blog-archive-actions .mlp-readmore{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:flex-start;
  margin-top:0;
  min-height:44px;
}
.mlp-blog-archive-copy{
  flex:1 1 auto;
}
.mlp-blog-archive-copy p{
  margin-bottom:0;
}


/* v91 project pagination strengthened for home + mobile */
.mlp-pagination--projects-home,
.mlp-pagination--archive{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px;
}
.mlp-pagination--projects-home .mlp-page-btn,
.mlp-pagination--archive .mlp-page-btn{
  min-width:44px;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
}
@media (max-width: 640px){
  .mlp-pagination--projects-home,
  .mlp-pagination--archive{
    gap:8px;
    margin-top:22px;
  }
  .mlp-pagination--projects-home .mlp-page-btn,
  .mlp-pagination--archive .mlp-page-btn{
    min-width:40px;
    min-height:40px;
    padding:0 14px;
    font-size:14px;
  }
}


/* v93 unify home blog/project pagination for desktop + mobile */
.mlp-pagination--home-blog,
.mlp-pagination--projects-home,
.mlp-pagination--archive{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:24px;
}
.mlp-pagination--home-blog .mlp-page-btn,
.mlp-pagination--projects-home .mlp-page-btn,
.mlp-pagination--archive .mlp-page-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
}
.mlp-pagination .mlp-page-btn.disabled{
  pointer-events:none;
  opacity:.55;
}
@media (max-width: 640px){
  .mlp-pagination--home-blog,
  .mlp-pagination--projects-home,
  .mlp-pagination--archive{
    gap:8px;
    margin-top:22px;
  }
  .mlp-pagination--home-blog .mlp-page-btn,
  .mlp-pagination--projects-home .mlp-page-btn,
  .mlp-pagination--archive .mlp-page-btn{
    min-width:40px;
    min-height:40px;
    padding:0 14px;
    font-size:14px;
  }
}
