body.stamp-redesign {
  --stamp-ink: #172033;
  --stamp-ink-soft: #42506b;
  --stamp-muted: #667085;
  --stamp-line: rgba(15, 23, 42, 0.08);
  --stamp-line-strong: rgba(15, 23, 42, 0.14);
  --stamp-surface: rgba(255, 255, 255, 0.92);
  --stamp-surface-strong: #ffffff;
  --stamp-surface-soft: #f7f9ff;
  --stamp-primary: #4f46e5;
  --stamp-primary-2: #7c3aed;
  --stamp-lms-1: #0f9d7a;
  --stamp-lms-2: #15b48a;
  --stamp-warn: #e35b12;
  --stamp-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --stamp-shadow-soft: 0 12px 28px rgba(15, 23, 42, 0.08);
  --stamp-header-h: 96px;
  --stamp-radius-xl: 2rem;
  --stamp-radius-lg: 1.5rem;
  --stamp-radius-md: 1rem;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 24%),
    linear-gradient(180deg, #f4f7ff 0%, #fbfcff 48%, #eef3ff 100%);
  color: var(--stamp-ink);
  min-width: 320px;
  scrollbar-gutter: stable both-edges;
}

body.stamp-redesign,
body.stamp-redesign * {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body.stamp-redesign a {
  text-decoration: none;
}

body.stamp-redesign img {
  max-width: 100%;
}

body.stamp-redesign .header-area {
  height: auto !important;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(9, 14, 33, 0.36), rgba(9, 14, 33, 0.08));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

body.stamp-redesign .background-header {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  height: auto !important;
  padding: 10px 0 !important;
}

body.stamp-redesign .header-area .main-nav,
body.stamp-redesign .background-header .main-nav {
  min-height: 66px !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: transparent;
}

body.stamp-redesign .header-area .main-nav a.logo,
body.stamp-redesign .background-header .main-nav a.logo {
  width: 176px !important;
  height: 60px !important;
  margin-top: 0 !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
  display: block !important;
  flex: 0 0 176px;
}

body.stamp-redesign .header-area .main-nav a.logo {
  background-image: url('../images/white-logo.png') !important;
}

body.stamp-redesign .background-header .main-nav a.logo {
  background-image: url('../images/black-logo.png') !important;
}

body.stamp-redesign .header-area .main-nav .nav {
  margin-top: 0;
}

body.stamp-redesign .header-area .main-nav .nav > li > a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

body.stamp-redesign .main-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: max(640px, 100dvh);
  padding: calc(var(--stamp-header-h) + 24px) 0 44px;
  background-image:
    linear-gradient(125deg, rgba(12, 17, 38, 0.84), rgba(56, 82, 214, 0.225)),
    url('../images/banner-bg.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

@supports (height: 100svh) {
  body.stamp-redesign .main-banner {
    min-height: max(640px, 100svh);
  }
}

body.stamp-redesign .main-banner::before,
body.stamp-redesign .main-banner::after,
body.stamp-redesign .page-heading::before,
body.stamp-redesign .page-heading::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

body.stamp-redesign .main-banner::before {
  width: clamp(240px, 30vw, 420px);
  height: clamp(240px, 30vw, 420px);
  right: -4%;
  top: 16%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  filter: blur(8px);
}

body.stamp-redesign .main-banner::after {
  width: clamp(260px, 34vw, 460px);
  height: clamp(260px, 34vw, 460px);
  left: -8%;
  bottom: -14%;
  background: radial-gradient(circle, rgba(149, 197, 255, 0.2), transparent 70%);
  filter: blur(4px);
}

body.stamp-redesign .main-banner .container {
  position: relative;
  z-index: 1;
}

body.stamp-redesign .top-text {
  max-width: 42rem;
  padding: clamp(1.25rem, 2vw, 2rem);
  border-radius: var(--stamp-radius-xl);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 44px rgba(4, 8, 22, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.stamp-redesign .main-banner .top-text h6 {
  margin: 0 0 0.85rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: none;
}

body.stamp-redesign .main-banner .top-text h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  color: #ffffff;
  text-shadow: none;
}

body.stamp-redesign .main-banner .helper {
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: none;
}

body.stamp-redesign .search-card {
  position: relative;
  padding: clamp(1.3rem, 2vw, 2rem);
  border-radius: var(--stamp-radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 28px 60px rgba(8, 12, 28, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.stamp-redesign .search-card::before {
  content: '조회';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--stamp-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body.stamp-redesign .form-label {
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--stamp-ink);
}

body.stamp-redesign .search-card .form-control,
body.stamp-redesign .modal .form-control,
body.stamp-redesign .modal textarea.form-control {
  border-radius: 0.95rem;
  border: 1px solid var(--stamp-line-strong);
  background: rgba(255, 255, 255, 0.96);
  color: var(--stamp-ink);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.stamp-redesign .search-card .form-control {
  min-height: 3.6rem;
  padding-inline: 1rem;
}

body.stamp-redesign .modal textarea.form-control {
  min-height: 160px;
}

body.stamp-redesign .search-card .form-control:focus,
body.stamp-redesign .modal .form-control:focus,
body.stamp-redesign .modal textarea.form-control:focus {
  border-color: rgba(79, 70, 229, 0.5);
  background: #ffffff;
  box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.12);
}

body.stamp-redesign #lookup-form .btn-primary,
body.stamp-redesign .modal .btn-primary {
  border: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--stamp-primary), var(--stamp-primary-2));
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.22);
  font-weight: 800;
}

body.stamp-redesign #lookup-form .btn-primary {
  min-height: 3.6rem;
}

body.stamp-redesign .home-sections {
  position: relative;
  padding-top: clamp(1.25rem, 2vw, 2rem) !important;
  padding-bottom: 1rem !important;
}

body.stamp-redesign .slab {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: calc(var(--stamp-radius-xl) + 0.25rem);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--stamp-surface);
  box-shadow: var(--stamp-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: start;
  min-width: 0;
}

body.stamp-redesign .poster-card,
body.stamp-redesign .notice-list-card,
body.stamp-redesign .cta-card,
body.stamp-redesign .ratio.yt-rounded,
body.stamp-redesign .site-links li a {
  border: 1px solid var(--stamp-line);
}

body.stamp-redesign .poster-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--stamp-radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #fdfdff 0%, #f6f8ff 100%);
  box-shadow: var(--stamp-shadow-soft);
}

body.stamp-redesign .poster-head {
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--stamp-line);
}

