@media (min-width: 61rem) {
  .layout-form {
    display: block !important
  }


}




@media screen and (max-width: 1200px) {
  .template-C ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 2%;
  }

  .octagon-block::before {
    bottom: -100px;
    left: 20px;
    width: 240px;
  }
}

@media screen and (max-width: 960px) {

  /* html,
  body {
    font-size: 16px;
    line-height: 28px;
  } */

  .screen {
    padding: 0 15px;
  }

  .menu_arrow ul::before {
    display: none;
  }

  .home_zoneD {
    padding: 80px 0 150px 0;
  }

  .home_zoneD::after {
    left: -68%;

  }


  .sticky #logo img {
    max-height: 90px;
  }

  .home_zoneD::before {
    left: 16%;

  }

  .right_top {
    margin-right: 10px;
    width: auto;
    margin-left: auto
  }

  #main-menu {
    position: fixed !important;
    top: 0;
    background: #2b2d30 !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%);
  }

  #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;
  }

  .title,
  .blocktitle,
  .sch_highlights b,
  #banner_title h1,
  .banner_title h1 {
    font-weight: 350;
    margin: 15px 0;
            font-size: 36px;
        line-height: 48px;
  }

  .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 {
    padding: 20px 0 50px 0;
  }

  #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;
  }

  .cd-top {
    right: 0;
    bottom: 0;
  }

  .slider-slogan {
    bottom: 10%;
  }

  .slider-slogan .slogan_text {
    font-size: 1.45em;
    padding: 0.45em;
    line-height: 1.6em;
  }

  .breadcrumb__content {
    margin: 0;
    padding: 0;
  }

  .breadcrumb__item {
    padding: 0;
    margin: 0 !important;
  }

  .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%;
    margin-top: 0;
  }

  .view-more,
  .view-more2 {
    padding: 40px 0 0 0;
  }

  .useful-links ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  footer .copyright,
  footer .power {
    text-align: center;
    width: 100%;
    float: none;
  }

  footer {
    padding: 30px 0
  }

  .list-item .content {
    flex-direction: column;
  }

  .list-item .content b {
    text-align: center
  }

  .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: 50px;
  }

  .template-B ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 2%;
    display: list-item;
    padding-bottom: 50px;
  }

  .template-C ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 2%;
    display: list-item;
    padding-bottom: 50px;
  }

  .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 10px;
    font-size: 1.1em;
    margin: 0 10px;
  }

  .category {
    float: none;
    text-align: center;
  }


  .banner_title h1 {
    padding: 120px 0 130px 0;
    margin: 0;
    z-index: 1;
  }

  .banner_title h1::before {
    left: -46%;
    width: 50%;
    height: 1px !important;
    bottom: 30px !important;
  }

  .banner_title h1 span {
    bottom: 30px !important;
  }

  .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
  }

  #block_latest-news .Block_A {
    max-width: 100%;
    padding: 0 15px;
  }


  #block_latest-news .slider {
    width: 100%;
    margin: 0;
  }

  .bg_whystcc .contents {
    width: 100%
  }

  .bg_whystcc {
    padding: 20px 0;
  }

  /* menu */

  #block_latest-news .panel-card {
    width: 100%;
  }

  #logo img {
    max-width: 260px;
    height: auto;
  }







  #block_latest-news {
    padding: 10px 0 30px 0;
    display: flex;
    flex-direction: column;
  }

  #block_latest-news .panel-side {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto 20px auto;
    z-index: 10;
  }

  #block_latest-news .panel-card {
    height: 100%;
    aspect-ratio: unset;
  }



  #block_latest-news .nav-item {
    padding-bottom: 0;
  }




  #block_latest-news .nav-item.active::before,
  #block_latest-news .nav-item:not(:last-child)::after {
    display: none;
  }

  #block_latest-news .panel-side ul {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 0;
  }

  .octagon-block {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 10px;
    row-gap: 15px;
    padding: 40px 20px;
    margin: 0 auto
  }

  .octagon-block::before {
    left: -80px;
    width: 290px;
  }

  .octagon-wrapper {
    grid-column: span 2 !important;
    width: 30vw;
    height: 30vw;
    filter: drop-shadow(0px 6px 12px rgba(0, 0, 0, 0.2));
    transform: none !important;
  }



  .octagon-block .btn {
    display: none !important;
  }

  .octagon-wrapper:hover {
    transform: scale(1.05) !important;
    filter: drop-shadow(0px 12px 20px rgba(0, 0, 0, 0.3));
  }

  .octagon-block .item-1,
  .octagon-block .item-2,
  .octagon-block .item-5,
  .octagon-block .item-6 {
    transform: translateX(-70px) !important;
  }

  .octagon-block .item-1:hover,
  .octagon-block .item-2:hover,
  .octagon-block .item-5:hover,
  .octagon-block .item-6:hover {
    transform: translateX(-12px) scale(1.05) !important;

  }

  .octagon-block .item-3,
  .octagon-block .item-4,
  .octagon-block .item-7,
  .octagon-block .item-8 {
    transform: translateX(70px) !important;
  }

  .octagon-block .item-3:hover,
  .octagon-block .item-4:hover,
  .octagon-block .item-7:hover,
  .octagon-block .item-8:hover {
    transform: translateX(12px) scale(1.05) !important;
  }

  .octagon-block .title {
    font-size: 30px;
    line-height: 32px;
    font-weight: 500;
    top: -15px;
  }

  .octagon::before {
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
  }

  .octagon::after {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
  }

  .octagon-block .content {
    width: 80%;
    height: 100%;
    gap: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
  }


  .octagon-block .icon {
    bottom: 10px;
    width: 68px;
    height: 68px
  }

  .panel-side {
    left: 0;
  }


  #logo a::before {
    z-index: 0;
  }

  #logo a img {
    z-index: 0;
  }


  .description table {
    overflow-x: auto;
    width: 100%;
    display: block
  }


}

