/* Content modules for the 2026 website copy. These reuse the established palette, type and geometry. */
.document-content {
    max-width: 780px
}

.document-content h2 {
    margin: 3.6rem 0 1rem;
    padding-top: .25rem;
    font-size: clamp(1.9rem, 3.2vw, 2.65rem);
    color: var(--dark)
}

.document-content h2:first-child {
    margin-top: 0
}

.document-content h3 {
    margin: 2.4rem 0 .7rem;
    font-size: 1.55rem;
    line-height: 1.2;
    color: var(--dark)
}

.document-content p {
    margin:0;
    color: #38565a;
    font-size: 1.12rem
}

.document-content h3+p,
.document-content h2+p {
    margin-top: 0
}

.home-document {
    max-width: 900px
}

.home-document .document-content {
    max-width: none
}

.home-document .document-content>h3 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin-top: 3rem
}

.side a.current {
    color: var(--primary);
    background: var(--mist);
    border-left-color: var(--primary)
}

.table-scroll {
    margin: 1rem 0 2.2rem;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(18, 100, 106, .07)
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 590px
}

.price-table th,
.price-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle
}

.price-table th {
    background: var(--dark);
    color: #fff;
    font-size: .92rem
}

.price-table tbody tr:last-child td {
    border-bottom: 0
}

.price-table tbody tr:nth-child(even) {
    background: var(--mist)
}

.pathway-line {
    margin: 1.5rem 0 2rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid #cfe1dc;
    border-top: 3px solid var(--primary);
    border-radius: 12px;
    background: linear-gradient(135deg, #fff 0%, #f3f9f6 100%);
    box-shadow: 0 12px 28px rgba(18, 100, 106, .08);
    color: var(--dark);
    font-size: 1.08rem;
    font-weight: 700;
    text-align: left
}

.pathway-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 1rem;
    border-top-color: #f2a000
}

.pathway-step {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 132px;
    flex-direction: column;
    justify-content: center;
    padding: 1.35rem 1rem 1rem;
    border: 1px solid #b9d8d2;
    border-radius: 10px;
    background: #fff;
    text-align: center
}

.pathway-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1.35rem;
    width: .7rem;
    height: .7rem;
    border-top: 2px solid #f2a000;
    border-right: 2px solid #f2a000;
    transform: translateY(-50%) rotate(45deg)
}

.pathway-step-number {
    position: absolute;
    top: .55rem;
    left: .65rem;
    color: #d78600;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em
}

.pathway-step strong {
    color: var(--primary);
    font-size: 1.08rem;
    line-height: 1.2
}

.pathway-step>span:last-child {
    margin-top: .35rem;
    color: #527074;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.3
}

.document-action {
    margin: 1.35rem 0 !important
}

.document-action .btn {
    font-size: 1rem
}

.document-content p+p {
    margin-top: 1rem
}

@media(max-width:760px) {
    .document-content {
        max-width: none
    }

    .document-content h2 {
        margin-top: 2.7rem
    }

    .price-table th,
    .price-table td {
        padding: 12px
    }

    .pathway-steps {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .pathway-step {
        min-height: 104px
    }

    .pathway-step:not(:last-child)::after {
        top: auto;
        right: 50%;
        bottom: -1rem;
        transform: translateX(50%) rotate(135deg)
    }

    .side {
        order: -1
    }
}

.shared-content-intro {
    margin-bottom: 2rem
}

.shared-content-intro p {
    font-size: 1.16rem
}

.process-list {
    display: grid;
    gap: 12px
}

.process-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(18, 100, 106, .07)
}

.process-item>span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 800
}

.process-item h3 {
    margin: 0 0 .45rem
}

.process-item p {
    margin: .45rem 0;
    font-size: 1.05rem
}

.process-item p:last-child {
    margin-bottom: 0
}

@media(max-width:575px) {
    .process-item {
        grid-template-columns: 54px 1fr;
        gap: 12px;
        padding: 1rem
    }
}

/* Shared components follow the English consumers website structure. */
.lang {
    display: none !important
}

.shared-consumer-section {
    background: #f0f7f2;
    border-block: 1px solid var(--line)
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center
}

.section-heading h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.04
}

.section-heading p {
    margin: .7rem 0;
    color: var(--muted);
    font-size: 1.22rem
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px
}

.theme-grid>.theme-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #203f42;
    box-shadow: 0 12px 30px rgba(18, 100, 106, .06)
}

.theme-card-trigger {
    position: relative;
    width: 100%;
    min-height: 104px;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease
}

.theme-card-trigger:hover,
.theme-card-trigger:focus-visible {
    border-color: rgba(18, 100, 106, .55);
    box-shadow: 0 18px 40px rgba(18, 100, 106, .14);
    transform: translateY(-3px);
    outline: 0
}

.theme-card-heading {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    padding-right: 2.5rem
}

.theme-card-heading>i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eef7f3;
    color: var(--primary);
    font-style: normal;
    font-size: 1.15rem;
    font-weight: 800
}

.theme-card-heading>span,
.theme-card-heading h3 {
    margin: 0;
    color: #203f42;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.2
}

.theme-card-action {
    position: absolute;
    right: 1.15rem;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #eef7f3;
    color: var(--primary);
    font-style: normal;
    transform: translateY(-50%);
    transition: .18s
}

.theme-card-trigger:hover .theme-card-action,
.theme-card-trigger:focus-visible .theme-card-action {
    background: var(--primary);
    color: #fff;
    transform: translate(2px, calc(-50% - 2px))
}

.theme-modal {
    width: min(940px, 100%)
}

.theme-modal h3 {
    margin: 1.5rem 0 .75rem;
    color: var(--dark);
    font-size: 1.25rem
}

.theme-modal-intro {
    color: var(--dark) !important;
    font-size: 1.2rem !important;
    font-weight: 700
}

.consumer-theme-examples {
    display: grid;
    gap: .75rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none
}

.consumer-theme-examples li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: .7rem;
    align-items: start;
    padding: .8rem .9rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted)
}

.consumer-theme-examples i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--mist);
    color: var(--primary);
    font-style: normal;
    font-weight: 800
}

.shared-card-grid {
    display: grid;
    gap: 0
}

.shared-content-card {
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 100, 106, .06)
}

.shared-content-card .theme-card-heading {
    padding: 0
}

.shared-content-card p {
    font-size: 1.05rem
}

.shared-content-card p:last-child {
    margin-bottom: 0
}

@media(max-width:960px) {
    .theme-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:575px) {
    .theme-grid {
        grid-template-columns: 1fr
    }

    .theme-card-trigger {
        min-height: 96px
    }
}

/* Keep certification theme controls in the same single-row layout as the consumer website. */
.consumer-themes-section .theme-grid>.theme-card {
    display: flex !important;
    min-height: 104px;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important
}

.consumer-themes-section .theme-card-heading {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding-right: 0
}

.consumer-themes-section .theme-card-action {
    position: static !important;
    display: grid !important;
    visibility: visible !important;
    flex: 0 0 34px;
    margin-left: auto;
    opacity: 1 !important;
    transform: none !important
}

.consumer-themes-section .theme-card-trigger:hover .theme-card-action,
.consumer-themes-section .theme-card-trigger:focus-visible .theme-card-action {
    transform: translate(2px, -2px) !important
}
