body {
    padding-top: 56px; /* 56px + navbar border-bottom */
    margin-top: 0;
}

a {
    text-decoration: none !important;
    color: black;
}
a:hover {
    color: #007BFF;
}

h1 {
    font-size: 1.4rem;
}

/* header */
header .navbar {
    /*border-bottom: 3px solid #005BDF;*/
}
header .navbar-dark .navbar-toggler {
    color: white;
}
header .category-keywords {
    border-bottom: 1px solid #DADADD;
}
header .category-keywords .keyword-link {
    font-size: 0.9rem;
    color: #333335;
    display: block;
    text-align: center;
    padding: 9px 2px;
}
header .category-keywords .keyword-link.active {
    color: #007BFF;
    font-weight: bold;
    background-color: #F5F5F8;
}

/* footer */
footer {
    margin-top: 50px;
    margin-bottom: 30px;
}
footer .footer-content {
    border-top: 1px solid #DADADD;
    background-color: white;
    padding: 15px 0;
}
footer .partners-description {
    text-align: right;
    font-size: 1rem;
    color: #007bff;
}

.sub-navbar {
    margin: 10px 10px 0 10px;
}
.sub-navbar .breadcrumb {
    padding: 10px 16px;
}

/* recent keywords */
.recent-keywords {
    margin-right: 12px;
}
.recent-keywords .list-group-item {
    padding: 10px 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.post {
    color: black;
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #EAEAEC;
}
.post:hover {
    background-color: #F0F0F3;
    border-radius: 0;
}
.post:hover .title {
    text-decoration: underline;
}

.post-wrapper:last-child .post {
    border-bottom: none;
}

.post-body {
    padding-left: 15px;
}
.post-body .title {
    font-size: 1.2rem;
}
.post-body .created {
    color: #777779;
    font-size: 0.9rem;
}
.post-body .items {
    margin-top: 7px;
    font-size: 0.9rem;
    color: black;
}

.post-body .items .title-wrapper {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* post detail */
.post-header {
    padding: 40px 15px;
    text-align: center;
}
.post-header .title-wrapper {
    font-size: 1.4rem;
    margin-bottom: 5px;
}
.post-header .weeks {
    font-size: 0.95rem;
    color: #777779
}

.post-item-wrapper:last-child .post-item {
    border-bottom: 1px solid #EAEAEC;
}

.post-item {
    color: black;
    display: block;
    padding: 12px 10px;
    border-top: 1px solid #EAEAEC;
}
.post-item:hover {
    border-radius: 0;
    background-color: #F0F0F3;
}
.post-item:hover .title .text {
    text-decoration: underline;
}

.post-item-body {
    padding: 0 0 0 15px;
}

/* https://deeplify.dev/front-end/markup/text-ellipsis */
.post-item-body .title {
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.post-item-body .price {
    font-size: 1.0rem;
    color: #007BFF;
}
.post-item-body .price .won {
    font-weight: bold;
}
.post-item-body .post-item-review {
    margin-top: 6px;
}
.post-item-body .post-item-review .content {
    font-size: 0.85rem;
    line-height: 160%;
    color: #606063;
}
.post-item-body .post-reviews-item-review {
    margin-top: 9px;
}
.post-item-body .post-reviews-item-review .content {
    font-size: 0.89rem;
    line-height: 160%;
    color: #303033;
    padding: 6px 9px;
    border-radius: 7px;
    border: 2px dotted #E0E0E3;
    background-color: #F0F0F3;
}

.product-reviews {
    margin-bottom: 40px;
    text-align: center;
}
.product-reviews .product-reviews-item-review {
    text-align: left;
}
.product-reviews .product-reviews-item-review .content {
    font-size: 1.05rem;
    line-height: 160%;
    word-break: break-word;
    color: #606063;
    padding: 18px 16px;
    border-top: 3px dotted #E0E0E3;
}

.more-in-coupang {
    margin: 15px 15px 0 15px;
    padding: 10px;
    border: 1px solid #007BFF;
    text-align: center;
    font-size: 1.1rem;
    color: #007BFF;
    border-radius: 5px;
}
.more-in-coupang:hover {
    color: white;
    background-color: #007BFF;
}

.item-order-wrapper {
    text-align: right;
    padding: 10px 20px;
}
.item-order-wrapper .item-order {
    color: #959598;
    margin-right: 6px;
    font-size: 0.85rem;
}
.item-order-wrapper .item-order:hover {
    cursor: pointer;
}
.item-order-wrapper .item-order:last-child {
    margin-right: 0;
}
.item-order-wrapper .item-order:before {
    display: inline-block;
    width: 2px;
    height: 2px;
    margin-right: 5px;
    background-color: #959598;
    vertical-align: 3px;
    content: "";
}
.item-order-wrapper .item-order.active {
    color: #007BFF;
}
.item-order-wrapper .item-order.active:before {
    background-color: #007BFF;
}
.item-order-wrapper .item-order:hover {
    color: #007BFF;
    text-decoration: underline !important;
}

.to-latest-wrapper {
    text-align: right;
    margin: 25px 15px 0 15px;
    text-decoration: underline;
}
.to-latest-wrapper .link {
    color: #959598;
}
.to-latest-wrapper .link:hover {
    color: #007BFF;
}

.other-reviews-wrapper {
    margin-top: 35px;
}
.other-reviews-wrapper .post-sub-title {
    margin-bottom: 5px;
}
.other-reviews-wrapper .post-sub-title .more {
    font-weight: normal;
    color: #959598;
    font-size: 1rem;
    text-decoration: underline !important;
}
.other-reviews-wrapper .post-sub-title .more:hover {
    color: #007BFF;
}
.other-reviews-wrapper .other-review {
    padding: 8px 10px 8px 15px;
    border-bottom: 1px solid #EAEAEC;
}
.other-reviews-wrapper .other-review:last-child {
    border-bottom: none;
}
.other-reviews-wrapper .other-review:hover {
    background-color: #F0F0F3;
    border-radius: 0;
    cursor: pointer;
}
.other-reviews-wrapper .other-review .content-wrapper {
    padding: 4px 12px 4px 0;
}
.other-reviews-wrapper .other-review .content {
    font-size: 0.95rem;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.other-reviews-wrapper .other-review .item-name {
    font-size: 0.85rem;
    color: #959598;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.other-relation-wrapper {
    margin-top: 30px;
}

.other-posts-wrapper {
    margin-top: 40px;
}
.other-posts-wrapper .post-sub-title {
    margin-bottom: 10px;
}

.post-sub-title {
    font-size: 1.25rem;
    padding: 0 15px;
    font-weight: bold;
}
.other-relation-data-wrapper {
    padding: 0 12px;
}
.other-relation {
    margin-right: 7px;
    margin-bottom: 7px;
}

.product-items-wrapper .post-item-wrapper:first-child .post-item {
    border-top: none;
}
.product-items-wrapper .post-item-wrapper:last-child .post-item {
    border-bottom: none;
}
.other-items-wrapper {
    margin-top: 30px;
}
.other-items-wrapper .post-item-wrapper:first-child .post-item {
    border-top: none;
}
.other-items-wrapper .post-item-wrapper:last-child .post-item {
    border-bottom: none;
}
.other-items-wrapper .post-sub-title {
    padding-bottom: 10px;
}

.product-title {
    text-align: center;
    padding: 20px 15px 20px 15px;
}
.product-title .created {
    font-size: 0.95rem;
    color: #777779;
}

@media (min-width: 768px) {
    h1 {
        font-size: 1.75rem;
    }

    footer .partners-description {
        font-size: 1.0rem;
    }

    .post {
        padding: 15px 12px;
        border-bottom: none;
    }
    .post:hover {
        border-radius: 5px;
    }

    .post-body {
        padding-left: 30px;
    }
    .post-body .title {
        font-size: 1.4rem;
    }
    .post-body .created {
        font-size: 1.0rem;
    }

    .post-header {
        padding: 60px 15px;
    }
    .post-header .title-wrapper {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }
    .post-header .weeks {
        font-size: 1.1rem;
    }

    .other-reviews-wrapper {
        margin-top: 35px;
    }
    .other-reviews-wrapper .post-sub-title {
        margin-bottom: 8px;
    }
    .other-reviews-wrapper .other-review {
        padding: 12px 15px;
        border-bottom: none;
    }
    .other-reviews-wrapper .other-review:hover {
        border-radius: 5px;
    }
    .other-reviews-wrapper .other-review .content-wrapper {
        padding-right: 10px;
    }
    .other-reviews-wrapper .other-review .content {
        font-size: 1.0rem;
        margin-bottom: 3px;
    }
    .other-reviews-wrapper .other-review .item-name {
        font-size: 0.95rem;
    }

    .product-reviews {
        margin-bottom: 50px;
        text-align: center;
    }
    .product-reviews .product-reviews-item-review {
        display: inline-block;
        margin-top: 30px;
        width: 550px;
        text-align: left;
    }
    .product-reviews .product-reviews-item-review .content {
        font-size: 1.15rem;
        line-height: 170%;
        word-break: break-word;
        color: #606063;
        padding: 15px 18px;
        border-radius: 10px;
        border: 3px dotted #E0E0E3;
    }

    .post-item-wrapper:last-child .post-item {
        border-bottom: none;
    }

    .post-item {
        padding: 15px 12px;
        border-top: none;
    }
    .post-item:hover {
        border-radius: 5px;
    }

    .post-item-body {
        padding: 12px 0 0 0;
    }
    .post-item-body .price {
        font-size: 1.1rem;
        color: #007BFF;
    }
    .post-item-body .price .won {
        font-weight: bold;
    }
    .post-item-body .post-item-review {
        margin-top: 8px;
    }

    .other-items-wrapper .post-item-body {
        padding: 0 0 0 15px;
    }

    .more-in-coupang {
        margin: 15px 0 0 0;
        padding: 15px;
        font-size: 1.3rem;
    }

    .item-order-wrapper {
        padding: 15px 15px;
    }
    .item-order-wrapper .item-order {
        margin-right: 9px;
        font-size: 1.0rem;
    }
    .item-order-wrapper .item-order:before {
        margin-right: 7px;
    }

    .other-relation-wrapper {
        margin-top: 30px;
    }

    .other-posts-wrapper {
        margin-top: 40px;
    }

    .product-title .created {
        font-size: 1.1rem;
    }
}

/* lg */
@media (min-width: 992px) {
    body {
        margin-top: 15px;
    }

    .sub-navbar {
        margin: 0;
    }
    .sub-navbar .breadcrumb {
        padding: 12px 20px;
    }

    .post-body .items {
        margin-top: 15px;
        font-size: 1.0rem;
    }

    .other-reviews-wrapper {
        margin-top: 40px;
    }

    .other-relation-wrapper {
        margin-top: 35px;
    }

    .other-posts-wrapper {
        margin-top: 50px;
    }
}
