/* Blogs > Directors — layout comes from the shared .sp-* kit in base.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Telugu:wght@400;600;700&display=swap');
/* Marcellus = headings (same as the home page headings) */
@import url("https://fonts.googleapis.com/css2?family=Marcellus&display=swap");

/* spacing between the three director blocks */
.sp-profile.dir-block + .sp-profile.dir-block { margin-top: 64px; }

/* =========================================================================
   Headings — "Correspondent Message" etc.
   ========================================================================= */
.sp-profile .sp-eyebrow {
  display: inline-block !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-family: "Marcellus", var(--font-head);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #0B3F73 !important;
  padding: 0 0 4px !important;
  margin: 0 0 24px;
  border: 0;
  border-bottom: 3px solid #0B3F73;
}

/* =========================================================================
   Name card under the photo
   Title (h3)  = RED, smaller, on top
   Name (span) = ORANGE, BIG, below
   ========================================================================= */
.sp-profile .sp-profile-card .meta {
  text-align: center;
  padding: 18px 12px 8px;
  box-sizing: border-box;
  max-width: 100%;
}
.sp-profile .sp-profile-card .meta > h3,
.sp-profile .sp-profile-card .meta > span {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto 6px !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: var(--font-head);
  line-height: 1.25;
  letter-spacing: 0.01em !important;
  word-spacing: normal !important;
  text-align: center !important;
  text-align-last: center !important;
  white-space: normal !important;
  overflow-wrap: break-word;
}
/* title: Correspondent / Administrative Director / Academic Directors — RED, small */
.sp-profile .sp-profile-card .meta > h3 {
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  color: #D32F2F !important;                 /* red */
  margin-bottom: 8px !important;
  -webkit-text-stroke: 0.3px currentColor;
}
/* person's name: ORANGE, BIG */
.sp-profile .sp-profile-card .meta > span {
  font-size: 2.3rem !important;
  font-weight: 700 !important;
  color: #E8790E !important;                 /* orange */
}
/* nested word / letter spans stay plain inline text, same colour */
.sp-profile .sp-profile-card .meta h3 *,
.sp-profile .sp-profile-card .meta span * {
  display: inline !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  color: inherit !important;
  white-space: inherit !important;
}

/* ===== Message box — pure white ===== */
.sp-profile .sp-message {
  --msg-bg:     #FFFFFF;
  --msg-border: #E0B400;
  --msg-text:   #000000;
  --msg-lang:   #7c2d12;
  --msg-line:   #000000;

  background: var(--msg-bg) !important;
  display: block !important;
  padding: 36px 44px !important;

  border: 2px solid var(--msg-border) !important;
  border-left: 2px solid var(--msg-border) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08) !important;
}

.sp-profile .sp-message::before {
  display: none !important;
  content: none !important;
}

/* ===== Message text ===== */
.sp-profile .sp-message .sp-message-body p {
  color: #000 !important;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
  line-height: 1.9;
  margin: 0 0 14px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Telugu text */
.sp-profile .sp-message .sp-message-body p[lang="te"] {
  font-family: 'Noto Sans Telugu', 'Gautami', 'Nirmala UI', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  -webkit-text-stroke: 0.15px currentColor;
  line-height: 2;
  text-align: justify;
  text-justify: inter-word;
}

/* Telugu label + dashed divider */
.sp-profile .sp-message .sp-lang {
  display: inline-block;
  color: var(--msg-lang);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.sp-profile .sp-message .sp-lang-te {
  font-family: 'Noto Sans Telugu', 'Gautami', 'Nirmala UI', sans-serif;
  text-transform: none;
  letter-spacing: .02em;
  display: block;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 2px dashed var(--msg-line);
}

/* ===== Left side photo placeholders (name + size + ratio) ===== */
.sp-profile .sp-portrait { position: relative; }

.sp-profile .sp-portrait::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 0;
  text-align: center;
  white-space: pre-line;
  font-family: 'Noto Sans Telugu', 'Nirmala UI', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1d4f91;
  pointer-events: none;
}

.sp-profile.dir-block:nth-child(1) .sp-portrait::after {
  content: "correspondent.jpg\A 600 × 600 px  |  Ratio 1:1";
}
.sp-profile.dir-block:nth-child(2) .sp-portrait::after {
  content: "administrative-director.jpg\A 600 × 600 px  |  Ratio 1:1";
}
.sp-profile.dir-block:nth-child(3) .sp-portrait::after {
  content: "academic-directors.jpg\A 600 × 600 px  |  Ratio 1:1";
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .sp-profile .sp-message { padding: 24px 20px !important; }
  .sp-profile .sp-message .sp-message-body p { font-size: 1.15rem; }
  .sp-profile .sp-message .sp-message-body p[lang="te"] { font-size: 1.08rem; }
  .sp-profile .sp-profile-card .meta > h3 { font-size: 1.3rem !important; }
  .sp-profile .sp-profile-card .meta > span { font-size: 1.8rem !important; }
}

/* ===== Big capital first letter at the start of every English message (drop cap) ===== */
.sp-profile .sp-message .sp-message-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-body);
  font-size: 3.6em;
  font-weight: 400;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  -webkit-text-stroke: 0;
}

/* ===== Names and years inside the English messages: italic + bold + a little bigger ===== */
.sp-profile .sp-message .sp-message-body .msg-hl {
  font-style: italic;
  font-weight: 700;
  font-size: 1.08em;
  -webkit-text-stroke: 0;
}

@media (max-width: 700px) {
  .sp-profile .sp-message .sp-message-body > p:first-of-type::first-letter { font-size: 3em; padding-right: 8px; }
}