/* Teach & Host English at Home – Host Tutors
 * Scoped styling for #ukse-teach-and-host, mirroring home tuition student page / For-Schools look.
 */

#ukse-teach-and-host {
    padding: 3rem 0 4rem;
    background: transparent;
}

#ukse-teach-and-host .ukse-page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

#ukse-teach-and-host .ukse-teach-and-host__article {
    background: #ffffff;
    border-radius: 32px;
    padding: 2.5rem 2.5rem 3.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
}

/* Header / title */
#ukse-teach-and-host .article-header__top {
    margin-bottom: 2rem;
}

#ukse-teach-and-host .ukse-teach-and-host__hero {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}

#ukse-teach-and-host .ukse-teach-and-host__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 2.75rem 3rem;
    border-radius: 24px;
    background: #f6f8fc;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
}

#ukse-teach-and-host .ukse-teach-and-host__hero-text h3 {
    margin: 0 0 1rem;
    font-size: 2rem;
    text-align: left;
    position: static;
}

#ukse-teach-and-host .ukse-teach-and-host__hero-text h3::after {
    display: none;
}

#ukse-teach-and-host .ukse-teach-and-host__hero-text p {
    margin: 0 0 0.9rem;
    color: #4c5568;
    max-width: 640px;
}

#ukse-teach-and-host .ukse-teach-and-host__hero-actions {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

#ukse-teach-and-host .ukse-teach-and-host__hero-image {
    text-align: right;
}

#ukse-teach-and-host .ukse-teach-and-host__hero-image img {
    display: inline-block;
    max-width: 450px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

#ukse-teach-and-host .ukse-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    margin-right: 0.75rem;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

#ukse-teach-and-host .ukse-cta-btn--primary {
    background-image: linear-gradient(135deg, #ff7e4a, #e6007e);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(255, 126, 74, 0.45);
}

#ukse-teach-and-host .ukse-cta-btn--primary:hover {
    background-image: linear-gradient(135deg, #ff6a2c, #d40072);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(255, 106, 44, 0.55);
}

#ukse-teach-and-host .ukse-cta-btn--outline {
    background: #ffffff;
    color: #0b1233;
    border: 2px solid #ff7e4a;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

#ukse-teach-and-host .ukse-cta-btn--outline:hover {
    background: #fff7fb;
    color: #0b1233;
    transform: translateY(-1px);
}

#ukse-teach-and-host .ukse-teach-and-host__hero-inner,
#ukse-teach-and-host .ukse-teach-and-host__hero-text,
#ukse-teach-and-host .ukse-teach-and-host__hero-image {
    position: relative;
}

#ukse-teach-and-host .page-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

#ukse-teach-and-host .page-intro {
    font-size: 1.6rem;
    line-height: 1;
    line-height: 1.6;
    max-width: 720px;
    margin: 0 0 1.4rem;
    color: #4c5568;
}

#ukse-teach-and-host .page-intro a.read-more {
    display: none;
}

#ukse-teach-and-host .ukse-teach-and-host__section--intro {
    display: none !important;
}

@media (max-width: 900px) {
    #ukse-teach-and-host .ukse-teach-and-host__hero-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 2rem 1.75rem;
    }

    #ukse-teach-and-host .ukse-teach-and-host__hero-image {
        text-align: center;
        margin-top: 1.25rem;
    }

    #ukse-teach-and-host .ukse-teach-and-host__hero-image img {
        max-width: 450px;
    }
}

/* Content */
#ukse-teach-and-host .ukse-teach-and-host__content {
    font-size: 0.97rem;
    line-height: 1.6;
}

#ukse-teach-and-host .ukse-teach-and-host__content h2 {
    margin-top: 3.5rem;
    margin-bottom: 1.6rem;
}

#ukse-teach-and-host .ukse-teach-and-host__section--intro + .ukse-teach-and-host__section h2 {
    margin-top: 2.5rem;
}

#ukse-teach-and-host .ukse-teach-and-host__content h3 {
    font-size: 1.2rem;
    margin-top: 2.2rem;
    margin-bottom: 0.75rem;
}

#ukse-teach-and-host .ukse-teach-and-host__content p {
    margin: 0 0 0.85rem;
}

#ukse-teach-and-host .ukse-teach-and-host__content ul,
#ukse-teach-and-host .ukse-teach-and-host__content ol {
    margin: 0.25rem 0 1rem 1.4rem;
}

/* Generic cards */
#ukse-teach-and-host .ukse-teach-and-host__card {
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    background: #f6f8fc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
}

#ukse-teach-and-host .ukse-teach-and-host__card--accent {
    background: #f0e8ff;
}

#ukse-teach-and-host .ukse-teach-and-host__section--how,
#ukse-teach-and-host .ukse-teach-and-host__section--pricing,
#ukse-teach-and-host .ukse-teach-and-host__section--process {
    background: #f7f5ff;
    border-radius: 18px;
    padding: 1.75rem 2rem;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

#ukse-teach-and-host .ukse-teach-and-host__section--how ol,
#ukse-teach-and-host .ukse-teach-and-host__section--pricing ol,
#ukse-teach-and-host .ukse-teach-and-host__section--process ol {
    list-style: none;
    margin: 0;
    margin-top: 1.2rem;
    padding: 0;
    counter-reset: ukse-host-step;
}

#ukse-teach-and-host .ukse-teach-and-host__section--how ul,
#ukse-teach-and-host .ukse-teach-and-host__section--pricing ul,
#ukse-teach-and-host .ukse-teach-and-host__section--process ul {
    list-style: none;
    margin: 0;
    margin-top: 1.2rem;
    padding: 0;
}

