/* ===================================
   세종학당재단 전자도서관 - 새로운 메인 페이지
   반응형 디자인 (PC: 1920px / Mobile: 375px)
   =================================== */

/* Reset & Common */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Pretendard GOV", "Pretendard", -apple-system, BlinkMacSystemFont,
    system-ui, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.center {
  max-width: 1280px;
  margin: 0 auto;
}

/* Skip Navigation */
#divAccessibility {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#divAccessibility a:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  z-index: 10000;
}

/* ===================================
   Header
   =================================== */

#divHeader {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Header Top */
.header-top {
  padding: 12px 0 4px 0;
}

.header-top-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  font-size: 15px;
}

.header-top-links .link {
  color: #1e2124;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 3.5px;
}

.header-top-links .link img {
  height: auto;
  width: 16px;
}

.header-top-links .link span {
  line-height: 23px;
}

.header-top-links .link .loggedin {
  font-weight: 700;
}

.header-top-links .link.user-name {
  gap: 0;
}

.vertical-line {
  width: 1px;
  height: 16px;
  background: #cdd1d5;
  align-self: center;
}

/* Header Main */
.header-main {
  padding: 4px 0px 16px 0px;
  position: relative;

  border-bottom: 1px #cdd1d5 solid;
}

.header-main .center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 49px;
}

/* Mobile Menu Button - Hidden on PC, Show on Mobile */
.mobile-menu-btn {
  display: none;
}

/* Navigation */
#divTopMenu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-left: 40px;
  position: static;
}

.gnb {
  display: flex;
  gap: 40px;
  position: static;
}

.gnb > li {
  position: static;
}

.gnb > li > a {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: #464c53;
  padding: 12px 0;
  transition: color 0.3s;
}

.gnb > li:hover > a {
  color: #004190;
}

/* Mega Menu Container */
.mega-menu-container {
  position: absolute;
  left: 0;
  width: 100vw;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  /* 개발용: 메가메뉴 항상 표시 */
  /* opacity: 1;
  visibility: visible;
  pointer-events: auto; */

  /* 원래 설정 (개발 완료 후 복원) */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* Removed transitions to prevent flickering issue */
  /* transition: opacity 0.2s ease, visibility 0.2s ease; */
  /* transition-delay: 0s; */

  z-index: 998;
  top: calc(100% + 1px);
  transform: translateX(calc(-50vw + 50%));
}

.mega-menu-container.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
}

.mega-menu-title {
  min-width: 240px;
  flex-shrink: 0;

  margin-top: 36px;
}

.mega-menu-title h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e2124;
}

.mega-menu-content {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  margin-top: 26px;
  margin-bottom: 26px;
}

.mega-menu-content li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 245px;
  padding: 16px 19px 16px 16px;
  border-radius: 16px;
  transition: background-color 0.2s;
}

.mega-menu-content li:hover {
  background-color: #eef2f7;
}

.mega-menu-content li a {
  flex: 1;
  font-size: 17px;
  color: #1e2124;
  font-weight: 400;
  transition: color 0.2s;
}

.mega-menu-content li:hover a {
  font-weight: 700;
  color: #004190;
}

.mega-menu-content li img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ===================================
   Main Content
   =================================== */

/* Hero Section */
.main-hero {
  padding: 64px 0px 32px 0px;
}

.hero-content {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.hero-left {
  flex: 1;

  border: 1px solid #e1e2ea;
  border-radius: 12px;

  padding: 48px 40px 56px 48px;
  position: relative;
}

.hero-logo-gray {
  position: absolute;
  top: 45px;
  right: 50px;
  width: 102px;
  height: auto;
}

.hero-subtitle {
  font-size: 32px;
  font-weight: 500;
  color: #1e2124;
}

.hero-title {
  font-size: 40px;
  font-weight: 800;
  color: #004190;
  margin-bottom: 40px;
}

/* Search Form */
.searchForm {
  width: 100%;
}

.search-wrapper {
  display: flex;
  background: #fff;
  border: 2px solid #256ef4;
  border-radius: 10px;
  overflow: visible;

  min-height: 80px;

  padding: 0px 24px;
}

.search-select {
  display: flex;
  align-self: center;
  justify-self: center;
  padding-right: 16px;
  position: relative;
  z-index: 100;
}

.search-select select {
  border: none;
  font-size: 19px;
  font-weight: 600;
  color: #1e2124;
  background: transparent;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  width: 150px;
}

/* 커스텀 드롭다운 스타일 */
.custom-select {
  position: relative;
  width: 150px;
  user-select: none;
  z-index: 101;
}

.custom-select-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 10px;
  background: transparent;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  color: #1e2124;
  transition: background 0.3s;
}

