/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #ffc451;
  text-decoration: none;
}

a:hover {
  color: #ffd584;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Pop Up
--------------------------------------------------------------*/
.divpop {
  padding: 10px 0;
  overflow: hidden;
}

.divpop-title {
  padding-bottom: 0px;
}
.divpop-title h4 {
  font-size: 26px;
  font-weight: 800;
  padding: 0;
  line-height: 30px;
  margin-left: 18px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
}
.divpop-title h6 {
  font-size: 17px;
  font-weight: 600;
  padding: 0;
  line-height: 10px;
  margin: 0 0 5px 0;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
}

.divpop h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #ffde9e;
  margin: 4px 10px;
}

.divpop-title p {
  margin-top: 10px;
  margin-left: 20px;
  margin-bottom: 5px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #000000;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #ffc451;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #151515;
  line-height: 0;
}

.back-to-top:hover {
  background: #151515;
}

.back-to-top:hover i {
  color: #ffc451;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #151515;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 0px);
  left: calc(50% - 30px);
  border: 6px solid #ffc451;
  border-top-color: #151515;
  border-bottom-color: #151515;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
}

#header.header-scrolled, #header.header-inner-pages {
  background: rgba(0, 0, 0, 0.8);
}

#header .logo {
  font-size: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#header .logo a {
  color: #fff;
}

#header .logo a span {
  color: #ffc451;
}

#header .logo img {
  max-height: 75px;
  width: auto;
}

#header .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #292929;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #ffc451;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #151515;
  font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  background-color: #ffc451;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: #151515;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #151515;
  background-color: #ffc451;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
  color: #151515;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  background-color: #ffc451;
}

.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section (1600x800 대형 와이드 배너 최적화)
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 860px !important;
  min-height: 860px !important;
  max-height: 860px !important;
  background: #111 url("../img/hero-bg.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.2); /* 이미지의 화살표 라인이 선명하게 보이도록 명암 최적화 */
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/* 1600px 기준 좌측 헤더 로고 라인 정렬 */
#hero .container-fluid {
  position: relative;
  z-index: 2;
  max-width: 1600px !important;
  padding-left: 50px !important;
  padding-right: 50px !important;
  padding-top: 0 !important;
  margin-top: -60px !important;    /* 800px 높이에서 텍스트가 이미지 중앙보다 살짝 위에 오도록 보정 */
  text-align: left !important;
}

/* 메인 타이틀: 선명한 순백색 + 또렷한 그림자 */
#hero h1,
#hero .hero-title {
  margin: 0 0 14px 0 !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  color: #ffffff !important;           /* ⭐ 텍스트 순백색 강제 */
  text-align: left !important;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.9) !important;
}

/* 슬로건 본문: 밝은 화이트톤 */
#hero h2,
#hero .hero-slogan {
  color: #f8fafc !important;           /* ⭐ 어두워지지 않도록 밝은 색상 지정 */
  margin: 0 !important;
  font-weight: 500 !important;
  font-size: 20px !important;
  line-height: 1.6 !important;
  text-align: left !important;
  word-break: keep-all;
  max-width: 900px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

/* 강조 포인트 단어 (Better Society 등) */
#hero .hero-title span,
#hero h1 span {
  color: #ffc451 !important;           /* 골드 포인트 컬러 유지 */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
}
/* 모바일 화면 대응 */
@media (max-width: 768px) {
  #hero {
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
  }
  #hero .container-fluid {
    margin-top: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  #hero h1,
  #hero .hero-title {
    font-size: 28px !important;
  }
  #hero h2,
  #hero .hero-slogan {
    font-size: 15px !important;
  }
}

/*--------------------------------------------------------------
# Hero Section 2 (서브페이지 상단 배너)
--------------------------------------------------------------*/
#hero2 {
  width: 100%;
  height: 320px !important;
  min-height: 320px !important;
  background: url("../img/hero2-bg.jpg") top center;
  background-size: cover;
  position: relative;
}

#hero2:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero2 .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
  padding-bottom: 5px !important;
  padding-right: 15px !important;
  text-align: right !important;
}

#hero2 .container > div,
#hero2 .container .row {
  width: 100% !important;
  display: flex !important;
  justify-content: flex-end !important;
  margin: 0 !important;
}

#hero2 h1,
#hero2 h3 {
  margin: 0 !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  font-family: "Poppins", sans-serif;
  text-align: right !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #ffde9e;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #151515;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 22px;
  color: #000000;
  font-family: "Poppins", sans-serif;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Service
--------------------------------------------------------------*/
.service .icon-box {
  padding-left: 10px;
}

.service .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.service .icon-box i {
  font-size: 48px;
  float: left;
  color: #ffc451;
}

.service .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.service-h-desc h3 {
  font-weight: 600;
  font-size: 22px;
  color: #000000;
  font-family: "Poppins", sans-serif;
}

