/* ===========================================
   OCI Dream 메인 페이지 CSS
   깔끔하고 명확한 클래스명 사용
=========================================== */

/* ===========================================
   접근성 - 건너뛰기 메뉴
=========================================== */
.skip-nav {
  position: fixed;
  top: -100px;
  left: 0;
  z-index: 99999;
  width: 100%;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  font-size: 14px;
  font-weight: bold;
  transition: top 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.skip-link:focus {
  top: 10px;
  opacity: 1;
  visibility: visible;
}

/* ===========================================
   폰트 설정
=========================================== */
@font-face {
  font-family: Pretendard-Regular;
  src: url("../new_font/Pretendard-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===========================================
   기본 설정
=========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family:
    Pretendard-Regular,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  overflow-x: hidden; /* 가로 스크롤 방지 */
}

/* 고정 헤더 때문에 본문이 가려지지 않도록 상단 패딩 추가 */
body {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden; /* 가로 스크롤 방지 */
  padding-top: 100px; /* 헤더 높이만큼 패딩 추가 */
}

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

ul,
li {
  list-style: none;
}

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

/* ===========================================
   유틸리티 클래스
=========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  color: #000;
  font-size: 2.7rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  margin-bottom: 8rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #ce1122;
}

.section-title--white {
  color: #fff;
}

/* ===========================================
   모바일 오버레이 메뉴
=========================================== */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  flex-shrink: 0;
}

.mobile-menu__logo {
  height: 20px;
  width: auto;
}

.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__close img {
  width: 20px;
  height: 20px;
}

.mobile-menu__content {
  flex: 1;
  padding: 0.1rem 0; /* 상단 공백 축소 */
}

.mobile-menu__item {
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu__item > a,
.mobile-menu__item > span {
  display: block;
  padding: 0.9rem 1.5rem; /* 세로 패딩 축소 */
  color: #333;
  font-size: 1.5rem;
  font-weight: 400;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.2s ease;
  text-align: center;
}

.mobile-menu__item > a:hover,
.mobile-menu__item > span:hover {
  background-color: #f8f8f8;
}

.mobile-menu__submenu {
  background-color: #f9f9f9;
  display: none;
}

.mobile-menu__submenu.active {
  display: block;
}

.mobile-menu__submenu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #666;
  font-size: 1.3rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
  text-align: center;
}

/* 모바일 메뉴 하단 언어 선택을 한 줄로 정렬 */
.mobile-menu__language {
  display: flex;
  justify-content: center;
  gap: 0; /* 링크 간격은 pseudo-element로 제어 */
  padding: 0.4rem 0; /* 세로 여백 소폭 감소 */
}
.mobile-menu__language a {
  display: inline-block;
  padding: 0.3rem 0.2rem; /* 가로/세로 패딩 축소해서 더 붙게 함 */
  font-size: 1.4rem;
  color: #333;
}

/* 첫 번째 링크 다음에 구분자 '|' 삽입 (간격 조절 포함) */
.mobile-menu__language a + a::before {
  content: "|";
  color: #666;
  display: inline-block;
  margin: 0 0.35rem;
  font-weight: 400;
}

.mobile-menu__submenu a:hover {
  background-color: #f0f0f0;
}

/* ===========================================
   헤더 스타일
=========================================== */
.header {
  width: 100%;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 모바일 헤더도 고정 */
#mobile_header_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===========================================
   모바일 헤더 (기존 스타일과 동일)
=========================================== */
.mobile-only {
  display: block;
}

.mb_header {
  position: relative;
  max-width: 1390px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 1.5rem;
}

.mb_header h1 {
  margin: 0;
  display: flex;
  align-items: center;
  height: 100%;
}

.mb_header h1 img {
  width: 140px;
  height: auto;
}

.menu_btn {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.menu_btn img {
  height: 18px;
}

.header--mobile {
  display: none;
}

.header--pc {
  display: none;
}

.header__container {
  max-width: 1390px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  padding: 0 2rem;
}

.header__logo {
  margin: 0;
  margin-right: 2rem;
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.header__logo img {
  width: 180px;
  height: auto;
}

/* PC 전용: 로고를 약간 아래로 내리기 (필요시 px 값 조정) */
.header--pc .header__logo {
  transform: translateY(4px);
}

/* 더 작은 화면에서 로고를 추가로 축소 */
@media (max-width: 480px) {
  .mb_header h1 img,
  .header__logo img {
    width: 120px;
  }
  .mobile-menu__logo {
    height: 32px;
  }
}

.header__menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

/* PC 네비게이션 */
.navigation {
  flex: 1;
  display: flex;
  justify-content: center;
  zoom: 1;
  margin-bottom: 0;
}

.navigation::after {
  height: 0;
  visibility: hidden;
  content: ".";
  display: block;
  clear: both;
}

.navigation__list {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.navigation__item {
  position: relative;
  float: left;
  color: #000;
  text-align: center;
}

.navigation__link {
  display: block;
  box-sizing: border-box;
  padding: 3.5rem;
  font-size: 1.7rem;
  font-weight: normal;
  color: #1c1c1c;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.navigation__link:hover {
  color: #ce0e0e;
  position: relative;
}

/* 현재 페이지 활성 상태 스타일 */
.navigation__link.active {
  color: #ce1122;
  position: relative;
}

.navigation__link.active::after {
  content: "";
  position: absolute;
  bottom: -2px; /* 더 아래로 이동 */
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2.5px;
  background-color: #ce1122;
}

.navigation__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: 3px solid #ce0e0e;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
  overflow: hidden;
}

.navigation__item:hover .navigation__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navigation__submenu li {
  display: table;
  width: 100%;
}

.navigation__sublink {
  display: table-cell;
  vertical-align: middle;
  width: 200px;
  height: 40px;
  text-align: center;
  color: #606060;
  font-size: 1.4rem;
  font-weight: normal;
  letter-spacing: -0.05rem;
  transition: color 0.2s ease;
}

.navigation__sublink:hover {
  color: #ce0e0e;
}

.header__utils {
  margin-top: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 100px;
}

.header__language {
  margin: 0;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #434343;
  font-size: 1.3rem;
}

.header__language > span {
  margin: 0 0.5rem;
}

.header__language a {
  color: #434343;
  transition: color 0.2s ease;
}

.header__language a:hover {
  color: #ce0e0e;
}

.header__extra img {
  width: 120px;
}

/* PC 헤더 반응형 조정 */
@media (max-width: 1200px) {
  .navigation__link {
    padding: 3rem 2.5rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .navigation__link {
    padding: 2.5rem 2rem;
    font-size: 1.3rem;
  }
}

/* 모바일 전용: 헤더와 히어로(슬라이더) 사이 여백 축소 */
@media (max-width: 768px) {
  .mb_header {
    min-height: 56px;
    padding: 0 1rem;
  }

  .header__container {
    min-height: 56px;
    padding: 0 1rem;
  }

  .menu_btn {
    right: 0.6rem;
  }

  .menu_btn img {
    height: 20px;
  }

  /* 히어로 높이를 낮춰 모바일에서 불필요한 공백 제거 */
  .hero {
    height: 60vh;
    min-height: 280px;
  }

  /* 이미지가 위쪽을 우선으로 보여주게 조정 */
  .hero__image {
    object-position: top center;
  }

  /* 추가적으로 작은 화면에서 로고를 더 줄임 , 모바일 헤더 로고 */
  .header__logo img,
  .mb_header h1 img {
    width: 120px;
  }
}

/* ===========================================
   메인 비주얼 슬라이더 (Hero)
=========================================== */
.hero {
  width: 100vw;
  height: 100vh;
  min-height: 500px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

/* 슬라이더 관련 CSS는 home.php에서 관리함 */

/* ===========================================
   Core Values 섹션
=========================================== */
.core-values {
  padding: 15rem 0;
  background-color: #fff;
}

.core-values__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  margin-top: 10rem;
}

.core-values__item {
  flex: 0 0 auto;
  width: 300px;
  text-align: center;
}

.core-values__icon {
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-values__icon img {
  object-fit: contain;
}

.core-values__text {
  color: #666;
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
}

.core-values__highlight {
  color: #e31010;
  font-weight: 600;
}

/* ===========================================
   사업분야 섹션 (Business)
=========================================== */
.business {
  padding: 15rem 0;
  background: url("../new_images/main/con2_bg.jpg") no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.business__grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -2rem;
  gap: 2rem;
}

.business__item {
  width: calc(20% - 2rem);
  margin-top: 3rem;
  padding-left: 2rem;
  overflow: hidden;
  position: relative;
  min-height: 320px;
  transition: transform 0.3s ease;
}

.business__item:hover {
  transform: translateY(-5px);
}

.business__link {
  color: #fff;
  display: block;
  overflow: hidden;
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.business__link:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.business__image {
  width: 100%;
  aspect-ratio: 380 / 400;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f3f4f6; /* 로딩 전이나 이미지 없을 때 대비 */
}

.business__item:hover .business__image {
  transform: scale(1.03);
}

.business__content {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.business__icon {
  position: relative;
  z-index: 10;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.business__item:hover .business__icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.business__title {
  margin-top: 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.business__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ce1122, #ff6b6b);
  transition: width 0.3s ease;
}

.business__item:hover .business__title::after {
  width: 60px;
}

.business__description {
  font-size: 1.4rem; /* 1.4rem -> 1.6rem (+2px) */
  opacity: 0.85;
  line-height: 1.6;
  transition: all 0.3s ease;
  margin: 0;
}

.business__item:hover .business__description {
  opacity: 1;
  transform: translateY(-2px);
}

/* Ensure section title inside the business section is white */
.business .section-title {
  color: #fff;
}

/* ===========================================
   공지사항 & 찾아오시는 길 섹션 (Info)
=========================================== */
.info {
  padding: 10rem 0;
  background-color: #fff;
}

.info__grid {
  display: flex;
  margin-left: -3rem;
}

.info__section {
  flex: 1;
  position: relative;
  padding-left: 5rem;
  padding-right: 5rem;
}

.info__section:last-child {
  padding-right: 2rem;
}

.info__title {
  position: relative;
  margin-bottom: 8rem;
  color: #000;
  font-size: 2rem;
  font-weight: 500;
  text-align: left;
}

.info__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  width: 40px;
  height: 2px;
  background-color: #ce1122;
}

.info__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ce1122;
  font-size: 1.3rem; /* 0.9rem에서 1.1rem으로 증가 */
  font-weight: 500;
  text-decoration: none;
  padding: 10px 18px; /* 패딩도 약간 증가 */
  border: 1px solid rgba(206, 17, 34, 0.2);
  border-radius: 20px;
  background: rgba(206, 17, 34, 0.05);
  transition: all 0.3s ease;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.info__more:hover {
  background: #ce1122;
  color: white;
  border-color: #ce1122;
  transform: translateY(-50%) translateX(2px);
  box-shadow: 0 4px 12px rgba(206, 17, 34, 0.3);
}

.info__more::after {
  content: "→";
  font-size: 1rem; /* 0.8rem에서 1rem으로 증가 */
  transition: transform 0.2s ease;
}

.info__more:hover::after {
  transform: translateX(2px);
}

.notice-list li a {
  display: block;
  overflow: hidden;
  margin-bottom: 2rem;
  color: #252525;
  font-size: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.notice-list li a p {
  color: #454545;
  font-size: 1.4rem;
  margin-top: 1rem;
}

/* 지도 스타일 */
.location {
  width: 100%;
}

.location__map {
  border: 1px solid #ddd;
  padding: 1rem;
  background-color: #fff;
  margin-bottom: 2rem;
}

.map-container {
  width: 100%;
}

.location__info {
  text-align: center;
}

.location__address {
  margin-top: 1.5rem;
  color: #000;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.location__address img {
  vertical-align: middle;
}

.location__contact {
  border-top: 1px solid #ddd;
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.location__tel {
  color: #101111;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.location__email {
  color: #000;
  font-size: 1.3rem;
}

/* ===========================================
   푸터 (Footer)
=========================================== */
.footer {
  width: 100%;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  padding: 20px 0;
  margin-top: 50px;
  clear: both;
  overflow: hidden;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: fit-content;
}

.footer__logo {
  flex-shrink: 0;
}

.footer__logo img {
  width: 80px;
  height: 15px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.footer__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.footer__company {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

.footer__company strong {
  color: #495057;
}

.footer__company a {
  color: #6c757d;
  text-decoration: underline;
}

.footer__company a:hover {
  color: #495057;
}

.footer__copyright {
  margin: 0;
  font-size: 13px;
  color: #6c757d;
}

/* ===========================================
   반응형 미디어 쿼리 - PC에서 모바일로
=========================================== */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }

  .header--mobile {
    display: none;
  }

  .header--pc {
    display: block;
  }
}

/* 모바일에서 헤더 높이에 맞춰 패딩 조정 */
@media (max-width: 768px) {
  body {
    padding-top: 0px; /* 모바일 헤더 높이에 맞춤 */
  }

  .mobile-only {
    display: block;
  }

  .header--pc {
    display: none;
  }

  /* 모바일에서 Core Values 레이아웃 변경 */
  .core-values__grid {
    flex-direction: column;
    gap: 2.2rem;
    align-items: stretch;
    padding: 0 0.8rem; /* 좌우 전체 패딩으로 정렬 보정 */
    margin-top: 3rem; /* 데스크탑 대비 축소된 상단 여백 */
  }

  .core-values__item {
    width: 100%;
    display: flex;
    flex-direction: column; /* 이미지 위, 텍스트 아래로 쌓임 */
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 0.6rem 0; /* 아이템 내부 세로 여백 유지 */
  }

  .core-values__icon {
    height: 250px;
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .core-values__icon img {
    height: 230px;
    object-fit: contain;
  }

  .core-values__text {
    font-size: 1.45rem;
    margin: 0.5rem 0 0;
    flex: none;
    text-align: center;
    line-height: 1.5;
  }

  /* 모바일에서 사업분야 레이아웃 변경: 좌우 여백 균형화 */
  .business__grid {
    flex-direction: row;
    margin-left: 0;
    margin-right: 0;
    gap: 1rem; /* 아이템 사이 간격 */
    justify-content: space-between;
    padding: 0 0.5rem; /* 좌우 전체 패딩으로 균형 맞춤 */
  }

  .business__item {
    width: calc(50% - 0.5rem);
    margin: 0.8rem 0;
    padding-left: 0;
    min-height: 240px;
  }

  .business__item:nth-child(5) {
    width: calc(50% - 0.5rem);
    margin: 0.8rem 0;
  }

  .business__link {
    padding: 1rem;
    border-radius: 12px;
  }

  .business__content {
    margin-top: -1rem;
  }

  .business__title {
    font-size: 1.6rem;
    margin-top: 1.5rem;
  }

  .business__description {
    font-size: 1.5rem; /* 1.3rem -> 1.5rem (+2px) */
  }

  /* 모바일에서 공지사항 & 지도 레이아웃 변경 */
  .info__grid {
    flex-direction: column;
    margin-left: 0;
  }

  .info__section {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 5rem;
  }

  .info__section:last-child {
    padding-right: 0;
    margin-bottom: 0;
  }

  /* 모바일에서 푸터 레이아웃 변경 */
  .footer__container {
    flex-direction: column;
    text-align: left;
    gap: 20px;
    align-items: center;
  }

  .footer__info {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .footer__company,
  .footer__copyright {
    text-align: left;
    margin: 0;
  }

  .footer__logo {
    margin-right: 0;
  }

  /* 모바일에서 히어로 높이 조정 */
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  /* 모바일에서 더보기 버튼 조정 */
  .info__more {
    position: static;
    transform: none;
    margin-top: 12px;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 16px;
  }

  .info__more:hover {
    transform: translateX(2px);
  }

  .info__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* 모바일에서 섹션 패딩 조정 */
  .core-values,
  .business,
  .info {
    padding: 8rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 1023px) and (min-width: 769px) {
  /* 태블릿용 스타일은 home.php에서 관리 */
}

@media (max-width: 480px) {
  html {
    font-size: 55%;
  }

  .section-title {
    font-size: 2.4rem;
    margin-bottom: 6rem;
  }

  .core-values__grid {
    gap: 2rem;
  }

  .core-values__item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .core-values__icon {
    width: 100px;
    height: 100px;
  }

  .core-values__icon img {
    width: 80px;
    height: 80px;
  }

  .core-values__text {
    text-align: center;
    font-size: 1.3rem;
  }

  /* 초소형 모바일용 스타일은 home.php에서 관리 */
}

/* ===========================================
   공지사항 리스트 스타일 (메인 페이지용) - 간단 버전
   주의: 서브페이지(notice.php)의 테이블 스타일과 분리
=========================================== */
.info__section .notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info__section .notice-item {
  transition: background-color 0.2s ease;
  border: none; /* 모든 border 초기화 */
}

.info__section .notice-item:hover {
  background-color: #f8f9fa;
}

.info__section .notice-link {
  display: block;
  padding: 1.6rem 0;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.info__section .notice-link:hover {
  color: #0066cc;
}

.info__section .notice-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.info__section .notice-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info__section .notice-date {
  font-size: 1.2rem;
  color: #666;
}

/* 로딩, 오류, 빈 상태 스타일 (메인 페이지용) */
.info__section .notice-loading,
.info__section .notice-error,
.info__section .notice-empty {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 1.3rem;
}

.info__section .notice-error {
  color: #e74c3c;
}

.info__section .notice-loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #0066cc;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.8rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 모바일 대응 (메인 페이지용) */
@media (max-width: 768px) {
  .info__section .notice-link {
    padding: 1.2rem 0;
  }

  .info__section .notice-title {
    font-size: 1.3rem;
  }

  .info__section .notice-date {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .info__section .notice-content {
    gap: 0.6rem;
  }

  .info__section .notice-title {
    font-size: 1.2rem;
  }

  .info__section .notice-date {
    font-size: 1rem;
  }
}
