/* PTA page: the site's own navy, royal blue, orange and light blue. */

.pta { background: var(--white); }
.pta--tint { background: var(--cream); }

.pta__head { max-width: 48rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }

.pta__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 2rem clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.pta__split .pta__head { margin-bottom: 0; }

.pta-about p { font-size: 1.0625rem; line-height: 1.75; color: #44516b; }

.pta-about ul { display: grid; gap: 0.875rem; margin-top: 1.25rem; padding: 0; }

.pta-about li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-left: 4px solid var(--indigo-700);
    border-radius: 0.875rem;
    background: var(--cream);
    line-height: 1.6;
    color: #2c3a57;
}

.pta-about li .icon { flex: none; margin-top: 0.15rem; color: var(--indigo-700); }

.pta__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.pta-group {
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--line);
    border-top: 4px solid var(--indigo-700);
    border-radius: 1rem;
    background: var(--white);
}

.pta-group--alt { border-top-color: var(--orange-500); }

.pta-group header { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.125rem; }

.pta-group__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--indigo-100);
    color: var(--indigo-700);
}

.pta-group--alt .pta-group__icon { background: #ffe9d6; color: var(--orange-600); }

.pta-group h3 { flex: 1; font-size: 1.1875rem; color: var(--navy-900); }

.pta-group__count {
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    background: var(--indigo-100);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--indigo-700);
}

.pta-group--alt .pta-group__count { background: #ffe9d6; color: var(--orange-600); }

.pta-group ul { display: grid; gap: 0.5rem; padding: 0; }

.pta-group li {
    position: relative;
    padding: 0.625rem 0.875rem 0.625rem 1.75rem;
    border-radius: 0.625rem;
    background: var(--cream);
    font-size: 0.9688rem;
    line-height: 1.55;
    color: #2c3a57;
}

.pta-group li::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    top: 1.05rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--indigo-700);
}

.pta-group--alt li::before { background: var(--orange-500); }

.pta-notice {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding: 1.75rem;
    border: 1px solid #fbd5b5;
    border-left: 5px solid var(--orange-500);
    border-radius: 0.875rem;
    background: #fff4e8;
}

.pta-notice__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #ffe2c6;
    color: var(--orange-600);
}

.pta-notice__label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-600);
}

.pta-notice h3 { margin-block: 0.25rem 0.5rem; font-size: 1.375rem; color: var(--navy-900); }
.pta-notice p:last-child { font-size: 1.0625rem; line-height: 1.7; color: #7c2d12; }

.pta__people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 52rem;
    padding: 0;
}

.pta-person {
    padding: 2rem 1.75rem;
    border: 1px solid var(--line);
    border-top: 4px solid var(--indigo-700);
    border-radius: 1rem;
    background: var(--cream);
    text-align: center;
}

.pta-person--alt { border-top-color: var(--orange-500); }

.pta-person__icon {
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--indigo-100);
    color: var(--indigo-700);
}

.pta-person--alt .pta-person__icon { background: #ffe9d6; color: var(--orange-600); }

.pta-person__role {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-600);
}

.pta-person h3 { margin-top: 0.375rem; font-size: 1.5rem; color: var(--navy-900); }