.service-h-desc {
  padding: 10px 5px 45px 10px;
}

.service-h-tab {
  position: relative;
  margin: 5px 0;
}

.service-h-tab .nav-tabs>a {
  border-radius: 0;
  width: 256px;
  text-align: center;
  height: 55px;
  line-height: 40px;
  border: 1px solid #ddd;
}

.service-h-tab .nav-tabs>a.active {
  color: #fff;
  border: 1px solid #ffc451;
  background: #ffc451;
}

.service-h-tab .tab-content .tab-pane {
  padding: 20px 20px 0px 10px;
}

.service .content ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.service .content ul li {
  padding: 0 0 5px 26px;
  position: relative;  
  margin-left: 60px;
}

.service .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: #ffc451;
}

@media (max-width: 767px) {
  .service-h-tab .nav-tabs>a {
    border-radius: 0;
    width: 100%;
    text-align: center;
    height: 55px;
    line-height: 40px;
    border: 1px solid #ddd;
  }
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(2, 2, 2, 0.8), rgba(0, 0, 0, 0.8)), url("../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: #fff;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  border-top: 3px solid #ffc451;
  border-bottom: 3px solid #ffc451;
  padding: 30px;
  background: #fff;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
}

.contact .info i {
  font-size: 20px;
  color: #ffc451;
  float: left;
  width: 44px;
  height: 44px;
  background: #fdf0d6;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 5px;
  color: #000000;
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #000000;
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .social-links {
  padding-left: 60px;
}

.contact .info .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #333;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  margin-right: 10px;
}

.contact .info .social-links a:hover {
  background: #47b2e4;
  color: #fff;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #ffc451;
  color: #fff;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: black;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #151515;
  border-bottom: 1px solid #222222;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  margin-top: 20px;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #292929;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #ffc451;
  color: #151515;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ffc451;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #ffc451;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

#footer .footer-top .logo img {
  max-height: 73px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

/*--------------------------------------------------------------
# History Timeline Section
--------------------------------------------------------------*/
.Timeline-page {
  padding: 40px 0 80px 0;
}

.main-timeline {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.main-timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #e9ecef;
  transform: translateX(-50%);
}

.main-timeline .timeline {
  width: 50%;
  padding: 10px 40px;
  position: relative;
  box-sizing: border-box;
  float: left;
  clear: both;
}

.main-timeline .timeline:nth-child(odd) {
  text-align: right;
}

.main-timeline .timeline:nth-child(even) {
  float: right;
  text-align: left;
}

.main-timeline .timeline-icon {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid #ffc451;
  border-radius: 50%;
  position: absolute;
  top: 25px;
  z-index: 2;
}

.main-timeline .timeline:nth-child(odd) .timeline-icon {
  right: -9px;
}

.main-timeline .timeline:nth-child(even) .timeline-icon {
  left: -9px;
}

.main-timeline .timeline-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.main-timeline .timeline-content:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: #ffc451;
}

.main-timeline .date {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #ffc451;
  background: #2a2a2a;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.main-timeline .title {
  font-size: 18px;
  font-weight: 700;
  color: #151515;
  margin-bottom: 8px;
}

.main-timeline .description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .main-timeline:before {
    left: 20px;
  }
  .main-timeline .timeline {
    width: 100%;
    padding: 10px 0 10px 45px;
    float: none !important;
    text-align: left !important;
  }
  .main-timeline .timeline-icon {
    left: 11px !important;
    right: auto !important;
  }
}

/*--------------------------------------------------------------
# Academic History Custom Styles
--------------------------------------------------------------*/
.history-section {
  padding: 60px 0 80px 0;
}

.history-tabs .nav-link {
  color: #444;
  background: #f4f4f4;
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 15px;
  margin: 0 8px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s;
}

.history-tabs .nav-link:hover {
  color: #151515;
  background: #e9ecef;
}

.history-tabs .nav-link.active {
  background: #ffc451;
  color: #151515;
  border-color: #ffc451;
  box-shadow: 0 4px 10px rgba(255, 196, 81, 0.3);
}

