body.page .entry-header,
body.page .entry-title,
body.page h1.entry-title,
body.page .page-title,
body.page article > header {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.page .site,
body.page .site-main,
body.page .content-area,
body.page .content-container,
body.page .site-container,
body.page .entry-content-wrap,
body.page .entry-content,
body.page article,
body.page .post,
body.page .page {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

.hsg-homepage,
.hsg-homepage * {
    box-sizing: border-box !important;
}

.hsg-homepage {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    font-family: "Figtree", Arial, sans-serif;
    background: #ffffff;
    color: #111827;
    overflow: hidden;
}

.hsg-home-hero {
    width: 100%;
    background: #fef0ec;
    border-bottom: 1px solid #efceca;
}

/* COVER PHOTO SIZE LOCKED — DO NOT CHANGE UNLESS USER ASKS */
.hsg-home-hero-inner {
    width: 100%;
    height: 440px;
    min-height: 440px;
    display: grid;
    grid-template-columns: 41% 59%;
    align-items: stretch;
    overflow: hidden;
}

.hsg-home-hero-content {
    padding: 54px 34px 54px 7vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.hsg-home-kicker {
    color: #f26c3f;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 18px;
}

.hsg-home-title {
    color: #000000;
    font-family: "Figtree", Arial, sans-serif;
    font-size: clamp(34px, 2.85vw, 47px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.045em;
    margin: 0 0 24px;
    max-width: 560px;
}

.hsg-home-title .hsg-orange {
    color: #f26c3f;
}

.hsg-home-title .hsg-title-line {
    display: block;
    white-space: nowrap;
}

.hsg-home-lead {
    color: #1f2937;
    font-size: clamp(15px, 1.02vw, 16.5px);
    line-height: 1.65;
    font-weight: 550;
    max-width: 580px;
    margin: 0 0 26px;
}

.hsg-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hsg-home-btn {
    min-height: 50px;
    border-radius: 11px;
    padding: 14px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out, transform .18s ease-out;
    white-space: nowrap;
}

.hsg-home-btn-primary {
    background: #f26c3f;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(242, 108, 63, 0.20);
}

.hsg-home-btn-primary:hover {
    background: #a44738;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.hsg-home-btn-outline {
    background: #ffffff;
    color: #f26c3f !important;
    border: 1px solid #f26c3f;
}

.hsg-home-btn-outline:hover {
    background: #f26c3f;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* COVER PHOTO SIZE LOCKED — DO NOT CHANGE UNLESS USER ASKS */
.hsg-home-hero-image-wrap {
    position: relative;
    height: 440px;
    min-height: 440px;
    overflow: hidden;
}

/* FEATHER LOCKED — DO NOT CHANGE UNLESS USER ASKS */
.hsg-home-hero-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 18%;
    z-index: 3;
    background: linear-gradient(
        90deg,
        #fef0ec 0%,
        rgba(254, 240, 236, 0.86) 28%,
        rgba(254, 240, 236, 0.42) 64%,
        rgba(254, 240, 236, 0) 100%
    );
    pointer-events: none;
}

/* COVER PHOTO SIZE LOCKED — DO NOT CHANGE UNLESS USER ASKS */
.hsg-home-hero-image {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: 60% 42%;
    display: block;
    transform: scale(1.10);
    transform-origin: center center;
}

.hsg-services-section {
    width: min(1180px, calc(100% - 42px));
    margin: 44px auto 64px;
}

.hsg-service-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.hsg-service-card {
    min-height: 190px;
    background: #ffffff;
    border: 1px solid #e8e5e5;
    border-radius: 16px;
    padding: 22px 15px;
    text-align: center;
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.035);
    transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out, background-color .18s ease-out;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hsg-service-card:hover {
    transform: translateY(-6px);
    border-color: #f26c3f;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.hsg-service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #fef0ec;
    color: #f26c3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    margin: 0 0 18px;
    transition: background-color .18s ease-out, color .18s ease-out, border-color .18s ease-out, box-shadow .18s ease-out, transform .18s ease-out;
    flex-shrink: 0;
}

.hsg-service-card:hover .hsg-service-icon {
    background: #f26c3f;
    color: #ffffff;
    transform: scale(1.04);
}

.hsg-service-title {
    color: #000000;
    font-size: 16px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
}

.hsg-service-text {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.48;
    font-weight: 500;
    margin: 0;
}

.hsg-process-section {
    background: #f8fafc;
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
    padding: 54px 0 60px;
    margin: 0;
}

.hsg-process-inner {
    width: min(1180px, calc(100% - 42px));
    margin: 0 auto;
}

.hsg-process-head {
    max-width: 760px;
    margin: 0 0 30px;
}

.hsg-process-kicker {
    color: #354d73;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.hsg-process-head h2 {
    color: #000000;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.045em;
    max-width: 760px;
    margin: 0 0 18px;
}

.hsg-process-head p {
    color: #354d73;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 550;
    margin: 0;
    max-width: 760px;
}

.hsg-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.hsg-process-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 0 !important;
    min-height: 224px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05);
    transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out, background-color .18s ease-out;
    overflow: hidden;
    position: relative;
}

.hsg-process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 108, 63, 0.55);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.10);
}

