/* ==========================================================================
   Dr. Stephen Cheon - Global Digital Business Analysis and Management
   Senior Web Designer Grade Executive Header & UI Design System
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Executive Theme Palette: Hanyang Royal Navy & Cybernetic Cyan */
  --bg-main: #FBF9F8;
  --bg-white: #FFFFFF;
  --bg-sky-light: #F0F9FF;
  --bg-sky-subtle: #E0F2FE;
  
  --primary-navy: #002550;
  --primary-container: #003A78;
  --secondary-teal: #0C6780;
  --secondary-light: #BAEAFF;
  
  --sky-blue-primary: #002550;
  --sky-blue-hover: #003A78;
  --sky-blue-dark: #001B3E;
  --sky-blue-accent: #0C6780;
  
  --text-heading: #1B1C1C;
  --text-body: #434750;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --border-color: #E2E8F0;
  --border-light: #F1F5F9;

  --badge-gold-bg: #FEF3C7;
  --badge-gold-text: #92400E;

  --shadow-sm: 0 1px 3px 0 rgba(0, 37, 80, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(0, 37, 80, 0.08);
  --shadow-lg: 0 12px 28px -4px rgba(0, 37, 80, 0.12);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hidden {
  display: none;
}

/* Modal and Presentation explicit hidden states */
.modal-backdrop.hidden,
.presentation-view.hidden,
#domain-modal.hidden,
#login-modal.hidden,
#mobile-menu-dropdown.hidden {
  display: none !important;
}

/* Explicit Navigation Desktop & Mobile Visibility */
.site-nav-desktop,
.site-auth-desktop {
  display: none;
}
.site-nav-mobile-toggle {
  display: flex;
}

@media (min-width: 768px) {
  .site-nav-desktop {
    display: flex !important;
    align-items: center;
  }
  .site-auth-desktop {
    display: flex !important;
    align-items: center;
  }
  .site-nav-mobile-toggle {
    display: none !important;
  }
  #mobile-menu-dropdown {
    display: none !important;
  }
}

/* Brand Logo Sizing - High Definition, Non-Shrinking Scale */
.site-brand-logo {
  height: 84px !important;
  max-height: 94px !important;
  min-height: 76px !important;
  min-width: 240px !important;
  width: auto !important;
  object-fit: contain;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: block;
}
.site-brand-logo:hover {
  transform: scale(1.02);
}

@media (max-width: 1200px) {
  .site-brand-logo {
    height: 74px !important;
    max-height: 84px !important;
    min-width: 210px !important;
  }
}

@media (max-width: 1024px) {
  .site-brand-logo {
    height: 66px !important;
    max-height: 76px !important;
    min-width: 190px !important;
  }
}

@media (max-width: 768px) {
  .site-brand-logo {
    height: 56px !important;
    max-height: 64px !important;
    min-width: 160px !important;
  }
}

.nav-menu-link {
  color: #434750;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-menu-link:hover {
  color: #002550 !important;
  background-color: rgba(0, 37, 80, 0.06);
}
.nav-menu-link.active {
  color: #002550 !important;
  font-weight: 800;
  background-color: rgba(0, 37, 80, 0.1);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

a {
  color: var(--sky-blue-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--sky-blue-hover);
}

/* ----------------------------------------------------
   Executive Header & Navigation Bar (Single Line Layout)
   ---------------------------------------------------- */
.header-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Circular Logo & Left Title Block */
.brand-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sky-blue-primary), var(--sky-blue-hover));
  border-radius: 50%; /* Perfect Circle Logo */
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.brand-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Center Horizontal Menu Items (Strict Single Line) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  margin: 0 0.5rem;
}

.nav-link {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap; /* Single line horizontal text */
}

.nav-link i {
  font-size: 1.05rem;
  color: var(--sky-blue-primary);
}

.nav-link:hover {
  background: var(--bg-sky-light);
  color: var(--sky-blue-primary);
}

.nav-link.active {
  background: var(--bg-sky-subtle);
  color: var(--sky-blue-primary);
}

.dropdown-parent {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  margin-top: 0.25rem;
}

.dropdown-parent:hover .dropdown-menu {
  display: block;
}

