/* TASK-33891: reference-led layout using the existing ComfortDelGro identity. */
.cdc-announcement {
    color: #713410;
    background: #fff4e9;
    border-block: 1px solid #ebc7ad;
    font-size: 15px;
    line-height: 1.6;
}
.cdc-announcement__inner {
    display: flex;
    align-items: center;
    gap: 12px 24px;
    padding: 14px 40px;
}
.cdc-announcement strong { flex-shrink: 0; }
.cdc-announcement p { flex: 1; margin: 0; overflow-wrap: anywhere; }
.cdc-announcement a,
.cdc-announcement a:visited { flex-shrink: 0; color: #713410; text-decoration: underline; text-underline-offset: 4px; }
.cdc-announcement a:hover { color: #442008; }
.cdc-announcement a:focus-visible,
.cdc-updates-page a:focus-visible,
.cdc-updates-page button:focus-visible,
.cdc-updates-page select:focus-visible { outline: 3px solid #0560aa; outline-offset: 4px; }
/* COMFORT-21: Figma 2:11344 and 5:9 share a 1110px reading layout. */
.cdc-updates-page {
    --cdc-blue: #0560aa;
    --cdc-ink: #414042;
    --cdc-orange: #f60;
    --cdc-rule: #ddd;
    --cdc-corner: 35px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding: 25px 40px 100px;
    color: var(--cdc-ink);
    background: #fff;
    font-size: 18px;
    line-height: 27px;
}
body.page-template-page-service-updates { background: #fff; }
body.page-template-page-service-updates #page { max-width: 1190px; }
body.page-template-page-service-updates .site-content { padding: 0; }
.cdc-updates-page .site-main { margin: 0 !important; }
.cdc-updates-page .entry-content { margin: 0; }
.cdc-updates-page .vc_row { margin-inline: 0; }
/* WPBakery inserts a line break between saved rows; spacing belongs to the summary. */
.cdc-updates-page .wpb-content-wrapper > .vc_row + br { display: none; }
.cdc-updates-page .vc_column_container > .vc_column-inner { padding: 0; }
.cdc-updates-page [hidden] { display: none !important; }
.cdc-updates-page :is(a, button, select) { user-select: none; }
.cdc-update-intro {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    margin-bottom: 40px;
    border: 1px solid rgba(238, 238, 238, .88);
    border-radius: 12px;
    background: #f7f7f7;
}
.cdc-update-intro__icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 9px;
    color: #fff;
    background: var(--cdc-ink);
}
.cdc-update-intro__body { min-width: 0; padding-block: 1px; }
.cdc-update-intro p { margin: 0; font-size: 16px; line-height: 22px; overflow-wrap: anywhere; }
.cdc-update-intro p.cdc-update-intro__time { margin-bottom: 8px; font-weight: 700; line-height: 16px; }
.cdc-update-nav { overflow: hidden; border-radius: 0 var(--cdc-corner); background: #f4f4f4; padding: 0 25px 20px; }
.cdc-update-nav__label { display: block; margin: 0 -25px 5px; padding: 0 20px; color: #fff; background: var(--cdc-blue); font-size: 24px; font-weight: 500; line-height: 52px; }
.cdc-update-nav a { display: flex; align-items: center; gap: 10px; padding-block: 15px; color: var(--cdc-ink); font-size: 17px; font-weight: 500; line-height: 25.5px; text-decoration: none; overflow-wrap: anywhere; }
.cdc-update-nav a + a { border-top: 1px solid var(--cdc-rule); }
.cdc-update-nav a:last-child { padding-bottom: 0; }
.cdc-update-nav a[aria-current], .cdc-update-nav a[aria-current]:focus { color: var(--cdc-blue); }
.cdc-update-nav a[aria-current]::before { content: ''; flex: 0 0 16px; border-top: 2px solid currentColor; }
.cdc-update-nav a:hover { color: var(--cdc-blue); text-decoration: underline; text-underline-offset: 4px; }
.cdc-update-section, .cdc-update-support { scroll-margin-top: 30px; margin-bottom: 40px; }
.cdc-update-section:last-child, .cdc-update-support:last-child { margin-bottom: 0; }
.cdc-update-section { display: flex; flex-direction: column; }
.cdc-update-section__heading { margin-bottom: 30px; }
.cdc-updates-page--enhanced .cdc-update-section__heading { order: 2; margin: 30px 0 0; }
/* The section is named for assistive technology; the navigation provides its visible label. */
.cdc-updates-page--enhanced .cdc-update-section__heading h2 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cdc-update-sort { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; font-size: 14px; }
.cdc-update-sort select { min-height: 44px; max-width: 100%; background: #fff; color: var(--cdc-ink); border: 1px solid #788896; border-radius: 3px; padding: 8px 15px; }
.cdc-update-sort button { min-height: 44px; padding: 8px 14px; border-radius: 4px; color: #fff; background: var(--cdc-blue); }
.cdc-update-sort button:hover { background: #03477e; }
.cdc-update-entry { padding: 0; margin: 0; overflow-wrap: anywhere; }
.cdc-update-entry + .cdc-update-entry { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--cdc-rule); }
.cdc-update-entry__body { min-width: 0; }
.cdc-update-entry__date { margin-bottom: 16px; color: #333; font-size: 16px; font-weight: 700; line-height: 16px; }
.cdc-updates-page .cdc-update-entry h3 { margin: 0 0 16px; color: var(--cdc-blue); font-size: 26px; font-weight: 500; line-height: 31.2px; }
.cdc-update-entry__content { font-size: 18px; font-weight: 300; line-height: 27px; }
.cdc-update-entry__content > :last-child { margin-bottom: 0; }
.cdc-update-entry--media { display: flex; align-items: center; gap: 50px; }
.cdc-update-entry--media .cdc-update-entry__body { flex: 1; }
.cdc-update-entry__image { flex: 0 0 291px; }
.cdc-update-entry__image img { display: block; width: 291px; height: 292px; object-fit: cover; border-radius: var(--cdc-corner) 0; }
.cdc-updates-page .cdc-update-source { display: inline-block; margin-top: 16px; padding: 10px 30px; border: 1px solid var(--cdc-orange); border-radius: 100px; color: var(--cdc-orange); background: #fff; font-size: 18px; font-weight: 500; line-height: 27px; text-decoration: none; }
.cdc-updates-page .cdc-update-source:hover { color: #fff; background: var(--cdc-orange); }
.cdc-update-support h2 { color: var(--cdc-blue); font-size: 26px; line-height: 31.2px; }
.cdc-update-support a, .cdc-update-entry__content a { color: var(--cdc-blue); text-decoration: underline; }
.cdc-update-empty { padding: 24px; background: #f7f7f7; }
.cdc-update-pagination { order: 3; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cdc-update-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; color: var(--cdc-blue); background: #f4f4f4; }
.cdc-update-pagination .current { color: #fff; background: var(--cdc-blue); }
@media (min-width: 1024px) {
    .cdc-updates-layout { display: grid; grid-template-columns: 277.5px minmax(0, 1fr); gap: 80px; align-items: start; }
    .cdc-updates-layout::before, .cdc-updates-layout::after { display: none; }
    .cdc-updates-layout > .vc_column_container { float: none; width: auto; min-width: 0; }
}
@media (max-width: 1100px) {
    .cdc-update-entry--media { gap: 24px; }
    .cdc-update-entry__image { flex-basis: 40%; }
    .cdc-update-entry__image img { width: 100%; height: auto; aspect-ratio: 291 / 292; }
}
@media (max-width: 1023px) {
    .cdc-updates-layout > .vc_column_container { float: none; width: 100%; }
    .cdc-update-nav { margin-bottom: 32px; }
    .cdc-announcement__inner { flex-wrap: wrap; }
    .cdc-announcement strong { flex-basis: 100%; }
}
@media (max-width: 600px) {
    .cdc-updates-page { padding: 25px 20px 60px; }
    .cdc-update-intro { gap: 12px; }
    .cdc-update-intro p.cdc-update-intro__time { line-height: 22px; }
    .cdc-update-entry--media { flex-direction: column; align-items: stretch; }
    .cdc-update-entry__image { flex-basis: auto; }
    .cdc-update-entry__image img { width: 100%; }
    .cdc-update-entry__date { line-height: 24px; }
    .cdc-announcement__inner { padding: 16px 20px; gap: 8px 16px; }
}
