/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* 고정헤더 스타일 */
.ast-primary-header.ast-sticky-active {
  background: #fff;
}

/* PC일 경우 고정헤더 때문에 컨텐츠 여백 수정*/
#primary {
  margin: 120px 0 4em;
}

/* 전체 배경 및 글, 카테고리 페이지 배경색 살짝 탁한 흰색으로 */
body,
.ast-separate-container,
.ast-separate-container .ast-article-single:not(.ast-related-post),
.ast-separate-container .ast-archive-description {
  background-color: #f5f5f5;
  line-height: 2;
}

/* 카테고리 글자 스타일 수정 */
.ast-archive-description {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.ast-archive-description .ast-archive-title {
  font-weight: bold;
}

.ast-archive-description p {
  margin-left: 1rem;
  font-size: 16px;
}

/* 카테고리 페이지에서 제목 왼쪽 여백 제거 */
body.archive .ast-archive-description {
  padding: 2.8em 0 1em 0;
}

/* 카테고리 페이지에서 상단에 여백 제거 */
@media (min-width: 993px) {
  .ast-separate-container #primary {
    margin-top: 0;
  }
}

/* 카테고리 페이지에서 글 카드 스타일 수정 */
.archive .entry-title a {
  font-weight: 800;
}

.ast-separate-container .ast-row {
  display: flex;
  flex-wrap: wrap;
}

.ast-separate-container .ast-row article.post {
  width: calc(100% / 3);
}

/* 단일 글 스타일 */
article.post .entry-content h1 {
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid darkslateblue;
  line-height: 1.5;
}

.post-article {
  margin-top: 3.5rem;
}

.post-article li {
  padding-top: 0.5em;
}

.post-article .post-image {
  margin-bottom: 2rem;
}

.post-article h2 {
  padding-bottom: 1rem;
  border-bottom: 1px solid #041145;
  font-size: 1.8rem;
}

.post-article h3 {
  margin-top: 2rem;
  padding: 1rem;
  background: #e9e9e9;
  font-size: 1.2rem;
}

.post-article .coupang-list {
  display: flex;
  list-style: none;
}

.post-article .coupang-list li {
  margin: 0 20px;
}

.post-image {
  text-align: center;
}

p.code {
  padding: 10px 15px;
  background: #121212;
  color: #fff;
}

pre.code {
  padding-top: 0;
  padding-bottom: 0;
}

.ast-article-single .entry-content h2 {
  margin-bottom: 25px;
  padding-left: 10px;
  border-left: 5px solid var(--ast-global-color-2);
}

.ast-article-single .entry-content h3 {
  padding: 6px 10px;
  background-color: #e5e5f76b;
  background-image: radial-gradient(#444cf773 0.5px, #e5e5f7 0.5px);
  background-size: 11px 11px;
}

.ast-article-single li:not(.wp-social-link) {
  margin-top: 15px;
}

.ast-article-single li:first-child {
  margin-top: 0;
}

.ast-article-single li:not(.wp-social-link) > ol,
.ast-article-single li:not(.wp-social-link) > ul {
  margin-top: 10px;
}

/* 헤더 고정 */
.ast-theme-transparent-header #masthead {
  position: fixed;
  background-color: #fff;
}

/* 고정된 헤더 여백 */
.site-content {
  padding-top: 103px;
}

/* 메인 배경 이미지 */
.wp-block-uagb-container.uagb-block-110a8004 {
  background-position: 100% 0;
}

.button-link {
  display: block;
  width: 100%;
  max-width: 500px;
  height: 56px;
  margin: auto;
  font-size: 18px;
  line-height: 1.2;
  font-weight: bold;
  text-align: center;
}

.font-small {
  font-size: 90%;
}

/* PC */
@media (min-width: 921px) {
  /* 단일 글 페이지 스타일 */
  .ast-separate-container .ast-article-post,
  .ast-separate-container .ast-article-single,
  .custom-page {
    padding-top: 120px;
  }
  .ast-separate-container .ast-row article.post {
    padding: 5.34em 1.67em;
  }
}

@media (max-width: 992px) {
  /* 카테고리 페이지 상단 여백 제거 */
  .ast-separate-container #primary {
    padding-top: 0;
  }
}

/* MOBILE */
@media (max-width: 921px) {
  /* 카테고리 페이지에서 제목 왼쪽 여백 제거 */
  body.archive .ast-archive-description {
    padding: 0.5em 0 2em 0;
  }
  /* 카테고리 글자 스타일 수정 */
  .ast-archive-description {
    flex-direction: column;
  }
  .ast-separate-container .ast-row article.post {
    width: calc(100% / 2);
  }
  .post-article {
    margin-top: 2.5rem;
  }
  .footer-wrap {
    flex-direction: column;
  }
  .footer-wrap > div {
    width: 100%;
  }
  .footer-wrap > div:last-child {
    margin-top: 1.75em;
  }
  /* 고정된 헤더 여백 */
  .site-content {
    padding-top: 50px;
  }
  /* 헤더 고정 */
  .ast-theme-transparent-header #masthead {
    top: 0;
  }
  .button-link {
    height: 52px;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .wp-block-uagb-container.uagb-block-110a8004 {
    background-position: 47% 100%;
  }
}

/* 레이아웃 스타일 재정의 */
.ast-blog-layout-5-grid .post-thumb-img-content {
  padding: 1.5em 0;
}
.ast-blog-layout-5-grid .ast-blog-featured-section img {
  object-fit: contain;
}

/* 최신글 커스텀 위젯 스타일 */
#custom_recent_posts_widget-6 .custom-recent-posts li {
  margin-bottom: 0.6em;
  padding-bottom: 0.6em;
  border-bottom: 1px solid rgba(125,125,125,0.2);
}
#custom_recent_posts_widget-6 .custom-recent-posts a {
  display: block; 
  font-weight: bold;
  text-decoration: underline;
}
#custom_recent_posts_widget-6 .custom-recent-posts span {
  font-size: 0.9em;
}
page-template-page-ttoguni .site-content .ast-container {
	display: block;
}