.dropdown-header {
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  color: var(--sky-blue-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dropdown-item {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--text-heading);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: var(--bg-sky-light);
  color: var(--sky-blue-primary);
}

/* Right Action Buttons & Language Switcher */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.user-profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-sky-light);
  border: 1px solid #BAE6FD;
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--sky-blue-dark);
  white-space: nowrap;
}

/* User Auth Dropdown Wrapper */
.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.user-profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #0369A1;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.user-profile-trigger:hover, .user-profile-trigger.active {
  background: #E0F2FE;
  border-color: #0284C7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.user-role-tag {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 12px;
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.user-role-tag.admin {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FCD34D;
}

.user-sub-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  padding: 0.4rem;
  z-index: 100;
  display: none;
  animation: fadeInDown 0.15s ease-out forwards;
}

.user-sub-dropdown.show {
  display: block;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-header-info {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 0.3rem;
}

.dropdown-header-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0F172A;
}

.dropdown-header-email {
  font-size: 0.72rem;
  color: #64748B;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-item-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #334155;
  border-radius: 8px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dropdown-item-btn:hover {
  background: #F0F9FF;
  color: #0284C7;
}

.dropdown-item-btn.logout:hover {
  background: #FEE2E2;
  color: #DC2626;
}

/* Polished High-Visibility Logout Button */
.btn-logout {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-logout:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #B91C1C;
}

/* My Page Components */
.mypage-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.mypage-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #64748B;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mypage-tab-btn:hover {
  color: #0284C7;
  background: #F0F9FF;
}

.mypage-tab-btn.active {
  color: #0284C7;
  background: #E0F2FE;
  box-shadow: 0 1px 2px rgba(2, 132, 199, 0.1);
}

/* Subtly Bordered Sign In Button */
.btn-login-rect {
  background: #FFFFFF;
  color: var(--text-heading);
  border: 1px solid #CBD5E1;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-login-rect:hover {
  border-color: var(--sky-blue-primary);
  color: var(--sky-blue-primary);
  background: var(--bg-sky-light);
}

/* Polished Presentation Deck Button */
.btn-gold {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #FFFFFF;
  padding: 0.45rem 0.9rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
  transition: var(--transition-fast);
}

.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
}

/* Sleek Language Switcher Segmented Control */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 24px;
  border: 1.5px solid var(--sky-blue-primary);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 14px;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn.active {
  background: var(--sky-blue-primary);
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.lang-btn:hover:not(.active) {
  color: var(--sky-blue-primary);
  background: var(--bg-sky-light);
}

/* Floating Quick Language Switcher Widget */
.floating-lang-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #FFFFFF;
  border: 2px solid var(--sky-blue-primary);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.25);
  padding: 4px;
  border-radius: 30px;
  display: flex;
  align-items: center;
}

/* ----------------------------------------------------
   Buttons & Core UI Components
   ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #002550 0%, #003a78 100%);
  color: #FFFFFF !important;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 37, 80, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #003a78 0%, #0c6780 100%);
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(0, 37, 80, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #FFFFFF;
  color: #002550 !important;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-weight: 700;
}

.btn-secondary:hover {
  background: #F0F9FF;
  border-color: #002550;
  color: #002550 !important;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.825rem;
}

/* ----------------------------------------------------
   Hero Banner Section (Refined Executive Styling)
   ---------------------------------------------------- */
.hero-banner {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 3rem 2.5rem;
  margin: 1.5rem auto 2.5rem auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002550, #0c6780, #baeaff);
}

.hero-content {
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F0F9FF;
  color: #002550;
  border: 1px solid #BAE6FD;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 37, 80, 0.05);
}

.hero-banner h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #002550;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-sub {
  font-size: 1.05rem;
  color: #434750;
  max-width: 860px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ----------------------------------------------------
   Professor Executive Profile Section
   ---------------------------------------------------- */
.prof-profile-section {
  max-width: 1200px;
  margin: 2rem auto 3rem auto;
  padding: 0 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #002550;
}

.domain-pill {
  background: #F0F9FF;
  color: #002550;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #BAE6FD;
}

.profile-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002550, #0c6780, #baeaff);
}

.profile-avatar-large {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #002550, #0c6780);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 2.4rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 37, 80, 0.2);
  flex-shrink: 0;
}

