/* FPD public information surfaces — page-specific refinements only.
   Existing WebinarHub/FPD brand colours and backgrounds are reused. */

/* Older enterprise CSS overrides the body clearance for a fixed header.
   Restore it on public informational routes so hero titles are never covered. */
body.enterprise-ui.wh-v4.wh-public-informational {
    padding-top: var(--hub-header-height, 76px) !important;
}

body.wh-v4.wh-public-informational .app-shell:not(.has-sidebar) > main {
    min-width: 0;
    width: 100%;
}

body.wh-v4.wh-public-informational .wh4-hero-copy,
body.wh-v4.wh-public-informational .wh4-hero-promo {
    min-width: 0;
}

body.wh-v4.wh-public-informational .wh4-hero h1 {
    overflow-wrap: normal;
    text-wrap: balance;
}

/* Actual upcoming webinar cards retain their original images, destinations
   and data, with only approved surface colours and lightweight emphasis. */
body.wh-v4.wh-public-informational .wh4-webinar-card {
    border-top: 3px solid #00878d;
    box-shadow: 0 6px 22px rgba(16, 46, 69, .06);
    transition: box-shadow .16s ease, transform .16s ease;
}
body.wh-v4.wh-public-informational .wh4-webinar-card:nth-child(even) {
    border-top-color: #102e47;
}
body.wh-v4.wh-public-informational .wh4-webinar-card:nth-child(odd) .wh4-webinar-content {
    background: #f4fafa;
}
body.wh-v4.wh-public-informational .wh4-more-card:nth-child(even) {
    background: #f4fafa;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    body.wh-v4.wh-public-informational .wh4-webinar-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(16,46,69,.10);
    }
}

/* Preserve the existing section background but give informational cards
   individually visible, restrained colour accents from the approved palette. */
body.wh-v4.wh-public-informational .wh4-why-grid > div {
    min-width: 0;
    gap: 13px;
    padding: 16px;
    border: 1px solid #dce9ed;
    border-left: 3px solid #00878d;
    background: #f4fafa;
    box-shadow: 0 4px 16px rgba(16, 46, 69, .045);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
body.wh-v4.wh-public-informational .wh4-why-grid > div:nth-child(2) {
    background: #ffffff;
    border-left-color: #102e47;
}
body.wh-v4.wh-public-informational .wh4-why-grid > div:nth-child(3) {
    background: #edf8f9;
    border-left-color: #0b8c92;
}
body.wh-v4.wh-public-informational .wh4-why-grid > div:nth-child(4) {
    background: #ffffff;
    border-left-color: #00878d;
}
body.wh-v4.wh-public-informational .wh4-why-grid > div > b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #dff2f2;
    color: #00878d;
    font-size: 21px;
}
body.wh-v4.wh-public-informational .wh4-why-grid > div:nth-child(2) > b {
    background: #eaf4f4;
    color: #102e47;
}
body.wh-v4.wh-public-informational .wh4-why-grid > div:nth-child(3) > b {
    background: #e0f3f3;
    color: #0b8c92;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    body.wh-v4.wh-public-informational .wh4-why-grid > div:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 24px rgba(16,46,69,.075);
    }
}

/* FPD website's factual contact and legal footer content, using the same
   light background already approved for WebinarHub's 'Why' section. */
body.wh-v4.wh-public-informational footer.wh-public-footer {
    display: block !important;
    min-height: 0;
    margin: 0;
    padding: 0 clamp(18px, 4vw, 62px) !important;
    border-top: 1px solid #dce9ed;
    background: #eaf6f6 !important;
    color: #102e47;
    font-size: 13px;
    box-shadow: none;
}
body.wh-v4.wh-public-informational .wh-public-footer-inner {
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: 32px 0 25px;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(20px, 4vw, 66px);
    align-items: start;
}
body.wh-v4.wh-public-informational .wh-public-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}
body.wh-v4.wh-public-informational .wh-public-footer-brand img {
    display: block;
    flex: 0 0 58px;
    width: 58px;
    height: 48px;
    object-fit: contain;
}
body.wh-v4.wh-public-informational .wh-public-footer-brand strong {
    display: block;
    font-size: 15px;
    line-height: 1.4;
    color: #102e47;
}
body.wh-v4.wh-public-informational .wh-public-footer-brand p,
body.wh-v4.wh-public-informational .wh-public-footer-contact p {
    margin: 8px 0;
    max-width: 45ch;
    color: #526b7b;
    line-height: 1.5;
}
body.wh-v4.wh-public-informational .wh-public-footer h2 {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    color: #102e47;
}
body.wh-v4.wh-public-informational .wh-public-footer-nav,
body.wh-v4.wh-public-informational .wh-public-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 8px;
}
body.wh-v4.wh-public-informational footer.wh-public-footer a {
    display: inline-block;
    max-width: 100%;
    color: #007e87;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    overflow-wrap: anywhere;
}
body.wh-v4.wh-public-informational footer.wh-public-footer a:hover { text-decoration: underline; }
body.wh-v4.wh-public-informational footer.wh-public-footer a:focus-visible {
    outline: 3px solid #00878d;
    outline-offset: 3px;
    border-radius: 3px;
}
body.wh-v4.wh-public-informational .wh-public-footer-bottom {
    width: min(100%, 1360px);
    margin: 0 auto;
    padding: 17px 0 21px;
    border-top: 1px solid #dce9ed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
}
body.wh-v4.wh-public-informational .wh-public-footer-bottom p {
    margin: 0;
    color: #526b7b;
    font-size: 12px;
}
body.wh-v4.wh-public-informational .wh-public-footer-bottom nav {
    display: flex;
    gap: 11px 20px;
    flex-wrap: wrap;
}
body.wh-v4.wh-public-informational .wh-public-footer-bottom a { font-size: 12px !important; }

@media (max-width: 850px) {
    body.wh-v4.wh-public-informational .wh-public-footer-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    body.wh-v4.wh-public-informational .wh-public-footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 560px) {
    body.wh-v4.wh-public-informational .wh-public-footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-block: 28px 22px;
    }
    body.wh-v4.wh-public-informational .wh-public-footer-brand { grid-column: auto; }
    body.wh-v4.wh-public-informational .wh-public-footer-bottom { align-items: flex-start; }
    body.wh-v4.wh-public-informational .wh4-hero h1 { font-size: clamp(34px, 8vw, 46px); }
}
@media (prefers-reduced-motion:reduce) {
    body.wh-v4.wh-public-informational .wh4-why-grid > div { transition: none; }
}
@media print {
    body.wh-v4.wh-public-informational footer.wh-public-footer { display: none !important; }
}
