/* ===== หน้าข้อมูลผู้บริหาร (ออกแบบ 2026-10-08) ===== */
:root {
  --exe-maroon: #800000;
  --exe-maroon-2: #a3161c;
  --exe-maroon-deep: #4a0b0e;
  --exe-gold: #f4a000;
  --exe-gold-soft: #ffd27a;
  --exe-ink: #1f2937;
  --exe-muted: #5b6472;
  --exe-line: rgba(128, 0, 0, 0.1);
  --exe-shadow-sm: 0 6px 18px rgba(74, 11, 14, 0.06);
  --exe-shadow: 0 18px 48px rgba(74, 11, 14, 0.14);
  --exe-radius: 24px;
}

body.exe-body {
  font-family: "Prompt", sans-serif;
  color: var(--exe-ink);
  background: #faf6f2;
}

.exe-page {
  position: relative;
  overflow: hidden;
}

.exe-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.exe-hero {
  position: relative;
  padding: 150px 0 190px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(74, 11, 14, 0.94) 0%, rgba(128, 0, 0, 0.88) 55%, rgba(163, 22, 28, 0.82) 100%),
    url("../img/ประกาศจากวิทยาลัยเทคนิคเทิง/1.jpg") center/cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.exe-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.exe-hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.exe-hero__glow--a {
  width: 380px;
  height: 380px;
  top: 30px;
  right: 8%;
  background: rgba(244, 160, 0, 0.45);
}

.exe-hero__glow--b {
  width: 320px;
  height: 320px;
  bottom: -40px;
  left: -60px;
  background: rgba(255, 90, 90, 0.3);
}

.exe-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exe-crumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.exe-crumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.exe-crumb a:hover {
  color: var(--exe-gold-soft);
}

.exe-crumb strong {
  color: var(--exe-gold-soft);
  font-weight: 500;
}

.exe-badge,
.exe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exe-badge {
  color: var(--exe-gold-soft);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 210, 122, 0.35);
  backdrop-filter: blur(6px);
}

.exe-eyebrow {
  margin: 0 0 10px;
  color: var(--exe-maroon);
  background: rgba(128, 0, 0, 0.07);
}

.exe-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.exe-hero h1 span {
  display: inline; /* หัวข้อเรียงเป็นบรรทัดเดียว (9 ต.ค. 2569) */
  background: linear-gradient(90deg, var(--exe-gold-soft), var(--exe-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.exe-summary {
  max-width: 720px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Content ---------- */
.exe-content {
  position: relative;
  margin-top: -140px;
  padding-bottom: 90px;
}

/* ---------- Director ---------- */
.exe-director {
  position: relative;
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 48px;
  padding: 48px 56px;
  border-radius: var(--exe-radius);
  background: #fff;
  border: 1px solid var(--exe-line);
  box-shadow: var(--exe-shadow);
  overflow: hidden;
}

.exe-director::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--exe-maroon), var(--exe-gold));
}

.exe-director::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 160, 0, 0.12), transparent 70%);
  pointer-events: none;
}

.exe-director__photo {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.exe-director__ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--exe-gold), var(--exe-maroon-2), var(--exe-maroon), var(--exe-gold));
}

.exe-director__photo img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 6px solid #fff;
  background: #f3ece6;
}

.exe-director__info {
  position: relative;
  z-index: 1;
}

.exe-director h2 {
  margin: 4px 0 4px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--exe-maroon-deep);
}

.exe-en {
  margin: 0;
  font-size: 0.95rem;
  color: var(--exe-muted);
  letter-spacing: 0.02em;
}

.exe-role {
  display: inline-block;
  margin: 14px 0 0;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--exe-maroon);
  background: rgba(244, 160, 0, 0.14);
}

.exe-role--lg {
  font-size: 1.05rem;
  padding: 8px 18px;
}

.exe-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.exe-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  background: #faf6f2;
  border: 1px solid var(--exe-line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.exe-contact:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 160, 0, 0.6);
  box-shadow: var(--exe-shadow-sm);
}

.exe-contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--exe-maroon-2), var(--exe-maroon));
}

.exe-contact > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.exe-contact small {
  font-size: 0.78rem;
  color: var(--exe-muted);
}

.exe-contact strong {
  font-weight: 600;
  color: var(--exe-maroon-deep);
  overflow-wrap: anywhere;
}

/* ---------- Section title ---------- */
.exe-section-title {
  margin: 72px 0 28px;
  text-align: center;
}

.exe-section-title h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--exe-maroon-deep);
}

/* ---------- Deputy cards ---------- */
.exe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.exe-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--exe-line);
  box-shadow: var(--exe-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exe-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--exe-shadow);
}

.exe-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #f3ece6, #e9ddd2);
}

.exe-card__photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--exe-maroon), var(--exe-gold));
}

.exe-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.exe-card:hover .exe-card__photo img {
  transform: scale(1.04);
}

.exe-card__photo {
  overflow: hidden;
}

.exe-card__icon {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--exe-maroon-2), var(--exe-maroon));
  box-shadow: 0 8px 20px rgba(128, 0, 0, 0.35);
}

.exe-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
}

.exe-card h3 {
  margin: 0 0 2px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--exe-maroon-deep);
}

.exe-card .exe-en {
  font-size: 0.85rem;
}

.exe-card .exe-role {
  align-self: flex-start;
  font-size: 0.86rem;
}

.exe-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--exe-line);
}

.exe-card .exe-role + .exe-card__contacts {
  margin-top: 18px;
}

.exe-card__contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--exe-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.exe-card__contacts a i {
  flex: none;
  width: 18px;
  text-align: center;
  color: var(--exe-gold);
}

.exe-card__contacts a:hover {
  color: var(--exe-maroon);
}

/* ---------- Related links ---------- */
.exe-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 72px;
}

.exe-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--exe-line);
  box-shadow: var(--exe-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.exe-link:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 160, 0, 0.6);
  box-shadow: var(--exe-shadow);
}

.exe-link__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--exe-maroon);
  background: rgba(128, 0, 0, 0.08);
  font-size: 1.15rem;
}

.exe-link__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.exe-link__text strong {
  color: var(--exe-maroon-deep);
  font-weight: 600;
}

.exe-link__text small {
  color: var(--exe-muted);
  font-size: 0.85rem;
}

.exe-link__arrow {
  color: var(--exe-gold);
  transition: transform 0.2s ease;
}

.exe-link:hover .exe-link__arrow {
  transform: translateX(4px);
}

/* ---------- Reveal ---------- */
.exe-js .exe-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.exe-js .exe-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.exe-js .exe-card.exe-reveal.is-visible:hover {
  transform: translateY(-6px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .exe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
  .exe-director {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 32px;
    text-align: center;
  }
  .exe-contacts { justify-content: center; }
  .exe-related { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .exe-hero { padding: 120px 0 160px; }
  .exe-content { margin-top: -120px; }
  .exe-director { padding: 36px 20px; }
  .exe-director__photo { width: 220px; height: 220px; }
  .exe-contacts { text-align: left; }
  .exe-contact { flex-basis: 100%; }
  .exe-grid { grid-template-columns: 1fr; }
  .exe-section-title { margin: 56px 0 22px; }
  .exe-related { margin-top: 56px; }
}