.profile-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  color: #002550;
  font-weight: 800;
}

.prof-main-title {
  color: #0c6780;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.prof-degrees-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.prof-degrees-list li {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.prof-degrees-list li span {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.prof-degrees-list i {
  color: var(--sky-blue-primary);
}

.expertise-tags-container h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge-tag {
  background: var(--bg-sky-light);
  color: var(--sky-blue-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #BAE6FD;
  white-space: nowrap;
  word-break: keep-all;
}

.prof-contact {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

/* Executive Profile Summary Layout */
.prof-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .prof-summary-grid {
    grid-template-columns: 380px 1fr;
    align-items: start;
    gap: 2rem;
  }
  .prof-card-sticky {
    position: sticky;
    top: 6rem;
  }
}

/* Stats Highlight Panel */
.prof-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-metric-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  border-bottom: 4px solid var(--sky-blue-accent);
}

.stat-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--sky-blue-primary);
}

.stat-metric-num {
  font-size: 1.8rem;
  font-weight: 850;
  color: var(--sky-blue-primary);
  margin-bottom: 0.25rem;
}

.stat-metric-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
}

.stat-metric-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Summary Milestone Cards */
.milestone-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.milestone-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--sky-blue-primary);
}

.milestone-card h3 {
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.milestone-card h3 i {
  color: var(--sky-blue-primary);
}

.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.milestone-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.milestone-badge {
  background: var(--bg-sky-light);
  color: var(--sky-blue-dark);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  height: fit-content;
  white-space: nowrap;
  border: 1px solid #BAE6FD;
}

.milestone-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
}

.milestone-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Accordions / Toggles for Full Details */
.prof-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.prof-accordion {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.prof-accordion[open] {
  border-color: #BAE6FD;
  box-shadow: var(--shadow-md);
}

.prof-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #FFFFFF;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  font-size: 0.925rem;
  color: var(--text-heading);
  list-style: none;
  transition: var(--transition-fast);
}

.prof-accordion-summary::-webkit-details-marker {
  display: none;
}

.prof-accordion-summary:hover {
  background: var(--bg-sky-light);
  color: var(--sky-blue-primary);
}

.prof-accordion-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.prof-accordion-title i {
  color: var(--sky-blue-primary);
  font-size: 1.2rem;
}

.prof-accordion-icon {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.prof-accordion[open] .prof-accordion-icon {
  transform: rotate(180deg);
  color: var(--sky-blue-primary);
}

.prof-accordion-body {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background: #FAFBFD;
}

/* Detailed Timelines inside Accordion */
.prof-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prof-timeline-item {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--bg-sky-subtle);
}

.prof-timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky-blue-primary);
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 3px var(--bg-sky-light);
}

.prof-timeline-period {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sky-blue-primary);
  margin-bottom: 0.25rem;
}

.prof-timeline-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
}

.prof-timeline-org {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.prof-timeline-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prof-timeline-bullets li {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 0.35rem;
  position: relative;
  padding-left: 0.8rem;
}

.prof-timeline-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--sky-blue-primary);
  font-weight: 900;
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pub-card-item {
  background: var(--bg-white);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  transition: var(--transition-fast);
}

.pub-card-item:hover {
  background: var(--bg-sky-light);
  border-color: var(--sky-blue-accent);
}

