/* WHYDAY 썸네일 전체 표시 테스트 */
/* 1080x1080 정사각형 원본을 자르지 않고 표시 */

.home img.wp-post-image,
.home .post-thumbnail img,
.home .entry-thumbnail img,
.home .story-card img,
.home .post-card img,
.home .featured-card img,
.archive img.wp-post-image,
.archive .post-thumbnail img,
.archive .entry-thumbnail img,
.archive .story-card img,
.archive .post-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
    background: #f5f1ea;
}

/* 이미지 링크 및 래퍼에 비율이 걸려 있을 경우 */
.home .post-thumbnail,
.home .entry-thumbnail,
.archive .post-thumbnail,
.archive .entry-thumbnail {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    overflow: hidden;
}


/* WHYDAY 모든 목록 카드 썸네일 전체 표시 */

/* 홈페이지, 검색 결과, 카테고리, 전체 글 목록 */
body .articles .article .cover {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #f5f1ea;
}

body .articles .article .cover > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

body .articles .article .cover img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
}

/* 마우스를 올려도 이미지 확대 및 잘림 방지 */
body .articles .article:hover .cover img {
    transform: none !important;
}