.history-year-group {
  margin-bottom: 40px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.history-year {
  background: #222;
  color: #ffc451;
  font-size: 17px;
  font-weight: 700;
  padding: 12px 25px;
  letter-spacing: 0.5px;
}

.history-items {
  padding: 10px 20px;
}

.h-row {
  display: flex;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14.5px;
  transition: background 0.2s;
}

.h-row:last-child {
  border-bottom: none;
}

.h-row:hover {
  background: #fafafa;
}

.h-round {
  display: inline-block;
  min-width: 65px;
  font-weight: 700;
  color: #151515;
  font-size: 13px;
  background: #f6f6f6;
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.h-date {
  min-width: 95px;
  color: #888;
  font-size: 13.5px;
  font-family: 'Raleway', sans-serif;
  margin-right: 20px;
  flex-shrink: 0;
}

.h-title {
  flex-grow: 1;
  font-weight: 600;
  color: #333;
  margin-right: 20px;
}

.h-place {
  color: #777;
  font-size: 13.5px;
  text-align: right;
  flex-shrink: 0;
  max-width: 250px;
}

/*--------------------------------------------------------------
# Notice Responsive Table Styles
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .notice-table-wrap {
    overflow-x: hidden;
    width: 100%;
  }

  .notice-table {
    width: 100%;
    table-layout: fixed;
  }

  .notice-table thead {
    display: table-header-group !important;
  }
  .notice-table tbody {
    display: table-row-group !important;
  }
  .notice-table tr {
    display: table-row !important;
  }
  .notice-table th,
  .notice-table td {
    display: table-cell !important;
    vertical-align: middle;
  }

  .notice-table thead th:nth-child(1),
  .notice-table tbody td:nth-child(1) {
    width: 46px !important;
    min-width: 46px !important;
    padding: 10px 2px !important;
    text-align: center;
    white-space: nowrap !important;
  }

  .badge-notice {
    display: inline-block !important;
    font-size: 11px !important;
    padding: 2px 4px !important;
    white-space: nowrap !important;
    letter-spacing: -0.5px;
  }

  .notice-table thead th:nth-child(2) {
    padding-left: 8px !important;
  }
  .notice-title {
    padding: 10px 6px 10px 8px !important;
  }
  .notice-title a {
    font-size: 13.5px;
    line-height: 1.35;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .notice-table thead th:nth-child(3),
  .notice-table tbody td:nth-child(3) {
    width: 32px !important;
    min-width: 32px !important;
    padding: 10px 0 !important;
    text-align: center;
  }
  .notice-table td:nth-child(3) i {
    font-size: 14px !important;
  }

  .notice-table thead th:nth-child(4),
  .notice-table tbody td:nth-child(4) {
    width: 72px !important;
    min-width: 72px !important;
    padding: 10px 2px !important;
    font-size: 11px !important;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.5px;
  }

  .notice-table thead th:nth-child(5),
  .notice-table tbody td:nth-child(5) {
    width: 38px !important;
    min-width: 38px !important;
    padding: 10px 2px !important;
    font-size: 11px !important;
    text-align: center;
    white-space: nowrap;
  }

  .notice-table thead th {
    font-size: 12px !important;
    padding: 8px 2px !important;
  }

  .notice-top-bar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  .notice-search {
    width: 100%;
  }
  .notice-search input {
    flex-grow: 1;
  }
}

/*--------------------------------------------------------------
# Executives Custom Styles
--------------------------------------------------------------*/
.executive-section {
  padding: 60px 0 80px 0;
}

.exec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0 auto 35px auto;
}

.exec-tabs .nav-link {
  color: #444;
  background: #f4f4f4;
  border-radius: 20px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.exec-tabs .nav-link:hover {
  color: #151515;
  background: #e9ecef;
}

.exec-tabs .nav-link.active {
  background: #ffc451 !important;
  color: #151515 !important;
  border-color: #ffc451 !important;
  box-shadow: 0 4px 10px rgba(255, 196, 81, 0.3);
}

.exec-group-box {
  width: 100%;
  margin-bottom: 40px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.exec-header {
  background: #1f1f1f !important;
  color: #ffc451 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 14px 25px !important;
  letter-spacing: 0.5px;
  border-left: 5px solid #ffc451;
}

.exec-items {
  padding: 15px 25px;
}

.e-row {
  display: flex;
  align-items: flex-start;
  padding: 14px 10px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14.5px;
}

.e-row:last-child {
  border-bottom: none;
}

.e-badge {
  display: inline-block;
  min-width: 85px;
  font-weight: 700;
  color: #151515;
  font-size: 13px;
  background: #f1f1f1;
  padding: 4px 8px;
  border-radius: 4px;
  text-align: center;
  margin-right: 25px;
  flex-shrink: 0;
  margin-top: 2px;
}

.e-names {
  flex-grow: 1;
  color: #333;
  line-height: 1.7;
}

.e-names strong {
  color: #111;
  font-size: 15.5px;
}

.role-tag {
  display: inline-block;
  font-weight: 700;
  color: #555;
  font-size: 13px;
  margin-right: 4px;
}

@media (max-width: 768px) {
  .exec-tabs {
    gap: 6px;
  }
  .exec-tabs .nav-link {
    font-size: 12.5px;
    padding: 6px 12px;
  }
  .exec-group-box {
    margin-bottom: 25px;
  }
  .e-row {
    flex-direction: column;
    padding: 12px 5px;
  }
  .e-badge {
    margin-bottom: 8px;
  }
}

/*--------------------------------------------------------------
# Organization (조직도) 스타일
--------------------------------------------------------------*/
.org-section {
  padding: 60px 0 80px 0;
}

.org-intro-banner {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.intro-sub {
  font-size: 14px;
}
.intro-main {
  font-size: 16px;
  color: #222;
}
.intro-kopof {
  font-size: 24px;
  font-weight: 800;
  color: #1a1e21;
  letter-spacing: 2px;
  font-family: 'Raleway', sans-serif;
}

.org-tree-wrapper {
  background: #ffffff;
  border: 1px solid #ededed;
  border-radius: 12px;
  padding: 45px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.org-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  min-width: 140px;
}

.node-primary {
  background: #1a1e21;
  color: #ffc451;
  font-size: 17px;
  border: 1px solid #2d3238;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  padding: 14px 36px;
}

.node-main {
  background: #212529;
  color: #ffffff;
  font-size: 15.5px;
  border: 1px solid #343a40;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.node-sub-main {
  background: #f8fafc;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  font-size: 14.5px;
  width: 100%;
}

.node-sub {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.org-directors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.node-board {
  background: #212529;
  color: #ffffff;
  border: 1px solid #343a40;
  font-size: 15px;
  width: 100%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.org-line-v {
  width: 2px;
  height: 26px;
  background-color: #d1d5db;
  margin: 0 auto;
}
.org-line-v-sm {
  width: 2px;
  height: 12px;
  background-color: #d1d5db;
  margin: 0 auto;
}
.org-line-v-xs {
  width: 2px;
  height: 10px;
  background-color: #d1d5db;
  margin: 0 auto;
}
.org-line-divider {
  height: 1px;
  background-color: #e5e7eb;
  width: 92%;
  margin: 0 auto;
}

.org-leadership-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.org-center {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.org-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.left-side {
  align-items: center;
}

.corner-line-left {
  position: absolute;
  top: 24px;
  right: 0;
  left: 50%;
  height: 24px;
  border-top: 2px solid #d1d5db;
  border-left: 2px solid #d1d5db;
  z-index: 1;
}

.left-side .node-sub {
  margin-top: 46px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 200px;
}

.right-side {
  align-items: center;
}

.corner-line-right {
  position: absolute;
  top: 24px;
  left: 0;
  right: 50%;
  height: 24px;
  border-top: 2px solid #d1d5db;
  border-right: 2px solid #d1d5db;
  z-index: 1;
}

.right-nodes {
  margin-top: 46px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 200px;
}

.right-nodes .node-sub {
  width: 100%;
}

.committee-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  height: 100%;
}

.committee-header {
  background: #212529;
  text-align: center;
  padding: 12px 10px;
  border-bottom: 2px solid #ffc451;
}

.committee-header h5 {
  font-size: 15px;
  font-weight: 700;
  color: #ffc451;
  margin: 0;
  letter-spacing: 0.5px;
}

.committee-body {
  background: #ffffff;
  padding: 18px 16px;
}

.committee-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.committee-list li {
  font-size: 13.5px;
  color: #334155;
  padding: 6px 0;
  position: relative;
  padding-left: 14px;
  line-height: 1.45;
  border-bottom: 1px dashed #f1f5f9;
}

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

.committee-list li::before {
  content: "▪";
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-size: 11px;
}

.committee-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 10px;
}

@media (max-width: 768px) {
  .org-tree-wrapper {
    padding: 25px 12px;
  }
  .org-leadership-section {
    flex-direction: column;
    gap: 16px;
  }
  .corner-line-left,
  .corner-line-right {
    display: none;
  }
  .left-side .node-sub,
  .right-nodes {
    margin-top: 0;
    max-width: 220px;
  }
  .org-directors-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .committee-two-col {
    grid-template-columns: 1fr;
  }
}
/* 상단 헤더(로고 ~ 오시는길)와 하단 4개 카드 좌우 끝선 완벽 일치 */
#main-news .container-custom {
  width: 100% !important;
  max-width: 1400px !important; /* 상단 로고 및 우측 메뉴 끝선 기준 폭 */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* 글자 영역을 검은 오버레이(before) 위로 완전히 올림 */
#hero .container,
#hero .container-fluid,
#hero .container-custom {
  position: relative !important;
  z-index: 5 !important; /* ::before 막(z-index: 1)보다 높은 값 */
}

#hero h1,
#hero h2,
#hero .hero-title,
#hero .hero-slogan {
  position: relative !important;
  z-index: 5 !important;
  color: #ffffff !important;
}
/* Hero 텍스트 좌측 여백 조절 (오른쪽으로 이동) */
#hero .container,
#hero .container-fluid,
#hero .container-custom {
  padding-left: 80px !important; /* ⭐ 기본값(50px)에서 늘릴수록 오른쪽으로 이동합니다 (예: 80px ~ 120px) */
}

/*--------------------------------------------------------------
# Clients Slider 로고 위치 및 점(Pagination) 분리
--------------------------------------------------------------*/
.clients {
  padding: 30px 0 20px 0 !important;
  overflow: visible !important;
}

.clients .clients-slider {
  padding-bottom: 35px !important; /* 점(pagination)이 들어갈 하단 공간 확보 */
  position: relative;
}

.clients .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clients .swiper-slide img {
  opacity: 0.85;
  transition: 0.3s;
  margin-bottom: 10px; /* 로고 이미지를 점 위로 올림 */
}

.clients .swiper-slide img:hover {
  opacity: 1;
}

/* 하단 점(pagination)을 로고 아래로 내리기 */
.clients .swiper-pagination {
  position: absolute;
  bottom: 0px !important;
  left: 0;
  width: 100%;
  text-align: center;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #d1d5db;
  opacity: 1;
  margin: 0 4px;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #ffc451 !important;
}

/*--------------------------------------------------------------
# Footer 여백/줄간격 보정 및 단일 톤다운
--------------------------------------------------------------*/
#footer {
  background: #111111 !important;
  padding: 30px 0 24px 0 !important; /* 상하 여백 적당하게 확장 */
  text-align: center !important;
}

/* 1. 상단 타이틀 & 주소 정보 텍스트 */
#footer h4,
#footer .footer-title,
#footer p {
  color: #777777 !important;
  margin: 0 !important;
  line-height: 1.6 !important;       /* 주소 줄간격 여유 부여 */
  font-size: 13.5px !important;
}