.pub-type-badge {
  display: inline-block;
  background: var(--sky-blue-dark);
  color: var(--bg-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.pub-card-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.pub-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----------------------------------------------------
   Syllabus Page Layout
   ---------------------------------------------------- */
.page-container {
  max-width: 1200px;
  margin: 2rem auto 3rem auto;
  padding: 0 1rem;
}

.syllabus-header-card {
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.syllabus-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002550, #0c6780, #baeaff);
}

.syllabus-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.badge-blue { background: #E0F2FE; color: #002550; padding: 0.35rem 0.85rem; border-radius: 6px; font-weight: 700; font-size: 0.825rem; border: 1px solid #BAE6FD; }
.badge-slate { background: #F1F5F9; color: #334155; padding: 0.35rem 0.85rem; border-radius: 6px; font-weight: 600; font-size: 0.825rem; border: 1px solid #E2E8F0; }
.badge-gold { background: #FEF3C7; color: #92400E; padding: 0.35rem 0.85rem; border-radius: 6px; font-weight: 700; font-size: 0.825rem; border: 1px solid #FDE68A; }

.syllabus-header-card h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #002550;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.syllabus-desc {
  font-size: 1.05rem;
  color: #434750;
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.guides-section {
  margin-bottom: 2.5rem;
}

.guides-section h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #002550;
  margin-bottom: 1.25rem;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.guide-box-card {
  background: #FFFFFF;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.guide-box-card:hover {
  border-color: #0c6780;
  box-shadow: 0 8px 20px rgba(0, 37, 80, 0.08);
  transform: translateY(-2px);
}

.guide-icon {
  width: 50px;
  height: 50px;
  background: #F0F9FF;
  color: #002550;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 1px solid #BAE6FD;
}

.guide-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #002550;
  margin-bottom: 0.4rem;
}

.guide-content p {
  font-size: 0.9rem;
  color: #434750;
  line-height: 1.6;
}

/* ----------------------------------------------------
   16-Week Grid Tile View (Executive Bento Cards)
   ---------------------------------------------------- */
.weeks-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.week-tile-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.6rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.week-tile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #002550, #0c6780, #baeaff);
}

.week-tile-card:hover:not(.locked-card) {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 37, 80, 0.12);
  border-color: #BAE6FD;
}

.tile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.week-badge {
  font-weight: 800;
  color: #002550;
  font-size: 0.85rem;
  background: #F0F9FF;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #BAE6FD;
}

.tag-badge {
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.tag-lecture { background: #F0F9FF; color: #002550; border: 1px solid #BAE6FD; }
.tag-workshop { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.tag-presentation { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.tag-lecture-and-presentation { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.tag-guest-lecture { background: #F3E8FF; color: #6B21A8; border: 1px solid #E9D5FF; }
.tag-final-pitch { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }

.week-tile-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  color: #002550;
}

.tile-focus {
  font-size: 0.875rem;
  color: #434750;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.tile-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
}

.tile-arrow {
  color: #0c6780;
  font-weight: 700;
}

/* ----------------------------------------------------
   Individual Weekly Page Layout
   ---------------------------------------------------- */
.week-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.week-pager {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pager-current {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.week-hero-header {
  background: linear-gradient(135deg, var(--sky-blue-primary), var(--sky-blue-hover));
  color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.2);
}

.week-hero-header h2 {
  color: var(--bg-white);
  font-size: 2rem;
  margin-top: 0.5rem;
}

.week-section-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.week-section-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-heading);
}

.week-section-card h3 i {
  color: var(--sky-blue-primary);
}

.focus-text-large {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* Discussion Poll Widget */
.poll-box {
  background: var(--bg-sky-light);
  border: 1px solid #BAE6FD;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.poll-question {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 1.2rem;
}

.poll-bar-wrapper {
  height: 14px;
  background: #E2E8F0;
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.poll-fill-agree {
  height: 100%;
  background: var(--sky-blue-primary);
  transition: width 0.4s ease;
}

.poll-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.poll-actions {
  display: flex;
  gap: 0.75rem;
}

/* Comments Widget */
.comments-widget {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.comments-widget h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.comment-item {
  background: var(--bg-main);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-color);
}

.comment-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  margin-bottom: 0.3rem;
  color: var(--text-muted);
}

.comment-input-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.comment-input-row input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}

.comment-input-row input:focus {
  border-color: var(--sky-blue-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Presentation Sign-Up Module */
.signup-module-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.signup-module-card.active-module {
  border-left: 6px solid var(--sky-blue-primary);
}

.signup-module-card.disabled-module {
  border-left: 6px solid var(--text-light);
  background: var(--bg-main);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.status-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.status-badge.active { background: #DCFCE7; color: #15803D; }
.status-badge.disabled { background: var(--border-light); color: var(--text-muted); }

.slots-list {
  list-style: none;
  margin: 1.25rem 0;
}

.slots-list li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.925rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.signup-form-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.signup-form-row input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

/* Resource Lists */
.resource-cat-group {
  margin-bottom: 1.75rem;
}

.resource-cat-group h4 {
  font-size: 1rem;
  color: var(--sky-blue-primary);
  margin-bottom: 0.75rem;
}

.resource-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  transition: var(--transition-fast);
}

.resource-item-row:hover {
  border-color: var(--sky-blue-primary);
  background: var(--bg-sky-light);
}

.res-title-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  font-weight: 500;
}

/* ----------------------------------------------------
   Video Card with YouTube Play Badge (No Iframe Errors)
   ---------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-card:hover {
  border-color: var(--sky-blue-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-thumb-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #0F172A;
  cursor: pointer;
  overflow: hidden;
}

.video-thumb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.04);
  opacity: 1;
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: #FF0000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 18px rgba(255, 0, 0, 0.4);
  transition: transform 0.25s ease;
  z-index: 2;
}

.video-card:hover .video-play-overlay {
  transform: translate(-50%, -50%) scale(1.12);
  background: #CC0000;
}

/* ----------------------------------------------------
   Resources Hub & Search Engine
   ---------------------------------------------------- */
.resources-filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-input-box {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-input-box i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.search-input-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  outline: none;
  background: var(--bg-white);
}

.search-input-box input:focus {
  border-color: var(--sky-blue-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.filter-select {
  padding: 0.75rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font-size: 0.9rem;
  outline: none;
  font-weight: 500;
}

.hub-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.hub-resource-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.hub-resource-card:hover {
  border-color: var(--sky-blue-primary);
  box-shadow: var(--shadow-md);
}

.hub-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.cat-pdf { background: #FEE2E2; color: #991B1B; }
.cat-paper { background: var(--bg-sky-light); color: var(--sky-blue-dark); }
.cat-news { background: #FEF3C7; color: #92400E; }
.cat-video { background: #F3E8FF; color: #6B21A8; }

.hub-resource-card h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* ----------------------------------------------------
   Notice & QnA Pages
   ---------------------------------------------------- */
.notices-list, .qna-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.notice-card, .qna-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.pinned-notice {
  border-left: 6px solid #F59E0B;
  background: #FFFBEB;
}

.pin-tag {
  background: #F59E0B;
  color: var(--bg-white);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}

.notice-header, .qna-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.notice-attachment {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--bg-sky-light);
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.qna-answer-box {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-sky-light);
  border-left: 4px solid var(--sky-blue-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prof-badge {
  font-weight: 700;
  color: var(--sky-blue-primary);
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}

.qna-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.qna-form-card input, .qna-form-card select, .qna-form-card textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ----------------------------------------------------
   Domain Binding & System Modals
   ---------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 37, 80, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 620px;
  width: 90%;
  box-shadow: 0 24px 48px -12px rgba(0, 37, 80, 0.25);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #002550, #0c6780, #baeaff);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #002550;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
}

.dns-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dns-step-item {
  background: var(--bg-sky-light);
  border: 1px solid #BAE6FD;
  padding: 1.2rem;
  border-radius: var(--radius-md);
}

.dns-step-item h5 {
  color: var(--sky-blue-primary);
  margin-bottom: 0.3rem;
}

/* ----------------------------------------------------
   Executive Slide Presentation Deck View
   ---------------------------------------------------- */
.presentation-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #090D16;
  color: var(--bg-white);
  z-index: 3000;
  display: flex;
  flex-direction: column;
}

.deck-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.deck-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  overflow-y: auto;
}

.slide-wrapper {
  max-width: 1050px;
  width: 100%;
}

.slide-header-box {
  margin-bottom: 2.5rem;
  text-align: center;
}

.slide-header-box h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bg-white);
}

.slide-subtitle {
  color: var(--sky-blue-accent);
  font-size: 1.15rem;
  margin-top: 0.6rem;
}

.deck-footer {
  padding: 1.25rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0F172A;
}

.progress-bar-container {
  flex: 1;
  max-width: 400px;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 2rem;
}

.progress-fill {
  height: 100%;
  background: var(--sky-blue-accent);
  transition: width 0.3s ease;
}

.deck-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.deck-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.deck-card, .feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.deck-card i, .feature-card i {
  font-size: 2.2rem;
  color: var(--sky-blue-accent);
  margin-bottom: 0.6rem;
}

.profile-deck-layout {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-blue-primary), var(--sky-blue-hover));
  color: var(--bg-white);
  font-size: 2.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.prof-checklist li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.bp-box {
  background: rgba(255,255,255,0.05);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--sky-blue-accent);
}

.bp-box h4 { color: #F59E0B; margin-bottom: 0.5rem; }

.domain-steps-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-box {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.step-num {
  width: 38px;
  height: 38px;
  background: var(--sky-blue-primary);
  color: var(--bg-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

/* ----------------------------------------------------
   Clean Professional Footer
   ---------------------------------------------------- */
.site-footer {
  background: var(--bg-white);
  color: var(--text-muted);
  padding: 3.5rem 1.5rem 2rem 1.5rem;
  border-top: 1px solid var(--border-color);
  margin-top: 5rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-info h4 {
  color: var(--text-heading);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--sky-blue-primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.825rem;
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
  .header-container { flex-wrap: wrap; }
  .nav-menu { overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .profile-card { flex-direction: column; text-align: center; align-items: center; }
  .prof-contact { flex-direction: column; gap: 0.5rem; }
  .deck-grid-3, .deck-grid-2, .blueprint-grid, .domain-steps-deck { grid-template-columns: 1fr; }
  .profile-deck-layout { flex-direction: column; }
  .hero-banner h1 { font-size: 1.8rem; }
}

/* ----------------------------------------------------
   Graphic Executive Curriculum Roadmap (Syllabus Only)
   ---------------------------------------------------- */
.roadmap-timeline-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.roadmap-progress-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.roadmap-progress-bar::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 4px;
  background: linear-gradient(90deg, #0284C7 0%, #6366F1 25%, #0D9488 50%, #D97706 75%, #2563EB 100%);
  border-radius: 2px;
  z-index: 1;
}

.roadmap-milestone-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0 0.5rem;
}

.milestone-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-sky-light);
  border: 3px solid var(--sky-blue-primary);
  color: var(--sky-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
  transition: transform 0.2s ease;
}

.roadmap-milestone-step:hover .milestone-icon-badge {
  transform: scale(1.1);
}

.milestone-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-heading);
}

.graphic-modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.module-weeks-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
}

.week-chip-item {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  cursor: default;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 84px;
  box-sizing: border-box;
}

.week-chip-item:hover {
  background: #F8FAFC;
  border-color: var(--border-color);
  transform: none;
  box-shadow: none;
}

.chip-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.4rem;
}

.week-chip-num {
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

.week-chip-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-heading);
  word-break: keep-all !important;
  line-height: 1.35;
  text-align: left;
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
}

.week-chip-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
  background: #E2E8F0;
  color: #334155;
  white-space: nowrap;
}

/* ----------------------------------------------------
   Executive Gatekeeper Landing Screen
   ---------------------------------------------------- */
.landing-gate-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 50%, #F1F5F9 100%);
}

.gate-card-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.18);
  padding: 3.5rem 3rem;
  max-width: 780px;
  width: 100%;
  text-align: center;
  border-top: 6px solid var(--sky-blue-primary);
}

.gate-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-sky-light);
  color: var(--sky-blue-dark);
  border: 1px solid #BAE6FD;
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.gate-main-title-kr {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.gate-main-title-en {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sky-blue-primary);
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
}

.gate-welcome-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.gate-prof-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2.25rem;
}

