/*! normalize.css v3.0.1 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
  overflow-x: hidden;
}

/* row가 넓어지는 현상 방지 */
.row {
  margin-left: 0;
  margin-right: 0;
}


/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
  text-decoration:none;
  color:#1d1171;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}


/*
    container
*/

.container-1600 {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 0;
}



/* 
    main css
*/

  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(80px, 8vh, 120px);
    padding: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
  }

  .container-fluid.nav-hover-area {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin: 0;
    _cursor: pointer;
    min-height: clamp(80px, 8vh, 120px);
    _background-color: red;
  }

  .navbar .logo {
    height: clamp(20px, 3vh, 20px);
    object-fit: contain;
  }

  .nav-link {
    font-size: clamp(14px, 1.2vw, 18px);
    padding: 0 1.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
  }

  .navbar-nav {
    display: flex;
    align-items: center;
    _gap: clamp(16px, 2vw, 40px);
    gap: clamp(5px, 2vw, 5px);
    padding: 0;
    margin: 0;
    transition: gap 0.4s ease;
  }

  .navbar-nav .nav-item {
    list-style: none;
    font-size: clamp(14px, 1.2vw, 25px);
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
    flex: 1 1 auto;
    min-width: clamp(80px, 10vw, 130px);
  }

  .nav-hover-area:hover .navbar-nav {
    _gap: clamp(40px, 6vw, 90px);
    gap: clamp(45px, 2vw, 50px);
    _transform: translateX(10px);
  }


  .submenu-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    height: 0;
    transition: height 0.4s ease;
    z-index: 11;
    border-top: 1px solid #ddd; /*****************/
    pointer-events: none;
  }

  .submenu-inner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    width: auto;
    max-width: 90vw; /* 또는 원하는 한계 폭 */
  }

  .submenu {
    width: 178px;
    _border:1px solid red;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 5px 40px 5px;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: auto;
  }

  .submenu a {
    font-size: clamp(11px, 0.8vw, 14px);
    color: #333;
    text-decoration: none;
    margin: 2px 0;
  }

  .nav-hover-area:hover .submenu-container {
    height: 208px;
    padding: 0;
    align-items: flex-start;
  }

  .nav-hover-area:hover .submenu {
    opacity: 1;
    transform: translateY(0);
  }

  .small-list li {
    height: clamp(20px, 0.8vw, 23px);
    margin-bottom: 4px;
    text-align: center;
    color:#454341;
  }

  .small-list li a {
    font-size: clamp(11px, 0.8vw, 13px);
    margin-bottom: 4px;
    text-align: center;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    line-height: 12px;
  }

  .submenu-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: rgb(53, 81, 235);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .highlight-bg {
    background-color: #f2f2f2;
    transition: background-color 0.3s ease;
  }  

  /* 배경이 활성화되었을 때 선도 같이 등장 */
  .highlight-bg .submenu-line {
    transform: scaleX(1);
    transition-delay: 0.2s; /* 0.2초 뒤에 애니메이션 시작 */
  }


  .submenu-line-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ccc; /* 회색 조정 */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
  }

  /* 리턴 헤더 및 하이라이트 배경이 활성화되면 하단 선 표시 */
  .nav-hover-area:hover .submenu-line-bar,
  .highlight-bg ~ .submenu-line-bar {
    opacity: 1;
  }


  .navbar-brand img {
    height: clamp(15px, 5vh, 25px);
    transition: padding-left 0.4s ease; /* 부드럽게 변화하도록 설정 */

    max-width: 160px;
    width: atuo;
  }

  .d-flex.align-items-center {
    gap: 100px;
  }


  @media (min-width: 1360px) {
    .navbar-brand img {
      _padding-left: 45px;
      padding-left: clamp(20px, 4vw, 80px);
      max-width: 280px;
    }
  }    

  @media (max-width: 1359.98px) {
    .navbar-brand img {
      padding-left: 15px;
      max-width: 280px;
    }
  }


  @media (max-width: 1279.98px) {

    .navbar-nav,
    .submenu-container {
      display: none !important;
    }

    .container-fluid.nav-hover-area {
      flex-wrap: nowrap;
      justify-content: space-between;
    }

    .navbar-brand {
      flex: 1;
    }

    .navbar-brand img {
      height: 24px;
      padding-left: 5px;
    }

    .d-flex.align-items-center {
      gap: 0;
      flex-shrink: 0;
    }

    .d-flex.align-items-center a,
    .d-flex.align-items-center button {
      margin-left: 8px;
    }
  }    

  #logo-youtube {
    height:20px;
    display: flex;
    justify-content: center;
    margin-right: 30px;
    transition: margin-right 0.4s ease;
  }

  @media (max-width: 1279.98px) {
    #logo-youtube {
      margin-right: 0px;
    }
  }



  /*
      Site Map Toggler
  */
  .custom-toggler {
    display: flex;
    align-items: center; /* 수직 가운데 정렬 */
    justify-content: center; /* 수평 정렬 (선택) */
    padding: 0.5rem; /* 버튼 여백 조정 */
    border: none; /* 필요 시 */
    background: none; /* 필요 시 */
  }

  .custom-toggler:focus {
    outline: none;
    box-shadow: none;
  }  

  
  /* 햄버거메뉴 관련 */
  @media (max-width: 1279.98px) {
    .navbar-toggler {
      display: flex !important;
    }

    .navbar-collapse {
      display: none !important;
    }
  }

  @media (min-width: 1280px) {
    .navbar-toggler {
      display: none !important;
    }

    .navbar-collapse {
      display: flex !important;
    }
  }

  @media (min-width: 1383px) {
    .navbar-toggler {
      display: none !important;
    }

    .navbar-collapse {
      display: flex !important;
    }

    
    .nav-hover-area:hover .navbar-nav {
      _gap: clamp(40px, 2vw, 45px);
      gap: 73px;
    }

    .submenu {
      width: 205px;
      _border:1px solid red;
    }
  }




