/* Trust Centre page (scoped to template) */

.page-template-page-trust-centre .trust-centre__section-pad {
    padding: clamp(50px, 6vw, 80px) 0;
}

/* Hero — matches cert-trust__hero pattern */

.page-template-page-trust-centre .trust-centre__hero {
    --trust-centre-header-offset: 87.59px;
    color: #ffffff;
    position: relative;
    border-bottom: 2px solid #f7941e;
    padding-top: var(--trust-centre-header-offset);
}

.page-template-page-trust-centre .trust-centre__hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: var(--trust-centre-header-offset);
    border-top: 2px solid #f7941e;
    z-index: 1;
}

.page-template-page-trust-centre .trust-centre__hero__inner {
    padding-top: 36px;
    padding-bottom: 36px;
}

.page-template-page-trust-centre .trust-centre__hero__title {
    color: #ffffff;
    margin: 0 !important;
    font-size: 2rem;
    line-height: 1.12;
}

/* Introduction */

.page-template-page-trust-centre .trust-centre__intro {
    padding: clamp(32px, 4vw, 52px) 0;
    background: #ffffff;
}

.page-template-page-trust-centre .trust-centre__intro__copy {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.5;
    color: #002a3a;
    max-width: 820px;
}

.page-template-page-trust-centre .trust-centre__intro__copy > :last-child {
    margin-bottom: 0;
}

/* Feature cards */

.page-template-page-trust-centre .trust-centre__cards {
    background: #ffffff;
}

.page-template-page-trust-centre .trust-centre__cards__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 200px));
    gap: 1.25rem;
    justify-content: center;
}

.page-template-page-trust-centre .trust-centre__card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-template-page-trust-centre .trust-centre__card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 100%;
}

.page-template-page-trust-centre .trust-centre__card__link:hover .trust-centre__card__btn,
.page-template-page-trust-centre .trust-centre__card__link:focus-visible .trust-centre__card__btn {
    background: #ffffff;
    color: #002a3a;
    border-color: #00b9f2;
}

.page-template-page-trust-centre .trust-centre__card__image-wrap {
    width: 100%;
    border: 2px solid #f7941e;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #002a3a;
}

.page-template-page-trust-centre .trust-centre__card__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.page-template-page-trust-centre .trust-centre__card__image-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    padding: 1rem;
    line-height: 1.3;
}


.page-template-page-trust-centre .trust-centre__card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.45rem 1.1rem;
    background: #002a3a;
    border: 2px solid transparent;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Heading accent bar (matches page-id-24146 pattern) */

.page-template-page-trust-centre .trust-centre__policies__title,
.page-template-page-trust-centre .trust-centre__policy-section__title {
    position: relative;
    padding-bottom: 35px;
}

.page-template-page-trust-centre .trust-centre__policies__title::after,
.page-template-page-trust-centre .trust-centre__policy-section__title::after {
    content: "";
    height: 5px;
    width: 60px;
    background-color: #00b1eb;
    left: 0;
    bottom: 10px;
    position: absolute;
}

/* Policies heading + intro */

.page-template-page-trust-centre .trust-centre__policies__title {
    margin: 0 0 1rem;
    color: #002a3a;
    line-height: 1.15;
    text-align: left;
}

.page-template-page-trust-centre .trust-centre__policies__intro {
    color: #002a3a;
    max-width: 900px;
    margin-bottom: 1.5rem;
    line-height: 1.55;
    text-align: left;
}

.page-template-page-trust-centre .trust-centre__policies__intro > :last-child {
    margin-bottom: 0;
}

/* Anchor nav — base styles (JS adds is-stuck to make it fixed) */

.page-template-page-trust-centre .trust-centre__anchor-nav {
    background: #ffffff;
    border-top: 1px solid #e0e6e8;
    border-bottom: 1px solid #e0e6e8;
}

.page-template-page-trust-centre .trust-centre__anchor-nav.is-stuck {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 200;
    box-shadow: 0 2px 8px rgba(0, 42, 58, 0.08);
}

.page-template-page-trust-centre .trust-centre__anchor-nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.page-template-page-trust-centre .trust-centre__anchor-link {
    color: #00b9f2;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.page-template-page-trust-centre .trust-centre__anchor-link:hover,
.page-template-page-trust-centre .trust-centre__anchor-link:focus-visible {
    text-decoration: underline;
}

.page-template-page-trust-centre .trust-centre__anchor-separator {
    color: #002a3a;
    font-weight: 400;
    font-size: 0.95rem;
    user-select: none;
}

/* Policy sections */

.page-template-page-trust-centre .trust-centre__policy-sections {
    background: #ffffff;
}

.page-template-page-trust-centre .trust-centre__policy-section {
    border-top: 1px solid #e0e6e8;
    scroll-margin-top: 150px;
    padding: clamp(28px, 3.5vw, 48px) 0;
}

.page-template-page-trust-centre .trust-centre__policy-section__title {
    color: #002a3a;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.25rem;
}

.page-template-page-trust-centre .trust-centre__policy-section__content {
    color: #002a3a;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 900px;
}

.page-template-page-trust-centre .trust-centre__policy-section__content > :last-child {
    margin-bottom: 0;
}

.page-template-page-trust-centre .trust-centre__policy-section__content a {
    color: #00b9f2;
}

.page-template-page-trust-centre .trust-centre__policy-section__content a:hover,
.page-template-page-trust-centre .trust-centre__policy-section__content a:focus-visible {
    text-decoration: underline;
}

/* Two-column layout — use <div class="two-col"> in the WYSIWYG, direct child divs become columns.
   For CTA buttons use <a class="tc-btn" href="...">Label</a> */

.page-template-page-trust-centre .trust-centre__policy-section__content:has(.two-col) {
    max-width: none;
}

.page-template-page-trust-centre .trust-centre__policy-section__content .two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.page-template-page-trust-centre .trust-centre__policy-section__content .two-col > div {
    display: flex;
    flex-direction: column;
}

.page-template-page-trust-centre .trust-centre__policy-section__content .two-col > div > :last-child {
    margin-bottom: 0;
}

.page-template-page-trust-centre .trust-centre__policy-section__content .two-col .tc-btn {
    margin-top: auto;
}

.page-template-page-trust-centre .trust-centre__policy-section__content .tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 1rem;
    padding: 0.5rem 1.35rem;
    border: 2px solid #00b9f2;
    border-radius: 999px;
    background: transparent;
    color: #002a3a;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.page-template-page-trust-centre .trust-centre__policy-section__content .tc-btn:hover,
.page-template-page-trust-centre .trust-centre__policy-section__content .tc-btn:focus-visible {
    background: #002a3a;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive */

@media (max-width: 1024px) {
    .page-template-page-trust-centre .trust-centre__cards__grid {
        grid-template-columns: repeat(2, minmax(0, 200px));
    }
}

@media (max-width: 640px) {
    .page-template-page-trust-centre .trust-centre__cards__grid {
        grid-template-columns: minmax(0, 200px);
    }

    .page-template-page-trust-centre .trust-centre__anchor-nav__inner {
        gap: 0.2rem 0.35rem;
        font-size: 0.875rem;
    }

    .page-template-page-trust-centre .trust-centre__policy-section__content .two-col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