#footer h4,
#footer .footer-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #888888 !important;
  margin-bottom: 6px !important;    /* 타이틀과 주소 사이 간격 */
}

/* 2. 주소와 Copyright 사이 간격 및 줄간격 */
#footer .copyright {
  padding-top: 10px !important;     /* 주소와 카피라이트 사이 간격 */
  font-size: 12.5px !important;
  color: #666666 !important;
  line-height: 1.5 !important;
}

/* 3. 노란색 제거 -> 전체 텍스트와 동일한 차분한 톤으로 통일 */
#footer .copyright strong,
#footer .copyright span {
  color: #777777 !important;       /* 옐로우 제외, 톤다운 그레이 적용 */
  font-weight: 600 !important;
}

/*--------------------------------------------------------------
# 서브페이지(포럼소개 등) 본문 볼륨 및 줄간격 확장 (푸터 하단 밀어내기)
--------------------------------------------------------------*/
/* 1. 소개 섹션 상하 여백 여유 있게 확장 */
.about, 
section.about {
  padding: 70px 0 100px 0 !important; /* 상하 여백을 늘려 푸터를 아래로 밈 */
  min-height: calc(100vh - 350px);    /* 최소 높이를 확보하여 항상 1화면 채움 */
}

/* 2. 소제목 크기 및 하단 간격 */
.about .content h3 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.5px;
}