/* Side Menu 대응 */
@media (max-width: 767.98px) {
  #mainNav {
    display: none !important;
  }
}







/* mouse effect */
.thumbnail-hover {
  transition: transform 0.3s ease; /* 부드럽게 */
}

.thumbnail-hover:hover {
  transform: scale(1.05); /* 5% 확대 */
}

/* border */
.border-y-only {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}



/*
    carousel
*/
.carousel-item {
    height: auto;              /* 높이 제한 제거 */
    min-height: unset;         /* 최소 높이 제거 */
}

.carousel-item img {
    width: 100%;
    height: auto;              /* 이미지 비율 유지하면서 전체 표시 */
    object-fit: contain;       /* 이미지가 잘리지 않도록 전체 표시 */
    object-position: center;   /* 중앙 정렬 */
}


/* carousel */
.carousel-indicators.custom-dots {
  bottom: 10px;
}

.carousel-indicators.custom-dots button {
  width: 7px;
  height: 7px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  opacity: 0.6;
  transition: background-color 0.3s, transform 0.3s;
}

.carousel-indicators.custom-dots button.active {
  background-color: #fff;
  transform: scale(1.2);
  opacity: 0.7;
}

.carousel-indicators button {
  text-indent: -9999px;  /* 텍스트 숨김 */
  overflow: hidden;
}




/* 
    footer 
*/

.tall-box {height:120px;}

footer {padding: 40px 0; color: #fff;}
.content-btm {
   background-color:#BDD7E4;
   background-size:cover; 
}

/* footer */
.footer-container {
  border-top: 7px solid #D6D5DA; /* 회색 선 */
  padding-top: 20px;
  margin-bottom: 50px;
  margin-top: 40px;  
  color: #8E8F91;
  padding-left: 35px;
  padding-right: 30px;
  transition: padding-left 0.4s ease; /* 부드럽게 변화하도록 설정 */
}

.footer-container a {
  color: #8E8F91;
  text-decoration: none;
}

.footer-container a:hover {
  color: #b0b0b0; /* 호버 시 살짝 밝게 */
}

.footer-container .copyright {
  font-size: 13px;
  letter-spacing: -1px;
  color: #a8a9ad;
}

.footer-container .addr1 {
  color: #8E8F92;
  font-size: 15px;
  letter-spacing: -1px;

}

.footer-container .plus {
  background-color: #9A9A9A;
  color: #fff;
  width: 20px;
  height: 20px;
  padding: 0;
  font-size: 15px; /* 필요에 따라 조정 */
  font-weight: bold;
  line-height: 18px;
  display: flex;
  
  justify-content: center;
  border: none; /* 필요시 */
  border-radius: 1px; /* 모서리 살짝 둥글게, 원하지 않으면 제거 */
}

/* Related Sites 텍스트 버튼처럼 보이게 */
button.bg-transparent {
  color: #8E8F91;
}

button.bg-transparent:hover {
  text-decoration: none;
}

.footer-container .social-icon {
  width: auto;
  height: 40px;
  margin: 0 4px;
}



/* 화면 확대 때문에 재정의 */
.footer-container .addr1,
.footer-container .addr2,
.footer-container .copyright {
  font-size: clamp(14px, 1.2vw, 15px); /* 화면 크기 따라 자동 조절 */
  letter-spacing: -0.5px;
  line-height: 1.4;
  word-break: keep-all;
  white-space: normal;
}

.footer-container .plus {
  width: 20px;
  height: 20px;
  font-size: clamp(12px, 1vw, 15px); /* 확대 제한 */
  line-height: 18px;
}

.footer-container button.bg-transparent {
  font-size: clamp(13px, 1vw, 16px); /* 텍스트 버튼 글자 제한 */
  padding: 0.25rem 0.5rem;
}

.footer-container .social-icon {
  height: clamp(28px, 4vw, 40px); /* 확대 시 너무 커지지 않게 제한 */
  width: auto;
}


@media (max-width: 1279.98px) {
  .footer-container {
    padding-left: 0px;
    padding-right: 0px;
    transition: padding-left 0.4s ease; /* 부드럽게 변화하도록 설정 */
  }

}

@media (max-width: 767.98px) {
  .footer-container {
    text-align: center;
  }

  .footer-container .row {
    flex-direction: column;
  }

  .footer-container .col-md-8,
  .footer-container .col-md-4 {
    text-align: center !important;
    margin-top: 1rem;
  }

  .footer-container .d-flex.justify-content-md-end {
    justify-content: center !important;
  }

  .footer-container .social-icon {
    width: auto;
    height: 55px;
    margin: 0 2px;
    margin-left: -5px;
  }

}



/* poopup */
.related-sites-list .list-group-item {
  border: none;
  border-bottom: 1px solid #eee;
  padding: 12px 16px;
  font-size: 1rem;
  color: #444;
  transition: background-color 0.2s ease;
}

.related-sites-list .list-group-item:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}




