
/* ======================================
   한화생명 WM Insight
   모바일 통합 디자인
====================================== */

@media screen and (max-width: 768px) {

  /* ====================================
     1. 블로그 홈 - 게시글 1열
  ==================================== */

  .wp-block-query .wp-block-post-template {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }

  .wp-block-query .wp-block-post-template > li {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* 썸네일 */
  .wp-block-post-featured-image {
    width: 100% !important;
    margin: 0 !important;
  }

  .wp-block-post-featured-image img {
    display: block;
    width: 100% !important;
    height: auto !important;
  }

  /* 목록 제목 */
  .wp-block-query .wp-block-post-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  /* 날짜 */
  .wp-block-query .wp-block-post-date {
    font-size: 12px !important;
  }


  /* ====================================
     2. 카드뉴스 확대 + 중앙 정렬
  ==================================== */

  /* 슬라이드 쇼 전체 */
  .wp-block-jetpack-slideshow {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  /* 슬라이드 컨테이너 */
  .wp-block-jetpack-slideshow_container {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 556 / 1024 !important;
    margin-inline: auto !important;
  }

  /* 내부 슬라이드 */
  .wp-block-jetpack-slideshow_swiper-wrapper,
  .wp-block-jetpack-slideshow_slide {
    height: 100% !important;
  }

  /* 카드뉴스 이미지 */
  .wp-block-jetpack-slideshow_image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    margin-inline: auto !important;
  }

  /* 이미지가 들어 있는 figure */
  .wp-block-jetpack-slideshow_slide figure {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 슬라이드 쇼 부모 그룹 중앙 정렬 */
  .wp-block-post-content
  .wp-block-jetpack-slideshow {
    margin-left: auto !important;
    margin-right: auto !important;
  }


  /* ====================================
     3. 개별 게시글 제목
  ==================================== */

  body.single .wp-block-post-title,
  body.single-post .wp-block-post-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }


  /* ====================================
     4. MORE POSTS 글씨 크기
  ==================================== */

  /* MORE POSTS 제목 */
  body.single .wp-block-heading,
  body.single-post .wp-block-heading {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  /* MORE POSTS 게시글 제목 */
  body.single .wp-block-query .wp-block-post-title,
  body.single-post .wp-block-query .wp-block-post-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
  }

  /* MORE POSTS 날짜 */
  body.single .wp-block-query .wp-block-post-date,
  body.single-post .wp-block-query .wp-block-post-date {
    font-size: 11px !important;
  }

}