.custom-select-header .select-arrow {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s;
}

.custom-select.active .select-arrow {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #f8f9fa;
  z-index: 9999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.custom-select.active .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 400;
  color: #1e2124;
  background-color: #ffffff;
  border-bottom: 1px solid #cdd1d5;
  border-right: 1px solid #cdd1d5;
  border-left: 1px solid #cdd1d5;
  cursor: pointer;
  transition: background 0.2s;
}

.custom-option:hover {
  background-color: #eef2f7;
}

.custom-option.selected {
  background-color: #d6e0eb;
  font-weight: 600;
}

.search-divider {
  width: 1px;
  height: 24px;
  background: #cdd1d5;
  align-self: center;
}

.search-input {
  margin-left: 16px;
  flex: 1;
  display: flex;
  align-items: center;
}

.search-input input {
  flex: 1;
  border: none;
  font-size: 19px;
  font-weight: 600;
  color: #1e2124;
  outline: none;
}

.search-input input::placeholder {
  color: #999;
}

.search-btn img {
  width: 31px;
  height: 31px;
}

/* Notice Card */
.hero-right {
  width: 380px;
}

.notice-card {
  background: #fff;
  border: 1px solid #e1e2ea;
  border-radius: 12px;
  padding: 40px 40px 32px 40px;
  position: relative;

  min-height: 342px;
  max-height: 342px;
}

/* 슬라이드 콘텐츠 컨테이너 (박스 밖 숨김) */
.notice-slide-wrapper {
  overflow: hidden;
  position: relative;
}

/* 슬라이드 콘텐츠 영역 (타이틀~날짜) */
.notice-slide-content {
  transition: opacity 0.4s ease-in-out;
  min-height: 198px;
  max-height: 198px;
  overflow: hidden;
  cursor: pointer;
}

/* 페이드 아웃 효과 */
.notice-slide-content.fade-out {
  opacity: 0;
}

/* 페이드 인 효과 */
.notice-slide-content.fade-in {
  animation: fadeIn 0.4s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.notice-header h3 {
  font-size: 21px;
  font-weight: 700;
  color: #464c53;
  margin-bottom: 16px;
  line-height: 1.5;
}

.notice-body p {
  font-size: 17px;
  font-weight: 400;
  color: #464c53;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-date {
  font-size: 17px;
  font-weight: 400;
  color: #464c53;
  line-height: 1.5;
}

.notice-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 32px;
}

.notice-pagination {
  padding: 7px 16px;

  border: 1px solid #cdd1d5;
  border-radius: 1000px;

  font-size: 17px;
  font-weight: 700;
  color: #1e2124;
}

.notice-buttons {
  display: flex;
  gap: 8px;
}

.notice-buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.notice-buttons button img {
  width: 40px;
  height: 40px;
  display: block;
}

/* 기본적으로 재생 버튼 숨김 */
.notice-buttons .btn-play {
  display: none;
}

/* 일시정지 상태일 때 재생 버튼 표시, 일시정지 버튼 숨김 */
.notice-buttons.paused .btn-pause {
  display: none;
}

.notice-buttons.paused .btn-play {
  display: inline-block;
}

/* 호버 시 이미지 변경 */
.notice-buttons .btn-pause:hover img {
  content: url("/resources/pauseHover.png");
}

.notice-buttons .btn-play:hover img {
  content: url("/resources/playHover.png");
}

.notice-buttons .btn-prev:hover img {
  content: url("/resources/leftArrowHover.png");
}

.notice-buttons .btn-next:hover img {
  content: url("/resources/rightArrowHover.png");
}

/* 공지사항 없을 때 */
.notice-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 265px;
}

.notice-empty p {
  font-weight: 400;
  font-size: 17px;
  color: #6d7882;
  text-align: center;
}

/* ===================================
   Quick Menu Section
   =================================== */

.quick-menu-section {
  background: #fff;
  padding-bottom: 64px;
}

