/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0.0
*/

.work-review-template {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 16px 56px;
}

.work-review-header {
    margin-bottom: 32px;
}

.work-review-title {
    margin-bottom: 16px;
    line-height: 1.45;
}

.work-review-catch {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.75;
    margin: 18px 0 0;
    padding: 0;
    color: #222;
    letter-spacing: 0.02em;
}

.work-affiliate-notice {
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 12px 0 0;
    color: #666;
}

.work-info-section,
.work-review-body-section,
.work-rating-section {
    margin-bottom: 48px;
}



.work-info-box {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
}

.work-package-image {
    text-align: center;
    margin-bottom: 24px;
}

.work-package-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.work-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.work-info-table th,
.work-info-table td {
    border: 1px solid #ddd;
    padding: 12px 14px;
    vertical-align: top;
}

.work-info-table th {
    width: 32%;
    background: #f7f7f7;
    font-weight: 700;
    text-align: left;
}

.work-review-stars {
    color: #e60000;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.work-review-score {
    margin-left: 8px;
    font-weight: 700;
}

.work-cta {
    text-align: center;
    margin-top: 24px;
}

.work-cta-button {
    display: inline-block;
    width: 100%;
    max-width: 360px;
    padding: 16px 24px;
    background: #d90000;
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 0 #990000;
}

.work-cta-button:hover,
.work-cta-button:focus {
    color: #fff;
    background: #b80000;
    text-decoration: none;
}

.work-review-body {
    line-height: 1.9;
}

.work-review-body p,
.work-rating-text p {
    margin-bottom: 1.4em;
}

.work-rating-score {
    margin-bottom: 16px;
    padding: 16px 18px;
    background: #fff5f5;
    border: 1px solid #f0cccc;
}

.work-rating-text {
    line-height: 1.9;
}

@media (max-width: 768px) {
    .work-review-template {
        padding: 20px 14px 48px;
    }

    .work-review-catch {
        font-size: 1.1rem;
        padding: 16px;
    }

    .work-info-box {
        padding: 16px;
    }

    .work-info-table th,
    .work-info-table td {
        display: block;
        width: 100%;
    }

    .work-info-table th {
        border-bottom: none;
    }

    .work-cta-button {
        max-width: none;
    }
}