.player-image {
    width: 250px;
    height: 300px;
    object-fit: cover;
}

/* Survey page styling and underline removal */
.sportsclub-survey-page {
    padding: 16px 0;
}
.sportsclub-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.sportsclub-survey-header {
    text-align: center;
}
.sportsclub-survey-header .entry-title,
.sportsclub-survey-header .entry-title a {
    text-decoration: none !important;
    border-bottom: 0 !important;
}
.sportsclub-featured {
    display: flex;
    justify-content: center;
}
.sportsclub-embed { border: 0; border-radius: 8px; }

/* Remove underlines inside survey page, including on hover */
.sportsclub-survey-page a,
.sportsclub-survey-page a:hover,
.sportsclub-survey-page a:focus,
.sportsclub-survey-page * {
    text-decoration: none !important;
}
.sportsclub-survey-page:hover *,
.sportsclub-card:hover *,
.sportsclub-survey-page *:hover {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

/* Extra specificity to remove underlines in the form */
.sportsclub-survey-form label,
.sportsclub-survey-form .form-check-label,
.sportsclub-survey-form .option,
.sportsclub-survey-form .option span {
    text-decoration: none !important;
    border-bottom: 0 !important;
}
.sportsclub-survey-form a,
.sportsclub-survey-form a:hover,
.sportsclub-survey-form a:focus {
    text-decoration: none !important;
}

/* Override external CSS that underlines .container on hover */
@media (hover: hover) and (pointer: fine) {
    .container:hover {
        cursor: auto !important;
        text-decoration: none !important;
    }
}

/* RTL adjustments for Survey post */
.sportsclub-survey-page[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
.sportsclub-survey-page[dir="rtl"] .form-label,
.sportsclub-survey-page[dir="rtl"] .form-check-label,
.sportsclub-survey-page[dir="rtl"] input,
.sportsclub-survey-page[dir="rtl"] select,
.sportsclub-survey-page[dir="rtl"] textarea {
    text-align: right;
}
.sportsclub-survey-page[dir="rtl"] .form-check {
    padding-right: 1.5rem;
    padding-left: 0;
}
.sportsclub-survey-page[dir="rtl"] .form-check-input {
    float: right;
    margin-right: 0;
    margin-left: .5rem;
}
.sportsclub-survey-page[dir="rtl"] .alert {
    text-align: right;
}

/* Ensure radios/checkboxes render control on the right in RTL */
.sportsclub-survey-page[dir="rtl"] .form-check {
    display: flex;
    /* flex-direction removed per request */
    align-items: center;
    gap: .5rem;
    padding-right: 0; /* override earlier padding */
}
.sportsclub-survey-page[dir="rtl"] .form-check-input {
    float: none !important;
    margin-right: 0;
    margin-left: .5rem; /* space between input (right) and label (left) */
}

/* Apply same RTL alignment when only the form is used via shortcode */
.sportsclub-survey-form[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
.sportsclub-survey-form[dir="rtl"] .form-label,
.sportsclub-survey-form[dir="rtl"] .form-check-label,
.sportsclub-survey-form[dir="rtl"] input,
.sportsclub-survey-form[dir="rtl"] select,
.sportsclub-survey-form[dir="rtl"] textarea {
    text-align: right;
}
.sportsclub-survey-form[dir="rtl"] .form-check {
    display: flex;
    /* flex-direction removed per request */
    align-items: center;
    gap: .5rem;
}

/* Box/separator for each field */
.sportsclub-survey-form .mb-3 {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 14px;
    background: #fff;
}
.sportsclub-survey-form[dir="rtl"] .form-check-input {
    float: none !important;
    margin-right: 0;
    margin-left: .5rem;
}
