﻿.mc-review-page,
.mc-reviews-showcase {
    font-family: "MCText", sans-serif;
    color: #003b44;
}

.mc-review-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 72px;
}

.mc-review-hero {
    margin: 20px 0 28px;
    min-height: 380px;
    display: grid;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 43, 48, 0.9) 0%, rgba(0, 59, 68, 0.78) 36%, rgba(0, 59, 68, 0.34) 64%, rgba(0, 59, 68, 0.08) 100%),
        url("../img/mc-review-hero-lupodcast2.jpg") center center / cover no-repeat;
    box-shadow: 0 20px 38px rgba(0, 59, 68, 0.18);
}

.mc-review-hero__inner {
    max-width: 640px;
    padding: 58px 52px;
}

.mc-review-kicker {
    margin: 0 0 12px;
    color: #8d4f72;
    font-family: "MCText", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.mc-review-hero .mc-review-kicker {
    color: #ffd9eb;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.mc-review-hero h1,
.mc-review-message h1,
.mc-review-message h2,
.mc-reviews-showcase__header h2 {
    margin: 0;
    color: #00687a;
    font-family: "MCTitle", serif;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0;
}

.mc-review-hero h1 {
    color: #ffffff;
    font-size: clamp(42px, 5vw, 76px);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.46);
}

.mc-review-hero p:not(.mc-review-kicker) {
    max-width: 560px;
    margin: 18px 0 0;
    color: #fffaf2;
    font-size: 21px;
    line-height: 1.56;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.56);
}

.mc-review-panel,
.mc-reviews-showcase__inner {
    border-radius: 30px;
    background:
        linear-gradient(rgba(255, 248, 239, 0.94), rgba(255, 252, 247, 0.9)),
        url("https://mareecreative.it/wp-content/uploads/2025/09/sfondo02-scaled.jpg") center center / cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 32px rgba(111, 90, 93, 0.11);
}

.mc-review-panel {
    padding: 38px;
}

.mc-review-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.mc-review-form__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mc-review-form__set {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    color: #6b5a5b;
}

.mc-review-form__set strong {
    color: #00687a;
}

.mc-review-form__field {
    display: grid;
    gap: 9px;
}

.mc-review-form__field label,
.mc-review-form__rating legend {
    margin: 0;
    color: #00687a;
    font-family: "MCText", sans-serif;
    font-weight: 700;
    font-size: 15px;
}

.mc-review-form input[type="text"],
.mc-review-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 104, 122, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    color: #003b44;
    font-size: 18px;
    line-height: 1.45;
    padding: 15px 16px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mc-review-form textarea,
.mc-review-check,
.mc-review-submit,
.mc-review-message,
.mc-review-form__rating {
    grid-column: 1 / -1;
}

.mc-review-form input[type="text"]:focus,
.mc-review-form textarea:focus {
    border-color: rgba(0, 104, 122, 0.5);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(67, 176, 183, 0.15);
}

.mc-review-stars-input {
    display: inline-flex;
    flex-direction: row;
    direction: rtl;
    justify-content: flex-end;
    gap: 8px;
}

.mc-review-stars-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mc-review-stars-input label {
    margin: 0;
    color: #d5c1ae;
    cursor: pointer;
    font-size: 42px;
    line-height: 1;
    transition: transform 0.16s ease, color 0.16s ease;
}

.mc-review-stars-input label:hover,
.mc-review-stars-input label:hover ~ label,
.mc-review-stars-input input:checked ~ label {
    color: #d89a38;
}

.mc-review-stars-input label:hover {
    transform: translateY(-2px);
}

.mc-review-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #5f5354;
    font-size: 16px;
    line-height: 1.45;
}

.mc-review-check input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #00687a;
}

.mc-review-check a {
    color: #00687a;
    font-family: "MCText", sans-serif;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mc-review-submit,
.mc-review-inline-link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: #00687a;
    color: #ffffff;
    font-family: "MCText", sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 12px 22px rgba(0, 104, 122, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mc-review-submit:hover,
.mc-review-inline-link:hover {
    background: #8d4f72;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(141, 79, 114, 0.2);
}

.mc-review-message {
    padding: 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.68);
}

.mc-review-message h1,
.mc-review-message h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.mc-review-message p {
    margin: 14px 0 0;
    color: #5f5354;
    font-size: 18px;
    line-height: 1.6;
}

.mc-review-message ul {
    margin: 12px 0 0;
    padding-left: 20px;
}

.mc-review-message--error {
    border: 1px solid rgba(141, 79, 114, 0.22);
}

.mc-review-message--success {
    border: 1px solid rgba(0, 104, 122, 0.18);
}

.mc-review-page--action {
    padding-top: 42px;
}

.mc-review-inline-link {
    margin-top: 20px;
}

.mc-reviews-showcase {
    margin: 42px 0 22px;
}

.mc-reviews-showcase__inner {
    padding: 38px 40px 42px;
}

.mc-reviews-showcase__header {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
}

.mc-reviews-showcase__header h2 {
    font-size: clamp(30px, 3.5vw, 48px);
}

.mc-reviews-showcase__header p {
    margin: 14px 0 0;
    color: #6b5a5b;
    font-size: 18px;
    line-height: 1.65;
}

.mc-reviews-summary {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    align-items: center;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: #6b5a5b;
}

.mc-reviews-summary strong {
    color: #00687a;
}

.mc-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mc-review-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 10px 20px rgba(111, 90, 93, 0.08);
}

.mc-review-card__stars,
.mc-reviews-summary__stars {
    color: #d89a38;
    font-size: 19px;
    letter-spacing: 0.08em;
}

.mc-review-card__stars .is-empty,
.mc-reviews-summary__stars .is-empty {
    color: #d5c1ae;
}

.mc-review-card__text {
    margin-top: 14px;
    color: #4f4949;
    font-size: 17px;
    line-height: 1.62;
}

.mc-review-card__text p {
    margin: 0 0 12px;
}

.mc-review-card__text p:last-child {
    margin-bottom: 0;
}

.mc-review-card__footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 18px;
    color: #6b5a5b;
}

.mc-review-card__footer strong {
    color: #00687a;
    font-family: "MCText", sans-serif;
    font-weight: 700;
}

.mc-review-card__footer span {
    font-size: 14px;
}

@media (max-width: 991px) {
    .mc-review-form,
    .mc-reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .mc-review-page {
        width: min(100% - 22px, 1120px);
        margin-bottom: 48px;
    }

    .mc-review-hero {
        min-height: 360px;
        border-radius: 24px;
        background:
            linear-gradient(90deg, rgba(0, 43, 48, 0.92) 0%, rgba(0, 59, 68, 0.76) 56%, rgba(0, 59, 68, 0.28) 100%),
            url("../img/mc-review-hero-lupodcast2.jpg") 34% center / cover no-repeat;
    }

    .mc-review-hero__inner,
    .mc-review-panel,
    .mc-reviews-showcase__inner {
        padding: 28px 22px;
    }

    .mc-review-hero p:not(.mc-review-kicker),
    .mc-reviews-showcase__header p,
    .mc-review-message p {
        font-size: 17px;
    }

    .mc-review-stars-input label {
        font-size: 36px;
    }

    .mc-review-card {
        padding: 22px;
    }
}