body.stamp-redesign .poster-head h6,
body.stamp-redesign .notice-list-card h6 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--stamp-ink);
}

body.stamp-redesign .poster-carousel {
  background: linear-gradient(180deg, #f8faff 0%, #eef3ff 100%);
}

body.stamp-redesign .poster-carousel .carousel-inner {
  border-bottom: 1px solid var(--stamp-line);
}

body.stamp-redesign .poster-carousel .carousel-item {
  aspect-ratio: 210 / 297;
  background: transparent !important;
  padding: 0 !important;
  transition: transform 0.5s cubic-bezier(.22, .61, .36, 1);
}

body.stamp-redesign #posterCarousel,
body.stamp-redesign .poster-carousel .carousel-inner,
body.stamp-redesign .poster-carousel .carousel-item,
body.stamp-redesign .poster-carousel .poster-stage,
body.stamp-redesign .poster-carousel .carousel-item img {
  touch-action: pan-y;
}

body.stamp-redesign .poster-carousel .poster-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  line-height: 0;
  --padX: clamp(12px, 2vw, 20px);
  --padY: clamp(14px, 2.4vh, 28px);
  padding: var(--padY) var(--padX);
  background: transparent;
  overflow: hidden;
}

body.stamp-redesign .poster-carousel .poster-stage::after {
  content: '';
  position: absolute;
  inset: var(--padY) var(--padX);
  border-radius: 1.15rem;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04), 0 16px 34px rgba(15, 23, 42, 0.1);
}

body.stamp-redesign .poster-carousel .carousel-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0 !important;
  background: transparent !important;
  -webkit-user-drag: none;
  user-select: none;
}

body.stamp-redesign .poster-carousel .carousel-control-prev,
body.stamp-redesign .poster-carousel .carousel-control-next {
  width: 18%;
  opacity: 0.95;
}

body.stamp-redesign .poster-carousel .carousel-control-prev-icon,
body.stamp-redesign .poster-carousel .carousel-control-next-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background-color: rgba(12, 17, 38, 0.48);
  background-size: 45% 45%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.stamp-redesign .poster-inquiry {
  padding: 1rem;
  text-align: center;
  background:
    radial-gradient(circle at left top, rgba(124, 58, 237, 0.10), transparent 40%),
    radial-gradient(circle at right top, rgba(16, 185, 129, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(251, 252, 255, 0.98), rgba(241, 246, 255, 0.98));
}

body.stamp-redesign .right-stack {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.9rem, 1.6vw, 1.15rem);
  align-self: stretch;
  min-width: 0;
}

