/* =========================================================
   Content.css
   - 공용 콘텐츠 레이아웃/타이포
   - 공통 버튼/폼 상태
   - 홈형 섹션 카드(공지/프로그램/아카이브)
   - 게시판/상세/행사신청
   - 푸터 및 반응형
   ========================================================= */

/* [01] Section Spacing + Page Width Overrides */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding-top: 1rem;
}

.page-board {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-board::before,
.page-article::before {
  content: "";
  position: fixed;
  inset: 4rem 0 auto;
  height: 12rem;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 48%, rgba(82, 95, 225, 0.08) 49%, rgba(82, 95, 225, 0.08) 51%, transparent 52%),
    radial-gradient(circle at 82% 12%, rgba(82, 95, 225, 0.08), transparent 22rem);
  opacity: 0.58;
  z-index: -1;
}

.page-board .section {
  padding-inline: clamp(1rem, 3vw, 2.8rem);
}

.page-board .section-heading {
  max-width: 62rem;
}

.page-board .page-title {
  font-size: clamp(2.15rem, 3.3vw, 3.45rem);
  line-height: 1;
}

.page-board .hero-text {
  max-width: 48rem;
  margin-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.page-article {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-article .section {
  padding-inline: clamp(1rem, 3vw, 2.8rem);
}

/* [02] Shared Hero Typography + Utility Text */
.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.5rem;
  align-items: stretch;
  min-height: calc(100vh - 10rem);
  padding-top: 4rem;
}

.hero-copy h1,
.page-title,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-text,
.section-note,
.track-header p,
.admin-header p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.hero-actions,
.contact-actions,
.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* [03] Shared Button System */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.24s ease, background-color 0.24s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: #525fe1;
  border-color: #525fe1;
  color: #ffffff;
  font-weight: 800;
}

.button-primary:visited {
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #4250d8;
  border-color: #4250d8;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  color: #0b104a;
}

.button-secondary:visited {
  color: #0b104a;
}

.button-ghost {
  background: transparent;
  border-color: var(--line);
}

