@media screen and (max-width: 1200px){	

.useful-links .tpl-info li{
  width:50%;
}
.useful-links .tpl-info{
  flex-direction: row;
}

.template-C ul{   grid-template-columns: repeat(3, 1fr); gap: 2%; }

#block_latest-news{ margin-bottom: 20px;}
    #block-olivero-views-block-latestnews-block {
        width: calc(100% - 20px);
    }    #block-sermon,#block_latest-news {
        height: auto;
        min-height: auto;
        max-height: none;
    }
    #block-sermon .swiper,
    #block-sermon .swiper-wrapper,
    #block-sermon .swiper-slide {
        height: auto;
    }
    #block-olivero-views-block-sermon-block-1 {
        /* width: calc(50% - 20px); */
         width: 100%;
    }    #block-olivero-views-block-usefullinks-block-1-2 {
        /* width: calc(50% - 20px); */
           width: 100%;
    }

}

@media screen and (max-width: 960px){
  #block_activity .date-badge {
    margin: 10px 0 0 10px;
    }
	#sidebar-nav{ display:none;}
html,body { font-size: 16px ; line-height:28px;		}
.screen{ padding:0 15px;}
#header{ position:  relative; min-height: 50px; z-index: 10}
.menu_arrow ul::before{ display:none;}
.right_top{ margin-right: 10px; width: auto; margin-left: auto}
#main-menu {
        position: fixed !important;
        top: 0;
        background: #4B3E8E !important;
        padding: 30px 10px;
        bottom: 0;
        width: 100%;
        transition: all 0.5s ease-in-out;
        max-width: 280px;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 12;
        transform: translateX(-100%);
    }
	#sermon ul {
  grid-template-columns: repeat(1, 1fr);
}
	.sidebar-style-1 .metismenu {
		border-top-left-radius: 12px;
border-top-right-radius: 12px;
		border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;

}
.search_m{ display:block}
.header #block-olivero-search-form-narrow { display:none
}
.header #search-block-form {
  width: 40px;
  height: 40px;
  border-radius: 40px;
}
.header #search-block-form:hover {
  width: auto;
}
.js-form-type-search{ border-radius:0}
.header .button--primary{ margin:5px}
	.main-message-section{ padding:25px;}
#block_recording .blocktitle{ margin:0 0 15px 0}
#menu-mask {
    display: none; /* 默认不显示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 黑色半透明 */
    z-index: 2; /* 确保遮罩层位于其他内容上方 */
}
	
.site-branding{ min-height: auto ; margin: 0 10px 0 10px; padding: 0;}
.title , .blocktitle , .sch_highlights b , #banner_title h1, .banner_title h1{  font-weight: 350;  margin:15px 0;  font-size:26px; line-height:32px; }
.sch_highlights .title::before {  top:23px;    }
	
