/* ==========================================================================
   Corporate Governance (about-us/corporate-governance.php)
   "Charter" layout: image hero → overlapping statement card → three
   numbered articles on a vertical red timeline.
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */

.gov-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(380px, 52vh, 520px);
    overflow: hidden;
    background: var(--ph-dark);
}

.gov-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.gov-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(10, 13, 20, .92) 0%, rgba(10, 13, 20, .55) 45%, rgba(10, 13, 20, .2) 100%),
        linear-gradient(90deg, rgba(10, 13, 20, .6) 0%, rgba(10, 13, 20, 0) 60%);
}

.gov-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 8.5rem; /* room for the overlapping statement card */
}

.gov-hero__crumbs { margin-bottom: 1.25rem; color: rgba(255, 255, 255, .7); }
.gov-hero__crumbs a { color: rgba(255, 255, 255, .85); }
.gov-hero__crumbs a:hover { color: var(--ph-white); }
.gov-hero__crumbs li + li::before { color: rgba(255, 255, 255, .45); }
.gov-hero__crumbs [aria-current] { color: #ff8a8e; }

.gov-hero__title {
    margin: 0;
    max-width: 12ch;
    color: var(--ph-white);
    font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.gov-hero__title .text-brand { color: #ff5c61 !important; }

/* Statement card ---------------------------------------------------------- */

.gov-statement {
    position: relative;
    z-index: 2;
    margin-top: -6rem;
}

.gov-statement__card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
    max-width: 980px;
    margin-inline-start: auto;
    padding: 2.75rem 3rem;
    border-radius: 6px;
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 60%),
        var(--ph-red-strong);
    color: var(--ph-white);
    box-shadow: 0 40px 80px -40px rgba(120, 10, 15, .7);
}

.gov-statement__seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--ph-white);
}

.gov-statement__text {
    margin: 0;
    font-family: var(--ph-font-heading);
    font-size: clamp(1.15rem, .95rem + .8vw, 1.55rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
}

/* Charter articles ------------------------------------------------------- */

.gov-charter { padding: 5.5rem 0 6.5rem; }

.charter {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

/* Vertical timeline */
.charter::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    inset-inline-start: 31px;
    width: 2px;
    background: linear-gradient(180deg, var(--ph-red) 0%, rgba(236, 31, 39, .15) 100%);
}

.charter__article {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 2.5rem;
    padding-bottom: 3.5rem;
}

.charter__article:last-child { padding-bottom: 0; }

.charter__marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 2px solid var(--ph-red);
    border-radius: 50%;
    background: var(--ph-white);
    color: var(--ph-red-strong);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--ph-white);
}

.charter__text {
    margin: 0;
    padding-top: .6rem;
    font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem);
    line-height: 1.9;
    color: var(--ph-body);
}

/* Drop cap on the first article */
.charter__text--lead::first-letter {
    float: left; float: inline-start;
    margin-block: .35rem 0; margin-inline: 0 .65rem;
    font-family: var(--ph-font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: .8;
    color: var(--ph-red-strong);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .gov-statement__card { margin-inline: 0; padding: 2.25rem; }
    .gov-charter { padding: 4rem 0 4.5rem; }
}

@media (max-width: 575.98px) {
    .gov-hero__content { padding-bottom: 7rem; }
    .gov-statement { margin-top: -5rem; }
    .gov-statement__card { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.75rem 1.25rem; }
    .gov-statement__seal { width: 56px; height: 56px; font-size: 1.5rem; }

    .charter::before { inset-inline-start: 21px; }
    .charter__article { grid-template-columns: 44px minmax(0, 1fr); gap: 1.1rem; padding-bottom: 2.5rem; }
    .charter__marker { width: 44px; height: 44px; font-size: 1rem; box-shadow: 0 0 0 5px var(--ph-white); }
    .charter__text { padding-top: .35rem; }
    .charter__text--lead::first-letter { font-size: 3.2rem; }
}