body.stamp-redesign .cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--stamp-radius-lg);
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.12), transparent 36%),
    linear-gradient(135deg, #f7f5ff 0%, #ffffff 100%);
  box-shadow: var(--stamp-shadow-soft);
  min-width: 0;
}

body.stamp-redesign .cta-title {
  margin: 0;
  font-size: clamp(1.08rem, 1.9vw, 1.4rem);
  font-weight: 800;
  color: var(--stamp-ink);
}

body.stamp-redesign .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--stamp-primary), var(--stamp-primary-2));
  color: #ffffff !important;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 16px 28px rgba(79, 70, 229, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.stamp-redesign .btn-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 32px rgba(79, 70, 229, 0.25);
}

body.stamp-redesign .btn-cta.is-disabled {
  opacity: 0.56;
  pointer-events: none;
  filter: saturate(0.78);
  box-shadow: none;
}

body.stamp-redesign .btn-cta.btn-lms {
  background: linear-gradient(135deg, var(--stamp-lms-1), var(--stamp-lms-2));
  box-shadow: 0 16px 28px rgba(15, 157, 122, 0.22);
}

body.stamp-redesign .poster-inquiry .btn-cta {
  width: 100%;
}

body.stamp-redesign .poster-wrap .poster-inquiry {
  border-top: 1px solid rgba(190, 199, 216, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.stamp-redesign .notice-list-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--stamp-radius-lg);
  background: #ffffff;
  box-shadow: var(--stamp-shadow-soft);
  min-width: 0;
  min-height: clamp(18rem, 36vh, 22rem);
  max-height: clamp(18rem, 36vh, 22rem);
  overflow: hidden;
}

body.stamp-redesign .card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body.stamp-redesign .card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--stamp-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

body.stamp-redesign .notice-feed {
  min-height: 0;
  overflow: hidden;
  border-radius: 1.1rem;
  padding: 0.35rem;
  background: linear-gradient(180deg, #f8faff 0%, #f1f5ff 100%);
}

body.stamp-redesign .notice-feed__scroll {
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding-right: 0.2rem;
  overscroll-behavior: contain;
}

body.stamp-redesign #eduLoading,
body.stamp-redesign #eduEmpty,
body.stamp-redesign #eduError {
  margin: 0 !important;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  border-radius: 0.9rem;
  line-height: 1.6;
}

body.stamp-redesign #eduError {
  background: rgba(255, 237, 213, 0.72);
  color: #c2410c !important;
}

body.stamp-redesign .notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

body.stamp-redesign .notice-list li {
  margin: 0;
}

body.stamp-redesign .notice-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem 0.75rem;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  color: var(--stamp-ink) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.stamp-redesign .notice-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 70, 229, 0.16);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}

body.stamp-redesign .edu-title {
  min-width: 0;
  font-weight: 600;
  line-height: 1.55;
  color: var(--stamp-ink);
  overflow-wrap: anywhere;
  word-break: keep-all;
}

body.stamp-redesign .campus-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.62rem;
  margin: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
}

body.stamp-redesign .campus-tag.한림 {
  background: linear-gradient(135deg, #5b5fff, #7c3aed);
}

body.stamp-redesign .campus-tag.부민 {
  background: linear-gradient(135deg, #0f9d7a, #1fbf8f);
}

body.stamp-redesign .notice-list .edu-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.62rem;
  margin: 0;
  border-radius: 999px;
  background: rgba(248, 113, 38, 0.12);
  color: var(--stamp-warn);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

body.stamp-redesign .ratio.yt-rounded {
  border-radius: var(--stamp-radius-lg);
  overflow: hidden;
  background: #070b17;
  box-shadow: var(--stamp-shadow-soft);
}

body.stamp-redesign .ratio.yt-rounded iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.stamp-redesign .site-links {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1rem);
  margin-top: clamp(1.15rem, 1.8vw, 1.5rem);
  margin-bottom: 0.35rem;
  padding-left: 0;
  text-align: center;
}

body.stamp-redesign .site-links li {
  display: block !important;
  width: auto !important;
}

body.stamp-redesign .site-links li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 100%;
  padding: 1rem 0.85rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--stamp-shadow-soft);
  color: var(--stamp-ink) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.stamp-redesign .site-links li a:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.16);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

