
/* =========================================================
   V26.2 — Global Frontend Readability
   Applies only to public-site layouts that load this file.
   Purpose: prevent 7px–10px UI text from becoming unreadable.
   ========================================================= */

:root{
  --az-body-readable: 15px;
  --az-small-readable: 12px;
  --az-meta-readable: 12px;
  --az-label-readable: 13px;
  --az-card-readable: 14px;
}

/* Base public-site readability */
body{
  line-height:1.75;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

body.rebuild-v1 p{
  font-size:max(var(--az-body-readable), .92em) !important;
  line-height:1.9 !important;
}

body.rebuild-v1 small{
  font-size:max(var(--az-small-readable), .78em) !important;
  line-height:1.65 !important;
}

body.rebuild-v1 label{
  font-size:max(var(--az-label-readable), .82em) !important;
}

body.rebuild-v1 input,
body.rebuild-v1 select,
body.rebuild-v1 textarea,
body.rebuild-v1 button{
  font-size:max(13px, .82em) !important;
}

/* Navigation, footer, buttons, meta and interactive labels */
body.rebuild-v1 .main-nav a,
body.rebuild-v1 .main-nav button,
body.rebuild-v1 .student-btn,
body.rebuild-v1 .btn,
body.rebuild-v1 .text-link,
body.rebuild-v1 .footer a,
body.rebuild-v1 .footer p,
body.rebuild-v1 .copyright,
body.rebuild-v1 [class*="eyebrow"],
body.rebuild-v1 [class*="label"],
body.rebuild-v1 [class*="kicker"],
body.rebuild-v1 [class*="meta"] span,
body.rebuild-v1 [class*="meta"] small{
  font-size:max(12px, .8em) !important;
}

/* Common cards across the public site */
body.rebuild-v1 .department-card p,
body.rebuild-v1 .faculty-card p,
body.rebuild-v1 .news-card p,
body.rebuild-v1 .file-card p,
body.rebuild-v1 [class*="card"] p{
  font-size:max(13px, .86em) !important;
}

body.rebuild-v1 .department-card small,
body.rebuild-v1 .faculty-card small,
body.rebuild-v1 .news-card small,
body.rebuild-v1 .file-card small,
body.rebuild-v1 [class*="card"] small{
  font-size:max(12px, .78em) !important;
}

/* Section headings remain visually proportional */
body.rebuild-v1 h1{
  line-height:1.3 !important;
}
body.rebuild-v1 h2{
  line-height:1.45 !important;
}
body.rebuild-v1 h3{
  line-height:1.55 !important;
}

/* About V26.2 — specifically address the tiny text seen in review */
.about260-eyebrow,
.about260-label{
  font-size:12px !important;
}

.about260-hero p{
  font-size:15px !important;
}

.about260-hero__stats span{
  font-size:13px !important;
}

.about260-hero__stats small{
  font-size:12px !important;
}

.about260-overview__image span{
  font-size:13px !important;
}

.about260-overview__image small{
  font-size:12px !important;
}

.about260-prose{
  font-size:15px !important;
  line-height:2 !important;
}

.about260-overview__facts span{
  min-height:36px !important;
  font-size:12px !important;
}

.about260-pillars small{
  font-size:12px !important;
}

.about260-pillars h3{
  font-size:19px !important;
}

.about260-pillars p{
  font-size:14px !important;
  line-height:1.9 !important;
}

.about260-section-head>p{
  font-size:13px !important;
  line-height:1.8 !important;
}

.about260-goals__grid small{
  font-size:11px !important;
}

.about260-goals__grid p{
  font-size:14px !important;
  line-height:1.75 !important;
}

.about261-director__eyebrow{
  font-size:12px !important;
}

.about261-director h2{
  font-size:27px !important;
}

.about261-director p{
  font-size:15px !important;
  line-height:1.9 !important;
}

.about261-director__footer strong{
  font-size:13px !important;
}

.about261-director__footer small{
  font-size:12px !important;
}

.about261-director__link{
  min-height:40px !important;
  font-size:12px !important;
}

/* Real institute logo replaces the decorative letter */
.about262-director__logo{
  width:92px;
  height:92px;
  display:grid;
  place-items:center;
  padding:8px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.16);
}

