:root{
  --page:#f3efe6;
  --panel:#e8e2d6;
  --dark:#6f675a;
  --dark2:#5f584c;
  --text:#222;
  --muted:#555;
  --line:#d3cabb;
  --pill:#6f675a;
  --pillText:#fff;
  --link:#1f4fbf;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
}

.photoWrap{
  display:flex;
  justify-content:center;
  margin: 18px 0 14px;
}

.photoImg{
  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  max-height: 170px !important;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 999px;
  border: 6px solid rgba(0,0,0,.35);
  background:#ddd;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: "Segoe UI", Arial, sans-serif;
  background:#cfc7b8;
  color:var(--text);
}

.page{
  max-width: 980px;
  margin: 18px auto;
  background: var(--page);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.08);
}

.layout{
  display:grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}
@media (max-width: 880px){
  .layout{grid-template-columns: 1fr}
}

/* LEFT */
.left{
  background: var(--panel);
  border-right: 10px solid rgba(255,255,255,.8);
  padding: 22px 18px 28px;
}


.sectionPill{
  display:block;
  width: 78%;
  margin: 14px auto 10px;
  text-align:center;
  background: var(--pill);
  color: var(--pillText);
  font-weight: 800;
  letter-spacing:.6px;
  border-radius: 999px;
  padding: 10px 14px;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.contactList{
  margin: 10px 10px 0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size: 16px;
}
.contactItem{
  display:grid;
  grid-template-columns: 26px 1fr;
  gap:10px;
  align-items:center;
  color: #111;
}
.icon{width:26px; text-align:center; opacity:.9; font-size:18px}
.contactItem a{color:var(--link); text-decoration:underline}

.bullets{
  margin: 10px 16px 0 18px;
  padding-left: 18px;
  line-height: 1.55;
  font-size: 15px;
}
.bullets li{margin: 8px 0}

/* RIGHT */
.right{background:#fff; padding:0; position:relative}

.header{
  background: var(--dark);
  color:#fff;
  padding: 34px 26px 26px;
  border-bottom: 6px solid rgba(255,255,255,.9);
  position:relative;
}
.headerTopLine,.headerBottomLine{
  height:8px; background:rgba(255,255,255,.95);
  position:absolute; left:0; right:0;
}
.headerTopLine{top:0}
.headerBottomLine{bottom:0}

.name{
  margin:0;
  text-align:center;
  font-size:30px;
  letter-spacing:1px;
  font-weight:900;
  text-transform:uppercase;
}
.titlePill{
  margin:10px auto 0;
  width:fit-content;
  padding: 8px 18px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.85);
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:14px;
}

.content{padding: 18px 26px 28px}
.block{margin:16px 0 18px}

.blockTitle{
  width: 70%;
  margin: 0 auto 10px;
  text-align:center;
  background: var(--pill);
  color:#fff;
  font-weight:900;
  letter-spacing:.8px;
  border-radius:999px;
  padding: 10px 14px;
  text-transform:uppercase;
}

.para{
  margin:0;
  font-size:13.2px;
  line-height:1.6;
  color:#1d1d1d;
  text-align:justify;
}

.eduWrap{text-align:center; font-size:12.8px; line-height:1.6}
.eduWrap b{display:block; margin-top:8px}
.eduWrap .sub{color:#334155}

.expList{
  margin:10px 0 0;
  padding-left:18px;
  font-size:12.8px;
  line-height:1.65;
}
.expList li{margin:8px 0}

.pubWrap{font-size:12.6px; line-height:1.7}
.pubYear{font-weight:900; margin-top:10px}
.pubItem{margin-left:12px; padding-left:12px; border-left:3px solid var(--line)}

/* ADMIN */
.adminWrap{
  min-height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding: 24px;
}
.adminCard{
  width:min(1000px, 100%);
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 18px;
}
.adminHint{color:#334155; margin-top:6px}
.badgeOk{margin-left:10px; padding:4px 10px; border-radius:999px; background:#e6ffed; color:#066a1f; font-weight:800}
textarea{
  width:100%;
  min-height: 520px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
  padding: 12px;
  border-radius: 12px;
  border:1px solid rgba(0,0,0,.12);
}
.adminActions{
  display:flex; gap:10px; margin-top:12px; align-items:center;
}
button{
  cursor:pointer;
  background: var(--dark);
  color:#fff;
  border:0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
}
.btnLink{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border:1px solid rgba(0,0,0,.12);
  color:#111;
  text-decoration:none;
}
