/* CTI certification archive. Uses the shared viewer and the existing signature palette. */
.cti-member-credentials {
    --cc-ink: #f2f0e8;
    --cc-muted: #bdd0d3;
    --cc-gold: #e3c18a;
    --cc-line: #3e565a;
    --cc-surface: #102b33;
    min-width: 0;
    margin: clamp(44px, 6vw, 80px) 0 48px;
    color: var(--cc-ink);
    font: 400 15px/1.8 Arial, Helvetica, sans-serif;
}
.cti-member-credentials *,
.cti-member-credentials *::before,
.cti-member-credentials *::after { box-sizing: border-box; }
.cti-member-credentials :is(section, header, article, nav, div, a, button) { min-width: 0; }
.cti-member-credentials :is(h2, h3, h4, p) { margin: 0; }
.cti-signature .cti-member-credentials :is(h2, h3, h4) {
    color: var(--cc-ink);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.2;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.cti-member-credentials p { color: var(--cc-muted); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.cti-member-credentials a { color: inherit; text-decoration: none; }
.cti-member-credentials .cc-icon { display: block; width: 21px; height: 21px; flex: none; }
.cti-member-credentials [hidden] { display: none !important; }
.cti-member-credentials :is(a, button):focus-visible { outline: 2px solid #ffe2a1 !important; outline-offset: 4px; }
.cti-member-credentials .cc-eyebrow { margin: 0 0 16px; color: var(--cc-gold); font: 600 10px/1.7 Arial, Helvetica, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.cti-member-credentials :is(.cc-gallery, .cc-verification) { scroll-margin-top: 108px; }

/* An editorial introduction: the number refers to images, not certification validity. */
.cti-member-credentials .cc-introduction {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .34fr);
    align-items: center;
    gap: clamp(30px, 5vw, 74px);
    padding: clamp(27px, 4.6vw, 56px);
    border: 1px solid #657066;
    border-radius: 12px;
    background: radial-gradient(ellipse at 0 0, #284c5073, transparent 65%), linear-gradient(125deg, #122f37, #101e25);
    box-shadow: 0 24px 70px #00000020;
}
.cti-member-credentials .cc-introduction::before { content: ''; position: absolute; top: -1px; left: clamp(27px, 4.6vw, 56px); width: 88px; height: 2px; background: var(--cc-gold); pointer-events: none; }
.cti-member-credentials .cc-introduction--text { grid-template-columns: minmax(0, 1fr); }
.cti-signature .cti-member-credentials .cc-introduction h2 { font-size: clamp(32px, 3.65vw, 48px); line-height: 1.13; letter-spacing: -.035em; max-width: 22ch; }
.cti-member-credentials .cc-intro { max-width: 65ch; margin-top: 24px; color: #cddadb; font-size: 15px; line-height: 1.85; }
.cti-member-credentials .cc-jump-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 27px; margin-top: 24px; }
.cti-member-credentials .cc-jump-links a { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; padding-block: 6px; color: #eed1a0; font-size: 12px; font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.cti-member-credentials .cc-jump-links a .cc-icon { width: 18px; height: 18px; }
.cti-member-credentials .cc-jump-links a:hover { color: #ffe6b7; text-decoration: underline; text-underline-offset: 6px; }
.cti-member-credentials .cc-collection-stat { display: flex; flex-direction: column; align-items: flex-start; min-height: 192px; padding: 2px 0 2px clamp(25px, 3vw, 42px); border-left: 1px solid #586b63; }
.cti-member-credentials .cc-stat-symbol { color: #dec08a; margin-bottom: 21px; }
.cti-member-credentials .cc-stat-symbol .cc-icon { width: 29px; height: 29px; stroke-width: 1.2; }
.cti-member-credentials .cc-collection-stat p { display: flex; flex-direction: column; line-height: 1.5; }
.cti-member-credentials .cc-collection-stat strong { color: #f0d8ac; font: 400 clamp(58px, 6.1vw, 82px)/.95 Georgia, 'Times New Roman', serif; letter-spacing: -.055em; font-variant-numeric: lining-nums; }
.cti-member-credentials .cc-collection-stat p > span { color: #f0e4cf; font-size: 12px; margin-top: 13px; line-height: 1.6; }
.cti-member-credentials .cc-stat-note { color: #b4c8cb; font-size: 11px; line-height: 1.75; margin-top: 12px; max-width: 23ch; overflow-wrap: anywhere; }

/* Full, uncropped document photographs, with a persistent enlargement control. */
.cti-member-credentials .cc-gallery { margin-top: clamp(32px, 4vw, 48px); }
.cti-member-credentials .cc-gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
.cti-signature .cti-member-credentials .cc-gallery-heading h3 { font-size: clamp(26px, 2.5vw, 33px); }
.cti-member-credentials .cc-gallery-heading > p { display: flex; align-items: center; gap: 12px; max-width: 40ch; font-size: 12px; line-height: 1.75; }
.cti-member-credentials .cc-gallery-heading .cc-icon { color: #d9c391; width: 18px; height: 18px; }
.cti-member-credentials .cc-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cti-member-credentials .cc-card { position: relative; border: 1px solid #4a625e; border-radius: 9px; background: #122b33; overflow: clip; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.cti-member-credentials .cc-card:focus-within { overflow: visible; border-color: #e4c78f; }
.cti-member-credentials .cc-document-link { display: flex; flex-direction: column; height: 100%; cursor: zoom-in; border-radius: inherit; }
.cti-member-credentials .cc-document-image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1536 / 1228; padding: 0; overflow: hidden; border-radius: 8px 8px 0 0; background: #e8e8e4; border-bottom: 1px solid #6b7465; }
.cti-member-credentials .cc-document-image img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center; transform: none; filter: none; margin: 0; border: 0; border-radius: 0; }
.cti-member-credentials .cc-document-copy { flex: 1; padding: 17px 21px 19px; }
.cti-member-credentials .cc-document-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 7px; color: #c0cbc6; font-size: 9px; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.cti-member-credentials .cc-document-meta > span:last-child { color: #e0c391; font-size: 11px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.cti-member-credentials .cc-document-title { display: flex; justify-content: space-between; align-items: center; gap: 13px; }
.cti-signature .cti-member-credentials .cc-document-title h4 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.25; text-wrap: pretty; }
.cti-member-credentials .cc-document-expand { display: flex; align-items: center; justify-content: center; flex: none; width: 35px; height: 35px; border: 1px solid #62705e; border-radius: 50%; color: #ebcf9c; transition: background .2s, border-color .2s; }
.cti-member-credentials .cc-document-expand .cc-icon { width: 15px; height: 15px; }
.cti-member-credentials .cc-document-caption { margin-top: 10px; font-size: 12px; line-height: 1.75; }
.cti-member-credentials .cc-document-link:hover .cc-document-expand,
.cti-member-credentials .cc-document-link:focus-visible .cc-document-expand { background: #3b4337; border-color: #e0c18b; }
@media (hover: hover) {
    .cti-member-credentials .cc-card:hover { transform: translateY(-3px); border-color: #c3a972; box-shadow: 0 13px 30px #00000030; }
}

.cti-member-credentials .cc-gallery-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 28px; padding: 23px 0 0; border-top: 1px solid var(--cc-line); }
.cti-member-credentials .cc-gallery-progress { min-width: 135px; max-width: 290px; }
.cti-member-credentials .cc-gallery-progress p { color: #bfd0d1; font-size: 11px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.cti-member-credentials .cc-gallery-progress progress { display: block; appearance: none; width: 100%; height: 2px; margin-top: 10px; border: 0; border-radius: 0; background: #3d5358; color: #dfbc7e; }
.cti-member-credentials .cc-gallery-progress progress::-webkit-progress-bar { background: #3d5358; }
.cti-member-credentials .cc-gallery-progress progress::-webkit-progress-value { background: #dfbc7e; }
.cti-member-credentials .cc-gallery-progress progress::-moz-progress-bar { background: #dfbc7e; }
.cti-member-credentials .cc-gallery-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px 22px; flex-wrap: wrap; }
.cti-member-credentials .cc-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; max-width: 100%; margin: 0; padding: 12px 19px; border: 1px solid #bba16d; border-radius: 7px; background: #172f35; color: #f0d9ac; cursor: pointer; font: 600 12px/1.6 Arial, Helvetica, sans-serif; text-align: center; overflow-wrap: anywhere; transition: background .2s, border-color .2s; }
.cti-member-credentials .cc-button .cc-icon { width: 18px; height: 18px; }
.cti-member-credentials .cc-button:hover { background: #283d3b; border-color: #e7c58a; }
.cti-member-credentials .cc-button--all { padding-inline: 0; border-color: transparent; background: transparent; color: #cdd4ca; font-weight: 400; }
.cti-member-credentials .cc-button--all:hover { background: transparent; border-color: transparent; color: #ffe0a5; text-decoration: underline; text-underline-offset: 5px; }

/* Verification links retain the exact source destinations, without claiming every image is verified. */
.cti-member-credentials .cc-verification { margin-top: clamp(43px, 5.4vw, 65px); padding: clamp(25px, 3.6vw, 44px); border: 1px solid #51665f; border-radius: 12px; background: linear-gradient(120deg, #132f37, #11252d); }
.cti-member-credentials .cc-verification-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4.4vw, 56px); align-items: start; margin-bottom: 30px; }
.cti-signature .cti-member-credentials .cc-verification-heading h3 { font-size: clamp(27px, 2.8vw, 37px); line-height: 1.24; max-width: 26ch; }
.cti-member-credentials .cc-verification-heading > p { padding-top: 3px; font-size: 13px; line-height: 1.9; }
.cti-member-credentials .cc-verification-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cti-member-credentials .cc-verification-links > :only-child { grid-column: 1 / -1; }
.cti-member-credentials .cc-verification-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 20px; padding: 27px 24px; border: 1px solid #53665c; border-radius: 8px; background: #0e222b80; transition: border-color .2s, background .2s; }
.cti-member-credentials .cc-verification-card:hover { border-color: #d2b57c; background: #193039; }
.cti-member-credentials .cc-proof-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 43px; color: #e1c38c; }
.cti-member-credentials .cc-proof-icon .cc-icon { width: 29px; height: 29px; stroke-width: 1.25; }
.cti-member-credentials .cc-proof-host { display: block; color: #b7c9c8; font-size: 10px; letter-spacing: .035em; line-height: 1.7; overflow-wrap: anywhere; margin-bottom: 8px; }
.cti-signature .cti-member-credentials .cc-proof-copy h4 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.25; }
.cti-member-credentials .cc-proof-copy p { margin-top: 13px; font-size: 12px; line-height: 1.85; }
.cti-member-credentials .cc-proof-action { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 22px; padding-top: 15px; border-top: 1px solid #3f5758; color: #e9cb94; font-size: 11px; line-height: 1.7; }
.cti-member-credentials .cc-proof-action .cc-icon { width: 17px; height: 17px; }
.cti-member-credentials .cc-source { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 20px; padding: 5px 2px; color: #b3c5c8; font-size: 11px; line-height: 1.75; }
.cti-member-credentials .cc-source > span { color: #b7c9cd; }
.cti-member-credentials .cc-source a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #dec496; max-width: 100%; overflow-wrap: anywhere; }
.cti-member-credentials .cc-source a:hover { color: #ffe0a4; text-decoration: underline; text-underline-offset: 5px; }
.cti-member-credentials .cc-source .cc-icon { width: 15px; height: 15px; }

/* Document mode in the existing shared CTI lightbox. Other galleries keep their design. */
body:is(.cti-refined, .cti-signature) .cti-lightbox-dialog.cti-lightbox-hq.cti-lightbox-certificates { border-color: #a28c62; background: linear-gradient(145deg, #16313a, #081b24 70%); box-shadow: 0 36px 150px #000c; }
body:is(.cti-refined, .cti-signature) .cti-lightbox-hq.cti-lightbox-certificates::backdrop { background: #030a0fed; }
body:is(.cti-refined, .cti-signature) .cti-lightbox-hq.cti-lightbox-certificates .cti-lightbox-head { background: linear-gradient(110deg, #172f36, #0d222b); border-bottom-color: #536158; }
body:is(.cti-refined, .cti-signature) .cti-lightbox-hq.cti-lightbox-certificates .cti-lightbox-frame { background: #081a23; border-color: #42574f; }
body:is(.cti-refined, .cti-signature) .cti-lightbox-hq.cti-lightbox-certificates .cti-lightbox-photo { box-shadow: 0 9px 35px #0006; }
body:is(.cti-refined, .cti-signature) .cti-lightbox-hq.cti-lightbox-certificates .cti-lightbox-thumb { width: 75px; min-width: 75px; height: 61px; border-radius: 5px; background: #21363a; }
body:is(.cti-refined, .cti-signature) .cti-lightbox-hq.cti-lightbox-certificates .cti-lightbox-thumb img { object-fit: contain; border-radius: 2px; background: #e5e5e1; }
body:is(.cti-refined, .cti-signature) .cti-lightbox-hq.cti-lightbox-certificates .cti-lightbox-thumb[aria-current=true] { background: #e0bd7c; border-color: #f2dba8; opacity: 1; }

@media (max-width: 980px) {
    .cti-member-credentials .cc-introduction { grid-template-columns: minmax(0, 1fr) minmax(160px, .36fr); gap: 31px; }
    .cti-member-credentials .cc-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .cti-member-credentials .cc-verification-heading { gap: 29px; }
    .cti-member-credentials .cc-verification-card { grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 23px 21px; }
    .cti-member-credentials .cc-proof-icon { width: 30px; }
    .cti-member-credentials .cc-proof-icon .cc-icon { width: 26px; height: 26px; }
}
@media (max-width: 700px) {
    .cti-member-credentials .cc-introduction { grid-template-columns: minmax(0, 1fr); gap: 27px; }
    .cti-member-credentials .cc-intro { font-size: 14px; margin-top: 21px; }
    .cti-member-credentials .cc-collection-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 20px; min-height: 0; padding: 23px 0 0; border-left: 0; border-top: 1px solid #586b63; }
    .cti-member-credentials .cc-stat-symbol { display: none; }
    .cti-member-credentials .cc-collection-stat p { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; grid-column: 1 / -1; }
    .cti-member-credentials .cc-collection-stat strong { font-size: 51px; grid-row: 1 / 3; }
    .cti-member-credentials .cc-collection-stat p > span { margin: 0; font-size: 12px; }
    .cti-member-credentials .cc-stat-note { margin-top: -5px; max-width: none; font-size: 10px; grid-column: 1 / -1; }
    .cti-member-credentials .cc-gallery-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
    .cti-member-credentials .cc-gallery-heading > p { max-width: none; }
    .cti-member-credentials .cc-gallery-grid { gap: 15px; }
    .cti-member-credentials .cc-document-copy { padding: 15px 17px 17px; }
    .cti-member-credentials .cc-document-expand { width: 31px; height: 31px; }
    .cti-member-credentials .cc-gallery-footer { align-items: flex-start; flex-direction: column; gap: 18px; }
    .cti-member-credentials .cc-gallery-progress { width: 100%; max-width: none; }
    .cti-member-credentials .cc-gallery-controls { width: 100%; justify-content: flex-start; gap: 8px 20px; }
    .cti-member-credentials .cc-verification-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 24px; }
    .cti-member-credentials .cc-verification-heading > p { padding: 0; }
    .cti-member-credentials .cc-verification-links { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .cti-member-credentials .cc-verification-card { grid-template-columns: 32px minmax(0, 1fr); padding: 23px 22px; gap: 17px; }
    .cti-member-credentials .cc-proof-action { margin-top: 19px; }
    .cti-member-credentials .cc-source { align-items: flex-start; flex-direction: column; gap: 0; }
}
@media (max-width: 480px) {
    .cti-member-credentials .cc-introduction { padding: 27px 24px 25px; border-radius: 10px; }
    .cti-member-credentials .cc-introduction::before { left: 24px; width: 61px; }
    .cti-signature .cti-member-credentials .cc-introduction h2 { font-size: clamp(30px, 8.4vw, 38px); }
    .cti-member-credentials .cc-jump-links { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 17px; }
    .cti-member-credentials .cc-jump-links a { justify-content: space-between; width: 100%; gap: 15px; font-size: 12px; }
    .cti-member-credentials .cc-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
    .cti-member-credentials .cc-document-copy { padding: 17px 21px 19px; }
    .cti-signature .cti-member-credentials .cc-document-title h4 { font-size: 25px; }
    .cti-member-credentials .cc-document-expand { width: 35px; height: 35px; }
    .cti-member-credentials .cc-gallery-controls { gap: 8px 18px; }
    .cti-member-credentials .cc-button--more { width: 100%; justify-content: space-between; }
    .cti-member-credentials .cc-button--all { margin-inline: auto; }
    .cti-member-credentials .cc-verification { padding: 26px 20px; border-radius: 10px; }
    .cti-member-credentials .cc-verification-card { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 22px 20px; }
    .cti-member-credentials .cc-proof-icon { height: 33px; }
    .cti-member-credentials .cc-proof-host { margin-bottom: 7px; }
    .cti-signature .cti-member-credentials .cc-proof-copy h4 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    .cti-member-credentials :is(.cc-card, .cc-document-expand, .cc-button, .cc-verification-card) { transition: none; }
    .cti-member-credentials .cc-card:hover { transform: none; }
}
@media print {
    .cti-member-credentials { color: #111; }
    .cti-member-credentials :is(.cc-introduction, .cc-verification, .cc-verification-card, .cc-card) { color: #111; background: transparent; box-shadow: none; border-color: #999; }
    .cti-signature .cti-member-credentials :is(h2, h3, h4, p, a, span, strong) { color: #111; }
    .cti-member-credentials :is(.cc-jump-links, .cc-gallery-controls, .cc-gallery-progress, .cc-document-expand) { display: none !important; }
    .cti-member-credentials .cc-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cti-member-credentials .cc-card[hidden] { display: block !important; }
    .cti-member-credentials .cc-card { break-inside: avoid; }
    .cti-member-credentials .cc-verification { break-inside: avoid; }
}
