/* ==========================================================================
   BRAND COLOR PALETTE & THEME FONTS
   ========================================================================== */
:root {
    --mp-navy: #154c6a;
    --mp-teal: #3b88a5;
    --mp-light-blue-bg: #e2f3fa;
    --mp-card-border: #d4e7f0;
    --mp-body-text: #4a5568;
    --mp-lilac: #b4a7d2;
    --mp-nav-link: #5aa4c8;
    --font-regular: 'AttenNewRegular', 'Nunito', sans-serif;
    --font-bold: 'AttenNewBold', 'Nunito', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}
body.mp-training-template {
    font-family: var(--font-regular);
    font-weight: 400;
    color: var(--mp-body-text);
    background-color: #ffffff;
    line-height: 1.6;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}
.mp-training-template strong, .mp-training-template b { font-family: var(--font-bold); font-weight: 400; }
.mp-training-template a { text-decoration: none; color: inherit; }
.mp-training-template img { max-width: 100%; height: auto; display: block; }
.mp-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* TOP BAR */
.site-header__bar { background: var(--mp-lilac); padding: 8px 24px; font-size: 0.9rem; width: 100%; }
.site-header__bar .mp-container { display: flex; justify-content: flex-end; gap: 24px; font-family: var(--font-regular); font-weight: 400; color: #ffffff; }
.site-header__bar a { display: flex; align-items: center; gap: 7px; color: #ffffff; transition: opacity 0.2s ease; }
.site-header__bar a:hover { opacity: 0.85; }

/* STICKY HEADER */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 990;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
body.admin-bar .sticky-header-wrapper { top: 32px; }
body.mp-training-template header.eb_header {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 12px 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px;
}
body.mp-training-template header.eb_header::before,
body.mp-training-template header.eb_header::after {
    display: none !important;
    content: none !important;
}
body.mp-training-template header.eb_header .logo-wrap {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.mp-training-template header.eb_header .logo-wrap img { max-height: 54px; width: auto; }
body.mp-training-template header.eb_header .main-nav {
    position: static !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px;
}
body.mp-training-template header.eb_header .main-nav ul {
    width: auto !important;
    display: flex !important;
    list-style: none !important;
    gap: 16px;
    margin: 0 !important;
    padding: 0 !important;
}
body.mp-training-template header.eb_header .main-nav ul li {
    margin: 0 !important;
    padding: 0 !important;
}
body.mp-training-template header.eb_header .main-nav ul li a {
    font-family: var(--font-regular);
    font-size: 0.93rem;
    font-weight: 400;
    color: var(--mp-nav-link);
    white-space: nowrap;
    transition: color 0.2s ease;
}
body.mp-training-template header.eb_header .main-nav ul li a:hover { color: var(--mp-navy); }

body.mp-training-template header.eb_header .header-btn {
    background-color: var(--mp-navy);
    color: #ffffff !important;
    border-radius: 30px;
    padding: 0.65rem 1.35rem;
    font-family: var(--font-regular);
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0 !important;
    display: inline-block;
    transition: all 0.2s ease;
}
body.mp-training-template header.eb_header .header-btn:hover { background-color: #0e374e; transform: translateY(-2px); }

/* ==========================================================================
   MAIN TRAINING PAGE: HERO & INTRO
   ========================================================================== */
.intro-hero-section { background-color: var(--mp-light-blue-bg); padding: 4.5rem 0; }
.intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }

.intro-left h1 {
    font-family: var(--font-regular);
    font-size: 3.1rem;
    font-weight: 400;
    color: var(--mp-navy);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}
.intro-left .strapline {
    font-family: var(--font-regular);
    font-size: 1.22rem;
    font-weight: 600;
    color: var(--mp-navy);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.intro-left p {
    font-family: var(--font-regular);
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
    color: #334155;
    line-height: 1.65;
}

.hero-cpd-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 12px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 14px rgba(21, 76, 106, 0.06);
}
.hero-cpd-badge img { height: 52px; width: auto; }
.hero-cpd-badge span {
    font-family: var(--font-regular);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--mp-navy);
    line-height: 1.3;
}

.intro-right { position: relative; }
.hero-image-box {
    background-color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(21, 76, 106, 0.05);
}
.hero-image-box img { width: 100%; border-radius: 14px; object-fit: cover; }

.online-badge {
    position: absolute;
    top: -22px;
    left: -22px;
    background-color: #2796be;
    color: #ffffff;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-regular);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
    box-shadow: 0 4px 15px rgba(39, 150, 190, 0.28);
    z-index: 2;
}

/* TWO COLUMNS TEXT BELOW HERO */
.intro-detail-section { background-color: #ffffff; padding: 4rem 0 3.5rem 0; }
.intro-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.intro-bottom-grid p {
    font-family: var(--font-regular);
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.68;
    margin-bottom: 1.5rem;
}
.intro-bottom-grid p:last-child { margin-bottom: 0; }

/* ==========================================================================
   MAIN TRAINING PAGE: COURSES LIST & CARDS
   ========================================================================== */
.training-section { padding: 0 0 5rem 0; }
.training-section > .mp-container > h2 {
    font-family: var(--font-regular);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--mp-navy);
    margin-bottom: 3rem;
}

.category-header { display: flex; align-items: center; gap: 16px; margin-bottom: 2rem; margin-top: 4rem; }
.category-header:first-of-type { margin-top: 0; }
.category-header h3 { font-family: var(--font-regular); font-size: 2rem; font-weight: 400; color: var(--mp-navy); margin: 0; }
.category-pill {
    background-color: #e6f2f7;
    color: var(--mp-navy);
    font-family: var(--font-regular);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.training-card {
    border: 1px solid var(--mp-card-border);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 310px 1fr;
    overflow: hidden;
    margin-bottom: 2rem;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.training-img { background-color: #e6f2f7; padding: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.training-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

.training-content { padding: 35px 40px; display: flex; flex-direction: column; }
.training-content h4 { font-family: var(--font-regular); font-size: 1.55rem; font-weight: 400; color: var(--mp-navy); margin-bottom: 1rem; line-height: 1.28; }
.training-content h4 a:hover { color: var(--mp-teal); }

.training-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.5rem; align-items: center; }
.meta-pill { background-color: #e6f2f7; color: var(--mp-navy); padding: 6px 14px; border-radius: 6px; font-family: var(--font-regular); font-size: 0.92rem; font-weight: 600; }
.meta-pill-dark { background-color: var(--mp-navy); color: #ffffff; padding: 6px 14px; border-radius: 6px; font-family: var(--font-regular); font-size: 0.92rem; font-weight: 600; }

.training-summary-text p { font-family: var(--font-regular); font-size: 1.03rem; color: #334155; line-height: 1.62; margin-bottom: 1.2rem; }
.training-summary-text strong, .training-summary-text b { font-family: var(--font-bold); font-weight: 400; }

.training-link {
    margin-top: auto;
    padding-top: 0.5rem;
    font-family: var(--font-regular);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--mp-teal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}
.training-link:hover { color: var(--mp-navy); text-decoration: underline; }

/* ACTION BLOCKS */
.action-blocks-section { padding: 0 0 5rem 0; }
.action-block {
    background-color: #e6f2f7;
    border-radius: 12px;
    padding: 35px 45px;
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 1.5rem;
}
.action-block h4 { font-family: var(--font-regular); font-size: 1.75rem; font-weight: 400; color: var(--mp-navy); line-height: 1.22; margin: 0; }
.action-block p { font-family: var(--font-regular); font-size: 1.03rem; color: #334155; margin: 0; line-height: 1.6; }
.action-btn {
    background-color: var(--mp-navy);
    color: #ffffff !important;
    border-radius: 30px;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-regular);
    font-weight: 600;
    font-size: 0.98rem;
    white-space: nowrap;
    transition: background-color 0.2s ease;
    text-align: center;
    display: inline-block;
}
.action-btn:hover { background-color: #0e374e; }

/* ==========================================================================
   SINGLE TRAINING DETAILS PAGE
   ========================================================================== */
.course-hero {
    background-color: var(--mp-light-blue-bg);
    padding: 2.5rem 0 3rem 0;
    border-bottom: 1px solid var(--mp-card-border);
}
.hero-top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 1.5rem; }
.course-hero h1 { font-family: var(--font-regular); font-size: 2.75rem; font-weight: 400; color: var(--mp-navy); line-height: 1.15; margin-bottom: 1rem; max-width: 760px; }

.cpd-logo-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px 14px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(21, 76, 106, 0.06);
}
.cpd-logo-card img { width: 100%; height: auto; }

.course-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 1.5rem; }
.course-hero .meta-pill { background-color: #ffffff; padding: 5px 12px; font-size: 0.88rem; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }

.booking-bar {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 8px 20px rgba(21, 76, 106, 0.05);
}
.booking-info { display: flex; align-items: center; gap: 20px; }
.booking-info p { margin: 0; font-family: var(--font-regular); font-size: 0.98rem; color: #64748b; }
.booking-info strong { font-family: var(--font-regular); font-size: 1.2rem; color: var(--mp-navy); font-weight: 400; border-left: 2px solid #e2f3fa; padding-left: 20px; }
.booking-info strong.no-border { border-left: none; padding-left: 0; }

.booking-actions { display: flex; gap: 12px; align-items: center; }
.btn-book {
    background-color: var(--mp-navy);
    color: #ffffff !important;
    border-radius: 30px;
    padding: 0.75rem 1.8rem;
    font-family: var(--font-regular);
    font-size: 0.98rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}
.btn-book:hover { background-color: #0e374e; transform: translateY(-2px); }
.btn-contact {
    background-color: transparent;
    color: var(--mp-navy) !important;
    border: 2px solid var(--mp-navy);
    border-radius: 30px;
    padding: 0.65rem 1.5rem;
    font-family: var(--font-regular);
    font-size: 0.98rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}
.btn-contact:hover { background-color: rgba(21, 76, 106, 0.05); }

/* AIMS & OUTCOMES BOX */
.content-section { padding: 4rem 0 2rem 0; }
.learning-box {
    background-color: var(--mp-light-blue-bg);
    border-radius: 16px;
    padding: 45px 55px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.learning-box h3 { font-family: var(--font-regular); font-size: 2rem; font-weight: 400; color: var(--mp-navy); margin-bottom: 1.5rem; }
.learning-intro { font-family: var(--font-regular); font-size: 1.08rem; color: var(--mp-navy); font-weight: 600; margin-bottom: 1.5rem; }

.learning-box ul { list-style: none; padding: 0; margin: 0; }
.learning-box ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 1.2rem;
    font-family: var(--font-regular);
    font-size: 1.1rem;
    color: #334155;
    line-height: 1.6;
    font-weight: 400;
}
.learning-box ul li::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--mp-teal);
    font-size: 1.05rem;
}

/* PROMINENT BOTTOM BOOKING SECTION */
.bottom-booking-wrap {
    text-align: center;
    padding: 45px 30px;
    background-color: #f8fafc;
    border: 1px solid var(--mp-card-border);
    border-radius: 16px;
    margin-top: 3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.bottom-booking-wrap h3 { font-family: var(--font-regular); font-size: 2rem; font-weight: 400; color: var(--mp-teal); margin-bottom: 1.5rem; }
.bottom-date { font-family: var(--font-regular); font-size: 1.12rem; color: #64748b; margin-bottom: 0.5rem; }
.bottom-price { font-family: var(--font-regular); font-size: 1.55rem; color: var(--mp-navy); font-weight: 600; margin-bottom: 2rem; }
.bottom-booking-wrap .booking-actions { justify-content: center; }

/* NHS BANNER */
.nhs-banner {
    background-color: #ffffff;
    border: 1px solid var(--mp-card-border);
    border-radius: 12px;
    padding: 30px;
    margin: 3rem 0 5rem 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.nhs-banner p { font-family: var(--font-regular); font-size: 1.12rem; color: var(--mp-navy); font-weight: 600; margin: 0; }
.nhs-banner a { color: var(--mp-teal); text-decoration: underline; }
.nhs-banner a:hover { color: var(--mp-navy); }

/* ==========================================================================
   CONTACT FORM (LAVENDER + GRAVITY FORMS STYLING)
   ========================================================================== */
#eb-contact {
    scroll-margin-top: 90px;
}
body.admin-bar #eb-contact {
    scroll-margin-top: 122px;
}

body.mp-training-template .eb-form {
    background-color: var(--mp-lilac);
    padding: 4.25rem 24px 5.5rem 24px;
    text-align: center;
    color: #ffffff;
    width: 100%;
    position: relative;
}
body.mp-training-template .eb-form h2 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 2.15rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
}
body.mp-training-template .eb-form p.form-sub {
    font-family: 'Nunito', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    margin-bottom: 2rem !important;
    opacity: 1 !important;
    color: #ffffff !important;
}
body.mp-training-template .eb-form p.form-sub a {
    color: #ffffff !important;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}
body.mp-training-template .eb-form p.form-sub a:hover {
    text-decoration: underline !important;
}

body.mp-training-template .eb-form .gform_wrapper,
body.mp-training-template #gform_wrapper_8 {
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    text-align: left !important;
}
body.mp-training-template .eb-form .gform_wrapper .gform_fields,
body.mp-training-template #gform_wrapper_8 .gform_fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.mp-training-template .eb-form .gform_wrapper .gfield,
body.mp-training-template #gform_wrapper_8 .gfield {
    margin: 0 !important;
    padding: 0 !important;
}
body.mp-training-template .eb-form .gform_wrapper .gfield_label,
body.mp-training-template .eb-form .gform_wrapper label,
body.mp-training-template #gform_wrapper_8 .gfield_label {
    display: block !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    margin-bottom: 7px !important;
    color: #ffffff !important;
}
body.mp-training-template .eb-form .gform_wrapper.gravity-theme input[type="text"],
body.mp-training-template .eb-form .gform_wrapper.gravity-theme input[type="email"],
body.mp-training-template .eb-form .gform_wrapper.gravity-theme input[type="tel"],
body.mp-training-template .eb-form .gform_wrapper input[type="text"],
body.mp-training-template .eb-form .gform_wrapper input[type="email"],
body.mp-training-template .eb-form .gform_wrapper input[type="tel"],
body.mp-training-template #gform_wrapper_8 input[type="text"],
body.mp-training-template #gform_wrapper_8 input[type="email"],
body.mp-training-template #gform_wrapper_8 input[type="tel"] {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: none !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    color: #1a202c !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}
body.mp-training-template .eb-form .gform_wrapper.gravity-theme textarea,
body.mp-training-template .eb-form .gform_wrapper textarea,
body.mp-training-template #gform_wrapper_8 textarea {
    width: 100% !important;
    height: 128px !important;
    min-height: 128px !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    border: none !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #1a202c !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
}
body.mp-training-template .eb-form .gform_wrapper input::placeholder,
body.mp-training-template .eb-form .gform_wrapper textarea::placeholder,
body.mp-training-template #gform_wrapper_8 input::placeholder,
body.mp-training-template #gform_wrapper_8 textarea::placeholder {
    color: #7b8494 !important;
    opacity: 1 !important;
}

/* Strip parent theme arrow/icons & match prototype 8px rounded-rectangle button */
body.mp-training-template .eb-form .gform_wrapper.gravity-theme .gform_footer,
body.mp-training-template .eb-form .gform_wrapper .gform_footer,
body.mp-training-template .eb-form .gform_wrapper .gform-footer,
body.mp-training-template .eb-form .gform_wrapper .gform_page_footer,
body.mp-training-template #gform_wrapper_8 .gform_footer {
    margin-top: 22px !important;
    padding: 0 !important;
    position: relative;
}
body.mp-training-template .eb-form .gform_footer > span,
body.mp-training-template .eb-form .gform_footer > i,
body.mp-training-template .eb-form .gform_footer > svg,
body.mp-training-template .eb-form .gform_footer > img,
body.mp-training-template .eb-form .gform-footer > span,
body.mp-training-template .eb-form .gform-footer > i,
body.mp-training-template .eb-form .gform-footer > svg,
body.mp-training-template .eb-form .gform-footer > img,
body.mp-training-template #gform_wrapper_8 .gform_footer::before,
body.mp-training-template #gform_wrapper_8 .gform_footer::after,
body.mp-training-template #gform_8 .gform_footer::before,
body.mp-training-template #gform_8 .gform_footer::after,
body.mp-training-template .eb-form .gform_footer::before,
body.mp-training-template .eb-form .gform_footer::after,
body.mp-training-template .eb-form .gform-footer::before,
body.mp-training-template .eb-form .gform-footer::after,
body.mp-training-template .eb-form .gform_footer *::before,
body.mp-training-template .eb-form .gform_footer *::after,
body.mp-training-template .eb-form .gform-footer *::before,
body.mp-training-template .eb-form .gform-footer *::after,
body.mp-training-template .eb-form .gform_ajax_spinner {
    display: none !important;
    content: none !important;
    border: 0 !important;
    background: none !important;
}
body.mp-training-template .eb-form .gform_wrapper.gravity-theme .gform_button,
body.mp-training-template .eb-form .gform_wrapper .gform_button,
body.mp-training-template #gform_wrapper_8 .gform_button,
body.mp-training-template .eb-form .gform_wrapper input[type="submit"],
body.mp-training-template .eb-form .gform_wrapper button[type="submit"],
body.mp-training-template #gform_submit_button_8 {
    background-color: var(--mp-navy) !important;
    background-image: none !important;
    color: #ffffff !important;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    text-align: center !important;
    vertical-align: middle !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    min-height: 48px !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 30px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
body.mp-training-template .eb-form .gform_wrapper.gravity-theme .gform_button:hover,
body.mp-training-template .eb-form .gform_wrapper .gform_button:hover,
body.mp-training-template #gform_wrapper_8 .gform_button:hover,
body.mp-training-template .eb-form .gform_wrapper input[type="submit"]:hover,
body.mp-training-template .eb-form .gform_wrapper button[type="submit"]:hover,
body.mp-training-template #gform_submit_button_8:hover {
    background-color: #0e374e !important;
    background-image: none !important;
    transform: translateY(-2px);
}
body.mp-training-template .eb-form .gform_confirmation_message {
    background: rgba(255, 255, 255, 0.18);
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.1rem;
}

/* FOOTER */
body.mp-training-template .site-footer {
    background-color: var(--mp-navy);
    color: #ffffff;
    padding: 3rem 24px;
    text-align: center;
}
body.mp-training-template .site-footer h4 {
    font-family: var(--font-regular);
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 10px;
}
body.mp-training-template .site-footer p {
    font-family: var(--font-regular);
    font-size: 0.98rem;
    color: #ffffff !important;
    opacity: 0.9;
    margin: 0;
}
body.mp-training-template .site-footer a {
    color: #ffffff !important;
    text-decoration: underline;
}
body.mp-training-template .site-footer a:hover {
    opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .intro-left h1 { max-width: 100%; font-size: 2.5rem; }
    .online-badge { width: 100px; height: 100px; font-size: 0.85rem; }
    .action-block { grid-template-columns: 1fr; gap: 20px; text-align: center; padding: 30px; }
    .action-btn { justify-self: center; }
}
@media (max-width: 960px) {
    body.mp-training-template header.eb_header .main-nav ul { display: none !important; }
}
@media (max-width: 900px) {
    .learning-box { grid-template-columns: 1fr; gap: 40px; padding: 35px; }
    .hero-top-row { flex-direction: column; gap: 20px; }
    .booking-bar { flex-direction: column; text-align: center; align-items: stretch; }
    .booking-info { flex-direction: column; gap: 5px; }
    .booking-info strong { border-left: none; padding-left: 0; }
    .booking-actions { flex-direction: column; width: 100%; }
    .booking-actions a { width: 100%; text-align: center; }
}
@media (max-width: 768px) {
    .intro-bottom-grid { grid-template-columns: 1fr; gap: 24px; }
    .training-card { grid-template-columns: 1fr; }
    .training-img { border-bottom: 1px solid var(--mp-card-border); }
    .training-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
    .category-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    body.mp-training-template header.eb_header { flex-direction: column; gap: 14px; }
}