.tpl h3 {
  font: 600 14px/1.2 system-ui, Segoe UI;
  color: #1c2a39;
  margin: 18px 0 6px;
}
.tpl p {
  font: 400 13px/1.55 system-ui, Segoe UI;
  color: #374151;
  margin: 6px 0;
}
.tpl .item {
  margin: 10px 0;
}
.tpl .item .meta {
  color: #6b7280;
  font-size: 12px;
}
.tpl .bullets {
  list-style: disc;
  margin: 6px 0 0 18px;
}
.tpl ul.contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tpl ul.contact li {
  font: 400 13px/1.6 system-ui;
}
.ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ico svg {
  width: 18px;
  height: 18px;
}
.ico.fb svg {
  fill: #1877f2;
}
.ico.tw svg {
  fill: #1da1f2;
}
.ico.gh svg {
  fill: #111;
}

/* ===== Template 1 (Cv6.jpg) ===== */
.tpl-1 {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
}
.tpl-1 .lhs {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  padding: 16px;
}
.tpl-1 .photo img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}
.tpl-1 .blk {
  margin: 14px 0;
}
.tpl-1 .blk h4 {
  font: 700 13px/1 system-ui;
  color: #0bb1b7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.tpl-1 .rhs .hdr {
  border-bottom: 1px solid #e5e9ef;
  padding-bottom: 40px;
  margin-bottom: 14px;
  position: relative;
}
.tpl-1 .rhs .name {
  font: 800 30px/1.1 system-ui;
}
.tpl-1 .rhs .title {
  font: 500 15px/1.2 system-ui;
  color: #6d7a86;
  margin-top: 2px;
}
.tpl-1 .rhs .band {
  position: absolute;
  left: 0;
  background: #0bb1b7;
  color: #fff;
  font: 700 20px/26px system-ui;
  padding: 0 14px;
  border-radius: 4px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}
.tpl-1 .rule {
  height: 1px;
  background: #e5e9ef;
  margin: 8px 0 12px;
}

/* Contact list with icons (tpl-1) */
.tpl-1 ul.contact.withicons {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tpl-1 ul.contact.withicons li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  color: #374151;
  font: 400 13px/1.55 system-ui;
}
.tpl-1 ul.contact.withicons svg {
  width: 16px;
  height: 16px;
  color: #0bb1b7; /* teal accent like sample */
  flex: 0 0 16px;
}
.tpl-1 ul.contact.withicons span {
  display: inline-block;
  word-break: break-word;
}

.tpl-1 .skills-icons {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.tpl-1 .skills-icons li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font: 400 13px/1.6 system-ui, Segoe UI;
}
.tpl-1 .skills-icons .ico-outline {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: #0bb1b7; /* teal stroke */
}
.tpl-1 .skills-icons .ico-outline svg {
  width: 18px;
  height: 18px;
}

.tpl-1 .skills-plain {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.tpl-1 .skills-plain li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font: 400 13px/1.45 system-ui, Segoe UI;
}
.tpl-1 .skills-plain li::before {
  content: "✓";
  color: #0bb1b7;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  display: inline-block;
  width: 14px;
  text-align: center;
  flex: 0 0 14px;
}

.tpl-1 .blk ul.bullets {
  list-style: disc;
  margin: 6px 0 0 18px;
  padding: 0;
}
.tpl-1 .blk ul.bullets li {
  font: 400 13px/1.55 system-ui, Segoe UI;
  color: #374151;
  margin: 4px 0;
}

/* ===== Template 2 (CV7.webp) ===== */
.cv7 * {
  box-sizing: border-box;
}
.cv7 {
  font: 400 13px/1.55 system-ui, Segoe UI, Arial;
  color: #1f2937;
}

/* Header */
.cv7-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.cv7-hero .hero-left {
  background: #2f3b45; /* dark */
  color: #fff;
  padding: 18px 16px 24px;
}
.cv7-hero .nm-1 {
  font: 800 34px/1 system-ui;
  letter-spacing: 0.5px;
}
.cv7-hero .nm-2 {
  font: 800 34px/1 system-ui;
  color: #c8d2da;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.cv7-hero .hero-right {
  background: #12a7af; /* teal on right in image */
  color: #eaf7f7;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.cv7-hero .hero-right .role {
  font: 700 24px/1.25 system-ui;
}

/* Grid two columns */
.cv7-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.86fr; /* left wider, right narrower */
  gap: 18px;
}

/* Bars */
.cv7-bar {
  color: #fff;
  font: 700 13px/28px system-ui;
  border-radius: 6px;
  padding: 0 12px;
  margin: 10px 0 8px;
}
.cv7-bar.teal {
  background: #0f6f80;
} /* left sections: PROFILE, EXPERIENCE */
.cv7-bar.dark {
  background: #2f3b45;
} /* right sections: CONTACT, SKILLS, EDUCATION */

/* Boxes */
.cv7-box {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  padding: 12px 14px;
}
.cv7-left .profile p {
  margin: 6px 0;
}

/* Items (Experience etc) */
.cv7-item {
  padding: 8px 0 12px;
  border-bottom: 1px solid #e5e9ef;
}
.cv7-item:last-child {
  border-bottom: 0;
}
.cv7-item .item-hd {
  font-weight: 700;
  margin-bottom: 2px;
}
.cv7-item .item-meta {
  color: #6b7280;
  font-size: 12px;
}
.cv7-item .item-desc {
  margin-top: 4px;
}

/* Right column lists */
.cv7-right ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cv7-right ul.contact li {
  margin: 6px 0;
  color: #374151;
}

/* Skills bullets – teal dots */
.cv7-right ul.skills li {
  padding-left: 14px;
  position: relative;
  margin: 6px 0;
}
.cv7-right ul.skills li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0f6f80;
  position: absolute;
  left: 0;
  top: 8px;
}

/* Education entries */
.cv7-edu {
  padding: 8px 0 10px;
  border-bottom: 1px solid #e5e9ef;
}
.cv7-edu:last-child {
  border-bottom: 0;
}
.cv7-edu .ih {
  font-weight: 700;
}
.cv7-edu .meta {
  color: #6b7280;
  font-size: 12px;
}

/* Minor typography */
.cv7 strong {
  font-weight: 700;
}

/* ===== Template 3 (CV8.webp) ===== */
.tpl-3 .hero {
  background: #12a7af;
  color: #fff;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.tpl-3 .hero .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.5);
}
.tpl-3 .hero .name {
  font: 800 22px/1.1 system-ui;
}
.tpl-3 .hero .title {
  font: 500 14px/1.2 system-ui;
}
.tpl-3 .hero .mini {
  opacity: 0.95;
  font: 500 12px/1.2 system-ui;
  margin-top: 4px;
}
.tpl-3 .hero .icons {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.tpl-3 section {
  margin-top: 14px;
}
.tpl-3 ul.cols {
  columns: 2;
  -moz-columns: 2;
  -webkit-columns: 2;
  column-gap: 24px;
  list-style: disc;
  margin: 6px 0 0 18px;
}
