@import url(//use.typekit.net/ziy1jzk.css);

/* ── font utility classes ── */
.fw-bold, .fw-demi, .fw-light, .fw-reg, .fw-xtra-bold { font-family: din-2014, sans-serif; font-weight: 300; font-style: normal; }
.fw-bold, .fw-demi, .fw-reg, .fw-xtra-bold { font-weight: 400; }
.fw-bold, .fw-demi, .fw-xtra-bold { font-weight: 600; }
.fw-bold, .fw-xtra-bold { font-weight: 700; }
.fw-xtra-bold { font-weight: 800; }

/* ── hero fills viewport top (transparent header overlaps it) ── */
body.page-template-tpl-sgep #main { padding-top: 0; }

/* ── remove default masthead bottom margin so brand bar sits flush ── */
body.page-template-tpl-sgep .masthead { margin-bottom: 0; }


/* ── hero: title vertically centred, left-aligned ── */
body.page-template-tpl-sgep .masthead .masthead-title {
    top: 50%;
    bottom: auto;
    left: 1rem;
    right: auto;
    transform: translateY(-50%);
    text-align: left;
    text-transform: none;
    font-size: 22px;
    line-height: 28px;
}
@media (min-width: 768px) {
    body.page-template-tpl-sgep .masthead .masthead-title {
        left: 3rem;
        font-size: 30px;
        line-height: 36px;
    }
}

/* ── back button — vertically centred, matching projects single page style ── */
.sgep-masthead__back {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 2;
}
@media (min-width: 768px) {
    .sgep-masthead__back { right: 3rem; }
}
.sgep-masthead__back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: din-2014, sans-serif;
}
@media (min-width: 768px) {
    .sgep-masthead__back a { font-size: 25px; line-height: 25px; }
}
.sgep-masthead__back a:hover,
.sgep-masthead__back a:focus { color: #fff; text-decoration: none; font-weight: 700; }
.sgep-masthead__back svg { flex-shrink: 0; }

/* ── brand bar (Enterprise Singapore × DPA — single image, full width) ── */
.sgep-brand-bar {
    width: 100%;
    display: block;
    line-height: 0;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .sgep-brand-bar { margin-bottom: 2.5rem; } }
.sgep-brand-bar-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── body text — matches .section-copy on Culture page ── */
.sgep-body-text {
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    color: #333;
    font-family: din-2014, sans-serif;
}
.sgep-body-text p { font-size: 15px; line-height: 20px; font-weight: 400; color: #333; margin-bottom: 1rem; }
.sgep-body-text p:last-child { margin-bottom: 0; }

/* ── photo carousel ── */
.sgep-carousel { margin: 2rem 0; }
.sgep-carousel .sgep-carousel__slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}


/* ── criteria grid (2 × 2 icon + text) ── */
.sgep-criteria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 576px) {
    .sgep-criteria-grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
}

.sgep-criteria-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sgep-criteria-item__icon {
    flex-shrink: 0;
    width: 52px;
}
.sgep-criteria-item__icon img {
    width: 100%;
    height: auto;
    display: block;
}
.sgep-criteria-item__text {
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    color: #333;
    font-family: din-2014, sans-serif;
}

/* ── programme timeline (Year 1 / 2 / 3) ── */
.sgep-timeline-year { margin-bottom: 1.75rem; }
.sgep-timeline-year:last-child { margin-bottom: 0; }

.sgep-timeline-year__label {
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    color: #000;
    margin: 0 0 0.5rem;
    font-family: din-2014, sans-serif;
}

.sgep-timeline-year__list {
    list-style: none;
    padding: 0 0 0 1rem;
    margin: 0;
    border-left: 2px solid #c8c8c8;
}
.sgep-timeline-year__list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.35rem;
    font-family: din-2014, sans-serif;
}
.sgep-timeline-year__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #333;
}

/* disclaimer note — same as body copy but italic */
.sgep-timeline-note {
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    color: #555;
    font-family: din-2014, sans-serif;
    font-style: italic;
    margin: 0.85rem 0 0;
    padding: 0;
    display: block;
}

/* ── apply CTA section ── */
.sgep-apply-section {
    padding: 2rem 0 0;
}
.sgep-apply-text {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    color: #333;
    font-family: din-2014, sans-serif;
    margin: 0;
}

/* "Apply Here" button (border-box style matching the design screenshot) */
.sgep-apply-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 1.5px solid #000;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    text-decoration: none;
    font-family: din-2014, sans-serif;
    transition: background-color 0.2s, color 0.2s;
}
.sgep-apply-btn:hover,
.sgep-apply-btn:focus { background-color: #000; color: #fff; text-decoration: none; }
.sgep-apply-note {
    font-size: 12px;
    line-height: 18px;
    color: #555;
    margin-top: 0.6rem;
    font-family: din-2014, sans-serif;
    font-style: italic;
}

/* ── horizontal rules ── */
hr {
    background-color: #c8c8c8;
    opacity: 1;
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #c8c8c8;
}
@media (min-width: 768px) { hr { margin: 3rem 0; } }

/* ── footer overrides for light page ── */
.site-footer { color: #000; }
.site-footer a { color: #000; }
.site-footer a:hover, .site-footer a:focus { color: #000; }
.site-footer .footer_linesep { border-color: #000; }
.site-footer .footer__contactus { color: #000; }
.site-footer .footer__navlink { color: #000; }