body.stamp-redesign .site-links li .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.12), transparent 45%),
    #ffffff center / 70% no-repeat;
  background-image: var(--icon);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05), 0 10px 20px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, background-color 0.18s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

body.stamp-redesign .site-links li a:hover .icon {
  transform: scale(1.03);
  background-color: #f8faff;
}

body.stamp-redesign .site-links li .label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--stamp-ink);
  line-height: 1.35;
}

body.stamp-redesign footer,
body.stamp-redesign footer .sub-footer {
  border-top: 0 !important;
}

body.stamp-redesign footer {
  padding-top: 0;
  background: transparent;
}

body.stamp-redesign footer .sub-footer {
  margin-top: 0;
  padding: 1rem 0 2rem !important;
}

body.stamp-redesign footer .sub-footer p {
  margin: 0;
  color: var(--stamp-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

body.stamp-redesign .modal-open .header-area {
  padding-right: var(--bs-scrollbar-width) !important;
}

body.stamp-redesign .modal-content {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

body.stamp-redesign .modal-header,
body.stamp-redesign .modal-footer {
  padding: 1rem 1.25rem;
  border-color: rgba(15, 23, 42, 0.08);
}

body.stamp-redesign .modal-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

body.stamp-redesign .modal-title {
  font-weight: 800;
  color: var(--stamp-ink);
}

body.stamp-redesign .modal-body {
  padding: 1rem 1.25rem;
}

body.stamp-redesign #contactModal .modal-body {
  max-height: min(70vh, 40rem);
  overflow: auto;
}

body.stamp-redesign #contactModal #cmsg {
  min-height: 160px;
  max-height: clamp(220px, 40vh, 480px);
  overflow: auto;
  resize: vertical;
}

body.stamp-redesign #lmsModal .modal-body {
  max-height: min(68vh, 38rem);
  overflow: auto;
}

body.stamp-redesign #lmsModal .list-group {
  display: grid;
  gap: 0.75rem;
}

body.stamp-redesign #lmsModal .list-group-item {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem !important;
  padding: 1rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
}

body.stamp-redesign #lmsModal .list-group-item h6 {
  margin-bottom: 0;
  font-weight: 800;
  line-height: 1.55;
  color: var(--stamp-ink);
  overflow-wrap: anywhere;
}

body.stamp-redesign #lmsModal .list-group-item small {
  display: block;
  margin-top: 0.35rem;
  color: var(--stamp-muted) !important;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.stamp-redesign #preloader {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
}

body.stamp-redesign #preloader .spinner {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 6px solid rgba(15, 23, 42, 0.08);
  border-top-color: var(--stamp-primary);
  animation: stamp-spin 1s linear infinite;
}

body.stamp-redesign #preloader .label {
  margin-top: 0.85rem;
  color: var(--stamp-ink);
  font-weight: 700;
  text-align: center;
}

body.stamp-redesign .poster-loader {
  position: absolute;
  inset: var(--padY) var(--padX);
  z-index: 0;
  border-radius: 1rem;
  overflow: hidden;
  pointer-events: none;
}

body.stamp-redesign .poster-loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #eef2f8 0%,
    #f8faff 40%,
    #edf3fb 50%,
    #f8faff 60%,
    #eef2f8 100%
  );
  background-size: 200% 100%;
  animation: poster-shimmer 1.2s linear infinite;
}

body.stamp-redesign .poster-stage.loading img {
  opacity: 0;
}

body.stamp-redesign .poster-stage.loaded img {
  opacity: 1;
  transition: opacity 0.28s ease;
}

body.stamp-redesign .muted {
  color: var(--stamp-muted);
}

@keyframes stamp-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes poster-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 1199.98px) {
  body.stamp-redesign .slab {
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  }
}



