/* Rehearsal-style pages */

.rehearsal-page .top-header-bar {
    justify-content: center;
    padding: 0.85rem 1rem 0.35rem;
    border: 0;
    position: relative;
}

.rehearsal-page .top-header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.rehearsal-page .top-header-identity {
    display: none;
}

.rehearsal-page .top-header-controls {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
}

.rehearsal-page .basket-btn {
    display: none !important;
}

.rehearsal-main-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rehearsal-main-logo img {
    width: min(350px, 72vw);
    height: auto;
}

.rehearsal-content {
    width: min(920px, 96vw);
    margin: 0 auto 1.2rem;
    padding: 0.2rem 0.45rem 0.8rem;
    text-align: center;
}

.rehearsal-title {
    margin: 0 0 0.85rem;
    color: #1a1a1a;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    font-weight: 650;
    line-height: 1.06;
}

.backstage-title {
    color: #000;
}

.rehearsal-copy {
    margin: 0 auto 0.9rem;
    max-width: 46rem;
    color: #222;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: clamp(1rem, 1.85vw, 1.24rem);
    line-height: 1.45;
}

.backstage-video {
    width: min(100%, 46rem);
    height: auto;
}

.rehearsal-section {
    width: min(760px, 100%);
    margin: 1.45rem auto 0;
    text-align: left;
}

.rehearsal-subtitle {
    margin: 0 0 0.75rem;
    color: #0b5ea8;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 650;
    line-height: 1.1;
}

.rehearsal-section-copy {
    margin: 0 0 0.9rem;
    color: #222;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: clamp(0.98rem, 1.65vw, 1.12rem);
    line-height: 1.45;
}

.rehearsal-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rehearsal-link-item {
    margin: 0 0 0.7rem;
    color: #0b5ea8;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: clamp(1rem, 1.7vw, 1.18rem);
    line-height: 1.4;
}

.rehearsal-link-label {
    color: #222;
    font-weight: 400;
}

.rehearsal-link-anchor {
    color: #0b5ea8;
    text-decoration: underline;
}

.rehearsal-link-anchor:hover,
.rehearsal-link-anchor:focus {
    text-decoration-thickness: 2px;
}

.rehearsal-section--community-requests {
    margin-top: 1.6rem;
}

.rehearsal-section--feedback {
    margin-top: 1.75rem;
}

.rehearsal-feedback-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.rehearsal-feedback-field label,
.rehearsal-feedback-field .rehearsal-feedback-importance-label {
    display: inline-block;
    margin-bottom: 0.3rem;
    color: #222;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: 1rem;
}

.rehearsal-feedback-field input[type="text"],
.rehearsal-feedback-field select,
.rehearsal-feedback-field textarea {
    width: min(100%, 760px);
    box-sizing: border-box;
    border: 1px solid #c4d4e6;
    border-radius: 0.3rem;
    padding: 0.45rem 0.5rem;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: 0.98rem;
}

.rehearsal-feedback-field textarea {
    min-height: 7.2rem;
}

.rehearsal-feedback-field input[readonly] {
    background: #f5f8fc;
    color: #334;
}

.rehearsal-importance-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
    align-items: center;
}

.rehearsal-importance {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.rehearsal-importance input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.38rem;
    height: 1.38rem;
    border-radius: 50%;
    margin: 0;
    display: inline-grid;
    place-content: center;
    border: 2px solid rgba(0, 0, 0, 0.28);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.rehearsal-importance input[type="radio"]::before {
    content: "";
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 120ms ease-in-out;
    background: #fff;
}

.rehearsal-importance input[type="radio"]:checked::before {
    transform: scale(1);
}

.rehearsal-importance-text {
    font-weight: 700;
    color: #111;
}

.rehearsal-importance--green input[type="radio"] {
    background: radial-gradient(circle at 35% 30%, #63f07c 0%, #1fc43b 58%, #0b951f 100%);
}

.rehearsal-importance--yellow input[type="radio"] {
    background: radial-gradient(circle at 35% 30%, #ffe874 0%, #ffd326 58%, #f3a800 100%);
}

.rehearsal-importance--red input[type="radio"] {
    background: radial-gradient(circle at 35% 30%, #ff7b7b 0%, #ef2f2f 58%, #c91010 100%);
}

.rehearsal-feedback-actions {
    margin-top: 0.25rem;
}

/* Exception: larger than the standard btn-top size for this key call-to-action. */
.rehearsal-submit-feedback-button {
    font-size: 16px;
    padding: 12px 26px;
}

.rehearsal-ideas-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rehearsal-idea-item {
    margin: 0 0 0.8rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid #d7e3f1;
    border-radius: 0.35rem;
    background: #fbfdff;
}

.rehearsal-idea-text {
    color: #222;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    line-height: 1.4;
    margin-bottom: 0.45rem;
}

.rehearsal-idea-vote-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rehearsal-vote-form {
    margin: 0;
}

.rehearsal-vote-btn {
    min-width: 2.1rem;
    min-height: 1.9rem;
    padding: 0.2rem 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 0;
    box-shadow: none;
}

.rehearsal-vote-icon,
.rehearsal-vote-state-icon {
    width: 1.9rem;
    height: 1.9rem;
    object-fit: contain;
}

.rehearsal-idea-summary {
    color: #0b5ea8;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: clamp(0.95rem, 1.55vw, 1.06rem);
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.rehearsal-idea-summary-text {
    display: inline-flex;
    align-items: center;
}

.rehearsal-idea-voted {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    color: #1f1f1f;
    font-family: "Quattrocento Sans", sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
}

.rehearsal-cta {
    margin-top: 1rem;
}

.rehearsal-cta a {
    color: #1f1f1f;
    font-weight: 700;
    text-decoration: underline;
}

.rehearsal-cta a:hover,
.rehearsal-cta a:focus {
    text-decoration-thickness: 2px;
}

@media (max-width: 640px) {
    .rehearsal-page .top-header-controls {
        right: 0.45rem;
    }

    .rehearsal-content {
        width: min(920px, 97vw);
        padding-top: 0.15rem;
    }

    .rehearsal-idea-item {
        padding: 0.62rem;
    }

    .rehearsal-importance-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}