.btn-gate-main-blue {
  width: 100%;
  padding: 1.15rem 2rem !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3) !important;
  justify-content: center;
  transition: all 0.2s ease !important;
}

.btn-gate-main-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.4) !important;
}

.gate-register-sublink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sky-blue-primary);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  background: var(--bg-sky-light);
  border: 1.5px solid #BAE6FD;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gate-register-sublink:hover {
  background: #E0F2FE;
  color: var(--sky-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.gate-login-hint {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ----------------------------------------------------
   Week-by-Week Structured Resources Hub Styling
   ---------------------------------------------------- */
.hub-week-rail {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem 0;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
}

.week-rail-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.week-rail-chip:hover {
  background: var(--bg-sky-light);
  border-color: #BAE6FD;
  color: var(--sky-blue-primary);
}

.week-rail-chip.active {
  background: var(--sky-blue-primary);
  color: #FFFFFF !important;
  border-color: var(--sky-blue-primary);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.hub-weekly-sections-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hub-week-section {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--sky-blue-primary);
  transition: all 0.2s ease;
}

.hub-week-section:hover {
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.1);
}

.hub-week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hub-week-title-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hub-week-badge {
  background: var(--sky-blue-primary);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 14px;
  letter-spacing: 0.05em;
}

.hub-week-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
}