@media (min-width: 992px) {
  body.stamp-redesign .poster-inquiry {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
    padding: 0.85rem 1rem 1rem;
  }

  body.stamp-redesign .poster-inquiry .btn-cta {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  body.stamp-redesign .poster-inquiry .btn-cta span {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    word-break: keep-all;
  }
}

@media (max-width: 991.98px) {
  body.stamp-redesign .main-banner {
    min-height: auto;
    padding-bottom: 36px;
  }

  body.stamp-redesign .slab {
    grid-template-columns: 1fr;
  }

  body.stamp-redesign .right-stack {
    grid-template-rows: auto auto auto;
  }

  body.stamp-redesign .notice-list-card {
    min-height: 18rem;
    max-height: 21rem;
  }

  body.stamp-redesign .poster-card {
    order: 2;
  }

  body.stamp-redesign .right-stack {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  body.stamp-redesign {
    --stamp-header-h: 82px;
  }

  body.stamp-redesign .header-area,
  body.stamp-redesign .background-header {
    padding: 8px 0 !important;
  }

  body.stamp-redesign .header-area .main-nav,
  body.stamp-redesign .background-header .main-nav {
    min-height: 60px !important;
    justify-content: center;
  }

  body.stamp-redesign .header-area .main-nav a.logo,
  body.stamp-redesign .background-header .main-nav a.logo {
    width: 190px !important;
    height: 62px !important;
    flex-basis: 190px;
    margin-inline: auto;
    background-position: center center !important;
  }

  body.stamp-redesign .header-area .main-nav a.logo {
    background-image: url('../images/white-logo.png') !important;
  }

  body.stamp-redesign .background-header .main-nav a.logo {
    background-image: url('../images/black-logo.png') !important;
  }

  body.stamp-redesign .top-text {
    text-align: center;
  }

  body.stamp-redesign .cta-card {
    align-items: stretch;
  }

  body.stamp-redesign .cta-card .btn-cta {
    width: 100%;
  }

  body.stamp-redesign .notice-list a {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  body.stamp-redesign .notice-list .edu-date {
    grid-column: 1 / -1;
    justify-self: start;
  }

  body.stamp-redesign .site-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.stamp-redesign .main-banner {
    padding-top: calc(var(--stamp-header-h) + 18px);
  }

  body.stamp-redesign .top-text,
  body.stamp-redesign .search-card,
  body.stamp-redesign .slab,
  body.stamp-redesign .poster-card,
  body.stamp-redesign .cta-card,
  body.stamp-redesign .notice-list-card,
  body.stamp-redesign .ratio.yt-rounded,
  body.stamp-redesign .site-links li a,
  body.stamp-redesign .modal-content {
    border-radius: 1.25rem;
  }

  body.stamp-redesign .poster-head,
  body.stamp-redesign .poster-inquiry,
  body.stamp-redesign .cta-card,
  body.stamp-redesign .notice-list-card,
  body.stamp-redesign .modal-header,
  body.stamp-redesign .modal-body,
  body.stamp-redesign .modal-footer {
    padding-inline: 0.95rem;
  }

  body.stamp-redesign .site-links li .icon {
    width: 58px;
    height: 58px;
  }

  body.stamp-redesign .site-links li .label {
    font-size: 0.88rem;
  }

  body.stamp-redesign .notice-list-card {
    min-height: 17rem;
    max-height: 20rem;
  }

  body.stamp-redesign .poster-carousel .carousel-item {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.stamp-redesign *,
  body.stamp-redesign *::before,
  body.stamp-redesign *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


body.stamp-redesign .edu-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

body.stamp-redesign .edu-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--stamp-ink);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

body.stamp-redesign .edu-tab:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 70, 229, 0.24);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
}

body.stamp-redesign .edu-tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--stamp-primary), var(--stamp-primary-2));
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(79, 70, 229, 0.22);
}

body.stamp-redesign .edu-tab:disabled {
  opacity: 0.45;
  pointer-events: none;
}


body.stamp-redesign .notice-list-card {
  min-height: auto;
  max-height: none;
}

body.stamp-redesign .notice-feed {
  display: grid;
  gap: 0.85rem;
  overflow: visible;
}

body.stamp-redesign .notice-feed__content {
  min-height: 0;
}

body.stamp-redesign .notice-feed__scroll {
  height: auto;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

body.stamp-redesign .edu-status-card {
  display: grid;
  place-items: center;
  gap: 0.7rem;
  min-height: 7.5rem;
  padding: 1.3rem 1rem;
  text-align: center;
  border-radius: 1rem;
  border: 1px dashed rgba(79, 70, 229, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,245,255,0.92));
  font-weight: 700;
}

body.stamp-redesign .edu-status-spinner {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 3px solid rgba(79, 70, 229, 0.16);
  border-top-color: var(--stamp-primary-2);
  animation: stamp-spin 0.9s linear infinite;
}

body.stamp-redesign .edu-status-text {
  color: var(--stamp-ink-soft);
}

