/* ===========================================
   Main Content Styles - Section by Section
   =========================================== */

/* ===========================================
   #region Main Contents Wrapper
   =========================================== */
.main_contents_wrapper {
  width: 100%;
  margin: 20px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main_contents_wrapper .main-section {
  margin: 30px 0;
}
/* #endregion Main Contents Wrapper */

/* common */
.main_contents_wrapper .main-section {
  max-width: 1622px;
}
.main_contents_wrapper .main-section.full-width {
  max-width: 100% !important;
  width: 100%;
}
.main-content-title {
  margin-bottom: 24px;
}
.main-content-title h2 {
  color: #000;
  font-size: 32px;
  font-weight: 600;
  white-space: nowrap;
}

.main-content-title img {
  height: 48px;
  display: inline-block;
}

/* 퀵메뉴 */
.quick_menu_wrap .quick_menu .quick_icon img {
  border-radius: 0;
}

/* #region ON AIR Section */
.onair_wrapper {
  /* max-width: 1622px; */
  width: 100%;
  margin: 0 auto;
}

.onair_wrapper .main-content-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.onaire__right-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule_button {
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: #014fa3;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.2s ease;
}

.schedule_button:hover {
  color: white;
  text-decoration: none;
  background: #013a7a;
}

.onair_wrapper .main-content-title {
  position: relative;
}

.onair_wrapper .title-box h2::after {
  content: '';
  width: 10px;
  height: 10px;
  position: absolute;
  top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'%3E%3Ccircle cx='5' cy='5' r='5' fill='%23FF0000'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* 프로그램 카드 스타일 */
.program_cards_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.program_card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d9d9d9;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.program_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.program_header {
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 12px 16px;
}

/* 각 카드마다 다른 색상 적용 */
.program_card:nth-child(1) .program_header {
  background: #014fa3; /* 파란색 */
}

.program_card:nth-child(2) .program_header {
  background: #018ba3; /* 초록색 */
}

.program_card:nth-child(3) .program_header {
  background: #01a383; /* 보라색 */
}

.program_card:nth-child(4) .program_header {
  background: #2da75c; /* 주황색 */
}

.program_card:nth-child(5) .program_header {
  background: #dc3545; /* 빨간색 */
}

.program_card:nth-child(6) .program_header {
  background: #20c997; /* 청록색 */
}

.program_title {
  color: #333;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  background: #f8f9fa;
  padding: 16px;
  /* min-height: 60px; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.program_meta {
  font-size: 12px;
  background: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e9ecef;
}

.program_time {
  color: #6c757d;
}

.program_status {
  color: white;
  font-size: 11px;
  font-weight: 500;
  background: #dc3545;
  padding: 4px 8px;
  border-radius: 4px;
}
/* #endregion ON AIR Section */

/* #region Main Banner Section */
.banner-wrapper {
  width: 100%;
  margin: 0 auto;
}

.banner_section .swiper-slide .thumb {
  display: inline-block;
  width: 100%;
  height: 100%;
} 
/* #endregion Main Banner Section */

/* #region Nocut Card Section */
.nocut_card_wrapper {
  /* max-width: 1622px; */
  width: 100%;
  margin: 0 auto;
}

.nocut_card_section {
  margin-bottom: 20px;
}

.nocut_cards_container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.nocut_card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.nocut_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.nocut_card_image {
  color: #999;
  font-size: 14px;
  background: #f0f0f0;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}

.nocut_card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nocut_card_title {
  color: #333;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  padding: 20px 12px; 
}
/* #endregion Nocut Card Section */

/* #region Nocut Main Section - 노컷*/
.nocut-wrapper {
  width: 100%;
  margin: 0 auto;
}

.nocut {
  width: 100%;
  height: auto;
}

.nocut__container {
  display: flex;
  flex-direction: column;
}

/* 상단 */
.nocut__top {
  height: 82px;
  border: 1px solid #f2f3f5;
  display: flex;
  align-items: center;
  background-color: #4c4c4c;
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

.nocut__top article h2,
.nocut__top article p,
.nocut__top article a {
  color: #fff;
}

.nocut__top-breaking {
  width: 100%;
  height: 100%;
  padding: 0 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 274px;
  gap: 15px;
  border-right: 1px solid #707070;
}

.nocut__top-breaking h2 {
  background: linear-gradient(135deg, #f1410a, #f99812);
  padding: 0 15px;
  text-wrap: nowrap;
  border-radius: 4px;
}

.nocut__top-rolling {
  width: 100%;
  height: 100%;
  padding: 23px 50px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nocut__top-rolling li a {
  font-size: 22px;
}
@media (max-width: 768px) {
  .nocut__top-rolling li a {
    font-size: 16px;
  }
}

.nocut__top-rolling .nocut_rolling_swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* padding-inline: 1rem; */
}

.nocut_rolling_top{
  height: auto;
  overflow: hidden;
  max-width: 100%;
}
.nocut_rolling_top a{
  color: #fff;
  font-size: 22px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

@media (max-width: 768px) {
  .nocut_rolling_top a {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
  }
}

/* 컨텐츠구간 */
.nocut__content {
  background-color: #F4F5F6;
  height: 376px;
  border: 1px solid #F2F3F5;
  display: flex;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 376px;
}

.nocut__content-category {
  width: 100%;
  max-width: 274px;
}

.nocut__content-category ul {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nocut__content-category ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1 1 0;
  border-bottom: 1px solid #D5D5D5;
  border-right: 1px solid #D5D5D5;
  transition: all 0.2s ease;
}

.nocut__content-category ul li:last-child {
  border-bottom: none;
}

.nocut__content-category ul li a {
  width: 100%;
  height: 100%;
  /* padding: 50px 30px; */
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
}

.nocut__content-category ul li a p {
  font-size: 24px;
  font-weight: 600;
}

.nocut__content-category ul li a svg path {
  stroke: #444;
}

.nocut__content-category ul li:hover {
  background-color: #f5f5f5;
}

.nocut__content-category ul li.active {
  background-color: #0051a3;
}

.nocut__content-category ul li.active a p {
  color: #fff;
}

.nocut__content-category ul li.active a svg path {
  stroke: #fff;
}

/* 위젯 구간 */
.nocut__content-tab {
  width: 100%;
  padding-inline-end: 36px;
}

.nocut_tab_content {
  height: 100%;
  justify-content: start;
  align-items: center;
}

.nocut_tab_content_item {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rss_wrap {
  display: flex;
  justify-content: start;
  align-items: center;
  padding-inline-start: 50px;
  gap: 5%;
}

.rss_widgetThumb {
  width: 378px;
  height: 226px;
  border-radius: 10px;
  overflow: hidden;
}

.rss_wrap .rss_widgetThumb a {
  width: 100%;
  height: 100%;
}

.rss_wrap .rss_widgetThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rss_right {
  align-self: flex-start;
}

.rss_ThumbTitle,
.rss_text_wrap {
  display: none;
}

.rss_title ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rss_title ul li {
  border-bottom: 1px dotted #cccccc;
  padding-bottom: 10px;
}

.rss_title ul li a {
  font-size: 18px;
  width: 100%;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
}

.nocut_tab_content_more {
}

.nocut_tab_content_more a {
  width: 124px;
  height: 124px;
  border: 1px solid #e2e2e2;
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  border-radius: 50%;
  gap: 10px;
}

.nocut_tab_content_more a p {
  color: #666666;
  font-size: 16px;
  font-weight: 600;
}
/* #endregion Nocut Main Section */

/* #region Main Program Section - 주요 프로그램*/
.main_program_wrapper {
  width: 100%;
  margin: 0 auto;
}

.main_program_bannercontainer {
  /* max-width: 1706px; */
  width: 100%;
}

/* #endregion Main Program Section */

/* #region Priest Section - 라디오 설교*/
.priest-wrapper {
  /* max-width: 1608px; */
  width: 100%;
  margin: 0 auto;
}

.priest-wrapper .main-content-title {
  display: flex;
  align-items: center;
  gap: 18px;
}

.priest_slide_more_btn {
  border: 1px solid #d9d9d9;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
}

.priest_slide_more_btn p {
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.priest_slide_more_btn svg {
  color: #666;
  transform: scale(1.5);
  vertical-align: middle;
}
/* #endregion Priest Section */

/* #region Program Introduction Section - 프로그램 소개*/
.program_introduction_wrapper {
  background-color: #F2F3F5;
  width: 100%;
  padding: 120px 0;
  margin: 0 !important;
}

.program_introduction__top {
  max-width: 1622px;
  margin: 0 auto;
}

.banner_grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.banner_main {
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main_banner_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner_sub_grid {
  display: grid;
  grid-template-columns: 385px 385px;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
}

.banner_sub {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sub_banner_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 반응형 */
@media (max-width: 768px) {
  .banner_grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .banner_sub_grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
}
/* #endregion Program Introduction Section */

/* #region Bottom Banner Section - 하단 배너 */
.bottom_banner_wrapper {
  background-color: #4C4C4C;
  width: 100%;
  margin: 0 !important;
  padding: 40px 0;
}

.bottom_banner_section > div {
  max-width: 1622px;
  margin: 0 auto;
}
/* #endregion Bottom Banner Section */

/* #region 251010 김성원 후원자 추가 */
.main_contents_wrapper .main-section.sponsor_wrapper {
  margin-top: 34px;
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: 330px calc(100% - 330px);
  align-items: center;
}

.sponsor_title {
  color: #FFF;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.4px;
  background-color: #0051A3;
  width: max-content;
  height: max-content;
  padding: 14px 20px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sponsor_name_box {
  width: 100%;
  height: 100%;
}

.sponsor_name_box .swiper-wrapper {
  transition-timing-function: linear !important;
}

.sponsor_name_box .swiper-slide {
  color: #333;
  font-size: 18px;
  font-weight: 500;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
}
/* #endregion 251010 김성원 후원자 추가 */


/* 반응형 미디어쿼리 */
@media screen and (max-width: 1622px) {
  .main_contents_wrapper .main-section {
    width: 95%;
  }
}

@media (max-width: 1300px) {
  /* 경남 노컷 */
  .nocut_cards_container {
    grid-template-columns: repeat(2, 1fr);
  }

  .nocut__content-tab {
    padding-inline-end: 0;
  }

  .nocut__content {
    height: fit-content;
    max-height: fit-content;
    flex-direction: column;
    gap: 30px;
  }

  .nocut__content-category {
    max-width: 100%;
  }

  .nocut__content-category ul {
    flex-direction: row;
  }

  .nocut__content-category ul li {
    padding: 16px 0;
  }

  .nocut__content-category ul li:last-child {
    border-bottom: 1px solid #d9d9d9;
    border-right: none;
  }

  .nocut__content-category ul li svg {
    display: none;
  }

  .nocut__content-category ul li a p {
    font-size: 20px;
  }

  .rss_wrap {
    flex-direction: column;
    padding-inline-start: 0;
    gap: 20px;
  }

  .rss_wrap .rss_right {
    width: 80%;
    align-self: center;
  }

  .nocut_tab_content_item {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }

  /* 주요프로그램 */
  .main-program-slide h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .program-item {
    width: 280px;
    height: 320px;
  }
  
  .program-item img {
    height: 180px;
  }
  
  .program-item h3 {
    font-size: 18px;
  }
  
  .program-time {
    font-size: 14px;
  }
  
  .more-btn {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  .main-program-slide .swiper-button-next {
    right: -10px;
  }
  .main-program-slide .swiper-button-prev {
    left: -10px;
  }
}

@media screen and (max-width: 991px) {
  /* 상단배너 */
  .banner_section .swiper {
    height: auto !important;
  }
  
  .nocut__top-rolling li a {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* 공통 */
  .main_contents_wrapper .main-section.full-width {
    padding: 30px 16px;
  }

  /* 경남 노컷 */
  .nocut__top-breaking {
    max-width: 200px;
  }

  .nocut__top-rolling {
    padding-left: 20px;
  }

  .rss_wrap .rss_widgetThumb {
    width: 90%;
    height: auto;
  }

  .nocut_card_title {
    font-size: 16px;
  }

  .rss_wrap .rss_right {
    width: 100%;
    padding: 0 16px;
  }

  .nocut__top-rolling li a {
    font-size: 16px;
  }

  /* 후원자 */
  .main_contents_wrapper .main-section.sponsor_wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    display: block;
  }
  
  .sponsor_title {
    font-size: 16px;
    height: 40px;
    margin-bottom: 16px;
  }
  
  .sponsor_name_box .swiper-slide {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  /* 공통 */
  .main_contents_wrapper {
    padding: 0 auto;
  }

  .main_contents_wrapper .main-section {
    margin: 40px 0;
  }
  
  .main-content-title {
    flex-direction: column;
  }

  .main-content-title h2 {
    font-size: 24px;
    text-align: center;
  }

  .main-content-title img {
    height: 36px;
    margin: 0 auto;
  }

  /* 온에어 */
  .onair_wrapper .main-content-title {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .program_card {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    border-radius: 100px;
    border: 0;
  }
  
  .program_header {
    min-width: 80px;
    border-radius: 100px;
  }
  
  .program_title {
    font-size: 16px;
    padding: 0 0 0 12px;
  }

  /* 경남노컷 */
  .nocut_cards_container {
    grid-template-columns: 1fr;
  }

  .nocut__top {
    flex-direction: column;
    height: fit-content;
    padding: 10px;
  }

  .nocut__top-breaking {
    border-right: 0;
  }

  .nocut__top-rolling {
    height: 32px;
    padding: 0;
    margin-top: 10px;
  }

  .nocut__top-rolling li a {
    width: 320px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nocut__content-category ul li a p {
    font-size: 16px;
  }

  .rss_wrap .rss_right li .rss_custom {
    font-size: 16px;
  }

  .nocut_tab_content_more a {
    width: 100px;
    height: 100px;
    gap: 5px;
  }

  .nocut_tab_content_more a svg {
    width: 18px;
  }

  .nocut_tab_content_more a p {
    font-size: 14px;
  }

  /* footer */
  .footer_notice {
    margin-bottom: 0;
  }

  .inquiry_wrap {
    margin: 20px 0;
  }

  .inquiry_box {
    padding: 20px;
  }

  .inquiry_box .inquiry_title_text > p {
    font-size: 18px;
  }

  
}