.credential-page {
    color: #34424f;
    direction: rtl;
}
.credential-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 38px 42px;
    border-radius: 28px;
    background: linear-gradient(120deg,#293641,#465664);
    color: white;
    border: 1px solid #ffffff15;
}
.credential-eyebrow {
    font-size: 12px;
    color: #cbd4dc;
}
.credential-hero h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.6;
    margin: 10px 0 12px;
    color: white;
}
.credential-hero p {
    max-width: 680px;
    line-height: 2;
    font-size: 14px;
    color: #e0e6eb;
    margin: 0;
}
.credential-emblem {
    width: 118px;
    height: 118px;
    flex-shrink: 0;
    color: #eac4cf;
    padding: 15px;
    border: 1px solid #ffffff20;
    border-radius: 24px;
    background: #ffffff06;
    box-sizing: content-box;
}
.credential-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0 30px;
    border-bottom: 1px solid #dde3e8;
    padding: 0 0 16px;
}
.credential-switch a {
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #64717d;
    transition: background .2s,color .2s;
}
.credential-switch a:hover {
    background: #e9edf1;
    color: #ab052d;
}
.credential-switch a[aria-current] {
    background: #ab052d;
    color: white;
}
.credential-switch>span {
    margin-right: auto;
    color: #78848d;
    font-size: 11px;
}
.credential-content {
    min-width: 0;
}
.credential-content>p {
    font-size: 14px;
    line-height: 2.3;
    margin: 0 0 18px;
    color: #5a6671;
}
.credential-content>p:empty {
    display: none;
}
.credential-content>h2 {
    font-size: 23px;
    line-height: 1.9;
    color: #34424f;
    border-right: 4px solid #ab052d;
    padding-right: 15px;
    margin: 38px 0 20px;
}
.credential-content>h2:first-child {
    margin-top: 0;
}
.credential-content .wp-block-columns {
    gap: 24px;
    margin: 24px 0 32px;
    align-items: stretch!important;
}
.credential-content .wp-block-column {
    min-width: 0;
}
.credential-content figure {
    margin: 0!important;
}
.credential-document {
    height: 100%;
    border: 1px solid #e1e6eb;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 28px #34424f06;
}
.credential-document button {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 0;
    background: none;
    color: inherit;
    padding: 18px;
    cursor: zoom-in;
    font: inherit;
    box-sizing: border-box;
    white-space: normal;
}
.credential-document img {
    display: block;
    width: 100%!important;
    height: 300px!important;
    object-fit: contain!important;
    max-width: 100%;
    margin: auto;
    background: #f6f7f9;
    border-radius: 10px;
    transition: transform .25s;
}
.credential-document button:hover img {
    transform: scale(1.025);
}
.credential-zoom {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf0f2;
    font-size: 11px;
    color: #8e1a3b;
}
.credential-unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 240px;
    height: 100%;
    box-sizing: border-box;
    padding: 24px;
    background: #eef1f4;
    border: 1px dashed #ccd4dc;
    border-radius: 20px;
    color: #7d8994;
    text-align: center;
}
.credential-unavailable>span {
    font-size: 38px;
    color: #9aa6b1;
}
.credential-unavailable figcaption {
    font-size: 12px;
}
.credential-awards .credential-content>.wp-block-columns {
    padding: 24px;
    border: 1px solid #e0e5ea;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 30px #34424f04;
}
.credential-awards .acknowledgment-txt {
    align-self: center;
    padding: 10px!important;
}
.credential-awards h3 {
    font-size: 19px;
    line-height: 1.9;
    margin: 0 0 14px;
    color: #34424f;
}
.credential-awards .acknowledgment-txt p {
    font-size: 13px;
    line-height: 2.2;
    color: #68747f;
    margin: 0;
}
.credential-dialog {
    border: 0;
    border-radius: 18px;
    padding: 48px 18px 18px;
    background: #f4f6f8;
    max-width: 94vw;
    max-height: 94dvh;
    box-sizing: border-box;
}
.credential-dialog::backdrop {
    background: #16222ce8;
}
.credential-dialog>img {
    display: block;
    max-width: 86vw;
    max-height: 78dvh;
    object-fit: contain;
    margin: auto;
}
.credential-close {
    position: absolute;
    top: 8px;
    left: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #ab052d;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}
.credential-page a:focus-visible,.credential-document button:focus-visible,.credential-close:focus-visible {
    outline: 2px solid #ab052d;
    outline-offset: 3px;
}
@media(max-width:1000px) {
    .credential-hero {
        padding: 28px;
    }
    .credential-content .wp-block-columns {
        flex-wrap: wrap!important;
    }
    .credential-content .wp-block-column {
        flex-basis: calc(50% - 12px)!important;
        flex-grow: 1;
    }
    .credential-awards .acknowledgment-txt {
        flex-basis: 100%!important;
    }
    .credential-switch>span {
        display: none;
    }
}
@media(max-width:600px) {
    .credential-hero {
        padding: 25px 22px;
        border-radius: 22px;
        gap: 10px;
    }
    .credential-hero h1 {
        font-size: 28px;
    }
    .credential-hero p {
        font-size: 12px;
    }
    .credential-eyebrow {
        font-size: 10px;
    }
    .credential-emblem {
        display: none;
    }
    .credential-switch {
        margin: 18px 0 24px;
    }
    .credential-switch a {
        flex: 1;
        text-align: center;
        padding: 11px 10px;
        font-size: 12px;
    }
    .credential-content>.wp-block-columns {
        gap: 16px;
    }
    .credential-content .wp-block-column {
        flex-basis: 100%!important;
    }
    .credential-awards .credential-content>.wp-block-columns {
        padding: 16px;
        border-radius: 20px;
    }
    .credential-document img {
        height: 320px!important;
    }
    .credential-content>h2 {
        font-size: 19px;
    }
    .credential-content>p {
        font-size: 13px;
    }
    .credential-unavailable {
        min-height: 160px;
    }
}
@media(prefers-reduced-motion:reduce) {
    .credential-document img,.credential-switch a {
        transition: none;
    }
}
.credential-document {
    min-height: 370px;
}
.credential-document button {
    min-height: 370px;
    height: auto;
    align-items: stretch;
    justify-content: flex-start;
}
.credential-document img {
    flex-shrink: 0;
}
.credential-source-library{margin-top:clamp(2.5rem,6vw,5rem);padding-top:clamp(2rem,4vw,3.5rem);border-top:1px solid rgba(33,55,70,.14)}
.credential-source-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.credential-source-heading span{color:#c59032;font-size:.85rem;font-weight:700;letter-spacing:.04em}
.credential-source-heading h2{margin:0;color:#243746;font-size:clamp(1.45rem,3vw,2.15rem)}
.credential-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(1rem,2.3vw,1.75rem);align-items:start}
.credential-source-grid .credential-document{margin:0;min-width:0}
.credential-source-grid .credential-document button{width:100%}
.credential-source-grid .credential-document img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:#f7f4ed}
@media(max-width:900px){.credential-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.credential-source-heading{display:block}.credential-source-heading span{display:block;margin-bottom:.4rem}.credential-source-grid{grid-template-columns:1fr}}