.about262-director__logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
}

.about261-director__identity span{
  font-size:11px !important;
  line-height:1.7 !important;
}

/* Do not let very small fixed sizes return on phones */
@media(max-width:650px){
  :root{
    --az-body-readable:14px;
    --az-small-readable:11.5px;
    --az-label-readable:12px;
  }

  body.rebuild-v1 p{
    font-size:max(14px,.92em) !important;
  }

  .about260-prose,
  .about260-pillars p,
  .about260-goals__grid p,
  .about261-director p{
    font-size:14px !important;
  }

  .about262-director__logo{
    width:78px;
    height:78px;
  }
}


/* =========================================================
   V26.3 — Final readability + unified Director Message
   ========================================================= */

/* Stronger readable text across the public website */
body.rebuild-v1{
  color:#173a61;
}
body.rebuild-v1 p{
  font-size:max(16px,.95em) !important;
  line-height:1.9 !important;
  color:#4d647a;
}
body.rebuild-v1 small{
  font-size:max(13px,.8em) !important;
  color:#61778b;
}
body.rebuild-v1 [class*="card"] p{
  font-size:max(14px,.88em) !important;
  color:#536b80;
}
body.rebuild-v1 [class*="card"] small{
  font-size:max(12.5px,.79em) !important;
}
body.rebuild-v1 h3{
  font-size:max(18px,1.05em);
}

