body {
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.logo a {
  font-size: 28px;
  font-weight:500;
  color: rgb(32, 75, 194);
  text-decoration: none;
  
}

.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

a.icon-telegram::before {
  content: "\f2c6";
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  margin-right: 6px;
  color: #0088cc;
}

.search-menu {
  display: flex;
  gap: 5px;
}

.search-menu input {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.menu-btn {
  font-size: 20px;
  background: none;
  border: none;
}

.main-buttons {
  text-align: center;
  padding: 40px 20px;
  background-color: #f2f2f2;
}

.logo-big { display: inline-block; text-decoration: none;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 20px;
  color: rgb(32, 75, 194);
}

.btn-wrap button {
  margin: 10px;
  padding: 10px 20px;
  border: 1px solid #333;
  background: white;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
}

.info {
  padding: 30px;
  max-width: 1400px;
  margin: auto;
  box-sizing: border-box;
}


.info h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: clamp(1rem, 2.4vw, 1.6rem); /* 반응형 제목 크기 */
}

/* 반응형 중앙 정렬: .info 섹션의 h1에 적용 */
.info h1 {
  text-align: center;
  margin: 0 auto 1rem;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
  max-width: 100%;
  word-break: keep-all;
}

.info hr {
  width: min(100%, 1100px); /* 최대 길이 제한, 화면이 작으면 100% */
  height: 1px; /* 선 두께 */
  background: #008080; /* 선 색상 */
  border: none; /* 기본 border 제거 */
  margin: 10px auto 30px; /* 좌우 auto로 가운데 정렬 */
  display: block;
}

.info-item {
  margin-bottom: 30px;
  text-align: center; /* 내부 텍스트 중앙 정렬 */
}

.info-item h3 {
  font-size: 25px;
  margin-bottom: 10px;
}

.info-item p {
  line-height: 1.6;
  font-size: clamp(0.95rem, 1.4vw, 1rem); /* 반응형 단락 크기 */
  margin: 0.5rem auto;
  max-width: 1100px; /* 가독성 위해 너비 제한 및 가운데 정렬 */
}

.info-item h2 {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  margin: 0 0 1rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  background-color: #888; /* 회색 배경 */
  color: #fff;
  text-align: center;
  padding: 30px 10px;
}

.footer-logo {
  font-size: 36px;
  color: rgb(32, 75, 194);
  margin-bottom: 10px;
  font-family: 'Arial', sans-serif;
  letter-spacing: 5px;
}

.footer-copy {
  font-size: 14px;
  color: #eee;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  padding: 20px;
}

.section-title {
  grid-column: 1 / -1;
  font-size: 22px;
  margin-bottom: 10px;
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover; /* 필요하면 contain으로 변경 */
}

.card h3 {
  font-size: 16px;
  margin: 8px 0 4px;
  color: #222;
}

.card a {
  text-decoration: none;
  color: inherit;
}

.card p.date {
  font-size: 13px;
  color: #888;
  margin: 0;
}

main.content-grid,
section.info {
  padding: 0 250px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.card-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 10px;
}

.card-title {
  font-size: 16px;
  margin: 0 0 6px;
  color: #222;
}

.card-date {
  font-size: 13px;
  color: #888;
}

.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 16px;
  color: #999;
}

.quick-button {
  all: unset; /* 초기화 */
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid #333;
  border-radius: 6px;
  background-color: #fff;
  color: #222;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.quick-button:hover {
  background-color: #333;
  color: #fff;
}


.detail-wrapper {
  max-width: 700px;
  margin: 50px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 수평 중앙 정렬 */
  text-align: center;  /* 텍스트 중앙 */
}

.detail-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.detail-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.detail-content {
  font-size: 16px;
  color: #333;
  text-align: left;
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

  .logo a {
    font-size: 22px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
  }

  .nav a {
    font-size: 14px;
    flex: 1 1 auto;
    text-align: center;
  }

  .search-menu {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .search-menu input {
    width: 100%;
  }

  .main-buttons {
    padding: 20px;
  }

  .btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .btn-wrap button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }

  .info {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  main.content-grid,
  section.info {
    padding: 0 15px;
  }

  .content-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 15px;
  }

  .footer {
    padding: 20px 10px;
  }

  .footer-logo {
    font-size: 24px;
  }

  .footer-copy {
    font-size: 12px;
  }

  .detail-wrapper {
    padding: 20px;
    margin: 20px 10px;
  }

  .detail-title {
    font-size: 20px;
  }

  .detail-content {
    font-size: 14px;
  }
}
 @media (max-width: 768px) {   header, header .nav, header .search-menu, .footer {     box-sizing: border-box;     width: 100%;     max-width: 100%;   }   header .search-menu input {     box-sizing: border-box;     width: 100%;   }   .slide_container {     box-sizing: border-box;
    width: 100%;
    max-width: 100%;     overflow-x: hidden;   } }

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .logo {
    flex: 1 1 auto;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
  }

  .nav {
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 8px;
    padding: 6px 0;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    flex: 0 0 auto;
    margin: 0;
    padding: 10px 8px;
    text-align: left;
  }

  .search-menu {
    order: 3;
    flex-direction: row;
    width: 100%;
    margin-top: 10px;
  }

  .search-menu input {
    flex: 1;
    min-width: 0;
    width: auto;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
  }

  .logo {
    flex: 0 0 100%;
    text-align: center;
  }

  .mobile-menu-toggle {
    position: absolute;
    top: 10px;
    right: 15px;
  }

  .nav {
    align-items: center;
  }

  .nav a {
    width: 100%;
    text-align: center;
  }
}

.info-item .service-center-list {
  max-width: 1100px;
  margin: 1rem auto 1.5rem;
  padding-left: 1.5rem;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
}

.info-item .service-center-list li + li {
  margin-top: 0.65rem;
}

.info-item .home-faq dt {
  margin-top: 1.1rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
}

.info-item .home-faq dd {
  max-width: 1100px;
  margin: 0.35rem auto 0;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.8;
}

@media (min-width: 769px) {
  header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.8fr) minmax(0, 1fr);
    column-gap: 12px;
  }

  header > .logo {
    grid-column: 1;
    justify-self: start;
  }

  header > .nav {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
  }

  header > .nav a {
    margin: 0 10px;
    text-align: center;
    white-space: nowrap;
  }
}

.info-item ol.access-steps {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