@media (max-width: 900px) {
    .pta__split,
    .pta__groups,
    .pta__people { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .pta-notice { flex-direction: column; }
}

/* Student Progress & Parent Communication: heading with a photograph, then four cards with a coloured, slanted header band. */
.pta-prog__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.pta-prog__text .section-heading__title { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.08; }
.pta-prog__lead { margin-top: 1rem; font-size: 1.125rem; color: #44516b; }

.pta-prog__photo {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 2rem 1rem 1rem 8rem;
    box-shadow: 0 24px 44px -26px rgba(11, 31, 77, 0.6);
}

.pta-prog__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pta-cards { gap: 1.5rem; }

.pta-cards .pta-group {
    --tone: var(--navy-900);
    --tint: #e8eefb;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 1.25rem;
    background: var(--white);
    box-shadow: 0 16px 30px -24px rgba(11, 31, 77, 0.55);
}

.pta-cards .pta-group--0 { --tone: var(--navy-900); --tint: #e4eafa; }
.pta-cards .pta-group--1 { --tone: #0891b2; --tint: #d9f3f8; }
.pta-cards .pta-group--2 { --tone: #3a6df0; --tint: #e1e9fd; }
.pta-cards .pta-group--3 { --tone: var(--orange-500); --tint: #ffe9d6; }

.pta-cards .pta-group header {
    margin: 0;
    padding: 1rem 2.5rem 1rem 1.25rem;
    background: var(--tone);
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, calc(100% - 2rem) 100%, 0 100%);
}

.pta-cards .pta-group__icon {
    width: 3rem;
    height: 3rem;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.pta-cards .pta-group h3 { margin: 0; font-size: 1.1875rem; color: var(--white); }

.pta-cards .pta-group ul { gap: 0; padding: 1rem 1.25rem 1.25rem; }

.pta-cards .pta-group li {
    padding: 0.4rem 0 0.4rem 1.9rem;
    border-radius: 0;
    background: transparent;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #2c3a57;
}

/* A round tick in the card's colour. */
.pta-cards .pta-group li::before {
    left: 0;
    top: 0.5rem;
    width: 1.15rem;
    height: 1.15rem;
    background: var(--tone);
}

.pta-cards .pta-group li::after {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0.66rem;
    width: 0.3rem;
    height: 0.55rem;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .pta-prog__head { grid-template-columns: minmax(0, 1fr); }
}

/* Office bearers: a round portrait instead of the icon. */
.pta-person__photo {
    display: block;
    width: 9rem;
    height: 9rem;
    margin: 0 auto 1.1rem;
    overflow: hidden;
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--indigo-700), 0 14px 24px -14px rgba(11, 31, 77, 0.6);
}

.pta-person--alt .pta-person__photo { box-shadow: 0 0 0 3px var(--orange-500), 0 14px 24px -14px rgba(11, 31, 77, 0.6); }

.pta-person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* Office bearers, second style: a portrait card with the photograph on top and a navy name panel below. */
.pta__people { grid-template-columns: repeat(auto-fit, minmax(0, 17rem)); justify-content: center; gap: 1.75rem; margin-inline: auto; }

.pta-person {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 1.5rem;
    background: var(--navy-900);
    box-shadow: 0 24px 40px -26px rgba(11, 31, 77, 0.75);
    text-align: center;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pta-person:hover { transform: translateY(-4px); box-shadow: 0 30px 44px -26px rgba(11, 31, 77, 0.8); }

.pta-person__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 4.4;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.pta-person--alt .pta-person__photo { box-shadow: none; }


.pta-person__role {
    display: inline-block;
    margin: -1.1rem auto 0;
    position: relative;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    background: var(--orange-500);
    font-size: 0.75rem;
    color: var(--white);
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.5);
}

.pta-person--alt .pta-person__role { background: #3a6df0; }

.pta-person h3 { margin: 0.75rem 1rem 0; padding-bottom: 1.5rem; font-size: 1.375rem; color: var(--white); }

/* Office bearers: name first, then the position under it as plain text (no background). */
.pta-person { display: flex; flex-direction: column; }
.pta-person__photo { order: 0; }
.pta-person h3 { order: 1; margin: 1.1rem 1rem 0; padding-bottom: 0; }

.pta-person__role,
.pta-person--alt .pta-person__role {
    order: 2;
    display: block;
    margin: 0.3rem 1rem 0;
    padding: 0 0 1.4rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.8125rem;
    color: var(--orange-300);
}

/* Office bearers: name and position aligned to the left. */
.pta-person { text-align: left; }
.pta-person h3 { margin-inline: 1.25rem; }
.pta-person__role,
.pta-person--alt .pta-person__role { margin-inline: 1.25rem; }

/* Office bearers: the cards start at the left edge, in line with the heading. */
.pta__people { justify-content: start; margin-inline: 0; }

/* Office bearers: even space above and below the name now that the position line is gone. */
.pta-person h3 { margin: 0; padding: 1.15rem 1.25rem 1.25rem; }
