.aun-video-hero,
.aun-video-detail-head {
    margin-bottom: 40px;
}

.aun-video-hero__eyebrow {
    color: #777;
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.4;
    margin: 0 0 8px;
}

.aun-video-hero__title,
.aun-video-detail-head__title {
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0;
}

.aun-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.aun-video-card {
    display: grid;
    background: #fff;
    border: 1px solid #d9d9d9;
}

.aun-video-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f2f2f2;
}

.aun-video-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aun-video-card__body {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.aun-video-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.aun-video-card__title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.4;
    margin: 0;
}

.aun-video-card__title a {
    color: inherit;
    text-decoration: none;
}

.aun-video-card__excerpt {
    color: #444;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
}

.aun-video-badge,
.aun-video-lock {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 3px 10px;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.4;
}

.aun-video-badge {
    color: #fff;
    background: #000;
}

.aun-video-badge--free {
    color: #000;
    background: #f3d23b;
}

.aun-video-lock {
    color: #777;
    background: #f2f2f2;
}

.aun-video-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aun-video-terms span {
    border: 1px solid #d9d9d9;
    padding: 4px 9px;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.4;
}

.aun-video-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 160px;
    min-height: 48px;
    color: #fff !important;
    background: #000;
    border: 2px solid #000;
    padding: 10px 18px;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.aun-video-button--outline {
    color: #000 !important;
    background: #fff;
}

@media (hover: hover) {
    .aun-video-card__title a:hover,
    .aun-video-back:hover {
        text-decoration: underline;
    }

    .aun-video-button:hover {
        color: #000 !important;
        background: #fff;
    }

    .aun-video-button--outline:hover {
        color: #fff !important;
        background: #000;
    }
}

.aun-video-back {
    display: inline-block;
    color: #555;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 20px;
}

.aun-video-detail-head .aun-video-badge {
    margin-bottom: 16px;
}

.aun-video-detail-head .aun-video-terms {
    margin-top: 18px;
}

.aun-video-favorite {
    display: grid;
    gap: 12px;
    justify-items: start;
    margin-top: 22px;
}

.aun-video-favorite__form {
    margin: 0;
}

.aun-video-favorite__notice {
    color: #008f3a;
    background: #effaf3;
    border: 1px solid #008f3a;
    padding: 10px 12px;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.5;
    margin: 0;
}

.aun-video-favorite__notice--error {
    color: #b00020;
    background: #fff5f6;
    border-color: #b00020;
}

.aun-video-embed {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    margin-bottom: 32px;
}

.aun-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.aun-video-content {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2;
}

.aun-video-content > *:first-child {
    margin-top: 0;
}

.aun-video-content > *:last-child {
    margin-bottom: 0;
}

.member-video-question-box__body {
    display: grid;
    gap: 18px;
}

.member-video-question-box__lead {
    margin: 0;
    color: #555;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8;
}

.member-video-question-box__threads {
    display: grid;
    gap: 16px;
}

.member-video-question-thread {
    display: grid;
    gap: 14px;
}

.member-video-question-thread__header {
    display: block;
}

.member-video-question-thread__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.5;
}

.member-video-question-thread__messages {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.member-video-question-message {
    position: relative;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.member-video-question-message--admin {
    background: #f7faf8;
    border-color: #cfe8d6;
}

.member-video-question-message__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
    color: #666;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.5;
}

.member-video-question-message__body {
    color: #111;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8;
}

.member-video-question-message__body p {
    margin: 0;
}

.member-video-question-message__body p + p {
    margin-top: 8px;
}

.member-video-question-message__body-text {
    font-weight: 400;
}

.member-video-question-message__body-text[hidden],
.member-video-question-form--inline-edit[hidden] {
    display: none;
}

.member-video-question-message__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 10px;
    right: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease;
}

.member-video-question-message:focus-within .member-video-question-message__actions,
.member-video-question-message:hover .member-video-question-message__actions {
    opacity: 1;
    pointer-events: auto;
}

.member-video-question-message.is-editing .member-video-question-message__actions {
    display: none;
}

@media (hover: none) {
    .member-video-question-message__actions {
        position: static;
        margin-top: 8px;
        opacity: 1;
        pointer-events: auto;
    }
}

.member-video-question-delete-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.member-video-question-message__action,
.member-video-question-message__edit-cancel,
.member-video-question-message__edit-submit {
    display: inline-flex;
    align-items: center;
    appearance: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    line-height: 1.5;
    cursor: pointer;
}

.member-video-question-message__action,
.member-video-question-message__edit-cancel {
    color: #333;
    font-size: 1.2rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.92);
    padding: 2px 3px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.member-video-question-message__edit-submit {
    min-height: 34px;
    border-radius: 4px;
    background: #000;
    color: #fff;
    padding: 7px 16px;
    font-size: 1.3rem;
    font-weight: 900;
}