/* 3. 본문 단락 줄간격(line-height), 단락 간 간격(margin-bottom), 자간 조절 */
.about .content p {
  font-size: 15.5px !important;       /* 텍스트 크기 살짝 확대 */
  line-height: 1.85 !important;       /* 줄간격을 넓혀 읽기 편하게 조정 */
  letter-spacing: -0.2px !important;  /* 한글 최적 자간 */
  color: #444444 !important;
  margin-bottom: 20px !important;     /* 단락과 단락 사이의 여백을 넉넉하게 */
  word-break: keep-all;              /* 단어 단위 줄바꿈으로 깔끔하게 정렬 */
}

.about .content p:last-child {
  margin-bottom: 0 !important;
}

/* 4. 우측 대표 이미지 높이 밸런스 */
.about .img-fluid,
.about img {
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  height: auto;
}

/* 소개 페이지 회장 직함 및 서명 스타일 (여백 확장 & 글자 확대) */
.president-sign {
  margin-top: 45px !important;       /* 본문과의 간격을 대폭 넓혀 아래로 내림 (필요시 50px~60px로 조절) */
  padding-top: 20px !important;
  border-top: 1px dashed #e2e8f0;   /* 은은한 구분선 */
}

.president-sign .forum-title {
  font-size: 17px !important;       /* 직함 크기 확대 (기존 15px -> 17px) */
  font-weight: 600 !important;
  color: #4b5563 !important;
  margin-right: 10px !important;
}

.president-sign .president-name {
  font-size: 23px !important;       /* 성함 크기 확대 (기존 19px -> 23px) */
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: 3px !important;   /* 이름 글자 사이 간격을 주어 묵직한 서명 느낌 부여 */
  font-family: "Raleway", "Nanum Myeongjo", serif, sans-serif;
}

/*--------------------------------------------------------------
# 소개(OVERVIEW) 텍스트와 이미지 간격 조정 및 서명 끝선 정렬
--------------------------------------------------------------*/
/* 1. 텍스트와 이미지 사이의 간격을 붉은 선 지점까지 좁힘 */
.about .row {
  --bs-gutter-x: 2rem !important; /* 좌우 컬럼 간격을 좁혀 텍스트 영역 확장 */
}