/*
    Side Menu
*/

/* 모바일 사이드바 - 전체화면 */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%; /* ← 화면 전체 너비 */
  height: 100%;
  background-color: #fff;
  z-index: 1050;
  transition: left 0.3s ease;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* 어두운 배경 오버레이 */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 1040;
  display: none;
}

.mobile-sidebar.open {
  left: 0;
}

.sidebar-overlay.show {
  display: block;
}

/* 내부 스타일: 상단, 메뉴 항목 */
.mobile-sidebar-header {
  border-bottom: 1px solid #ddd;
}

.mobile-sidebar ul {
  padding-top: 1rem;
  padding-left: 0;
  flex-grow: 1;
  overflow-y: auto;
}

.mobile-sidebar ul li a {
  display: block;
  padding: 1rem;
  font-size: 1.1rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.mobile-sidebar ul li a:hover {
  background-color: #f8f9fa;
}


/* sidebar submenu toggle */
.sidebar-submenu {  
  list-style: none; 
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 1rem;
  -webkit-overflow-scrolling: auto; /* iOS에서의 자연 스크롤 제거 */
  scrollbar-width: none;            /* Firefox 스크롤 제거 */  
}

.sidebar-toggle {
  appearance: none;         /* 표준 */
  -webkit-appearance: none; /* Safari/Chrome */
  -moz-appearance: none;    /* Firefox */
  background: none;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  font-weight: bold;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
  position: relative;
  cursor: pointer;
}

.sidebar-submenu li {
  list-style: none;        /* ✅ 혹시 모르니 li에도 적용 */
  position: relative;
  padding-left: 1rem;
}

.sidebar-submenu li a {
  _all: unset; /* 버튼이 아니라 anchor에도 기본 스타일 제거 가능 */
  display: block;
  _padding: 0.5rem 0;
  _padding-left: 1rem;
  color: #333;
  text-decoration: none;
  font-weight: normal;
}

.sidebar-submenu li::marker {
  display: none;
}

.sidebar-submenu li {
  list-style-type: none;
  -webkit-appearance: none;
}

.toggle-icon {
  float: right;
  transition: transform 0.3s ease;
  color: #4C4C4D;
}

/* 펼쳐졌을 때 회전 */
.sidebar-toggle.active .toggle-icon {
  transform: rotate(180deg);
}



/* paging */
.pagination .page-link {
  color: #666666; /* 기본 글자 색 (초록) */
  border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
  background-color: #425de8;
  border-color: #425de8;
  color: white;
}

.pagination .page-link:hover {
  background-color: #f4efe6;
  color: #666666;
}



/*
	검색 / Search
*/
.program_search {display:block;width:100%;background-color:#fff;height:45px;padding-top:5px;padding-bottom:25px;}
.search_in {display:table;border-collapse:collapse;margin:0 auto;background-color:#fff;}
.search_in td {height:33px;font-size:15px;}
.search_in select {font-size:15px;color:#7B7D94;height:30px;background-color:#ffffff;border:1px solid #767676;border-radius:0px;-moz-border-radius:0px;-webkit-border-radius:0px;}

.input_search5 {float:left; font-size:15px; position:relative;padding:1px 3px 1px 3px;width:170px;height:30px;-webkit-box-sizing:border-box;background-color:#fff;border:1px solid #767676;border-radius:0px;-moz-border-radius:0px;-webkit-border-radius:0px;}

.program_btn_search {
    display:block;
    width:40px;height:30px;
    background-image: url(/common/img/search.png);
    background-repeat:no-repeat;
    background-position: 10px 4px;
    background-size:20px 23px;
    text-indent:-9999em;
    background-color:#3F63BF;
}



/*
    Bottom 여백
*/
.m-bottom {
    display: block;
    margin-bottom: 100px;
}

@media (max-width: 767.98px) {
    .m-bottom {
        display: block;
        margin-bottom: 70px;
    }
}


/*
  Ellip
*/
.ellip {overflow:hidden; white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis;}


/*
  큰 소제목 들
  '.'을 h3에 붙이면 같은 depth에 있는 class를 말함, 떨어져있으면 하위 depth
  ex: <h3 class='list-title'>
*/
h3.list-title {
    font-size: 29px;
    color: #3F464E;
}

h3.list-title a {
  color: #3F464E;
}

@media (max-width: 767.98px) {
    h3.list-title {
        font-size: 23px;
    }
}



/*
  게시판 위 제목
*/
.category-board-title {
    color: #3F464E;
    font-size: 18px;
    text-align: left;
    margin-bottom: 20px;
    background-color: transparent;
    padding: 0px 15px 10px 2px;
    margin: 30px 0 10px 0; 
}

/* 모바일: 전체 너비, 회색 배경, 흰색 또는 진한 텍스트 */
@media (max-width: 767.98px) {
    .category-board-title {
        display: block;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin: 0;
        background-color: #EBEEF3;
        color: #3F464E;
        font-size: 16px;
        padding: 10px 15px 10px 15px;
    }
}


/*
    sermon list
*/
.bbs_list {
    font-weight:bold;
}
.bbs_list td {
    padding: 19px 0px 19px 0px;
}

.bbs_list .thumb {
  width: 240px;       /* 원하는 최대 너비 */
  height: auto;       /* 원하는 최대 높이 */
  flex-shrink: 0;     /* 줄어들지 않도록 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;   /* 넘치는 부분 가림 */
  border-radius: 0px;
  border: 1px solid #bab9be;

  transition: all 0.3s ease;
}

.bbs_list .thumb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 원본 비율 유지 */

  transition: transform 0.3s ease; /* 부드러운 전환 */
}

.bbs_list .thumb:hover .thumb-img {
    _transform: scale(1.1); /* 살짝 확대 (5%) */
}

.bbs_list .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 0;
}
.bbs_list .title{
    display: table;
    font-size: 21px;
    padding-top: 3px;
    padding-left: 0;
    color: #110a44;
    letter-spacing: 0px;
    line-height: 22px;
}

.bbs_list .subtitle {
    display: table;
    color: #8C8C8C;
    padding-top: 10px;
    padding-bottom: 5px;
    font-size: 15px;
    line-height: 15px;

    height:auto;
    text-overflow:ellipsis; 
    overflow: hidden;
    -webkit-line-clamp:2;
    line-clamp:2;
    -webkit-box-orient:vertical;
    display: -webkit-box;
    display: -moz-box;
    word-wrap:break-word;
    -webkit-box-orient: vertical;
}
.bbs_list .comment{
    display: table;
    color: #817f7f;
    padding-left: 1px;
    padding-bottom: 4px;
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
}
.bbs_list .comment a{
    color: #817f7f;
    letter-spacing: -1px;
    font-weight: normal;
}



@media (max-width: 991.98px) {
    .bbs_list td {
        padding: 19px 13px 19px 13px;
    }
}

@media (max-width: 767.98px) {

    .bbs_list .thumb {
        width: 170px;
        height: auto;
    }

    .bbs_list {padding:12px 18px 8px 18px;font-size:15px;color:#3A3086;line-height:19px;font-weight:bold;}
    .bbs_list td {padding: 12px 18px 12px 0px;}    
    .bbs_list .title{display:table;font-size:17px;padding-top:3px;color:#1D1171;letter-spacing:0px;line-height:22px;}
    .bbs_list .subtitle {display:table;color: #8C8C8C;padding-top:6px;font-size:14px;line-height:15px;letter-spacing:0px;

        height:auto;
        text-overflow:ellipsis; 
        overflow: hidden;
        -webkit-line-clamp:2;
        line-clamp:2;
        -webkit-box-orient:vertical;
        display: -webkit-box;
        display: -moz-box;
        word-wrap:break-word;
        -webkit-box-orient: vertical;

    }
    .bbs_list .comment{display:table;color:#818080;padding-top:6px;padding-left:1px;padding-bottom:4px;font-size:14px;font-weight:normal;}
    .bbs_list .comment a{color:#818080;letter-spacing:-1px;font-weight:normal;}

}