.button-danger {
  background: #b42318;
  color: #ffffff;
  font-weight: 700;
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* [04] Common Form Feedback Message */
.form-error,
.form-success {
  margin: 0.85rem 0 0;
  line-height: 1.7;
}

.form-error {
  color: #b3213d;
}

.form-success {
  color: #1b6f2a;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
}

/* [05] Shared Glass Card Baseline */
.hero-stats li,
.program-card,
.philosophy-card,
.hero-panel-main,
.hero-mini-card,
.hero-mini-link,
.notice-banner-card,
.article-card,
.track-column,
.board-focus-card,
.notice-board-item,
.contact-card,
.error-card,
.empty-card,
.admin-summary-card,
.admin-login-card,
.admin-table-wrap,
.loading-block {
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 1.05rem 1.1rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* [06] Hero Composite Panel */
.hero-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.hero-panel-main,
.hero-mini-card,
.hero-mini-link {
  padding: 1.5rem;
}

.hero-panel-main {
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(16, 32, 51, 0.96), rgba(32, 54, 82, 0.94)),
    #102033;
  color: #f5f9ed;
}

.panel-kicker,
.hero-mini-card span,
.hero-mini-link span,
.footer-label {
  color: rgba(245, 249, 237, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.hero-panel-main h2 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-panel-main p {
  color: rgba(245, 249, 237, 0.82);
  line-height: 1.8;
}

.hero-panel-stack {
  display: grid;
  gap: 1rem;
}

.hero-mini-card strong,
.hero-mini-link strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-mini-link {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-mini-link:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 32, 51, 0.18);
}

/* [07] Notice Strip + Notice Banner */
.notice-strip {
  overflow: hidden;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(16, 32, 51, 0.08);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

.notice-track {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  color: rgba(16, 32, 51, 0.82);
  letter-spacing: 0.08em;
}

.section-notice-banner {
  padding-top: 3rem;
}

.notice-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.notice-banner-card {
  display: block;
  padding: 1.45rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.notice-banner-card:hover,
.notice-banner-card:focus-visible,
.notice-board-item:hover,
.notice-board-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(16, 32, 51, 0.18);
}

.notice-banner-card.is-featured {
  grid-column: span 2;
  background:
    linear-gradient(145deg, rgba(16, 32, 51, 0.96), rgba(32, 54, 82, 0.94)),
    #102033;
  color: #f5f9ed;
}

.notice-banner-card.is-featured p,
.notice-banner-card.is-featured .article-meta-row {
  color: rgba(245, 249, 237, 0.78);
}

.notice-banner-card h3,
.board-focus-card h2 {
  margin: 0.85rem 0;
  letter-spacing: -0.04em;
}

.notice-banner-card h3 {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.notice-banner-card p,
.board-focus-card p,
.notice-board-item p {
  color: var(--muted);
  line-height: 1.75;
}

.notice-banner-card.is-featured .notice-banner-label {
  color: rgba(245, 249, 237, 0.72);
}

.notice-banner-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.08);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* [08] Section Heading + Program/Philosophy/Article Cards */
.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.program-grid,
.philosophy-grid,
.article-grid {
  display: grid;
  gap: 1.2rem;
}

.program-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-card,
.philosophy-card,
.contact-card {
  padding: 1.6rem;
}

.program-card p,
.track-header h3 {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.program-card h3,
.philosophy-card h3,
.contact-card h2,
.article-card h3,
.admin-login-card h1,
.admin-header h1 {
  margin: 0.75rem 0;
  letter-spacing: -0.04em;
}

.program-card span,
.philosophy-card p {
  color: var(--muted);
  line-height: 1.75;
}

.section-dark {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(16, 32, 51, 0.96), rgba(26, 48, 76, 0.94)),
    #102033;
  color: #f4f7ef;
  padding-inline: 2rem;
}

.section-dark .eyebrow {
  color: var(--brand);
}

.section-dark .section-heading h2,
.section-dark .philosophy-card h3 {
  color: #f4f7ef;
}

.section-dark .philosophy-card {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.section-dark .philosophy-card p {
  color: rgba(244, 247, 239, 0.72);
}

.philosophy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* [09] Track Layout + Mini Article List */
.track-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.track-column {
  padding: 1.5rem;
}

.mini-article-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.mini-article {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  transition: transform 0.2s ease;
}

.mini-article:hover {
  transform: translateY(-2px);
}

.mini-article strong,
.mini-article span {
  display: block;
}

.mini-article strong {
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.mini-article span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

/* [10] Generic Article Card + Thumb */
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-grid-compact .article-thumbnail {
  min-height: 0;
}

.article-card {
  position: relative;
  overflow: hidden;
}

.article-card::after {
  content: "";
  position: absolute;
  right: -2.6rem;
  bottom: -2.8rem;
  width: 10rem;
  height: 10rem;
  opacity: 0.22;
  pointer-events: none;
  background:
    linear-gradient(rgba(82, 95, 225, 0.24), rgba(82, 95, 225, 0.24)) 18% 78% / 58% 1px no-repeat,
    linear-gradient(rgba(82, 95, 225, 0.2), rgba(82, 95, 225, 0.2)) 18% 28% / 1px 50% no-repeat,
    radial-gradient(110% 110% at 18% 78%, transparent 58%, rgba(82, 95, 225, 0.22) 59% 60.5%, transparent 61.5%),
    radial-gradient(circle at 18% 78%, rgba(82, 95, 225, 0.35) 0 0.14rem, transparent 0.16rem),
    radial-gradient(circle at 76% 78%, rgba(82, 95, 225, 0.28) 0 0.14rem, transparent 0.16rem);
}

.article-thumbnail {
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: #eef3ff;
}

.article-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.article-thumbnail-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(211, 255, 52, 0.88), rgba(96, 178, 255, 0.6)),
    #fff;
}

.article-thumbnail-fallback span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.9);
  color: #fff;
  font-weight: 700;
}

.article-card-body {
  position: relative;
  z-index: 1;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
}

.article-meta,
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.article-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: rgba(96, 178, 255, 0.15);
  color: #135db9;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-card h3 {
  font-size: 1.18rem;
  line-height: 1.42;
}