/* 2. 텍스트 그룹 내부 본문 폭 및 여백 설정 */
.about .content {
  padding-right: 15px !important;  /* 이미지와의 우측 여백을 최소화하여 텍스트를 붉은 선까지 확장 */
}

.about .content p {
  word-break: keep-all;
  line-height: 1.85 !important;
}

/* 3. 회장 서명 영역: 붉은 수직선 기준선에 우측 끝 맞춤 */
.president-sign {
  margin-top: 50px !important;
  padding-top: 20px !important;
  border-top: 1px dashed #e2e8f0;
  text-align: right !important;
  padding-right: 10px !important;  /* 붉은 선에 맞춰 서명 우측 끝선 정렬 */
}

.president-sign .forum-title {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #4b5563 !important;
  margin-right: 10px !important;
}

.president-sign .president-name {
  font-size: 23px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: 3px !important;
  font-family: "Raleway", "Nanum Myeongjo", serif, sans-serif;
}

/*--------------------------------------------------------------
# 정관 및 규정 탭 버튼 톤앤매너 (연혁 페이지와 통일)
--------------------------------------------------------------*/
/* 1. 기본(비활성) 탭 버튼 */
#reg-tab .nav-link {
  color: #4b5563 !important;           /* 파란색 제거 -> 차분한 짙은 그레이 */
  background-color: transparent !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  transition: all 0.25s ease-in-out;
}

#reg-tab .nav-link:hover {
  color: #1f2937 !important;
  background-color: #f3f4f6 !important;
}

/* 2. 선택된(활성) 탭 버튼 - 옐로우/오렌지 톤 적용 */
#reg-tab .nav-link.active {
  background-color: #ffb43a !important; /* 연혁 탭과 동일한 옐로우 컬러 */
  color: #111827 !important;           /* 선명한 텍스트 */
  box-shadow: 0 4px 14px rgba(255, 180, 58, 0.4) !important;
}

/* 정관 및 규정 카드 외곽선/그림자 또렷하게 보정 */
#reg-tabContent .card {
  border: 1px solid #e2e8f0 !important; /* 옅은 실선 테두리 추가 */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important; /* 그림자 농도 및 깊이감 강화 */
  transition: all 0.3s ease;
}

/*--------------------------------------------------------------
# 조직도 모바일 쏠림 단독 보정 (PC 버전 완벽 유지)
--------------------------------------------------------------*/
@media (max-width: 768px) {
  /* 모바일에서 혼자 왼쪽으로 쏠린 '감사' 박스를 다른 박스들과 동일하게 중앙/풀사이즈로 확장 */
  #organization .container,
  .organization .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 감사 박스를 감싸는 컬럼이나 감사 버튼 자체를 모바일에서 중앙 정렬 */
  #organization div[class*="audit"],
  #organization .col-md-3,
  #organization .col-lg-3,
  .org-chart .audit-node,
  .organization .audit {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 10px auto !important;
    display: block !important;
    float: none !important;
    text-align: center !important;
  }

  /* 박스 내부 버튼/컨텐츠 가로 정렬 */
  #organization .card,
  #organization .btn,
  #organization .box {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/*--------------------------------------------------------------
# 푸터 상단 3단 배너 (동일 구조 정렬 & 옐로우 호버 모션)
--------------------------------------------------------------*/
/* 1, 3열 기본 스타일 */
.footer-top-banner-section .banner-side-icon {
  font-size: 42px !important;
  color: #b0b0b0 !important;
  line-height: 1 !important;
}

.footer-top-banner-section .banner-title {
  font-size: 15.5px !important;
  color: #111111 !important;
  letter-spacing: -0.3px;
}

.footer-top-banner-section .banner-desc {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
}

/* 2열 중앙(입회안내) 호버 버튼 */
.membership-hover-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 140px !important;
  background: #f8f9fa !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
  padding: 15px 20px !important;
}

/* 마우스 오버 시 아래에서 위로 차오르는 포럼 옐로우(#ffc451) */
.membership-hover-btn::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 0% !important;
  background: #ffc451 !important;
  z-index: -1 !important;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.membership-hover-btn:hover::before {
  height: 100% !important;
}

/* 2열 내부 아이콘 및 텍스트 */
.membership-hover-btn .member-icon {
  font-size: 42px !important;
  color: #9a9a9a !important;
  line-height: 1 !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
}

.membership-hover-btn .title-text {
  font-size: 15.5px !important;
  color: #111111 !important;
  letter-spacing: -0.3px !important;
  display: block !important;
  transition: color 0.3s ease !important;
}

.membership-hover-btn .desc-text {
  font-size: 13.5px !important;
  color: #6c757d !important;
  line-height: 1.5 !important;
  display: block !important;
  transition: color 0.3s ease !important;
}

/* 마우스 오버 시: 노란색 배경 위에서 아이콘과 글자 모두 딥 블랙(#000)으로 전환 */
.membership-hover-btn:hover .member-icon {
  color: #000000 !important;
  transform: scale(1.04) !important;
}