body.stamp-redesign .notice-list {
  gap: 0.9rem;
}

body.stamp-redesign .edu-item-link {
  position: relative;
  overflow: hidden;
}

body.stamp-redesign .edu-item-link::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  border-radius: 1rem;
  opacity: 0.98;
}

body.stamp-redesign .edu-item-link.한림 {
  border: 1px solid rgba(124, 58, 237, 0.24);
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.98), rgba(237, 233, 254, 0.96));
  box-shadow: 0 16px 28px rgba(109, 40, 217, 0.10);
}

body.stamp-redesign .edu-item-link.한림::before {
  background: linear-gradient(180deg, #6d28d9, #8b5cf6);
}

body.stamp-redesign .edu-item-link.부민 {
  border: 1px solid rgba(5, 150, 105, 0.24);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(209, 250, 229, 0.96));
  box-shadow: 0 16px 28px rgba(5, 150, 105, 0.10);
}

body.stamp-redesign .edu-item-link.부민::before {
  background: linear-gradient(180deg, #047857, #10b981);
}

body.stamp-redesign .edu-item-link:hover.한림 {
  border-color: rgba(109, 40, 217, 0.42);
  box-shadow: 0 18px 30px rgba(109, 40, 217, 0.16);
}

body.stamp-redesign .edu-item-link:hover.부민 {
  border-color: rgba(5, 150, 105, 0.42);
  box-shadow: 0 18px 30px rgba(5, 150, 105, 0.16);
}

body.stamp-redesign .campus-tag.한림 {
  background: linear-gradient(135deg, #5b21b6, #8b5cf6);
  box-shadow: 0 10px 18px rgba(109, 40, 217, 0.22);
}

body.stamp-redesign .campus-tag.부민 {
  background: linear-gradient(135deg, #065f46, #10b981);
  box-shadow: 0 10px 18px rgba(5, 150, 105, 0.22);
}

body.stamp-redesign .edu-tab[data-campus="한림"] {
  border-color: rgba(124, 58, 237, 0.24);
}

body.stamp-redesign .edu-tab[data-campus="부민"] {
  border-color: rgba(16, 185, 129, 0.24);
}

body.stamp-redesign .edu-tab[data-campus="한림"].is-active {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  box-shadow: 0 14px 26px rgba(109, 40, 217, 0.24);
}

body.stamp-redesign .edu-tab[data-campus="부민"].is-active {
  background: linear-gradient(135deg, #047857, #10b981);
  box-shadow: 0 14px 26px rgba(5, 150, 105, 0.24);
}

body.stamp-redesign #eduError {
  background: rgba(255, 237, 213, 0.72);
  color: #c2410c !important;
  border-style: solid;
}

body.stamp-redesign #eduEmpty {
  border-style: solid;
}

@media (max-width: 991.98px) {
  body.stamp-redesign .notice-list-card {
    min-height: auto;
    max-height: none;
  }
}

@media (max-width: 575.98px) {
  body.stamp-redesign .edu-status-card {
    min-height: 6.5rem;
  }
}


body.stamp-redesign {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.10), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(16, 185, 129, 0.08), transparent 24%),
    linear-gradient(180deg, #f7f9ff 0%, #f9fbff 38%, #f3f7ff 72%, #eef4ff 100%);
  background-attachment: fixed;
}

body.stamp-redesign::before {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  height: 42vh;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at bottom center, rgba(124, 58, 237, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(238, 244, 255, 0.9));
}

body.stamp-redesign .main-banner {
  background: transparent;
}

body.stamp-redesign .poster-inquiry .btn-cta span .pc-break {
  display: none;
}

@media (min-width: 992px) {
  body.stamp-redesign .poster-inquiry .btn-cta {
    min-height: 3.8rem;
    padding: 0.95rem 1rem;
  }

  body.stamp-redesign .poster-inquiry .btn-cta span .pc-break {
    display: block;
  }
}


body.stamp-redesign .poster-anniv-logo {
  display: none;
}

@media (min-width: 992px) {
  body.stamp-redesign .poster-inquiry {
    position: relative;
  }

  body.stamp-redesign .poster-anniv-logo {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    align-items: center;
    margin-top: 0.3rem;
    padding: 0.35rem 0 0.15rem;
    pointer-events: none;
  }

  body.stamp-redesign .poster-anniv-logo img {
    display: block;
    width: min(100%, 168px);
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 10px 18px rgba(76, 99, 160, 0.08));
  }
}