.qMenu {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;

  padding: 16px;

  border: 1px solid #e1e2ea;
  border-radius: 12px;
}

.qMenu li {
  text-align: center;
}

.qMenu li a {
  display: block;
  padding: 24px 12px;
  border-radius: 12px;
  transition: all 0.3s;
}

.qMenu li a:hover {
  background: #eef2f7;
  transform: translateY(-4px);
}

.icon-wrapper {
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.qMenu p {
  font-size: 17px;
  font-weight: 700;
  color: #464c53;
}

.qMenu li a:hover p {
  color: #004190;
}
/* ===================================
   Partner Section
   =================================== */

.partner-section {
  background: #ffffff;
  padding: 20px 0;
  border-top: 1px solid #cdd1d5;
}

.partner-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partner-logos a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logos img {
  max-height: 37px;
  width: auto;
  max-width: 150px;
}

/* ===================================
   Footer
   =================================== */

#divFooter {
  background: #ffffff;
  border-top: 1px solid #cdd1d5;
}

/* Footer Accordion */
.footer-accordion {
  background: #ffffff;
}

.footer-accordion .center {
  display: flex;
}

.accordion-item {
  max-width: 300px;
  max-height: 50px;
  flex: 1;

  border-left: 1px solid #cdd1d5;
  border-right: 1px solid #cdd1d5;
}

.accordion-item.first-item {
  border-right: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px 15px 24px;
  background: #fff;
  font-size: 17px;
  font-weight: 400;
  color: #1e2124;
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-item.active .accordion-header {
  background: #d6e0eb;
}

.accordion-header .icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f8f9fa;
}

.accordion-content.active {
  max-height: 500px;
}

.accordion-content ul {
  display: flex;
  flex-direction: column;
}

.accordion-content li {
  height: 54px;

  background-color: #ffffff;

  z-index: 9999;

  padding: 14px 130px 14px 24px;

  border-bottom: 1px solid #cdd1d5;
  border-right: 1px solid #cdd1d5;
  border-left: 1px solid #cdd1d5;
}

.accordion-content li:hover {
  background-color: #eef2f7;
}

.accordion-content a {
  font-size: 17px;
  font-weight: 400;
  color: #1e2124;
}

/* Footer Main */
.footer-main {
  border-top: 1px solid #cdd1d5;

  padding: 40px 0 24px 0;

  background-color: #f4f5f6;
}

.footer-main .center {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-direction: column;
}

.footer-logo img {
  height: 50px;
}

.footer-info {
  flex: 1;
}

.footer-info .address {
  font-size: 17px;
  font-weight: 400;
  color: #1e2124;
  margin-bottom: 16px;
}

.footer-info .contact {
  font-size: 17px;
  font-weight: 400;
  color: #1e2124;
  margin-bottom: 16px;
}

.footer-info .contact .bold {
  font-size: 17px;
  font-weight: 700;
  color: #1e2124;
}

.footer-links {
  width: 100%;

  display: flex;
  flex-direction: row;

  margin-bottom: 24px;
  padding-top: 15px;

  border-top: 1px solid #cdd1d5;
}

.extraInfo {
  display: flex;
  gap: 10px;

  min-width: 680px;
}

.footer-links a {
  font-size: 15px;
  color: #1e2124;
  font-weight: 400;
}
.copyright {
  font-size: 15px;
  color: #1e2124;
  font-weight: 400;
}
/* ===================================
   Mobile Menu
   =================================== */

/* Overlay */
.mobileMenu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobileMenu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Panel */
.mobileMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  min-width: 375px;
  height: 100vh;
  background: #f8f9fa;
  z-index: 9999;
  transition: right 0.3s ease;
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobileMenu.active {
  right: 0;
}