@media screen and (max-width:576px) {

  .region--hero .swiper {
    height: 50vh;
  }

  .region--hero .swiper img {
    height: 50vh;
  }

  .template-D ul li {
    flex-direction: column;
  }

  .template-D ul li>div {
    width: 100%;
    padding: 5px 10px !important;
    box-sizing: border-box;
  }

  .template-D ul li .date {
    padding: 5px 10px !important;
  }

  .template-D ul li .date span {
    font-size: 16px;
    background-size: 20px !important;
    background-position: 0 50%;
    background-size: 20px;
    padding: 5px 5px 5px 30px;
    display: block;
    color: #fc2130;
    font-size: 16px;
    line-height: 19px;
    display: block;
  }



  .template-D ul li a {
    display: inline-block;
    padding: 0px 0;
    width: 100%;
  }

  .template-D ul li a:hover {
    color: #333;
    text-decoration: none
  }



  .template-D ul li .date span {
    padding: 0px 0 0px 28px;
    background-size: 16px 15px;
  }



  .template-D ul li .number {
    flex-basis: 24%;
    padding: 5px 10px;
    font-size: 16px;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .title {
    flex-basis: 50%;
    padding: 5px 10px;
    font-size: 16px;
    line-height: 19px;
    text-shadow: 0 0 0;
    margin: 0;
    text-align: left;
  }


  .template-D ul li .download {
    flex-basis: 20%;
    font-size: 16px;
    padding: 0;
    margin: 0;
    text-align: left;
  }

  .template-D ul li .download a {
    background: url(../images/icon/icon_download.png) no-repeat left;
    background-position: 3px 5px;
    padding: 6px 0 6px 30px;
    line-height: 19px;
    color: #555;
    background-size: 23px 23px;
    display: block;
  }

  .template-D ul li .download a:hover {
    background: url(../images/icon/icon_download.png) no-repeat left;
    background-position: 3px 8px;
    color: #666;
    background-size: 23px 23px
  }

  .template-D ul li .date {
    flex-basis: 16%;
    font-size: 16px;
    padding: 5px 5px 5px 10px;
    margin: 0;
    text-align: left;
  }


  .template-D ul li p {
    width: auto;
    font-size: 15px;
  }

  #arc-white {
    display: none;
  }

  .octagon-wrapper {
    width: 160px;
    height: 160px;
  }

  .footer_contact {
    flex-direction: column;
  }

  .footer_contact .info-section {
    width: 100%;
  }

  .footer_contact .hours-section {

    width: 100%;
    position: relative;
  }

  .footer_contact {
    position: relative;
  }



  .footer_contact .info-section::before {
    display: none;
  }


  .octagon-block .item-1,
  .octagon-block .item-2,
  .octagon-block .item-5,
  .octagon-block .item-6 {
    transform: translateX(-20px) !important;
  }

  .octagon-block .item-3,
  .octagon-block .item-4,
  .octagon-block .item-7,
  .octagon-block .item-8 {
    transform: translateX(20px) !important;
  }

  .octagon-wrapper {
    width: min(38vw, 138px);
    height: min(38vw, 138px);
  }
  .octagon-block .title {
    font-size: 22px;
    line-height: 26px;
    top: -5px;
    margin: 0;
  }

 .octagon-block .icon {
    width: 40px;
    height: 40px;
    bottom: 6px;
  }

  .home_zoneC {
    padding: 0px 0 210px 0;
  }

  .octagon-block::before {
    left: 0;
    width: 190px;
    right: 0;
    margin: auto;
    bottom: -180px;
  }

  .footer_contact .hours-section {
    bottom: 0;
  }


  .octagon-block .icon {
  width: 38px;
    height: 38px;
  }

  .worship-container{
    zoom: 0.8;
    right: 10px;
  }
.worship-badge {
  
  padding: 12px 12px 12px 30px;

}


}