/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Default GeneratePress child theme
Author: Tom Usborne
Author URI: https://tomusborne.com
Template: generatepress
Version: 0.1
*/

/************** header **************/
.site-header { box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1); } 
.inside-header { padding: 3px 0px 3px 0px; } 
.navigation-branding img, .site-logo.mobile-header-logo img { height:40px !important; } 
@media screen and (max-width: 768px){
	#mobile-header { box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1); } 
}


/************** footer **************/
.footer-wrap { width: 100%; background-color: #eee; } 
.footer-wrap * { font-size: 13px; } 
.footer-wrap ul { margin: 0; } 
.footer-wrap li { list-style: none; } 
.footer-wrap li a { color: #000; } 
.footer-wrap footer { width: 1200px; margin: 0 auto; padding: 30px 0 10px; } 
.footer-wrap footer .footer-top { width: 100%; display: block; padding: 15px 0; } 
.footer-wrap footer .footer-middle { display: flex; } 
.footer-wrap footer .footer-middle > div { flex: 1 1 0%; } 
.footer-wrap footer .footer-middle .sns-wrap { display: flex; justify-content: flex-end; gap: 30px; } 
.footer-wrap footer .footer-middle .policy-page-wrap { padding-right: 300px; } 
.footer-wrap footer .footer-bottom { display: flex; gap: 20px; border-top: 1px solid #aaa; padding-top: 20px; margin-top: 20px; } 
.footer-wrap footer .footer-bottom .address-wrap { flex: 1 1 0%; } 
.footer-wrap footer .footer-bottom .address-wrap ul { display: flex; flex-wrap: wrap; column-gap: 20px; } 
.footer-wrap footer .footer-bottom .address-wrap ul li:last-child::after { display: none; } 
.footer-wrap footer .footer-bottom .address-wrap ul li::after { display: inline-flex; content: ""; width: 1px; height: 11px; background-color: #aaa; right: -10px; justify-content: center; position: relative; } 
.footer-wrap footer .footer-bottom p.copyright { flex: 1 1 0%; } 
@media screen and (max-width: 768px){
    .footer-wrap footer { width: 100%; padding: 30px 15px 10px;  } 
    .footer-wrap footer .footer-top,.footer-wrap footer .footer-middle { text-align: center; } 
    .footer-wrap footer .footer-middle { flex-direction: column; row-gap: 20px; } 
    .footer-wrap footer .footer-bottom { flex-direction: column; } 
    .footer-wrap footer .footer-middle .sns-wrap { justify-content: flex-start; } 
    .footer-wrap footer .footer-middle .policy-page-wrap { padding-right: 0; } 
}


/************** right sidebar pc **************/
.widget-area aside[id^="block-"] { padding: 0; } 
.rside-latest-post-wrap h2 { font-weight: bold; } 
.rside-latest-post-item { display:flex; column-gap: 10px; } 
.rside-latest-post-item figure img { width:100px; height:100px; object-fit: cover; } 
.rside-latest-post-item h3 { flex-basis:70%; font-size:17px; } 
.rside-latest-post-item h3 a { text-decoration:none; color:#000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; text-align: justify; } 
.rside-latest-post-item h3 a:hover { color: var(--accent); } 
.rside-latest-post-item-wrap { margin-bottom: 20px; } 


/************** no padding content **************/
.separate-containers .inside-article { padding: 0 15px 0 0; } 
@media screen and (max-width: 768px){
    .separate-containers .inside-article { padding: 0 15px; }  
}


/************** breadcrumb rankmath **************/
.rank-math-breadcrumb { font-size: 14px; color: #555; overflow: hidden; width: 165px; height: 25px; margin-bottom: 10px; } 
.rank-math-breadcrumb a { text-align: left; color: #ffffff; background-color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 1px 8px; margin-bottom: 20px; display: inline-block; } 
.rank-math-breadcrumb p { margin-bottom: 5px; } 


/************** hide **************/
footer.entry-meta .cat-links, footer.entry-meta .post-navigation { display: none; } 


/************** custom comments **************/
.separate-containers .comments-area { padding: 0 15px 0 0; } 
@media screen and (max-width: 768px){
    .separate-containers .comments-area { padding: 0 15px; } 
}
#commentform { position: relative; } 
#respond textarea#comment { padding-right: 90px; background: #fff; border: 1px solid; font-size: 15px; } 
p.form-submit { position: absolute; right: 0; top: 0; } 
p.form-submit input { font-size: 15px; } 
h3.comments-title { content: '전체 댓글'; margin-right: 6px; background-color: transparent; font-size: 20px; font-weight: bold; line-height: 1.4; letter-spacing: -1.6px; color: #222; } 
.comments-title>strong { padding-left: 4px; } 
.comment-author-info { gap: 5px; display: flex; align-items: center; } 
.comment-author cite { font-size: 14px; } 
.comment-content { padding: 0; border: none; margin-top: 2px; } 
.comment-content p { font-size: 16px; } 
.comment-metadata time { font-size: 14px; } 
.comment-body { padding: 10px 0; } 


/************** single post fix **************/
body.single h1.entry-title { font-weight: 600; font-size: 40px; line-height: 1.2em; } 
.entry-header .entry-meta { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #bababa; } 
.inside-article h2 { margin: 0 0 1.875rem; padding-left: 0.75rem; font-size: 1.25rem; font-weight: 500; font-weight: var(--wgt500, 500); line-height: 1.25; letter-spacing: -.025em; border-left: 3px solid #aeaeae; word-break: normal; word-wrap: break-word; } 
.entry-content p { text-align:justify; } 
.inside-article h3,.inside-article h4,.inside-article h5 { font-size: 30px; margin-bottom: 20px; line-height: 1.2em; font-weight: 600; text-transform: none; } 
.tags-links { font-size: 14px; } 
footer.entry-meta { margin: 15px 0 5px 0; } 
.inside-article .copyright { font-size: 14px; } 
@media screen and (max-width: 768px) { 
    body.single h1.entry-title { font-size: 25px; } 
    body.single .entry-content .wp-block-image { width: calc(100% + 30px); margin-left: -15px; margin-right: -15px; display: block; box-sizing: border-box; max-width: 100vw; } 
}


/************** single post author box **************/
.custom-author-box { display: flex; justify-content: space-between; padding: 10px 0px; border-top: 1px solid rgba(171, 184, 195, 0.5); border-bottom: 1px solid rgba(171, 184, 195, 0.5); margin-bottom: 15px; } 
.custom-author-box .author-left, .custom-author-box .author-right { display:flex; align-items:center; gap:10px; } 
.custom-author-box .author-left strong { font-size:20px; font-weight:400; } 
.custom-author-box .author-email { font-size:13px; } 
@media screen and (max-width: 768px){
    .custom-author-box .author-left strong, .custom-author-box .author-right a { font-size:16px; } 
}


/************** single post below modules **************/
@media screen and (max-width: 768px){
    .widget-area aside[id^="block-"] { padding: 0 15px; } 
}
/*** focus-module ***/
.focus-module { padding: 0 15px 0 0; } 
@media screen and (max-width: 768px){
    .focus-module { padding: 0 15px; } 
}
.focus-module h2 { font-size: 20px; font-weight: 600; padding-left: 0px; margin-top: 20px; margin-bottom: 10px; } 
section { margin-bottom: 40px; } 
.main-feature { display: flex; gap: 40px; margin-bottom: 30px; } 
.main-feature .image,
.main-feature .text { flex: 1; } 
.main-feature .text { display: flex; flex-direction: column; justify-content: flex-start; } 
.main-feature h3 { margin: 0; font-weight: 600; font-size: 30px; line-height: 1.2em; } 
.main-feature h3 a { color: #000; } 
.grid-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; } 
.grid-items p { font-size: 0.9rem; margin: 8px 0 4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; color: #000; } 
.grid-items a.more-link { display: inline-flex; align-items: center; font-size: 14px; text-align: center; padding-bottom: 1px; border-bottom: 1px solid #3d5266; color: #3d5266; text-decoration: none; width: fit-content; } 
.main-feature img { width: 100%; height: 260px; object-fit: cover; display: block; } 
.grid-items img { width: 100%; height: 160px; object-fit: cover; display: block; } 
.main-feature a.more-link { display: inline-flex; align-items: center; font-size: 17px; text-align: center; padding-bottom: 1px; border-bottom: 1px solid #3d5266; color: #3d5266; text-decoration: none; width: fit-content; padding-top: 10px; } 
@media screen and (max-width: 768px){
    .main-feature { flex-direction: column; gap: 0; } 
    .main-feature h3 { font-size: 16px; margin: 8px 0 4px; line-height: 1.4; font-weight: 400; padding-bottom: 5px; } 
    .main-feature a.more-link { font-size: 14px; padding-top: 0; } 
    .main-feature { margin-bottom:10px; } 
    .grid-items img { height: 260px; } 
    .grid-items p { font-size: 16px; } 
}


/************** main **************/
body.home .inside-article { padding: 0; } 
@media screen and (max-width: 768px) {
    body.home .site-content { padding: 0 10px; } 
}
#main-wrap li { list-style: none; } 
#main-wrap h2, #main-wrap h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; text-align: justify; } 
#main-wrap { margin: 0 auto; box-sizing: border-box; } 
#main-wrap .top-headlines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 60px; } 
#main-wrap .top-headlines .headline-left a.card { aspect-ratio: 3/2; display: block; position: relative; background-image: var(--bg-img); background-size: cover; background-position: center; text-decoration: none; color: #fff; overflow: hidden; } 
#main-wrap .top-headlines .headline-left a.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent); z-index: 1; } 
#main-wrap .top-headlines .headline-left .card-overlay { position: absolute; bottom: 0; left: 0; padding: 16px; z-index: 2; width: 100%; } 
#main-wrap .top-headlines .headline-right { display: flex; flex-direction: row; gap: 10px; flex-wrap: wrap; } 
#main-wrap .top-headlines .headline-right a.card { flex: 0 0 calc(50% - 10px); box-sizing: border-box; aspect-ratio: 3/2; display: block; position: relative; background-image: var(--bg-img); background-size: cover; background-position: center; text-decoration: none; color: #fff; overflow: hidden; } 
#main-wrap .top-headlines .headline-right a.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent); z-index: 1; } 
#main-wrap .top-headlines .headline-right .card-overlay { position: absolute; bottom: 0; left: 0; padding: 16px; z-index: 2; width: 100%; } 
#main-wrap .top-headlines .card-overlay .category { font-size: 12px; color: #fff; margin-bottom: 6px; display: inline-block; font-weight: bold; } 
#main-wrap .top-headlines .card-overlay h2, 
#main-wrap .top-headlines .card-overlay h3 { font-size: 18px; margin: 0 0 6px; line-height: 1.3; padding-left: 0; border: none; font-weight: normal; } 
#main-wrap .top-headlines .card-overlay .date { font-size: 12px; color: #fff; margin-bottom: 0; } 

#main-wrap .curation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; } 
#main-wrap .curation-grid .curation-block { display: flex; flex-direction: column; gap: 16px; } 
#main-wrap .curation-grid .curation-block .card.card-medium { aspect-ratio: 3/2; display: block; position: relative; background-image: var(--bg-img); background-size: cover; background-position: center; text-decoration: none; color: #fff; overflow: hidden; } 
#main-wrap .curation-grid .curation-block .card.card-medium::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent); z-index: 1; } 
#main-wrap .curation-grid .curation-block .card-overlay { position: absolute; bottom: 0; left: 0; padding: 16px; z-index: 2; width: 100%; } 
#main-wrap .curation-grid .curation-block .card-overlay h3 { font-size: 16px; margin: 0 0 6px; font-weight: normal; } 
#main-wrap .curation-grid .curation-block .card-overlay .date { font-size: 12px; color: #fff; margin-bottom: 0; } 

#main-wrap .curation-grid .curation-block .curation-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; } 
#main-wrap .curation-grid .curation-block .curation-list .list-card { display: flex; align-items: center; text-decoration: none; color: inherit; gap: 12px; } 
#main-wrap .curation-grid .curation-block .curation-list .list-thumb { width: 80px; aspect-ratio: 1/1; background-image: var(--bg-img); background-size: cover; background-position: center; flex-shrink: 0; } 
#main-wrap .curation-grid .curation-block .curation-list .list-meta .title { font-size: 16px; margin: 0 0 4px; line-height: 1.4; } 
#main-wrap .curation-grid .curation-block .curation-list .list-meta .date { font-size: 12px; color: #aaa; } 
@media (max-width: 768px){
    #main-wrap .top-headlines { grid-template-columns: 1fr; margin-bottom: 10px; } 
    #main-wrap .top-headlines .headline-right { flex-wrap: wrap; } 
    #main-wrap .top-headlines .headline-right a.card { flex: 0 0 100%; } 
    #main-wrap .curation-grid { grid-template-columns: 1fr; gap: 10px; } 
    #main-wrap .curation-grid .curation-block { gap: 10px; } 
    #main-wrap .curation-grid .curation-block .card.card-medium { aspect-ratio: 3/2; } 
    #main-wrap .curation-grid .curation-block .curation-list { gap: 16px; } 
    #main-wrap .curation-grid .curation-block .curation-list .list-card { flex-direction: row; } 
    #main-wrap .curation-grid .curation-block .curation-list .list-thumb { width: 70px; } 
    #main-wrap .top-headlines .card-overlay h2,
    #main-wrap .top-headlines .card-overlay h3 { font-size: 18px; } 
    #main-wrap .curation-grid .curation-block .card-overlay h3 { font-size: 15px; } 
    #main-wrap .curation-grid .curation-block .curation-list .list-meta .title { font-size: 13px; } 
    #main-wrap .top-headlines .headline-left a.card { aspect-ratio: 1 / 1.1; } 
}
.category-block { margin-bottom: 40px; } 
.inside-article h2.category-title { font-size: 25px; font-weight: 600; margin-bottom: 16px; border-bottom: 2px solid #000; padding-bottom: 4px; padding-left: 0; border-left: none; } 
.category-posts { display: flex; flex-wrap: wrap; gap: 16px; } 
.category-posts .card { background-image: var(--bg-img); flex: 0 0 calc(25% - 12px); aspect-ratio: 3/2; background-size: contain; background-repeat: no-repeat; color: #000; position: relative; display: block; text-decoration: none; overflow: hidden; padding-top: 200px; min-height: 380px; } 
.category-posts .card .card-overlay { background-color: #fff; padding: 12px 0; height: auto; position: relative; display: flex; flex-direction: column; justify-content: flex-start; } 
.category-posts .card h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; line-height: 1.4; } 
.category-posts .card .date { font-size: 12px; color: #666; margin: 0 0 2px; } 
.category-posts .card .author { font-size: 13px; font-weight: 600; color: #111; margin: 0 0 6px; } 
.category-posts .card .excerpt { font-size: 14px; color: #333; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } 
@media (max-width: 640px) {
    .category-posts .card { flex: 0 0 100%; } 
}


/************** arhive pages **************/
.separate-containers .page-header { padding: 25px 0; }
.separate-containers .page-header h1 { font-size: 40px;font-weight: bold; }
body.archive .inside-article h2 { font-size: 30px; font-weight: bold; padding: 0; border: none; margin-bottom: 10px; }
body.archive .paging-navigation { padding-left: 0; }
@media screen and (max-width: 768px) {
	.separate-containers .page-header { padding: 25px 15px; }
	.separate-containers .page-header h1 { font-size: 25px; }
	body.archive .paging-navigation { padding-left: 15px; }
}