/* Header */
.mobileMenu-header {
  padding: 20px 16px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.mobileMenu-logo-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.mobileMenu-logo-img {
  width: 20px;
  height: auto;
}

.mobileMenu-logo-text {
  font-size: 17px;
  font-weight: 400;
  color: #1e2124;
}

.mobileMenu-new-window {
  width: 20px;
  height: 20px;
}

.mobileMenu-title {
  font-size: 15px;
  font-weight: 400;
  color: #1e2124;
  margin: 0;
}

.mobileMenu-close {
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobileMenu-close img {
  width: 24px;
  height: 24px;
}

/* Tabs */
.mobileMenu-tabs {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #e1e2ea;
}

.mobileMenu-tabs:has(.mobileMenu-login) {
  justify-content: flex-end;
}

.mobileMenu-username {
  font-size: 22px;
  font-weight: 400;
  color: #1e2124;
}

.mobileMenu-username .loggedin {
  font-size: 22px;
  font-weight: 700;
}

.mobileMenu-login {
  font-size: 17px;
  font-weight: 700;
  color: #464c53;
  cursor: pointer;

  display: flex;

  align-items: center;
}

.mobileMenu-log_out {
  font-size: 17px;
  font-weight: 700;
  color: #464c53;
  cursor: pointer;

  display: flex;

  align-items: center;
}

.mobileMenu-log_out img {
  width: 20px;
  height: 20px;
}

.mobileMenu-login img {
  width: 20px;
  height: 20px;
}

/* Content */
.mobileMenu-content {
  flex: 1;
  overflow-y: auto;
  background: #f8f9fa;
}

.mobileMenu-grid {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  min-height: 100%;
}

/* Main Menu (Left) */
.mobileMenu-main {
  background: #e9ecef;
  padding: 0;
}

.mobile-nav-item {
  background: #e9ecef;
  transition: background 0.2s;
}

.mobile-nav-item.active {
  background: #ffffff;
}

.mobile-nav-item a {
  display: block;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #1e2124;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-item.active a {
  color: #004190;
}

/* Sub Menu (Right) */
.mobileMenu-sub {
  background: #ffffff;
  padding: 0;
}

.mobile-sub-menu {
  display: none;
  flex-direction: column;
  padding: 0;
}

.mobile-sub-menu.active {
  display: flex;
}

.sub-menu-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e2124;
  padding: 16px 0px;
  margin: 0 16px;
  border-bottom: 1px solid #e1e2ea;
}

.mobile-sub-menu .sub-link {
  display: block;
  padding: 16px;
  font-size: 17px;
  font-weight: 400;
  color: #1e2124;
}

/* ===================================
   Responsive Design - Mobile (375px)
   =================================== */

@media (max-width: 768px) {
  /* Container */
  .center {
    padding: 0 20px;
  }

  /* Header Top */
  .header-top {
    display: none;
  }

  /* Header Main */
  .header-main {
    padding: 20px 0 0 0;
  }

  .header-main .center {
    padding: 0 20px;
  }

  .header-main .center h1 {
    width: 241px;
  }

  .logo img {
    height: 36px;
  }

  /* Mobile Menu Button - Show on Mobile */
  .mobile-menu-btn {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 24px;
    min-height: 50px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;

    outline: none;
  }

  .mobile-menu-btn:focus {
    outline: none;
    background: none;
  }

  .mobile-menu-btn:active {
    background: none;
  }

  .mobile-menu-btn img {
    width: 24px;
    height: 24px;
    pointer-events: none;
  }

  /* Navigation - Hide Desktop Menu */
  #divTopMenu {
    display: none;
  }

  /* Mega Menu - Hidden on Mobile */
  .mega-menu-container {
    display: none;
  }

  /* Hero Section */
  .main-hero {
    padding: 0px 0px 32px 0px;
  }

  .hero-content {
    flex-direction: column;
    gap: 60px;
  }

  .hero-left {
    width: 100%;
    padding: 0;

    border: none;
  }

  .hero-logo-gray {
    top: 16px;
    right: 0;
    width: 85px;

    z-index: -1;
  }

  .hero-subtitle {
    margin-top: 60px;
    font-size: 22px;
    font-weight: 500;

    text-align: center;
  }

  .hero-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 40px;

    text-align: center;
  }

  .search-wrapper {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 0;
    border: none;
  }

  /* Search Tabs - Mobile Style */
  .search-select {
    padding: 0;
    border-bottom: none;
    margin-bottom: 16px;
    display: flex;
    justify-content: flex-start;

    width: 100%;
  }

  .custom-select {
    position: static;
    display: flex;
    justify-content: flex-start;
  }

  /* Hide the header on mobile */
  .custom-select-header {
    display: none;
  }

  /* Show dropdown as tabs on mobile */
  .custom-select-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    display: flex !important;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
  }

  .custom-select.active .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Style options as tabs */
  .custom-option {
    display: inline-block;
    flex: 0 0 auto;
    padding: 12px 16px;
    font-size: 17px;
    font-weight: 600;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: #8a949e;
    cursor: pointer;
    transition: all 0.3s;
  }

  .custom-option.selected {
    background: transparent;
    color: #004190;
    border-bottom-color: #004190;
  }

  .custom-option:hover {
    background: transparent;
    color: #004190;
  }

  .custom-option.selected:hover {
    background: transparent;
  }

  .search-divider {
    display: none;
  }

  .search-input {
    margin-left: 0;
    margin-top: 0;
    padding: 16px 20px;
    border: 2px solid #256ef4;
    border-radius: 10px;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .search-input input {
    font-size: 17px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .search-input input::placeholder {
    font-size: 15px;
  }

  .search-btn img {
    width: 24px;
    height: 24px;
  }

  /* Notice Card */
  .hero-right {
    width: 100%;
  }

  .notice-card {
    padding: 32px;
    min-height: 335px;
    max-height: 335px;
    border-radius: 16px;
  }

  .notice-slide-content {
    min-height: 200px;
    max-height: 200px;
  }

  .notice-header h3 {
    font-size: 21px;
    margin-bottom: 16px;
  }

  .notice-body p {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .notice-date {
    font-size: 17px;
  }

  .notice-controls {
    margin-top: 32px;
  }

  .notice-pagination {
    padding: 7px 16px;
    font-size: 17px;
  }

  .notice-buttons button img {
    width: 40px;
    height: 40px;
  }

  .notice-empty {
    min-height: 235px;
  }

  .notice-empty p {
    font-size: 15px;
  }

  /* Quick Menu */
  .quick-menu-section {
    padding-bottom: 40px;
  }

  .qMenu {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
  }

  .qMenu li {
    border-bottom: 1px solid #e1e2ea;
  }

  .qMenu li:last-child {
    border-bottom: none;
  }

  .qMenu li a {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px;
    border-radius: 0;
    text-align: left;
  }

  .qMenu li a:hover {
    background: transparent;
    transform: none;
  }

  .icon-wrapper {
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
  }

  .icon-wrapper img {
    width: 48px;
    height: 48px;
  }

  .qMenu p {
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    flex: 1;
  }

  .qMenu li a:hover p {
    color: #464c53;
  }

  /* Partner Section */
  .partner-section {
    padding: 24px 16px;
  }

  .partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .partner-logos a {
    flex: none;
  }

  .partner-logos img {
    max-height: 34px;
    width: auto;
    max-width: 130px;
  }

  /* Footer Accordion */
  .footer-accordion .center {
    flex-direction: column;
    padding: 0;
  }

  .accordion-item {
    max-width: 100%;
    max-height: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #cdd1d5;
  }

  .accordion-item.first-item {
    border-top: none;
  }

  .accordion-header {
    padding: 18px 20px;
    font-size: 17px;
  }

  .accordion-header .icon {
    width: 20px;
    height: 20px;
  }

  .accordion-content li {
    height: auto;
    padding: 16px 20px;
    border-left: none;
    border-right: none;
  }

  .accordion-content a {
    font-size: 15px;
  }

  /* Footer Main */
  .footer-main {
    border-top: none;
    padding: 32px 0 20px 0;
  }

  .footer-main .center {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .footer-logo img {
    height: 32px;
  }

  .footer-info .address,
  .footer-info .contact {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.5;

    word-break: keep-all;
  }

  .footer-info .contact .bold {
    font-size: 17px;
  }

  .footer-links {
    flex-direction: column;
    margin-bottom: 24px;
    padding-top: 16px;

    gap: 20px;
  }

  .extraInfo {
    min-width: auto;
    flex-direction: row;
    gap: 8px;
  }

  .footer-links a {
    font-size: 15px;
    line-height: 1.5;
  }

  .copyright {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ===================================
   Utilities
   =================================== */

.skip {
  position: absolute;
  left: -9999px;
}

.noalink {
  cursor: pointer;
}

/* Slick Slider Override */
.slick-slide {
  outline: none;
}

.slick-dots {
  bottom: -40px;
}

.slick-dots li button:before {
  color: #4a90e2;
}
