/* -----------------------------------------------------------------------
   Proposal page 
   ----------------------------------------------------------------------- */

.mtic-proposal {
    max-width: 820px;
    margin: var(--mtic-spacing-xl) auto;
    padding: 0 var(--mtic-spacing-md);
    text-align: center;
}

/* ================================
   HERO SECTION
================================ */
.mtic-page--proposal .mtic-page-hero {
    border-radius: 0;
    min-height: 0;
    aspect-ratio: 1340 / 411;
    background-position: center;
    margin-bottom: 2.5rem;
    /* The PNG's bottom corners are transparent (the curve is part of
       the artwork) — the component's dark fallback colour must not
       show through them. */
    background-color: transparent;
}

.mtic-page--proposal .mtic-page-hero::before {
    content: none;
}

/* Text sizing and padding mirror the Statistics hero (statistics.css);
   only the alignment (component default / centred on mobile) differs. */
.mtic-page--proposal .mtic-page-hero__inner {
    padding: 3.5rem var(--mtic-container-pad) 4.5rem;
    margin: 0 0 0 4rem;
}

.mtic-page--proposal .mtic-page-hero__title {
    font-family: var(--mtic-font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 4vw, 42px);
    color: var(--mtic-white);
    text-transform: uppercase;
    text-align: left;
    letter-spacing: 0.06em;
    line-height: 0.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.25rem; 
}

/* Teal subtitle for the quicklinks hero. */
.mtic-page--proposal .mtic-page-hero__subtitle {
    color: var(--mtic-teal);
    font-size: clamp(1.1rem, 2.5vw, 30px);
    font-weight: 400;
    line-height: 1.3;
    max-width: 520px;
    margin-bottom: 1.25rem; /* statistics hero uses flex gap 1.25rem */
}

.mtic-page--proposal .mtic-page-hero__desc {
    font-size: 1.25rem;
    max-width: 420px;
    padding-top: 0.25rem;
}

.mtic-proposal__title {
    font-family: var(--mtic-font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--mtic-primary);
    margin: 0 0 var(--mtic-spacing-lg);
}

.mtic-proposal__card {
    margin: 0 auto;
}

.mtic-proposal__table {
    display: table;
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    border: 1px solid var(--mtic-border);
    border-radius: 10px;
    overflow: hidden;
}

.mtic-proposal__row {
    display: table-row;
}

.mtic-proposal__row--head {
    background: #f5f6f8;
}

.mtic-proposal__col {
    display: table-cell;
    vertical-align: middle;
    padding: 14px 18px;
    border: 1px solid var(--mtic-border);
}

.mtic-proposal__col--type {
    width: 90px;
    text-align: center;
}

.mtic-proposal__col--name {
    text-align: left;
}

.mtic-proposal__row--head .mtic-proposal__col {
    font-family: var(--mtic-font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a8a8a;
    text-align: center;
}

.mtic-proposal__row--linked:hover {
    background-color: rgba(47, 111, 237, 0.05);
}

/* Icon + name centered together as one inline unit ---------------------- */

.mtic-proposal__col--type,
.mtic-proposal__col--name {
    height: 1px; /* forces table-cell + flex child to stretch to row height */
}

.mtic-proposal__col--type {
    line-height: 0;
}

.mtic-proposal__icon {
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.mtic-proposal__col--name a,
.mtic-proposal__col--disabled {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 40px;
}

.mtic-proposal__col--name a {
    font-family: var(--mtic-font-body);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--mtic-text);
    text-decoration: none;
    transition: color 0.18s ease;
}

.mtic-proposal__row--linked:hover .mtic-proposal__col--name a {
    color: var(--mtic-primary);
    text-decoration: underline;
}

.mtic-proposal__col--disabled {
    font-family: var(--mtic-font-body);
    font-size: 1rem;
    color: #b0b0b0;
    font-style: italic;
}

/* Responsive -------------------------------------------------------------- */

/* ── Tablet (768px - 1024px) ── */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .mtic-proposal {
        max-width: 92%;
        margin: var(--mtic-spacing-lg) auto;
    }

    .mtic-proposal__col {
        padding: 12px 14px;
    }

    .mtic-proposal__col--type {
        width: 72px;
    }

    .mtic-proposal__icon {
        width: 30px;
        height: 35px;
    }

    .mtic-proposal__col--name a,
    .mtic-proposal__col--disabled {
        font-size: 0.96rem;
    }
}

/* ── Mobile (max 767px) ── */
@media screen and (max-width: 767px) {
    .mtic-proposal {
        margin: var(--mtic-spacing-md) auto;
        padding: 0 var(--mtic-spacing-sm);
    }

    .mtic-proposal__title {
        margin-bottom: var(--mtic-spacing-md);
    }

    .mtic-proposal__col {
        padding: 10px 8px;
    }

    .mtic-proposal__col--type {
        width: 54px;
    }

    .mtic-proposal__row--head .mtic-proposal__col {
        font-size: 0.65rem;
    }

    .mtic-proposal__icon {
        width: 24px;
        height: 28px;
    }

    .mtic-proposal__col--name a,
    .mtic-proposal__col--disabled {
        font-size: 0.85rem;
        line-height: 1.35;
        min-height: 32px;
    }

    .mtic-page--proposal .mtic-page-hero__inner {
        padding: 3rem var(--mtic-container-pad) 2.5rem;
        text-align: left;
        margin-left: 0;
    }

    .mtic-page--proposal .mtic-page-hero__title {
        font-size: 1.25rem;
        line-height: 0.71;
        margin-bottom: 0.75rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .mtic-page--proposal .mtic-page-hero__subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        white-space: normal;
    }

    .mtic-page--proposal .mtic-page-hero__desc {
        font-size: 0.72rem;
        line-height: 1.4;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    }
}