.hsg-process-card-inner {
    width: 100%;
    min-height: 224px;
    padding: 36px 34px 34px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.hsg-process-number {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: #fef0ec;
    border: 1px solid #fbd3c5;
    color: #f26c3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 24px !important;
    flex-shrink: 0;
}

.hsg-process-card h3 {
    color: #000000;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 14px !important;
    max-width: 100%;
}

.hsg-process-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.72;
    font-weight: 500;
    margin: 0 !important;
    max-width: 100%;
}

.hsg-home-cta {
    width: min(1180px, calc(100% - 42px));
    margin: 56px auto 78px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 86% 18%, rgba(242, 108, 63, 0.22), transparent 28%),
        #111827;
    color: #ffffff;
    padding: 56px 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.hsg-home-cta h2 {
    color: #ffffff;
    font-size: clamp(30px, 3.25vw, 50px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.045em;
    margin: 0 0 16px;
    max-width: 700px;
}

.hsg-home-cta p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 16px;
    line-height: 1.72;
    font-weight: 500;
    max-width: 720px;
    margin: 0;
}

.hsg-home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.hsg-home-cta .hsg-home-btn-outline {
    background: #ffffff;
    color: #f26c3f !important;
    border-color: #ffffff;
}

.hsg-home-cta .hsg-home-btn-outline:hover {
    background: #fef0ec;
    color: #a44738 !important;
}

/* Opin Platform additions: 8 cards (7 programmes + gallery) in the grid, logo in the bottom CTA band. */
.hsg-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hsg-funders {
    background: #ffffff;
    border-bottom: 1px solid #e8e5e5;
    padding: 14px 21px;
    text-align: center;
}

.hsg-funders-logo {
    display: inline-block;
    max-width: 100%;
    height: auto;
    max-height: 52px;
}

.hsg-home-cta-logo {
    display: block;
    height: 42px;
    width: auto;
    margin: 0 0 22px;
}

@media (max-width: 1180px) {
    .hsg-service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .hsg-home-hero-inner {
        height: auto;
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hsg-home-hero-content {
        padding: 54px 28px 34px;
    }

    .hsg-home-title {
        font-size: clamp(36px, 8vw, 50px);
    }

    .hsg-home-title .hsg-title-line {
        white-space: normal;
    }

    .hsg-home-hero-image-wrap {
        height: 360px;
        min-height: 360px;
    }

    .hsg-home-hero-image-wrap::before {
        display: none;
    }

    .hsg-home-hero-image {
        min-height: 360px;
        transform: scale(1.03);
        object-position: 58% 42%;
    }

    .hsg-process-grid,
    .hsg-home-cta {
        grid-template-columns: 1fr;
    }

    .hsg-home-cta {
        padding: 40px 30px;
    }

    .hsg-home-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    .hsg-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hsg-service-card {
        min-height: 170px;
        padding: 20px 12px;
    }

    .hsg-service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 14px;
    }

    .hsg-process-section {
        padding: 48px 0 56px;
    }

    .hsg-process-card {
        min-height: auto;
    }

    .hsg-process-card-inner {
        min-height: auto;
        padding: 30px 24px !important;
    }

    .hsg-process-card h3 {
        font-size: 19px;
    }

    .hsg-process-card p {
        font-size: 14px;
    }

    .hsg-home-actions,
    .hsg-home-cta-actions {
        flex-direction: column;
    }

    .hsg-home-btn {
        width: 100%;
    }

    .hsg-home-cta {
        padding: 34px 24px;
        border-radius: 24px;
        margin-top: 56px;
    }
}

@media (max-width: 460px) {
    .hsg-service-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hsg-homepage *, .hsg-homepage *::before, .hsg-homepage *::after { transition: none !important; animation: none !important; }
}
