.scheduled-post-tags {
    margin: 6px 0;
}

.scheduled-post-tag {
    display: inline-block;
    background: #f1f3f5;
    color: #333;
    padding: 3px 8px;
    margin-right: 4px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
}

.scheduled-post-tag:hover {
    background: #e9ecef;
}

/* 1) 기본값: Astra 원래 flex 레이아웃 유지 */
/* 기존 grid 코드는 그대로 두고… */

/* 모바일에서만 다시 flex로 되돌리기 */
@media (max-width: 920px) {
  .ast-builder-grid-row {
      display: flex !important;
      justify-content: space-between;
      align-items: center;
  }

  /* 로고가 너무 커서 버튼을 밀어내면 조금 줄여주기 */
  .site-logo-img img {
      max-width: 180px;
      height: auto;
  }
}


.ast-custom-button{
    display: none;
}

.single-post .ast-custom-button{
    display: block;
    background-color:#373177;
    font-weight: 600;
    font-size: 16px;
    font-family: Noto Snas KR;
}

/** 예정 글 **/
.publish-post-tags {
    position: absolute;
    top:12px;
    right: 1px;
}

span.publish-post-tag {
    background-color: #373177;
    color: white;
    font-size: 20px;
    font-weight:600;
    padding:10px 20px;
}

ul.publish-post-list li .publish-post-thumbnail a img{
    aspect-ratio: 1/1!important;
}

ul.publish-post-list li .publish-post-thumbnail{
    width: auto!important;
    height: auto!important;
}

ul.publish-post-list li {
    display: grid;
    grid-template-columns: 550px 1fr;
}

ul.publish-post-list li .publish-post-info{
    width: 100%;
}

.publish-post-thumbnail{
  position: relative;
}

/*** 진행 글 **/

ul.scheduled-posts-list{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


ul.scheduled-posts-list li{
    max-width: 100%!important;
    position: relative;
}

.scheduled-post-tags {
    position: absolute;
    top:-6px;
    right: -4px;
}

span.scheduled-post-tag{
    background-color: #373177;
    color: white;
    font-size: 12px;
    font-weight:600;
    border-radius: 0;
}

span.scheduled-post-tag:hover{
    background-color:#373177;
    color:white;
}


.scheduled-post-thumbnail a img  {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}


/** 쿼리 글 **/

ul#front-list,
ul#archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

li.josletter-post-item{
    list-style: none;
    position: relative;
}

.josletter-post-thumbnail a img {
    aspect-ratio: 4 / 3;
    width: 100%;
}

a.josletter-readmore{
    display: none;
}

h3.josletter-post-title{
    margin-top: 10px;
    margin-bottom: 10px;
}

h3.josletter-post-title a {
    font-size: 20px;
    font-family: Noto Sans KR;
    font-weight: 400;
    color:#333;
}

p.josletter-post-excerpt a {
    font-size: 14px;
    font-family: Noto Sans KR;
    font-weight: 400;
    color:#555;
}

.josletter-post-meta-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

span.josletter-date {
    color: #555;
}

span.webfit-rating-summary__star,
span.webfit-rating-summary__avg{
    color:#373177;
}

.elementor-element-f73388b .elementor-widget-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

button.josletter-load-more{
    background-color: #373177;
    color: white;
}

.josletter-post-tags {
    position: absolute;
    top: 5px;
    right:0px;
}

.josletter-post-tag{
    background-color: #373177;
    color: white;
    padding:5px 20px;
}

.josletter-post-info{
    background-color: #ECEBF1;
    height: 220px;
    padding: 10px 10px;
}

/** 상세페이지 별표 부분 **/

.wr-banner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
}

.wr-banner__logo{
    text-align: end;
}

.wr-banner__logo img{
    width:300px;
    aspect-ratio: 1/1;
    height: auto;
}

.wr-banner__title {
    font-size: 30px;
    line-height: 1.5;
    font-weight: 500;
    font-family: 'Noto Sans KR';
    margin-bottom: 20px;
    color: #373177;
}


/** 상세페이지 상단 부분 **/

.webfit-magic-root {
    text-align: center!important;;
}

button.webfit-magic-open{
    background-color: #373177;
    color: white;
    font-size: 24px;
    font-weight: 700;
    font-family: Noto Sans KR;
    padding: 20px 40px;
    border-radius: 8px;
    margin-bottom: 70px;
}

span.h2-index {
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    color: black;
    font-size: 28px;
    background-color: #ECEBF1;
    margin-right: 20px;
    border-right: 2px solid #373177;
}

 .single-post .ast-article-single h2{
    color:black;
    font-size: 28px;
    font-weight:600;
    font-family: Noto Sans KR;
    background-color: #c3bff7;
    border-top: 2px solid #373177;
    border-bottom: 2px solid #373177;
    margin-top: 70px;
    margin-bottom:30px;
}


.single-post h2.wp-block-heading {
  display: flex;
  align-items: center;   /* 세로 중앙 정렬 핵심 */
}

 .single-post .ast-article-single h3 {
    color:#333;
    font-size: 24px;
    font-weight: 600;
    font-family: Noto Sans KR;
    margin-bottom: 20px;
    line-height: 1.4;
}

.single-post .ast-article-single P {
    COLOR:#323332;
    font-size: 14px;
    font-family: Noto Sans KR;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 10px;
}

/*** 복사 링크 **/

.webfit-magic-modal__panel h3,
.webfit-magic-modal__panel p.webfit-magic-modal__desc,
.webfit-magic-modal__panel p.webfit-magic-modal__expires {
    text-align: left!important;
}

button.webfit-magic-modal__copy {
    background-color: #373177;
}

.button.webfit-magic-modal__close:hover{
    background-color: #373177;
}

/** 죠스레터 구독 부분 **/

.elementor-element-9a5b342 p a,
elementor-element-0526fd5 p a {
    text-decoration: underline;
}


@media (max-width: 1024px) {
    ul#front-list, ul#archive-list,
    ul.scheduled-posts-list{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap:40px;
    }
}


@media (max-width: 767px) { 
    ul#front-list, ul#archive-list,
    ul.scheduled-posts-list{
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    ul.publish-post-list li {
    position: relative;
    display: flex;
    }

    ul.publish-post-list li .publish-post-thumbnail{
        width: 100%!important;
    }

    button.webfit-magic-open{
        font-size: 12px;
    }

    .wr-banner__title{
        font-size: 24px;
    }

    .wr-banner{
        grid-template-columns: 1fr;
    }

    .wr-banner__logo{
        text-align: center;
    }
}

@media (max-width: 767px) {
	.single-post .ast-article-single h2{
		font-size:16px;
	}

	span.h2-index{
		font-size:12px;
        padding: 10px;
	}
}