/* About page: explicit final sizes */
.about260-prose{font-size:16px !important;color:#4d647a !important}
.about260-pillars h3{font-size:19px !important}
.about260-pillars p{font-size:14.5px !important;color:#566d81 !important}
.about260-pillars small{font-size:12.5px !important}
.about260-section-head>p{font-size:14px !important;color:#61778b !important}
.about260-goals__grid p{font-size:14.5px !important;color:#405d76 !important}
.about260-goals__grid small{font-size:12px !important}

/* Unified compact Director Message — based on approved homepage design */
.about263-director{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:155px minmax(0,1fr);
  grid-template-areas:
    "logo content"
    "logo link";
  gap:10px 28px;
  align-items:center;
  margin-top:16px;
  padding:24px 28px;
  border-radius:18px;
  background:
    radial-gradient(circle at 0 115%,rgba(255,255,255,.06) 0 115px,transparent 116px),
    linear-gradient(135deg,#06396f 0%,#0757a5 100%);
  box-shadow:0 14px 30px rgba(4,43,88,.12);
  color:#fff;
}
.about263-director:after{
  content:"";
  position:absolute;
  top:22px;
  right:28px;
  width:30px;
  height:1px;
  background:#87c8ff;
}
.about263-director__logo-card{
  grid-area:logo;
  position:relative;
  z-index:2;
  min-height:145px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:14px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  background:rgba(255,255,255,.075);
  text-align:center;
}
.about263-director__logo{
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  padding:7px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.14);
}
.about263-director__logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
}
.about263-director__logo-card>strong{
  max-width:120px;
  margin-top:9px;
  color:#e9f4ff;
  font-size:11px;
  line-height:1.6;
}
.about263-director__content{
  grid-area:content;
  position:relative;
  z-index:2;
  padding-right:4px;
}
.about263-director__eyebrow{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:5px;
  color:#c7e4ff;
  font-size:12px;
  font-weight:800;
}
.about263-director__eyebrow span{
  width:26px;
  height:1px;
  background:#8dcaff;
}
.about263-director h2{
  margin:0 0 7px;
  color:#fff;
  font-size:26px;
  line-height:1.5;
  font-weight:900;
}
.about263-director p{
  max-width:900px;
  margin:0;
  color:#e7f2fd !important;
  font-size:15px !important;
  line-height:1.9 !important;
}
.about263-director__signature{
  margin-top:10px;
}
.about263-director__signature strong,
.about263-director__signature small{
  display:block;
}
.about263-director__signature strong{
  color:#fff;
  font-size:13px;
}
.about263-director__signature small{
  margin-top:2px;
  color:#bdd9f2 !important;
  font-size:11px !important;
}
.about263-director__link{
  grid-area:link;
  position:relative;
  z-index:2;
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:8px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  transition:.2s ease;
}
.about263-director__link:hover{
  background:#fff;
  color:#0755a0;
}

@media(max-width:700px){
  body.rebuild-v1 p{font-size:max(15px,.94em) !important}
  .about263-director{
    grid-template-columns:1fr;
    grid-template-areas:"content" "logo" "link";
    padding:22px 18px;
  }
  .about263-director__logo-card{
    min-height:auto;
    flex-direction:row;
    justify-content:flex-start;
    gap:12px;
  }
  .about263-director__logo{width:68px;height:68px}
  .about263-director__logo-card>strong{max-width:none;margin-top:0;text-align:right}
  .about263-director h2{font-size:22px}
  .about263-director p{font-size:14.5px !important}
}


/* =========================================================
   V26.4 — Unified homepage Director Message
   Same approved identity as About page V26.3.
   ========================================================= */

.home-director264{
  padding:28px 0 !important;
  background:#f7faff;
}

.home-director264__card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:155px minmax(0,1fr);
  grid-template-areas:
    "logo content"
    "logo link";
  gap:10px 28px;
  align-items:center;
  padding:24px 28px;
  border-radius:18px;
  background:
    radial-gradient(circle at 0 115%,rgba(255,255,255,.06) 0 115px,transparent 116px),
    linear-gradient(135deg,#06396f 0%,#0757a5 100%);
  box-shadow:0 14px 30px rgba(4,43,88,.12);
  color:#fff;
}

.home-director264__card:after{
  content:"";
  position:absolute;
  top:22px;
  right:28px;
  width:30px;
  height:1px;
  background:#87c8ff;
}

.home-director264__logo-card{
  grid-area:logo;
  position:relative;
  z-index:2;
  min-height:145px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:14px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  background:rgba(255,255,255,.075);
  text-align:center;
}

.home-director264__logo{
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  padding:7px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.14);
}

.home-director264__logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
}

.home-director264__logo-card>strong{
  max-width:120px;
  margin-top:9px;
  color:#e9f4ff;
  font-size:11px;
  line-height:1.6;
}

.home-director264__content{
  grid-area:content;
  position:relative;
  z-index:2;
  padding-right:4px;
}

.home-director264__eyebrow{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:5px;
  color:#c7e4ff;
  font-size:12px;
  font-weight:800;
}

.home-director264__eyebrow span{
  width:26px;
  height:1px;
  background:#8dcaff;
}

.home-director264 h2{
  margin:0 0 7px;
  color:#fff;
  font-size:26px !important;
  line-height:1.5 !important;
  font-weight:900;
}

.home-director264 p{
  max-width:900px;
  margin:0;
  color:#e7f2fd !important;
  font-size:15px !important;
  line-height:1.9 !important;
}

.home-director264__signature{
  margin-top:10px;
}

.home-director264__signature strong,
.home-director264__signature small{
  display:block;
}

.home-director264__signature strong{
  color:#fff;
  font-size:13px;
}

.home-director264__signature small{
  margin-top:2px;
  color:#bdd9f2 !important;
  font-size:11px !important;
}

.home-director264__link{
  grid-area:link;
  position:relative;
  z-index:2;
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:8px;
  background:rgba(255,255,255,.07);
  color:#fff;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  transition:.2s ease;
}

.home-director264__link:hover{
  background:#fff;
  color:#0755a0;
}

@media(max-width:700px){
  .home-director264{
    padding:20px 0 !important;
  }

  .home-director264__card{
    grid-template-columns:1fr;
    grid-template-areas:"content" "logo" "link";
    padding:22px 18px;
  }

  .home-director264__logo-card{
    min-height:auto;
    flex-direction:row;
    justify-content:flex-start;
    gap:12px;
  }

  .home-director264__logo{
    width:68px;
    height:68px;
  }

  .home-director264__logo-card>strong{
    max-width:none;
    margin-top:0;
    text-align:right;
  }

  .home-director264 h2{
    font-size:22px !important;
  }

  .home-director264 p{
    font-size:14.5px !important;
  }
}