.sch_highlights{ padding: 20px 0}
.sch_highlights ul {
  padding: 15px 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.bg_god_msg{ padding:0}
.bg_god_msg .contents{  width: calc(100% - 0px) ; margin:30px 0%;  padding:15px; }
	
ul#main-menu li a{ color:#fff;}
#main-menu.open{transform: translateX(0);}
	

#block_latest-news{ margin-bottom: 20px;}

#lang ul{ margin:15px -15px 0 0; background:none}
#lang ul li{ margin: 0 0; background: none; } 
#lang ul li+li{ margin:0 0 0 10px}
	
.more-link a{ font-size: 16px; line-height: 24px; padding: 10px 50px 10px 30px;  }
.more-link a:hover{ padding: 10px 50px 10px 10px; }

.slider-slogan{  bottom: 10%; }
.slider-slogan .slogan_text{ font-size: 1.45em;
  padding: 0.45em;
  line-height: 1.6em;
}
.breadcrumb__content{ margin:0}
.breadcrumb::after{ display:none}

.Block_A ul {  grid-template-columns: repeat(1, 1fr);  gap: 2%;}	
.template-A ul{   grid-template-columns: repeat(2, 1fr); gap: 2%; }
.template-B ul{   grid-template-columns: repeat(2, 1fr); gap: 2%; }
.template-C ul{   grid-template-columns: repeat(2, 1fr); gap: 2%; }

	
h1{ font-size:30px; line-height:38px;}
h2{ font-size:26px; line-height:34px;}
h3{ font-size:21px; line-height:30px;}
h4{ font-size:21px; line-height:30px;}
h5{ font-size:21px; line-height:30px;}
h6{ font-size:21px; line-height:30px;}

#block-sidebar-nav h2{ padding:	15px 0}
	
#main_content{width:100%}
#sidebar-nav{width:100%}
	
.useful-links ul{
  grid-template-columns: repeat(2, 1fr); column-gap:
  gap: 10px;
} 

footer{ padding:30px 0}
.list-item .content {flex-direction: column; width:100%}
.contact_info ul li{ margin:0}
.contact_info ul li + li{  width:100%; }
.contact_info ul ul li + li{  width:auto; }
.contact_area::before{display:none}
	
.Block_A ul {
  grid-template-columns: repeat(1, 1fr);
  gap: 2%;
}	
.slider-slogan{  bottom: 10%; }
.slider-slogan .slogan_text{ font-size: 1.4em;
  padding: 0.25em;
  line-height: 1.6em;
}
#block-olivero-breadcrumbs{ margin-bottom:0}
.sitemap-item ul {grid-template-columns: repeat(1, 1fr); gap: 15px;}
	
	
.template-A ul{   grid-template-columns: repeat(1, 1fr); gap: 2%; display: list-item; padding-bottom: 5px; }
.template-B ul{   grid-template-columns: repeat(1, 1fr); gap: 2%; display: list-item; padding-bottom: 5px; }
.template-C ul{   grid-template-columns: repeat(1, 1fr); gap: 2%; display: list-item; padding-bottom: 5px; }

.news-card a{overflow: hidden;  display: block;}
	
.region--breadcrumb {margin:0; padding: 0;}

.breadcrumb__list { padding:0px; margin: 0;}
.breadcrumb{ margin:0 0 30px 0; padding:0px; }
.category ul li a {  padding: 5px 5px; font-size:15px;  margin: 0 5px;}
.category{ float:none ; text-align:  center;}
	

.banner_title h1{ padding:110px 0 20px 5% ; margin:0; z-index:1 } 
.banner_title h1::before { left:-46%; width:50%; height:1px;  bottom:30px;     }
.banner_title::afterr{ background-size: 70% auto}

#nonbanner_title { background: url(../images/web/bg_news.png) no-repeat bottom center; }
#nonbanner_title h1{  padding:120px 0 30px 5% ; color:var(--main-color) ; text-shadow: 0 0 0; } 
#nonbanner_title h1::before {background: var(--main2-color); bottom:43px;}

.sch_highlights b{ font-size:17px; line-height: 21px; margin:0}
.sch_highlights ul li span, .sch_highlights .boxing { font-size:15px; padding:10px 0; }  
	
#block_latest-news::before { display:none}
.bg_whystcc .contents{ width:100%}
.bg_whystcc{ padding:20px 0;}
	
.template_list ul li {text-align: left;  justify-content: left;  flex-wrap: nowrap;}	
.template_list ul li span {  width: auto; position: relative;white-space: nowrap;  }

.template-A ul li + li .template_list ul li span {  display: block;}	
	#template_list_media_group {}	
	
/* #block-olivero-views-block-latestnews-block {	width: calc(100% - 20px);}	
#block-olivero-views-block-sermon-block-1 {	width: calc(50% - 20px);}	
#block-olivero-views-block-usefullinks-block-1-2 {  width: calc(50% - 20px);}	 */
#block-sermon {  height: auto; min-height: auto; max-height: none;}

#block-sermon .swiper,
#block-sermon .swiper-wrapper,
#block-sermon .swiper-slide { height: auto; }
	#block-sermon .sermon-info { padding: 20px 0}	
	.header .icon_top .links_top {display: block; }	
	.header .icon_top .links_top ul.links_icon {align-items: end;}	
	#block-olivero-search-form-narrow {right: 15px;
    padding: 0 0 5px 0;
    top: 0;
    bottom: 0;
    margin: auto;position: absolute;
    align-items: center;
    display: flex; }
	#block-olivero-headertop {align-items: baseline;  position: absolute;  bottom: 0;  left: 0;  width: auto;  height: auto;z-index: 1;}	
	.header .icon_top { margin-top:0px;}