.membership-hover-btn:hover .title-text {
  color: #000000 !important;
}

.membership-hover-btn:hover .desc-text {
  color: #000000 !important;
}

/*--------------------------------------------------------------
# 메인 푸터 3단 칼럼 높이 및 수평 밸런스 균등화
--------------------------------------------------------------*/
footer#footer-main {
  background: #191818;
  padding: 60px 0 55px 0 !important;
  color: rgba(255, 255, 255, 0.7);
}

/* 2열, 3열 타이틀 상단 높이를 1열 로고 상단과 수평으로 맞춤 */
footer#footer-main .footer-col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px !important;       /* 로고 상단 라인과 수평 정렬 */
  margin-bottom: 26px !important;
}

/* 2열 COMMUNITY 메뉴 리스트 행간 (3열 주소 높이와 균형 일치) */
footer#footer-main .footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer#footer-main .footer-menu-list li {
  margin-bottom: 12px !important;   /* 3열 주소창 높이에 맞춰 균일하게 분배 */
}

footer#footer-main .footer-sub-link {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer#footer-main .footer-sub-link:hover {
  color: #ffc451 !important;
}

/* 3열 OFFICE ADDRESS 본문 */
footer#footer-main .footer-address-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
}

/*--------------------------------------------------------------
# 메인 푸터 (Main Dark Footer)
--------------------------------------------------------------*/
footer#footer-main {
  background: #191818;
  padding: 65px 0 50px 0;
  color: rgba(255, 255, 255, 0.7);
}

footer#footer-main .container {
  max-width: 1200px;
}

/* ⭐ 로고 크기 확실하게 적용 */
footer#footer-main .footer-logo-wrap img {
  width: 200px !important;       /* 원하는 크기로 조절 가능 */
  max-width: none !important;
  height: auto !important;
  display: block;
  margin-bottom: 20px;
}

footer#footer-main .footer-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 22px;
  word-break: keep-all;
}

footer#footer-main .footer-social a {
  display: inline-block;
  color: #ffffff;
  font-size: 17px;
  margin-right: 15px;
  opacity: 0.65;
  transition: all 0.25s ease;
}

footer#footer-main .footer-social a:hover {
  opacity: 1;
  color: #ffc451;
}

footer#footer-main h6.footer-col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

footer#footer-main .footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer#footer-main .footer-menu-list li {
  margin-bottom: 11px;
}

footer#footer-main .footer-menu-list li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

footer#footer-main .footer-menu-list li a:hover {
  color: #ffc451;
}

footer#footer-main .footer-address-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
}

footer#footer-main .footer-address-text .highlight-email {
  color: #ffc451;
}

/*--------------------------------------------------------------
# 최하단 카피라이트 바
--------------------------------------------------------------*/
.bottom-footer-bar {
  background: #111111;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

.bottom-footer-bar .container {
  max-width: 1200px;
}

.bottom-footer-bar a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.bottom-footer-bar a:hover {
  color: #ffc451;
}

.bottom-footer-bar .footer-sub-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

@media (max-width: 768px) {
  .bottom-banner-wrap ul li {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #f0eeee;
  }
  .bottom-footer-bar .footer-sub-nav {
    justify-content: center;
    margin-top: 10px;
  }
}

/* 푸터 서브 메뉴 링크 색상 명도 상향 */
.footer-sub-link {
  color: #b8b8b8 !important;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-sub-link:hover {
  color: #ffc451 !important;
}

/* 상단 헤더 스크롤 전 기본 투명 처리 */
#header {
  background: transparent !important;
  transition: all 0.5s ease;
}

/* 스크롤 시 검은색 배경 활성화 */
#header.header-scrolled {
  background: rgba(0, 0, 0, 0.85) !important;
}

/* 서브페이지 GNB 메뉴 우측 끝 밀착 정렬 보정 */
#header .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

#header .navbar {
  margin-left: auto !important;
}

#header .navbar > ul {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/*--------------------------------------------------------------
# 그누보드 로그인 화면 중앙 카드형 레이아웃 정돈
--------------------------------------------------------------*/
/* 전체 로그인 컨테이너 중앙 정렬 */
#mb_login, 
.mbskin {
  max-width: 440px !important;
  margin: 60px auto 80px auto !important;
  padding: 40px 35px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #eef0f3 !important;
}

/* 중복된 상단 텍스트 및 기본 불필요 요소 정리 */
#mb_login h1,
.mbskin h1 {
  font-size: 24px !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: #111111 !important;
  margin-bottom: 25px !important;
  letter-spacing: -0.5px !important;
}

/* 입력창(ID / PW) 세로 풀위드 배치 */
#mb_login .frm_input,
.mbskin .frm_input {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  padding: 0 15px !important;
  margin-bottom: 12px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 6px !important;
  font-size: 14.5px !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.2s ease !important;
}