#ukse-teach-and-host .ukse-teach-and-host__section--how li,
#ukse-teach-and-host .ukse-teach-and-host__section--pricing li,
#ukse-teach-and-host .ukse-teach-and-host__section--process li {
    counter-increment: ukse-host-step;
    background: #ffffff;
    border-radius: 14px;
    padding: 1.2rem 1.4rem 1.1rem 3.6rem;
    margin-bottom: 0.7rem;
    box-shadow: 0 10px 28px rgba(0, 0, 50, 0.08);
    position: relative;
}

#ukse-teach-and-host .ukse-teach-and-host__section--how li::before,
#ukse-teach-and-host .ukse-teach-and-host__section--pricing li::before,
#ukse-teach-and-host .ukse-teach-and-host__section--process li::before {
    content: counter(ukse-host-step);
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7e4a, #e6007e);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 2.2rem;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board > h2,
#ukse-teach-and-host .ukse-teach-and-host__section--board > p {
    grid-column: 1 / -1;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card {
    border-radius: 20px;
    padding: 4.25rem 1.8rem 1.7rem;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 50, 0.08);
    border: none;
    margin: 0;
    text-align: left;
    position: relative;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card::before {
    content: "\f2e7";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "Font Awesome", sans-serif;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7e4a, #e6007e);
    color: #fff;
    font-size: 1.05rem;
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: none;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card:nth-of-type(1)::before {
    content: "\f2e7";
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card:nth-of-type(2)::before {
    content: "\f0f4";
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card:nth-of-type(3)::before {
    content: "\f6d7";
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card:nth-of-type(4)::before {
    content: "\f005";
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card:nth-of-type(1) {
    background: #fff5ef;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card:nth-of-type(2) {
    background: #f3f8ff !important;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card:nth-of-type(3) {
    background: #f3fbf4;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card:nth-of-type(4) {
    background: #fff4fb;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #000032;
}

#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Badge chips */
#ukse-teach-and-host .ukse-teach-and-host__badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: #eef2f7;
    font-size: 0.78rem;
    margin: 0 0.4rem 0.4rem 0;
}

/* Timetable block */
#ukse-teach-and-host .ukse-teach-and-host__timetable {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 1rem 1.5rem;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.035);
    margin-bottom: 1.75rem;
}

/* FAQ items */
#ukse-teach-and-host .ukse-teach-and-host__faq-item {
    border-radius: 14px;
    margin-bottom: 0.85rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

#ukse-teach-and-host .ukse-teach-and-host__faq-item-header {
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #ff7e4a, #e6007e);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#ukse-teach-and-host .ukse-teach-and-host__faq-item-header h3,
#ukse-teach-and-host .ukse-teach-and-host__faq-item h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    color: inherit;
}

#ukse-teach-and-host .ukse-teach-and-host__faq-chevron {
    font-size: 0.8rem;
    line-height: 1;
    transform: rotate(0);
    transition: transform 0.15s ease;
}

#ukse-teach-and-host .ukse-teach-and-host__faq-item--open .ukse-teach-and-host__faq-chevron {
    transform: rotate(90deg);
}

#ukse-teach-and-host .ukse-teach-and-host__faq-body {
    padding: 0.75rem 1rem 0.9rem;
    display: none;
}

#ukse-teach-and-host .ukse-teach-and-host__faq-item--open .ukse-teach-and-host__faq-body {
    display: block;
}

#ukse-teach-and-host .ukse-teach-and-host__faq-body p {
    margin: 0 0 0.6rem;
    color: #4c5568;
}

/* Application section */
#ukse-teach-and-host .ukse-teach-and-host__application {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#ukse-teach-and-host .ukse-teach-and-host__application h2 {
    margin-top: 0;
}

#ukse-teach-and-host .ukse-teach-and-host__section--inline-cta {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

#ukse-teach-and-host .ukse-teach-and-host__section--inline-cta p {
    margin: 0 0 0.5rem;
    color: #0b1233;
    font-weight: 500;
}

/* Ensure hero primary CTA uses white text */
#ukse-teach-and-host .ukse-cta-btn--hero-primary {
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
    #ukse-teach-and-host {
        padding: 2.5rem 0 3rem;
    }

    #ukse-teach-and-host .page-title {
        font-size: 1.9rem;
    }

    #ukse-teach-and-host .ukse-teach-and-host__section--board {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Final tweak: enforce meal-plan icon glyph size */
#ukse-teach-and-host .ukse-teach-and-host__section--board .ukse-teach-and-host__card::before {
    font-size: 1.6rem !important;
    line-height: 1 !important;
}

/* Generic UKSE modal styles */
.ukse-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.ukse-modal--open {
    display: block;
}

.ukse-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.ukse-modal__dialog {
    position: relative;
    max-width: 520px;
    margin: 10vh auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.75rem 2rem 2rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
}

.ukse-modal__title {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
}

.ukse-modal__intro {
    margin: 0 0 1rem;
    color: #4c5568;
}

.ukse-modal__form-inner {
    display: flex;
    flex-direction: column;
}

.ukse-modal__field {
    margin-bottom: 0.75rem;
}

.ukse-modal__field label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.ukse-modal__field input,
.ukse-modal__field textarea {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}

.ukse-modal__privacy {
    font-size: 0.8rem;
    color: #4c5568;
    margin: 0.5rem 0 1rem;
}

.ukse-modal__close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

body.ukse-modal-open {
    overflow: hidden;
}
