/*-----------------------------------------------
** default
*------------------------------------------------*/
strong {
    color: #ff6464 !important;
}

a {
    color: blue;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
}
a:hover {
    color: blue;
}

.posttitle > a {
    color: #333;
    font-size: 1.1em;
}

.brand,
.menu-item > a,
.site-footer a {
    text-decoration: none;
}

.ohter {
    margin-bottom: 30px;
}
.ohter > li {
    margin-bottom: 10px;
}
.ohter > li > ul {
    list-style-type: disc;
    margin-left: 30px;
}

.disc {
    list-style-type: disc;    
}
.disc > li {
    margin-bottom: 10px;
}

.margin-bottom {
    margin-bottom: 30px;
}

/*-----------------------------------------------
** top
*------------------------------------------------*/
.visual {
    position: relative;
    text-align: center;
    background: url(https://cardnara.com/wp-content/uploads/2021/06/bg-card22.jpg)
        no-repeat;
    background-size: cover;
    background-position: center bottom;
    min-height: 500px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

.section {
    max-width: 1170px;
    margin: 0 auto;
    padding: 50px;
    font-size: 1.1em;
}
.home-title {
    font-size: 2em;
    text-shadow: 1px 1px #0d0d0d;
    margin-bottom: 30px;
    color: #fff;
}

.home-desc,
.home-desc > p {
    position: relative;
}
.home-desc {
    color: #fff;
    text-shadow: 1px 1px #293995;
    padding: 15px 10px;
    margin-bottom: 20px;
}
.home-desc::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(https://cardnara.com/wp-content/uploads/2021/06/pattern11.png);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.9;
}
.home-desc::after {
    content: "";
    display: block;
    width: 0px;
    height: 0px;
    border-top: 30px solid #ff5722;
    border-right: 30px solid transparent;
    position: absolute;
    top: 0;
    left: 0;
}
.home-desc > p:last-child {
    margin-bottom: 0;
}

/*-----------------------------------------------
** section contact-info
*------------------------------------------------*/
.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}
.title {
    margin-top: 50px;
}

.wrap {
    overflow: hidden;
}
.w50 {
    box-sizing: border-box;
    float: left;
    width: 49%;
    margin-right: 2%;
    border-right: 1px solid #ccc;
}
.last {
    margin: 0;
    border: none;
}
.right {
    float: right;
}

.btn {
    text-transform: lowercase;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: normal;
    margin-right: 1em;
    color: #fff;
    text-decoration: none;
    position: relative;
    top: -13px;
}


/*-----------------------------------------------
** 최신글
*------------------------------------------------*/
.short_recent_thumb {
    overflow: hidden;
}
.short_recent_thumb > li {
    float: left;
    width: 24%;
    margin-right: 1%;
    margin-bottom: 10px;
}
.short_recent_thumb > li:nth-child(4n) {
    margin-right: 0;
}

.short_recent_thumb .wp-post-image {
    max-height: 161px;
}
.short_recent_thumb .modify-date {
    display: none;
}
.short_recent_thumb a {
    text-decoration: none;
}
.short_recent_thumb .wp-post-image {
    min-height: 203px;
}


/*-----------------------------------------------
** section info
*------------------------------------------------*/
.bg-grey {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
}

.w25,
.w33 {
    box-sizing: border-box;
    float: left;
    width: 24%;
    padding: 10px 10px 70px 10px;
    margin-right: 1%;
    border: 2px solid #ccc;
    position: relative;
}
.w25.last,
.w33.last {
    margin-right: 0;
}
.w25 > h3,
.w33 > h3 {
    text-align: center;
    font-size: 1em;
    padding: 7px 0;
    margin-bottom: 0;
    background-color: #000;
    color: #fff;
}

.icon::after {
    content: "";
    width: 62px;
    height: 62px;
    display: inline-block;
    background: url(https://cardnara.com/wp-content/uploads/2021/06/icon.png)
        no-repeat 0 0;
    background-size: 62px 248px;
    position: absolute;
    bottom: 20px;
    right: 30px;
}
.icon1::after {
    background-position: 0 -62px;
}
.icon2::after {
    background-position: 0 0;
}
.icon3::after {
    background-position: 0 -124px;
}
.icon4::after {
    background-position: 0 -186px;
}

.w25 > a {
    text-decoration: none;
}
.thumb-title {
    color: #333;
}

.credit-card {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.gift-card {
    border: 3px solid #e9e6c4;
    padding: 10px;
}
.gift-card > strong {
    display: inline-block;
    font-size: 1.2em;
    margin-bottom: 10px;
}


/*-----------------------------------------------
** recent list
*------------------------------------------------*/
.w33 {
    width: 32%;
    padding: 10px;
    position: relative;
}
.more {
    text-decoration: none !important;
    position: absolute;
    top: 17px;
    right: 17px;
    line-height: 1;
    padding: 2px;
    border: 1px solid #eaa337;
    color: #eaa337;
}

.cut-title,
.short_comments_list > li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    font-weight: normal;
}
.cut-title > a {
    color: #444;
    font-weight: normal;
    text-decoration: none;
}

/* 후기 */
.box-title {
    position: relative;
    text-align: center;
    padding: 7px 0;
    background-color: #000;
    color: #fff;
}
.box-title > .more {
    top: 16px;
    right: 17px;
    font-size: 23px;
}

.short_comments_list > .cut-title {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 7px;
}
.short_comments_list > .cut-title > a {
    color: #4e4e4e;
    font-weight: 500;
}
.short_comments_list > .cut-title > .comment-meta {
    color: #777;
}

/* wpforo */
.w33-wrap {
    display: flex;
}
.widget_wpforo_recent_topics {
    font-size: 14px;
}
.wpforo-widget-content {
    padding-top: 20px;
}
.posttitle {
    margin-bottom: 10px;
}
.postuser {
    display: none;
}


/*-----------------------------------------------
** Media
*------------------------------------------------*/
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 960px) {
}
@media only screen and (max-width: 768px) {
    .m-block {
        display: block;
    }

    .home-desc {
        padding: 10px;
    }

    .short_recent_thumb {
        overflow: hidden;
    }
    .short_recent_thumb > li {
        width: 49%;
        margin-right: 2%;
    }
    .short_recent_thumb > li:nth-child(2n) {
        margin-right: 0;
    }

    .btn {
        display: inline-block;
        width: 80%;
        margin-bottom: 5px;
    }

    .w25,
    .w33 {
        width: 49%;
        margin-bottom: 1em;
    }

    .gift-card {
        text-align: center;
    }
    .gift-card > img {
        float: none;
    }
}
@media only screen and (max-width: 480px) {
    .section {
        padding: 15px;
    }
    .section-title {
        font-size: 1.6em !important;
    }
    .box-title {
        font-size: 1.3em !important;
    }
    .box-title > .more {
        top: 7px;
    }

    .w33-wrap {
        display: block;
    }
    .w25, .w33 {
        width: 100%;
        margin-right: 0;
    }

    .credit-card {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .w50 > h3 {
        text-align: center;
    }
    .btn {
        display: block;
        width: 100%;
        font-weight: 500;
        margin-right: 0;
        margin-bottom: 14px;
        font-size: 1em;
        padding: 5px 10px;
    }
}