.hub-week-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--bg-sky-subtle);
  color: var(--sky-blue-dark);
}

.hub-week-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.hub-res-group {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.hub-group-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 0.5rem;
}

.hub-res-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ====================================================
   📱 Comprehensive Mobile & Tablet Responsive Media Queries
   ==================================================== */

/* Global Overflow Safety */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Global Typography Word-Break Rules */
h1, h2, h3, h4, h5, h6, p, span, a, label, button, .nav-link {
  word-break: keep-all !important;
}

/* Tablet & Mobile Screens (max-width: 1024px) */
@media (max-width: 1024px) {
  .header-container {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  
  .nav-menu {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
  }
  
  .nav-menu::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    white-space: nowrap !important;
    font-size: 0.85rem;
    padding: 0.45rem 0.75rem;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
  }

  .graphic-modules-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .hub-week-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .graphic-modules-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-progress-bar {
    display: none;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  /* Header & Navigation Bar */
  .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .brand-box {
    justify-content: space-between;
    width: 100%;
  }

  .brand-text h1 {
    font-size: clamp(0.85rem, 3.8vw, 0.95rem);
    line-height: 1.2;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-text p {
    font-size: clamp(0.68rem, 2.8vw, 0.75rem);
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-right-actions {
    width: 100%;
    justify-content: space-between;
  }

  /* Landing Gate Hero Card */
  .landing-gate-hero {
    padding: 1.25rem 0.5rem;
  }

  .gate-card-wrapper {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }

  .gate-header-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
  }

  .gate-main-title-kr {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    line-height: 1.3;
    word-break: keep-all;
  }

  .gate-main-title-en {
    font-size: clamp(0.85rem, 3.5vw, 1.05rem);
    line-height: 1.35;
    word-break: break-word;
  }

  .gate-welcome-desc {
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .gate-prof-badge {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.85rem;
  }

  .gate-prof-badge > div {
    text-align: center !important;
  }

  .btn-gate-main-blue {
    width: 100% !important;
    font-size: 1.1rem !important;
    padding: 0.85rem 1rem !important;
  }

  .gate-register-sublink {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }

  /* 16-Week Grid Tiles */
  .weeks-grid-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .week-tile-card {
    padding: 1rem;
  }

  /* Week Detail Page & W1 Simulator */
  .week-nav-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .week-pager {
    justify-content: space-between;
    width: 100%;
  }

  .week-section-card {
    padding: 1.2rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Resources Filter Bar */
  .resources-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .search-input-box, .filter-select {
    width: 100% !important;
  }

  /* Week Navigation Rail */
  .hub-week-rail {
    padding-bottom: 0.65rem;
  }

  .week-rail-chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .hub-week-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Modals & Inputs */
  .modal-content {
    width: 92% !important;
    max-width: 92% !important;
    padding: 1.25rem;
    margin: 1rem auto;
  }

  input, select, textarea {
    font-size: 16px !important; /* Prevents iOS Safari auto-zoom */
  }

  /* Footer */
  .site-footer {
    padding: 2rem 1rem 1.5rem 1rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* Small Smartphone Displays (max-width: 480px) */
@media (max-width: 480px) {
  .brand-text h1 {
    font-size: 0.85rem;
  }
  
  .brand-text p {
    font-size: 0.7rem;
  }

  .gate-main-title-kr {
    font-size: 1.3rem;
  }

  .btn {
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
  }
}


/* Enhanced Notice Board & Comments Section */
.notice-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.notice-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-pill {
  background: #F0F9FF;
  color: #002550;
  border: 1px solid #BAE6FD;
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.category-pill:hover, .category-pill.active {
  background: #002550;
  color: #FFFFFF !important;
  border-color: #002550;
  box-shadow: 0 4px 10px rgba(0, 37, 80, 0.2);
}

.notice-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  min-width: 220px;
  box-shadow: var(--shadow-sm);
}

.notice-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.875rem;
  width: 100%;
  color: #1B1C1C;
}

.notice-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.notice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #002550, #0c6780, #baeaff);
}

.notice-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #BAE6FD;
}

.notice-card.pinned-notice {
  border-left: 5px solid #F59E0B;
  background: #FFFDF7;
}

.notice-header-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.notice-cat-badge {
  background: #F0F9FF;
  color: #002550;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #BAE6FD;
}

.email-broadcast-badge {
  background: #ECFDF5;
  color: #047857;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #A7F3D0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.notice-meta-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.825rem;
  margin-left: auto;
}

.notice-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #002550;
  margin-bottom: 0.85rem;
  line-height: 1.4;
  word-break: keep-all;
}

.notice-body-text {
  font-size: 0.95rem;
  color: #434750;
  line-height: 1.75;
  word-break: keep-all;
  background: #FAFBFD;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

/* Comments Section Inside Notice Card */
.notice-comments-wrapper {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.comments-header h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #002550;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.comments-count-pill {
  background: #F0F9FF;
  color: #002550;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid #BAE6FD;
}

.comments-list-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.comment-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.comment-item-card.prof-comment {
  background: #F0F9FF;
  border-color: #BAE6FD;
  border-left: 4px solid #002550;
}

.comment-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.comment-author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #002550;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.prof-badge-small {
  background: #002550;
  color: #FFFFFF;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.comment-date-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comment-body-text {
  font-size: 0.875rem;
  color: #434750;
  line-height: 1.55;
  word-break: keep-all;
}

.comment-input-form {
  display: flex;
  gap: 0.75rem;
  background: #F8FAFC;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.comment-input-form input {
  width: 140px;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  background: #FFFFFF;
}

.comment-input-form textarea {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  resize: vertical;
  min-height: 42px;
  background: #FFFFFF;
}

.comment-input-form button {
  align-self: flex-end;
  white-space: nowrap;
}

/* Admin Write Notice Modal / Box */
.notice-admin-modal-card {
  background: var(--bg-white);
  border: 2px solid #002550;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.email-dispatch-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #A7F3D0;
  cursor: pointer;
  margin: 1rem 0;
}

/* Enhanced Q&A Forum Styles */
.qna-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: #FFFFFF;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.qna-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.qna-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.qna-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #002550, #0c6780, #baeaff);
}

.qna-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #BAE6FD;
}