#mb_login .frm_input:focus,
.mbskin .frm_input:focus {
  border-color: #ffc451 !important;
  box-shadow: 0 0 0 3px rgba(255, 196, 81, 0.2) !important;
}

/* 로그인 버튼 전체 너비 & 포럼 테마 컬러 적용 */
#mb_login .btn_submit,
.mbskin .btn_submit {
  display: block !important;
  width: 100% !important;
  height: 50px !important;
  margin-top: 15px !important;
  background: #1e293b !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
}

#mb_login .btn_submit:hover,
.mbskin .btn_submit:hover {
  background: #ffc451 !important;
  color: #111111 !important;
}

/* 하단 자동로그인 / 회원가입 / 정보찾기 링크 정돈 */
#mb_login .btn_area,
.mbskin .btn_area,
#mb_login_opt,
.mbskin_opt {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 15px !important;
  font-size: 13.5px !important;
  color: #666666 !important;
}

#mb_login a,
.mbskin a {
  color: #555555 !important;
  text-decoration: none !important;
}

#mb_login a:hover,
.mbskin a:hover {
  color: #111111 !important;
  font-weight: 600 !important;
}
/* Clients - 페이지 로드시 자동 Fade Up */
.clients-load-animate {
  opacity: 0;
  transform: translateY(35px);
  animation: clientsFadeUp 1.2s ease-out 0.35s forwards;
}

@keyframes clientsFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   KOPOF MOBILE NAV - FINAL FIX
   ========================================================= */
@media (max-width: 991px) {

  /* 헤더 내부 정렬 */
  #header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  /* 모바일 navbar 자체는 반드시 표시 */
  #header #navbar,
  #header .navbar {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    width: auto !important;
  }

  /* 메뉴가 닫혀 있을 때 PC 메뉴만 숨김 */
  #header .navbar:not(.navbar-mobile) > ul {
    display: none !important;
  }

  /* 햄버거 버튼 강제 표시 */
  #header .mobile-nav-toggle {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 32px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    margin: 0 !important;
  }

  /* 햄버거 클릭 후 전체 메뉴 */
  #header .navbar.navbar-mobile {
    position: fixed !important;
    overflow: hidden !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.92) !important;
    z-index: 9998 !important;
  }

  #header .navbar.navbar-mobile > ul {
    display: block !important;
    position: absolute !important;
    top: 65px !important;
    left: 15px !important;
    right: 15px !important;
    bottom: 15px !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border-radius: 6px !important;
  }

  /* 열린 모바일 메뉴 글씨 */
  #header .navbar.navbar-mobile a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 20px !important;
    color: #151515 !important;
    font-size: 15px !important;
  }

  #header .navbar.navbar-mobile a:hover,
  #header .navbar.navbar-mobile .active,
  #header .navbar.navbar-mobile li:hover > a {
    color: #151515 !important;
    background: #ffc451 !important;
  }

  /* 열린 상태의 X 버튼 */
  #header .navbar.navbar-mobile .mobile-nav-toggle {
    position: absolute !important;
    top: 18px !important;
    right: 20px !important;
    color: #ffffff !important;
  }

  /* 서브메뉴 */
  #header .navbar.navbar-mobile .dropdown ul {
    position: static !important;
    display: none !important;
    margin: 5px 20px !important;
    padding: 5px 0 !important;
    background: #ffffff !important;
  }

  #header .navbar.navbar-mobile .dropdown > .dropdown-active {
    display: block !important;
  }
}

/* =========================================================
   HISTORY MOBILE - PC 가로 4열 구조 완전 해제
   ========================================================= */
@media (max-width: 991px) {

  /* 한 행 자체를 세로형으로 전환 */
  .history-items .h-row {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 20px 15px !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    text-align: left !important;
    overflow: visible !important;
  }

  /* PC에서 지정된 각 칼럼 폭 완전 해제 */
  .history-items .h-row .h-round,
  .history-items .h-row .h-date,
  .history-items .h-row .h-title,
  .history-items .h-row .h-place {
    position: static !important;
    display: block !important;

    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;

    transform: none !important;
  }

  /* 회차 */
  .history-items .h-row .h-round {
    display: inline-block !important;
    width: auto !important;
    margin-bottom: 5px !important;
  }

  /* 날짜 */
  .history-items .h-row .h-date {
    display: inline-block !important;
    width: auto !important;
    margin-left: 12px !important;
    margin-bottom: 5px !important;
  }

  /* 제목 */
  .history-items .h-row .h-title {
    clear: both !important;
    display: block !important;
    width: 100% !important;

    margin-top: 8px !important;
    margin-bottom: 6px !important;

    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  /* 장소 */
  .history-items .h-row .h-place {
    display: block !important;
    width: 100% !important;

    font-size: 14px !important;
    line-height: 1.5 !important;
  }
}