.member-video-question-message__edit-cancel:focus-visible,
.member-video-question-message__edit-submit:focus-visible,
.member-video-question-message__action:focus-visible {
    outline: 2px solid #4d90fe;
    outline-offset: 0;
}

.member-video-question-form {
    display: grid;
    gap: 12px;
    margin: 0;
}

.member-video-question-form > .member-action-link {
    justify-self: end;
    min-width: 180px;
    padding: 10px 22px;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    width: auto;
}

.member-video-question-form--compact {
    margin-top: 12px;
}

.member-video-question-form--inline-edit {
    gap: 8px;
    margin-top: 0;
}

.member-video-question-form__field {
    display: grid;
    gap: 6px;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 900;
}

.member-video-question-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    padding: 12px;
    font: inherit;
    line-height: 1.7;
    resize: vertical;
}

.member-video-question-form__field textarea[name="aun_golf_question_body"] {
    font-weight: 400;
}

.member-video-question-form__label-text--hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.member-video-question-message__edit-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.member-video-question-modal[hidden] {
    display: none;
}

.member-video-question-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 24px;
}

.member-video-question-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.54);
}

.member-video-question-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(320px, calc(100vw - 48px));
    border-radius: 12px;
    background: #242424;
    color: #fff;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.member-video-question-modal__title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
}

.member-video-question-modal__text {
    margin: 0;
    color: #d2d2d2;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.7;
}

.member-video-question-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 28px;
}

.member-video-question-modal__button {
    appearance: none;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #6bb6ff;
    padding: 8px 0;
    font: inherit;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

.member-video-question-modal__button:focus-visible {
    outline: 2px solid #4d90fe;
    outline-offset: 2px;
}

.aun-video-locked,
.aun-video-empty {
    border: 2px solid #000;
    background: #fff;
    padding: 32px;
}

.aun-video-locked {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.aun-video-locked h2,
.aun-video-empty h1 {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.4;
    margin: 0;
}

.aun-video-locked p,
.aun-video-empty p {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
}

.aun-video-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.aun-video-plan {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 24px;
}

.aun-video-plan__summary,
.aun-video-plan__action,
.aun-video-status-panel {
    border: 2px solid #000;
    background: #fff;
    padding: 32px;
}

.aun-video-plan__summary {
    display: grid;
    align-content: start;
    gap: 16px;
}

.aun-video-plan__summary h2,
.aun-video-status-panel h1,
.aun-video-status-panel h2 {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0;
    margin: 0;
}

.aun-video-plan__summary p,
.aun-video-plan__action p,
.aun-video-status-panel p {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
}

.aun-video-plan__price {
    font-size: 3.6rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.aun-video-plan__action,
.aun-video-status-panel {
    display: grid;
    align-content: start;
    gap: 16px;
}

.aun-video-plan__form {
    margin: 0;
}

.aun-video-signup-form {
    display: grid;
    gap: 16px;
    margin: 0;
}

.aun-video-form-field {
    display: grid;
    gap: 8px;
}

.aun-video-form-field span,
.aun-video-checkbox,
.aun-video-text-link {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.5;
}

.aun-video-form-field input {
    width: 100%;
    min-height: 52px;
    color: #000;
    background: #fff;
    border: 2px solid #000;
    padding: 12px 14px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.aun-video-form-field input:focus {
    border-color: #005fcc;
    outline: none;
}

.aun-video-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.aun-video-checkbox input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: .2em;
    accent-color: #000;
}

.aun-video-checkbox a,
.aun-video-text-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aun-video-login-guide {
    display: grid;
    gap: 12px;
    border-top: 1px solid #d9d9d9;
    padding-top: 16px;
}

.aun-video-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.aun-video-notice {
    display: grid;
    gap: 12px;
    padding: 12px;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.5;
}

.aun-video-notice--error {
    color: #b00020;
    background: #fff5f6;
    border: 1px solid #b00020;
}

.aun-video-notice p {
    color: inherit;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    margin: 0;
}

.aun-video-plan__note,
.aun-video-status-panel__meta {
    color: #666;
    font-size: 1.3rem !important;
}

.aun-video-status-panel--checkout {
    max-width: 760px;
}

@media (max-width: 991.98px) {
    .aun-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aun-video-plan {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .aun-video-grid {
        grid-template-columns: 1fr;
    }

    .aun-video-card__body,
    .aun-video-locked,
    .aun-video-empty,
    .aun-video-plan__summary,
    .aun-video-plan__action,
    .aun-video-status-panel {
        padding: 22px;
    }

    .aun-video-card__meta,
    .aun-video-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .aun-video-button,
    .aun-video-actions .aun-video-button {
        width: 100%;
    }

    .member-video-question-form > .member-action-link {
        justify-self: stretch;
        width: 100%;
    }

    .aun-video-favorite,
    .aun-video-favorite__form,
    .aun-video-plan__form,
    .aun-video-signup-form,
    .aun-video-form-field,
    .aun-video-signup-form .aun-video-button {
        width: 100%;
    }
}