.status-badge {
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.status-completed {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.status-pending {
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

.qna-question-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #002550;
  margin: 0.75rem 0 0.5rem 0;
  line-height: 1.4;
  word-break: keep-all;
}

.qna-question-text {
  font-size: 0.95rem;
  color: #434750;
  line-height: 1.75;
  word-break: keep-all;
  background: #FAFBFD;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

/* Professor Official Answer Box */
.qna-answer-box {
  margin-top: 1.25rem;
  padding: 1.6rem;
  background: #F0F9FF;
  border-left: 4px solid #002550;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-top: 1px solid #BAE6FD;
  border-right: 1px solid #BAE6FD;
  border-bottom: 1px solid #BAE6FD;
}

.prof-answer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #BAE6FD;
}

.prof-answer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: #002550;
  font-size: 0.95rem;
}

.prof-answer-body {
  font-size: 0.925rem;
  color: #434750;
  line-height: 1.75;
  word-break: keep-all;
}

/* Q&A Reply Thread */
.qna-replies-wrapper {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-light);
}

.qna-reply-item {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
}

.qna-reply-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.qna-reply-text {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
  word-break: keep-all;
}

/* ==========================================================================
   New Landing Page & Executive Bento Grid Design Tokens
   ========================================================================== */
.bg-grid-pattern {
  background-image: radial-gradient(#dcd9d9 1px, transparent 1px);
  background-size: 24px 24px;
}

.glass-button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.glass-button:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
}

.glass-button-primary {
  background: rgba(0, 37, 80, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 37, 80, 0.4);
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.glass-button-primary:hover {
  background: rgba(0, 58, 120, 0.95);
  color: #FFFFFF !important;
}

.text-shadow-subtle {
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Material Symbols alignment helper */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Content Studio Component Styles */
.studio-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.studio-tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}
.studio-tab-btn.active {
  background: #0284C7;
  color: #FFFFFF;
  border-color: #38BDF8;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}


