/***
 blog(블로그)
 */
/***
 머리
 */
.blog-header-wrap {
    display: grid;
    grid-template-rows: 1fr;
    width: 100%;
    height: 80px;
    max-height: 80px;
    padding: 10px 20px;
    background-color: #0b3e6fcc;
    color: #fff9e5;
    margin-bottom: 30px;
}
.blog-title-wrap {
    display: grid;
    grid-template-columns: 1fr 250px;
    width: 100%;
}
.blog-header-left {
    text-align: left;
}
.blog-header-title {
    display: flex;
    font-size: 2.0rem;
    font-weight: 700;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: left;
}
.blog-header-right {
    text-align: right;
}
.blog-header-sns {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: right;
}
.blog-header-sns i {
    font-size: 1.4rem;
    margin-left: 10px;
    margin-right: 10px;
    width: 20px;
}
.blog-header-sns i:hover {
    cursor: pointer;
    background-color: #404040;
    color: #fff;
}
.blog-category-top {
    display: none;
    width: 100%;
    height: 30px;
    clear: both;
}
.blog-cont-right {
    /*display: grid;*/
    /*grid-template-rows: 1fr;*/
    width: 100%;
    height: 100%;
}
.blog-category-right {
    display: inherit;
    width: 100%;
    /*height: 30px;*/
    float: left;
    margin-bottom: 30px;
}
.blog-category-right ul {
    list-style: none;
}
.blog-category-right ul li {
    padding: 0 20px;
    line-height: 2.0rem;
    cursor: pointer;
}
.blog-category-right ul li:hover {
    background-color: #0b3e6f60;
    color: #fff;
}
.blog-category-right ul li:after {
    content: '\f107';
    font-family: FontAwesome, serif;
    margin-left: 10px;
}
.blog-adv-wrap {
    width: calc(100% - 20px);
    min-height: 120px;
    clear: both;
    margin-left: 20px;
}
.blog-adv {
    width: 100%;
    min-height: 120px;
    margin-bottom: 5px;
    background-color: #ececec;
}
.blog-adv img {
    width: 100%;
    height: auto;
    min-height: 120px;
    margin-bottom: 5px;
    background-color: #ececec;
}
/***
 본문
 */
.blog-cont-wrap {
    display: grid;
    grid-template-columns: 70% 30%;
    width: 100%;
}
.blog-cont {
    width: 100%;
    min-height: 230px;
    /*max-height: 780px;*/
    /*margin-top: 20px;*/
}
.blog-card-wrap {
    width: 100%;
    /*clear: left;*/
}
.blog-card {
    display: grid;
    grid-template-columns: 25% 75%;
    width: calc(100% - 16px);
    min-height: 130px;
    margin: 0 8px 25px 8px;
    /*border: #c9c9c9 1px solid;*/
    /*background-color: #f5f5f5;*/
}
.blog-card-img {
    width: 100%;
    height: 100%;
}
.blog-card-img img {
    width: 100%;
    height: auto;
    /*max-height: 200px;*/
    object-fit: cover;
}
.blog-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 10px;
}
.blog-card-title a:hover {
    color: #bf193f;
    cursor: pointer;
}
.blog-card-info {
    margin-left: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
}
.blog-card-info span {
    margin-right: 8px;
}
.blog-card-text {
    max-width: 100%;
    max-height: 100px;
    margin-left: 10px;
    margin-top: 15px;
    line-height: 1.3rem;
    overflow: hidden;
    /*white-space: nowrap;*/
    text-overflow: ellipsis;
}
.blog-card-bottom {
    display: grid;
    grid-template-columns: 1fr 80px;
    width: 100%;
    height: 25px;
    margin-left: 10px;
    margin-top: 20px;
}
.hash-tag {
    padding-top: 5px;
}
.hash-tag a:before {
    content: '#';
}
.hash-tag a:hover {
    cursor: pointer;
    color: #bf193f;
    font-weight: 600;
}
.more-post-btn {
    width: 80px;
    height: 25px;
    /*margin-top: 5px;*/
    margin-left: calc(100% - 100px);
    margin-bottom: 0;
    background-color: #eaeaea;
    text-align: center;
    padding-top: 5px;
}
.more-post-btn:hover {
    background-color: #0b3e6f60;
    color: #fff;
    cursor: pointer;
}
@media screen and (max-width: 1399px) {
}
@media screen and (max-width: 1023px) {
    .blog-cont {
        margin-top: 20px;
    }
    .blog-cont-wrap {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 35px 1fr;
        width: 100%;
    }
    .blog-card {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr minmax(170px, 230px);
        width: calc(100% - 16px);
        margin: 0 8px 25px 8px;
    }
    .blog-card-title {
        margin-top: 10px;
    }
    .blog-category-right {
        display: none;
    }
    .blog-category-top {
        display: inherit;
    }
    .blog-category-top ul {
        list-style: none;
    }
    .blog-category-top ul li {
        float: left;
        padding: 0 20px;
        line-height: 2.0rem;
        cursor: pointer;
    }
    .blog-category-top ul li:hover {
        background-color: #0b3e6f60;
        color: #fff;
    }
    .blog-category-top ul li:after {
        content: '\f107';
        font-family: FontAwesome, serif;
        margin-left: 10px;
    }
    .blog-adv-wrap {
        width: calc(100% - 40px);
        margin-top: 20px;
        text-align: center;
    }
    .blog-adv-wrap img {
        object-fit: cover;
    }
}
/***
 꼬리
 */
.blog-footer-wrap {
    padding-top: 10px;
    height: 50px;
    clear: left;
    margin-left: 7px;
}
.blog-pager {
    width: 100%;
    height: 40px;
}
.page-btn {
    width: 35px;
    height: 35px;
    background-color: #e8e8e8;
    padding: 5px;
    font-size: 1.0rem;
    outline: none;
    border: none;
}
.page-btn:not(.active):hover {
    background-color: #0b3e6f60;
    cursor: pointer;
}
.page-btn.active {
    background-color: #0b3e6f60;
    color: #fff;
}
.page-btn.prev {
}
.page-btn.next {
}
@media screen and (max-width: 1399px) {
}
@media screen and (max-width: 1023px) {
    .blog-footer-wrap {
        margin-left: 20px;
    }
}
