.tab_contents {
}

.tab_title {
  font-weight: bold;
  font-size: 2rem;
  color: #444;
  margin-bottom: 25px;
  padding-bottom: 8px;
  border-bottom: 3px solid #e0e0e0;
}

.post_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.post_card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post_card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  background-color: #fafafa;
  border: 1px solid #007bff;
}

.post_card_content {
  padding: 20px;
}

.post_card_title {
  font-size: 1.25rem;
  color: #333;
  margin: 0 0 12px 0;
  transition: color 0.3s ease;
}

.post_card:hover .post_card_title {
  color: #007bff;
}

.post_card_date {
  font-size: 0.9rem;
  color: #999;
  transition: color 0.3s ease;
}

.post_card:hover .post_card_date {
  color: #555;
}

.empty_message {
  grid-column: span 3;
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  padding: 20px 0;
}

.main_first_con_r {
  padding: 20px;
  background-color: #f9f9f9;
}

.quick_menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.quick_menu li {
  border-top: 1px solid #dcdcdc;
}
.quick_menu li:last-child {
  border-bottom: 1px solid #dcdcdc;
}

.quick_menu a {
  display: flex;
  align-items: center;
  padding: 15px;
  text-decoration: none;
  color: #041e40;
}

.quick_icon {
  font-size: 20px;
  margin-right: 10px;
}

.quick_icon img {
  width: 25px;
  height: 25px;
}

.quick_text {
  font-size: 16px;
  color: #000;
  font-weight: 700;
}

.slider {
    width: 80%;
    margin-left: auto;
  }

  .slick-slide {
    width: 330px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 420px;
    margin: 0 10px;
  }

  /* 각 카드에 border-radius 10px 적용 */
  .cont__item {
    overflow: hidden; /* border-radius가 적용될 때 이미지가 튀어나오지 않도록 설정 */
    border-radius: 10px; /* 둥근 모서리 적용 */
    border: 1px solid #dddddd;
  }

  /* 썸네일 안의 이미지에도 border-radius를 적용하고 싶다면 */
  .cont__item .thumbnail {
    border-radius: 10px 0 0; /* 썸네일에 둥근 모서리 */
  }

  .cont__link {
    display: block;
    text-decoration: none;
    color: black;
  }

  .thumb-box {
    position: relative;
    width: 100%;
    height: 200px;
  }

  .thumb-box .thumbnail {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
  }

  .text-box {
    background-color: #030659;
    padding: 20px;
    color: #000;
    height: 230px;
  }
  .text-box.one {
   height: 230px;
  }
  .title-wrap .category {
    font-size: 0.8em;
    color: #ccc;
  }

  .title-wrap .title {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 10px;
  }

  .text-box p {
   -webkit-line-clamp: 4;
   -webkit-box-orient: vertical;
   font-size: 16px;
   margin-top: 10px;
   margin-bottom: 10px;
   color: #666;
   line-height: 25px;
   height: 105px;
   overflow: hidden;
  }

  .slick-prev,
  .slick-next {
    display: none !important;
  }
  .slick_sec {
    background: #f7f7f7;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .slick_inner {
    width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 50px 0 50px;
    position: relative;
  }
  .slick_title {
    position: absolute;
    left: 30px;
    top: 0px;
    font-weight: bold;
    font-size: 25px;
    color: #000080;
    display: flex;
    align-items: center;
  }
  .slick_title span {
    color: #169bd5;
  }

 /* Root variables for marquee section */
.marquee-section {
  --color-text: navy;
  --color-bg: #0f3e64;
  --color-bg-accent: #ffff;
  --size: clamp(5.2rem, 0.52rem + 20.8vmin, 15.6rem);
  --gap: calc(var(--size) / 13);
  color: navy;
  background-color: #0f3e64;
}
.marquee-section.two .marquee img {
  padding: 15px;
}

@media (prefers-color-scheme: dark) {
  .marquee-section {
    --color-text: papayawhip;
    --color-bg: navy;
    --color-bg-accent: #2626a0;
    color: papayawhip;
    background-color: navy;
  }
}

.marquee-section * {
  box-sizing: border-box;
}

.marquee-section {
  display: grid;
  align-content: center;
  overflow: hidden;
  gap: var(--gap);
  width: 100%;
  min-height: 350px;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
  -webkit-mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
}

.marquee--vertical {
  --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
  flex-direction: column;
}

.marquee img {
  display: grid;
  place-items: center;
  width: var(--size);
  background: #ffff;
  aspect-ratio: 16/9;
  padding: calc(var(--size) / 5.2);
  border-radius: 0.5rem;
  object-fit: contain;
}

.marquee--vertical img {
  aspect-ratio: 1;
  width: calc(var(--size) / 1.5);
  padding: calc(var(--size) / 6);
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
}

.wrapper--vertical {
  flex-direction: row;
  height: 100vh;
}

.toggle {
  --size: 3rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: var(--size);
  height: var(--size);
  font: inherit;
  text-align: center;
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: 50%;
  color: inherit;
  background-color: #ffff;
  z-index: 1;
}

.toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--color-text);
}

.toggle span {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: calc(100% + 0.4em);
  width: fit-content;
  white-space: nowrap;
  transform: translateY(-50%);
  user-select: none;
}

.toggle svg {
  --size: 1.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  fill: currentcolor;
  transform: translate(-50%, -50%);
  transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-transform: translate(-50%, -50%);
  -webkit-transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.toggle--vertical svg {
  transform: translate(-50%, -50%) rotate(-90deg);
  -webkit-transform: translate(-50%, -50%) rotate(-90deg);
}

.marquee_title_sec {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 25px;
  flex-direction: column;
  padding-top: 25px;
}

.marquee_title_secTwo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 25px;
  flex-direction: column;
  margin-top: 25px;
}

.marquee_title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.marquee_title img {
  width: 45px;
  margin-right: 10px;
}

.marquee_title div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee_title div strong {
  font-size: 24px;
  color: #000080;
}

.marquee_title div em {
  color: #169bd5;
  font-size: 24px;
  margin-left: 10px;
}

  .slick-slide img
{
    display: block;
    width: 100% !important;
    height: 100% !important;
}