.article-card p {
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.page-board .article-grid {
  gap: 0.75rem;
}

.page-board .article-card {
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(11, 16, 74, 0.045);
}

.page-board .article-thumbnail {
  aspect-ratio: 16 / 6.8;
}

.page-board .article-card-body {
  padding: 1rem;
}

.page-board .article-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.55rem 0 0;
  font-size: 1.02rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.page-board .article-card p {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.62;
  -webkit-line-clamp: 2;
}

.page-board .article-card .inline-link {
  margin-top: 0.85rem;
  font-size: 0.88rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 700;
}

.inline-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

/* [11] Contact Summary Card */
.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.contact-meta strong,
.contact-meta span {
  display: block;
}

.contact-meta span {
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.7;
}

/* [12] Board Page (Tabs / Filter / Focus / List) */
.page-header {
  width: min(calc(100% - 2rem), 1320px);
  margin: 1.25rem auto 0;
  padding: 1.35rem 1.45rem 1.15rem;
  border: 1px solid rgba(82, 95, 225, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(rgba(82, 95, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 95, 225, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.78);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 18px 44px rgba(11, 16, 74, 0.055);
}

.board-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.32rem;
  margin-top: 1.05rem;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.board-tab {
  min-height: 2.5rem;
  padding: 0 0.95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.board-tab.active,
.board-tab:hover,
.board-tab:focus-visible {
  background: var(--text);
  color: #f5f9ed;
  transform: translateY(-1px);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-input,
.filter-select,
.admin-order-input,
.admin-login-form input {
  min-height: 3.2rem;
  padding: 0 1rem;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.filter-input {
  flex: 1 1 18rem;
}

.board-filter-bar {
  margin-bottom: 1.2rem;
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.board-focus-card,
.notice-board-item {
  padding: 1rem;
}

.board-focus-card {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 15rem);
  gap: 0.45rem 1rem;
  align-items: center;
  border-radius: 22px;
  overflow: hidden;
}

.board-focus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(82, 95, 225, 0.12), transparent 52%) 1rem 1rem / min(60rem, 78%) 2rem no-repeat,
    linear-gradient(rgba(82, 95, 225, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 95, 225, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.board-focus-card > * {
  position: relative;
  z-index: 1;
}

.board-focus-card h2 {
  grid-column: 1;
  max-width: 52rem;
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.board-focus-card .article-meta-row {
  grid-column: 1;
  margin: 0.1rem 0 0;
}

.board-focus-card .hero-actions {
  grid-column: 1;
  justify-content: flex-start;
  margin-top: 0.55rem;
}

.board-focus-card .button {
  min-height: 2.7rem;
  padding-inline: 1rem;
  font-size: 0.9rem;
}

.board-focus-cover {
  grid-column: 2;
  grid-row: 1 / span 5;
  overflow: hidden;
  border-radius: 16px;
  margin: 0;
  height: 10.5rem;
}

.board-focus-cover img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}

.board-focus-card > p {
  grid-column: 1;
  display: -webkit-box;
  overflow: hidden;
  max-width: 48rem;
  margin: 0.25rem 0 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notice-board-list {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  padding: 0.4rem;
  border: 1px solid rgba(82, 95, 225, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 2%, rgba(82, 95, 225, 0.08), transparent 12rem),
    rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.notice-board-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  min-height: 5.1rem;
  align-items: center;
  border-radius: 16px;
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.notice-board-item.is-active {
  border-color: rgba(82, 95, 225, 0.2);
  background: #ffffff;
}

.notice-board-item .article-badge {
  margin-bottom: 0.35rem;
  min-height: 1.55rem;
  padding: 0 0.55rem;
  font-size: 0.72rem;
}

.notice-board-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.notice-board-item p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.notice-board-date {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

/* [13] Article Detail Header + Summary */
.article-header {
  padding-top: 1.5rem;
  padding-bottom: 0.9rem;
}

.article-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.article-header-top {
  margin-bottom: 1rem;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(82, 95, 225, 0.1);
  box-shadow: 0 16px 30px rgba(16, 32, 51, 0.08);
}

.article-header-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1rem;
  align-items: end;
  padding: 1.25rem;
  border: 1px solid rgba(82, 95, 225, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(rgba(82, 95, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 95, 225, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.82);
  background-size: 30px 30px, 30px 30px, auto;
  box-shadow: 0 18px 44px rgba(11, 16, 74, 0.055);
}

.article-header-body {
  max-width: none;
  margin-top: 0;
}

.page-article .page-title {
  max-width: 24ch;
  font-size: clamp(2.1rem, 3.8vw, 3.75rem);
  line-height: 1.04;
}

.article-meta-row {
  gap: 0.85rem 1rem;
  margin-top: 1.15rem;
}

.article-meta-row a {
  color: #525fe1;
  font-weight: 700;
}

.article-lead {
  max-width: 54rem;
  margin: 0.85rem 0 0;
  color: #546173;
  font-size: 0.98rem;
  line-height: 1.72;
}

.article-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.article-summary-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(96, 178, 255, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 30px rgba(11, 16, 74, 0.06);
}

.article-summary-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(82, 95, 225, 0.12);
  color: #4453d5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-summary-grid {
  display: grid;
  gap: 0.55rem;
}

.article-summary-item {
  display: grid;
  gap: 0.22rem;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(82, 95, 225, 0.08);
}

.article-summary-item strong {
  color: #0b104a;
  font-size: 1rem;
  line-height: 1.45;
}

.article-summary-item span {
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.55;
}

.article-layout {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
}

.article-layout-wide {
  max-width: 100%;
}

.article-cover {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 1.6rem;
}

.article-cover-hero {
  margin-top: 0.9rem;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: var(--shadow);
}

.article-cover-hero img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
  object-position: center top;
}

.article-body-shell {
  display: grid;
}

/* [14] Rich Content Body */
.rich-content {
  padding: clamp(1.15rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 52px rgba(16, 32, 51, 0.08);
  line-height: 1.82;
}

.rich-content p,
.rich-content li,
.rich-content blockquote {
  color: #223246;
  font-size: 0.98rem;
  line-height: 1.82;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 2rem 0 0.8rem;
  letter-spacing: -0.03em;
}

.rich-content img {
  width: 100%;
  border-radius: 18px;
  margin: 1rem 0;
  box-shadow: 0 18px 36px rgba(16, 32, 51, 0.08);
}

.rich-content a {
  color: #135db9;
  word-break: break-all;
}

.rich-content blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--brand-strong);
  background: rgba(211, 255, 52, 0.14);
}

/* [15] Event Registration Block (Open / Scheduled / Closed) */
.article-registration-section {
  padding-top: 1.5rem;
}

.article-registration-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.article-registration-shell.is-open {
  background:
    radial-gradient(circle at top left, rgba(96, 178, 255, 0.12), transparent 24%),
    rgba(255, 255, 255, 0.9);
}

.article-registration-shell.is-scheduled,
.article-registration-shell.is-closed {
  background:
    radial-gradient(circle at top left, rgba(16, 32, 51, 0.06), transparent 24%),
    rgba(255, 255, 255, 0.88);
}

.article-registration-copy,
.article-registration-panel,
.article-registration-form,
.article-registration-success,
.article-registration-closed {
  display: grid;
  gap: 1rem;
}

.article-registration-copy {
  align-content: start;
  padding: 0.2rem 0.15rem;
}

.article-registration-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(82, 95, 225, 0.12);
  color: #4453d5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-registration-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.article-registration-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.article-registration-meta {
  display: grid;
  gap: 0.55rem;
}

.article-registration-meta span {
  color: #334155;
  line-height: 1.65;
}

.article-registration-note {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(82, 95, 225, 0.12);
  border-radius: 18px;
  background: rgba(239, 242, 255, 0.72);
  color: #334155;
  line-height: 1.72;
}

.article-registration-panel {
  padding: 1.1rem;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.article-registration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.article-registration-field {
  display: grid;
  gap: 0.45rem;
}

.article-registration-field span {
  color: #10233f;
  font-size: 0.9rem;
  font-weight: 700;
}

.article-registration-field input,
.article-registration-field select,
.article-registration-field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(16, 32, 51, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #10233f;
}

.article-registration-field textarea {
  resize: vertical;
}

.article-registration-field input:focus,
.article-registration-field select:focus,
.article-registration-field textarea:focus {
  outline: 2px solid rgba(82, 95, 225, 0.18);
  border-color: #525fe1;
}

.article-registration-field-wide {
  grid-column: 1 / -1;
}

.article-registration-form .button-primary {
  width: 100%;
}

.article-registration-success,
.article-registration-closed {
  align-content: start;
}

.article-registration-success-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.1rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 800;
}

.article-registration-success h3,
.article-registration-closed h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.article-registration-success p,
.article-registration-closed p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* [16] Loading / Error / Empty States */
.loading-block,
.error-card,
.empty-card,
.hero-loading,
.article-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 16rem;
}

.loading-block {
  gap: 0.75rem;
  padding: 1.6rem;
}

.loading-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--brand-strong);
  box-shadow: 0 0 0 0.4rem rgba(211, 255, 52, 0.18);
}

.error-card,
.empty-card {
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem;
  text-align: center;
}

/* [17] Footer */
.footer {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
  padding-inline: 0;
  border-top: 1px solid #dfe5f7;
  background:
    radial-gradient(circle at 12% 12%, rgba(82, 95, 225, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 58%, #eef2ff 100%);
  overflow: hidden;
}

.footer::before,
.footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.footer::before {
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(82, 95, 225, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 95, 225, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

.footer::after {
  right: clamp(1rem, 6vw, 7rem);
  top: 2.1rem;
  width: 16rem;
  height: 16rem;
  opacity: 0.24;
  background:
    linear-gradient(rgba(82, 95, 225, 0.26), rgba(82, 95, 225, 0.26)) 50% 12% / 1px 68% no-repeat,
    linear-gradient(rgba(82, 95, 225, 0.26), rgba(82, 95, 225, 0.26)) 16% 50% / 68% 1px no-repeat,
    radial-gradient(circle at 50% 50%, transparent 0 3.1rem, rgba(82, 95, 225, 0.18) 3.1rem 3.25rem, transparent 3.3rem),
    radial-gradient(circle at 50% 50%, transparent 0 5rem, rgba(82, 95, 225, 0.16) 5rem 5.15rem, transparent 5.2rem);
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 3.4vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1.25fr) minmax(8.5rem, 0.55fr) minmax(15rem, 0.9fr) minmax(19rem, 1.05fr);
  align-items: start;
  gap: clamp(1.5rem, 3.5vw, 3.6rem);
  width: 100%;
  padding: 2.65rem 0 2.35rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(82, 95, 225, 0.1);
  background: transparent;
  box-shadow: none;
  color: #0b104a;
}

.footer-grid h3,
.footer-grid p {
  margin: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
}

.footer-logo img {
  width: clamp(7.6rem, 8vw, 8.9rem);
  height: auto;
}

.footer .footer-label {
  display: inline-block;
  color: #525fe1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.footer-brand h3 {
  margin-top: 0.75rem;
  max-width: 24.5rem;
  color: #070b3f;
  font-size: clamp(1.45rem, 1.75vw, 1.85rem);
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.footer-description {
  margin-top: 0.75rem;
  max-width: 25rem;
  color: #647084;
  line-height: 1.72;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.footer-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(82, 95, 225, 0.12);
  box-shadow: 0 12px 24px rgba(82, 95, 225, 0.06);
  color: #12204b;
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-column {
  padding-top: 0.25rem;
}

.footer-links {
  display: grid;
  gap: 0.66rem;
  margin-top: 1rem;
}

.footer-links a,
.footer-links span,
.footer-contact p {
  color: #5f6c82;
  line-height: 1.62;
  font-weight: 600;
}

.footer-links a {
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #525fe1;
  transform: translateX(2px);
}

.footer-phone {
  display: inline-block;
  margin-top: 0.65rem;
  color: #0b104a;
  font-size: clamp(1.65rem, 2vw, 2.05rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.footer-contact {
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(82, 95, 225, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(31, 41, 92, 0.08);
}

.footer-contact p + p {
  margin-top: 0.45rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0 1.05rem;
  border-radius: 999px;
  background: #525fe1;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid #525fe1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.footer-action:visited {
  color: #fff;
}

.footer-action:hover,
.footer-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(82, 95, 225, 0.18);
}

.footer-action.is-secondary {
  background: #ffffff;
  color: #0b104a;
  border-color: rgba(82, 95, 225, 0.16);
}

.footer-action.is-secondary:visited {
  color: #0b104a;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.15rem;
  background: transparent;
  border-radius: 0;
  border-bottom: 0;
}

.footer-bottom p {
  color: #7a8497;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links a {
  color: #5d6678;
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
  color: #525fe1;
}

/* [18] Responsive - Tablet */
@media (max-width: 980px) {
  .program-grid,
  .philosophy-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notice-board-list {
    grid-template-columns: 1fr;
  }

  .board-focus-card {
    grid-template-columns: 1fr;
  }

  .board-focus-card .hero-actions {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
    margin-top: 0.8rem;
  }

  .board-focus-cover {
    grid-column: 1;
    grid-row: auto;
    height: 11rem;
  }

  .article-header-layout {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 1rem;
  }

  .page-article .page-title {
    max-width: none;
  }

  .article-summary-card {
    box-shadow: none;
  }

  .article-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-cover-hero img {
    max-height: 28rem;
  }

  .article-registration-shell {
    grid-template-columns: 1fr;
  }

  .article-registration-copy,
  .article-registration-panel {
    padding-inline: 0;
  }
}

/* [19] Responsive - Mobile Article Detail */
@media (max-width: 720px) {
  .program-grid,
  .philosophy-grid,
  .article-grid,
  .page-board .article-grid {
    grid-template-columns: 1fr;
  }

  .board-filter-bar {
    gap: 0.6rem;
  }

  .filter-input,
  .filter-select {
    flex-basis: 100%;
  }

  .board-filter-bar .button {
    width: 100%;
  }

  .page-board .article-thumbnail {
    aspect-ratio: 16 / 7.5;
  }

  .article-header-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-back-link {
    width: 100%;
    justify-content: center;
  }

  .page-article .page-title {
    font-size: clamp(1.85rem, 8.2vw, 2.55rem);
    line-height: 1.1;
  }

  .article-lead {
    font-size: 0.93rem;
    line-height: 1.68;
  }

  .article-cover-hero img {
    max-height: 17rem;
  }

  .article-summary-grid {
    grid-template-columns: 1fr;
  }

  .article-registration-grid {
    grid-template-columns: 1fr;
  }
}