.header .icon_top .links_top ul.links_icon li img {  height: 30px;}	
	.cd-top{ display:none}
	.empty-search-results-text, #edit-help-link{ display:none !important}
.swiper-slide{ margin-top:0px}
	.header .icon_top .links_top ul.links_icon { padding: 0 0 5px 0}	
	#edit-keys { padding: 0;min-height: 30px;width: 80%}	
	#search-block-form {  width: 140px;} 
	#block_activity .Block_A{ padding:10px;}
	.home_zoneA{ padding:30px 0;}
	
	#block_activity .activities-grid ul {
  grid-template-columns: repeat(1, 1fr);
  gap: 0px;
  margin: 0;
}
	#block_activity .card-content h3{ font-size:18px; line-height:23px;}
	#sermon{ padding:0;}
	#main_content {
  min-height: 300px;
}
.main-message-section .main-title{ font-size:32px; line-height:36px;}
/* #block_recording{ padding:30px 0 0 0 } */
.region--breadcrumb{ margin:0}
#banner_title::after, .banner_title::after, #nonbanner_title::after { display:none}

.sidebar-style-1 .metismenu { box-shadow:0 0 5px rgba(0,0,0,.3)}
#template_list_mp3{ width:100%; margin:0}

.template-AX ol, .template-AX ul{
	display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;}
	
.template-AX ol li , .template-AX ul li{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 1px 0;
  }
  
.fieldset__wrapper { width:100% ;}
.template-AX  .template_list { box-shadow:0 0 3px rgba(0,0,0,.3); padding:5px; margin-bottom:5px; }
.template-AX ol li span, .template-AX ul li span{ width:30%}
.template-AX #template_list_media_group{ width:100%}
.template-AX #template_list_media_group span{ width:30%; text-align:left}
.template-AX ol li + li ul li span { display:block}
.template-AX ol li span { color:#650f46;  background: none;}
.template-AX ol li span{ padding:1px 0;}
.template-AX ol li p{ padding:1px 0; float:right; width:70%}
.aaud{ padding:3px 0;}
.form-items-inline input{ min-width:130px !important;}
.list-item{ padding:0}
.category ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  white-space: nowrap;
  overflow-x: scroll;
  overflow-y: hidden;
}
.content b{ width:100%; clear:both; margin:0; font-size:17px; line-height:23px; text-align:left}
.category ul li { margin:0}
.category_news{ text-align:right; width:100%}
}

@media screen and (max-width: 576px){
  #block-olivero-views-block-sermon-block-1 {    width: calc(100% - 20px);  }
  #block-olivero-views-block-usefullinks-block-1-2 {    width: calc(100% - 20px);  }
#block_recording .recording-card a {  padding: 10px; display: flex;flex-direction: column;gap: 20px;}	
	/* #block_recording .recording-info { text-align: center}	 */
	#block_latest-news .news-content p {display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;}
	#block_activity .Block_A {max-height: 520px;  overflow-y: auto;}	
    .useful-links .tpl-info {
        flex-direction: column;
    }
    .useful-links .tpl-info li{
      width:100%;
    }

}