@font-face {
    font-family: "CSTRDLP Open Sans";
    src: url("OpenSans-Regular-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #152235;
    --muted: #5f7085;
    --blue-900: #073763;
    --blue-800: #0c4f87;
    --blue-700: #116aa6;
    --blue-100: #e7f3fb;
    --cyan: #1ba3d8;
    --green: #0b7448;
    --green-soft: #e8f6ef;
    --line: #dce8f1;
    --panel: #ffffff;
    --page: #f4f8fb;
    --shadow: 0 18px 44px rgba(9, 44, 78, 0.12);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body.cstrdlp-site {
    min-height: 100%;
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "CSTRDLP Open Sans", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.cstrdlp-site a {
    color: var(--blue-700);
    text-decoration: none;
}

body.cstrdlp-site a:hover,
body.cstrdlp-site a:focus {
    color: var(--blue-900);
    text-decoration: none;
}

body.cstrdlp-site img {
    max-width: 100%;
    height: auto;
}

.site-container {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
}

/* Guard against any stray horizontal overflow that would let boxes appear
   clipped at the left/right edges. overflow-x:clip is safe with the sticky header. */
body.cstrdlp-site {
    overflow-x: clip;
}

/* Full-bleed sections keep their edge-to-edge background but align their inner
   content to the exact same box as .site-container, so every section's boxes
   share one left/right guide (matches the reference layout). */
.home-slide-inner,
.mission-banner-inner,
.dark-services-inner {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.skip-link,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 1000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    margin: 0;
    clip: auto;
    color: #ffffff;
    background: var(--blue-900);
    border-radius: var(--radius);
}

.site-topbar {
    background: var(--blue-900);
    color: #d6e7f4;
    font-size: 12px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-contact,
.topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-topbar a {
    color: #d6e7f4;
}

.topbar-links a:last-child {
    color: #9ee0f7;
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(9, 44, 78, 0.08);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
}

.brand:hover,
.brand:focus {
    color: var(--ink);
}

.brand-logo-wrap {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 92px;
    height: 76px;
    overflow: hidden;
}

.brand-logo-wrap img {
    display: block;
    width: auto;
    max-width: 92px;
    max-height: 74px;
    height: auto;
    object-fit: contain;
}

.brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--blue-900);
    letter-spacing: 0;
}

.brand-subtitle {
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--blue-700);
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.site-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: var(--radius);
    color: #253c57;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
    color: var(--blue-900);
    background: var(--blue-100);
}

.site-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 3px;
    border-radius: 999px;
    background: var(--cyan);
}

.site-nav .nav-cta {
    margin-left: 8px;
    color: #ffffff;
    background: var(--green);
    box-shadow: 0 8px 18px rgba(15, 139, 87, 0.2);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus {
    color: #ffffff;
    background: #0b7448;
}

.site-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--blue-900);
    cursor: pointer;
}

.site-menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
}

.site-footer {
    margin-top: 72px;
    color: #d6e7f4;
    background: #062f57;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.15fr;
    gap: 40px 44px;
    align-items: start;
    padding: 48px 0 36px;
}

@media (max-width: 960px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 40px;
    }
}

.site-footer h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0;
}

.site-footer p {
    margin: 0 0 12px;
    color: #c9d8e7;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin: 0 0 8px;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
}

.site-footer a {
    color: #c9d8e7;
    font-weight: 800;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffffff;
}

.cstrdlp-site .site-footer a:not(.footer-cta) {
    color: #c9d8e7;
}

.cstrdlp-site .site-footer a:not(.footer-cta):hover,
.cstrdlp-site .site-footer a:not(.footer-cta):focus {
    color: #ffffff;
}

.footer-brand {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.footer-brand img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin: 0;
    padding: 6px;
    background: #ffffff;
    border-radius: var(--radius);
}

.footer-kicker {
    display: block;
    margin-bottom: 4px;
    color: #9ee0f7;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-brand h2 {
    margin-bottom: 8px;
    font-size: 21px;
}

.footer-brand p {
    max-width: 560px;
}

.footer-links a {
    display: inline-flex;
    padding: 2px 0;
}

.footer-contact p:last-of-type {
    margin-bottom: 16px;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: var(--radius);
    color: #ffffff !important;
    background: var(--green);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.footer-cta:hover,
.footer-cta:focus {
    color: #ffffff !important;
    background: #0b7448;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .site-container {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #9eb2c8;
    font-size: 12px;
    flex-wrap: wrap;
}

/* Home page */
.home-page {
    overflow: hidden;
    background: var(--page);
}

.home-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background: var(--blue-900);
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 55, 99, 0.95), rgba(12, 79, 135, 0.78) 48%, rgba(7, 55, 99, 0.28)),
        url("redesign/home-hero.jpg") center / cover no-repeat;
    transform: scale(1.02);
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -34% 34%;
    z-index: -1;
    height: 58%;
    background: rgba(27, 163, 216, 0.18);
    transform: skewY(-8deg);
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: center;
    padding: 88px 0 112px;
}

.home-hero-copy {
    max-width: 780px;
}

.home-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #ffffff;
    font-size: 56px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.home-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: #d9edf8;
    font-size: 18px;
    line-height: 1.7;
}

.home-hero-card {
    align-self: end;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    background: rgba(7, 55, 99, 0.72);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.hero-card-label {
    display: block;
    margin-bottom: 14px;
    color: #a7e4f8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-hero-card strong {
    display: block;
    color: #ffffff;
    font-size: 58px;
    line-height: 1;
    font-weight: 900;
}

.home-hero-card span:last-of-type {
    display: block;
    margin-top: 10px;
    color: #d9edf8;
    font-size: 14px;
    line-height: 1.6;
}

.home-hero-card a {
    display: inline-flex;
    margin-top: 18px;
    color: #ffffff;
    font-weight: 800;
}

.home-stats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: -58px;
}

.home-stat-card {
    min-height: 118px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(9, 44, 78, 0.12);
}

.home-stat-card strong {
    display: block;
    color: var(--blue-900);
    font-size: 31px;
    line-height: 1;
    font-weight: 900;
}

.home-stat-card span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.home-section {
    padding-top: 82px;
}

.section-heading {
    max-width: 680px;
}

.section-heading-centered {
    margin: 0 auto 28px;
    text-align: center;
}

.section-heading h2,
.home-pakcat h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 38px;
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: 0;
}

.home-about {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 42px;
    align-items: start;
}

.home-about-text {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08);
}

.home-about-text p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 16px;
}

.text-link {
    display: inline-flex;
    margin-top: 4px;
    color: var(--blue-800);
    font-weight: 900;
}

.home-services {
    padding-bottom: 84px;
    background: linear-gradient(180deg, transparent 0, transparent 90px, #ffffff 90px, #ffffff 100%);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 255px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08);
}

.service-number {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 900;
}

.service-card h3 {
    margin: 16px 0 10px;
    color: var(--blue-900);
    font-size: 21px;
    line-height: 1.24;
    font-weight: 900;
}

.service-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.service-card a {
    margin-top: auto;
    color: var(--blue-800);
    font-weight: 900;
}

.pakcat-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: var(--radius);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(7, 55, 99, 0.96), rgba(12, 79, 135, 0.9)),
        url("redesign/network.jpg") center / cover no-repeat;
    box-shadow: var(--shadow);
}

.pakcat-card h2,
.pakcat-card p,
.pakcat-card .eyebrow {
    color: #ffffff;
}

.pakcat-card p {
    max-width: 720px;
    margin: 12px 0 0;
}

.home-gallery {
    padding-bottom: 88px;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 182px;
    gap: 14px;
}

.gallery-tile {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--blue-900);
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.1);
}

.gallery-tile-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.gallery-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 55, 99, 0.72), rgba(7, 55, 99, 0.08) 58%);
}

.gallery-tile span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.gallery-tile:hover img,
.gallery-tile:focus img {
    transform: scale(1.04);
}

.gallery-action {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.home-downloads {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: start;
    padding-bottom: 22px;
}

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

.download-grid a {
    min-height: 112px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--blue-900);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08);
    font-weight: 900;
}

/* Legacy pages get a richer frame without rewriting every .aspx page. */
.cstrdlp-site #banner {
    position: relative;
    min-height: 230px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 55, 99, 0.96), rgba(12, 79, 135, 0.78) 52%, rgba(7, 55, 99, 0.42)),
        url("redesign/gallery-library.jpg") center / cover no-repeat;
}

.cstrdlp-site #banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        radial-gradient(circle at 82% 22%, rgba(158, 224, 247, 0.26), transparent 34%);
}

.cstrdlp-site #banner::after {
    content: "PASTIC Library Network";
    position: absolute;
    right: max(28px, calc((100vw - 1200px) / 2));
    bottom: 24px;
    color: rgba(255, 255, 255, 0.18);
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.cstrdlp-site #banner .wrapper {
    position: relative;
    z-index: 1;
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 58px 0 64px;
}

.cstrdlp-site #section-title,
.cstrdlp-site #section-title a {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: 50px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.cstrdlp-site #main > .wrapper {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 0 0;
}

.cstrdlp-site #main #main-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px;
    align-items: start;
}

.cstrdlp-site #main #main-content > #content:only-child {
    grid-column: 1 / -1;
}
.cstrdlp-site #main #main-content.has-page-companion {
    grid-template-columns: minmax(0, 1fr) 350px !important;
}

.cstrdlp-site #main #main-content.has-page-companion > #content {
    grid-column: auto;
}

.legacy-feature-card {
    position: sticky;
    top: 112px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(9, 44, 78, 0.12);
}

.legacy-feature-image {
    height: 220px;
    overflow: hidden;
    background: var(--blue-900);
}

.legacy-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.legacy-feature-body {
    padding: 24px;
}

.legacy-feature-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;
    text-transform: uppercase;
}

.legacy-feature-card h2 {
    margin: 0 0 10px;
    color: var(--blue-900);
    font-size: 25px;
    line-height: 1.16;
    font-weight: 900;
}

.legacy-feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.legacy-feature-stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 20px 0;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--blue-100);
}

.legacy-feature-stat strong {
    color: var(--blue-900);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.legacy-feature-stat span {
    color: #42566f;
    font-size: 13px;
    font-weight: 800;
}

.legacy-feature-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: #ffffff !important;
    background: var(--green);
    font-weight: 900;
}

.legacy-feature-link:hover,
.legacy-feature-link:focus {
    color: #ffffff !important;
    background: #0b7448;
}

body.page-faq #banner {
    background:
        linear-gradient(90deg, rgba(7, 55, 99, 0.96), rgba(12, 79, 135, 0.74) 52%, rgba(7, 55, 99, 0.38)),
        url("redesign/gallery-lab.jpg") center / cover no-repeat;
}

body.page-services #banner {
    background:
        linear-gradient(90deg, rgba(7, 55, 99, 0.96), rgba(12, 79, 135, 0.74) 52%, rgba(7, 55, 99, 0.38)),
        url("redesign/gallery-workshop.jpg") center / cover no-repeat;
}

body.page-international #banner,
body.page-koha #banner {
    background:
        linear-gradient(90deg, rgba(7, 55, 99, 0.96), rgba(12, 79, 135, 0.74) 52%, rgba(7, 55, 99, 0.38)),
        url("redesign/network.jpg") center / cover no-repeat;
}


.cstrdlp-site #content,
.cstrdlp-site #content > .wrapper,
.cstrdlp-site .region-content,
.cstrdlp-site .field-item {
    min-width: 0;
}

.cstrdlp-site #content .field-item {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08);
}

.cstrdlp-site #content .field-item > *:first-child {
    margin-top: 0;
}

.cstrdlp-site #content .field-item > *:last-child {
    margin-bottom: 0;
}

.cstrdlp-site #content p,
.cstrdlp-site #content li {
    color: var(--muted);
    font-size: 15px;
}

.cstrdlp-site #content p {
    margin: 0 0 15px;
}

.cstrdlp-site #content .intro {
    color: #334861;
    font-size: 16px;
}

.cstrdlp-site #content h2,
.cstrdlp-site #content h3,
.cstrdlp-site #content h4 {
    color: var(--blue-900);
    letter-spacing: 0;
}

.cstrdlp-site #content a {
    font-weight: 800;
}

.cstrdlp-site #content ul,
.cstrdlp-site #content ol {
    margin: 12px 0 18px;
    padding-left: 22px;
}

.cstrdlp-site #content li {
    margin: 7px 0;
}

.cstrdlp-site #content div[style*="border-left"] {
    border-left-color: var(--green) !important;
    background: #ffffff !important;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08) !important;
}

.cstrdlp-site #content div[style*="border-left"] h2 {
    color: var(--blue-900) !important;
}

.cstrdlp-site #content div[style*="border-left"] a {
    color: #ffffff !important;
    background: var(--green) !important;
}

.cstrdlp-site .sidebars {
    display: none !important;
}

.cstrdlp-site .sidebars .block {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08);
}

.cstrdlp-site .sidebars .menu,
.cstrdlp-site .sidebars ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cstrdlp-site .sidebars .menu .menu {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.cstrdlp-site .sidebars li {
    margin: 0;
    padding: 0;
}

.cstrdlp-site .sidebars a,
.cstrdlp-site .button-link a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--blue-800);
    background: var(--blue-100);
    font-size: 14px;
    font-weight: 800;
}

.cstrdlp-site .sidebars a:hover,
.cstrdlp-site .sidebars a:focus,
.cstrdlp-site .button-link a:hover,
.cstrdlp-site .button-link a:focus {
    color: #ffffff;
    background: var(--blue-800);
}

.cstrdlp-site #content table:not(.dataTable):not(.table) {
    width: 100%;
    border-collapse: separate;
    border-spacing: 14px;
    table-layout: fixed;
}

.cstrdlp-site #content table:not(.dataTable):not(.table) td {
    vertical-align: top;
}

.cstrdlp-site #content figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(9, 44, 78, 0.08);
}

.cstrdlp-site #content figure img {
    display: block;
    width: 100%;
    height: 220px !important;
    object-fit: cover;
}

.cstrdlp-site #content figcaption {
    min-height: 92px;
    padding: 13px 14px 15px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Members page */
.members-page {
    background: var(--page);
}

.member-hero {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(7, 55, 99, 0.92), rgba(12, 79, 135, 0.76) 52%, rgba(7, 55, 99, 0.42)),
        url("redesign/library-hero.jpg") center 45% / cover no-repeat;
}

.member-hero .site-container {
    position: relative;
    z-index: 1;
    padding: 66px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #a7e4f8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.member-hero h1 {
    max-width: 740px;
    margin: 0;
    color: #ffffff;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.member-hero p {
    max-width: 660px;
    margin: 18px 0 0;
    color: #d9edf8;
    font-size: 18px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button-primary,
.button-secondary,
.button-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 800;
    line-height: 1.2;
}

.button-primary {
    color: #ffffff !important;
    background: var(--green);
}

.button-primary:hover,
.button-primary:focus {
    color: #ffffff !important;
    background: #0b7448;
}

.button-secondary {
    color: var(--blue-900) !important;
    background: #ffffff;
    border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus {
    color: var(--blue-900) !important;
    border-color: var(--cyan);
}

.button-light {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
}

.button-light:hover,
.button-light:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2);
}

.member-main {
    margin-top: -54px;
}

.member-summary-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.summary-card {
    min-height: 116px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(9, 44, 78, 0.1);
}

.summary-value {
    display: block;
    color: var(--blue-900);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.summary-label {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.members-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: start;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.panel-heading {
    padding: 24px 24px 18px;
    border-bottom: 1px solid var(--line);
}

.panel-heading h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 34px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
}

.panel-heading p {
    max-width: 720px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.table-shell {
    padding: 18px 24px 24px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.member-side {
    display: grid;
    gap: 18px;
}

.side-card {
    padding: 24px;
}

.side-card h2,
.side-card h3 {
    margin: 0 0 10px;
    color: var(--blue-900);
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
}

.side-card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
}

.side-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-list li {
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.side-list a {
    font-weight: 800;
}

.info-band {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.info-panel {
    min-height: 260px;
    padding: 30px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08);
}

.info-panel.visual {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(0deg, rgba(7, 55, 99, 0.86), rgba(7, 55, 99, 0.22)),
        url("redesign/seminar.jpg") center / cover no-repeat;
}

.info-panel h2 {
    margin: 0 0 12px;
    color: var(--blue-900);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
}

.info-panel.visual h2,
.info-panel.visual p {
    color: #ffffff;
}

.info-panel p {
    color: var(--muted);
}

.feature-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-mark {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--green);
    font-size: 13px;
    font-weight: 900;
}

.feature-item strong {
    display: block;
    color: var(--ink);
}

.feature-item span:last-child {
    color: var(--muted);
    font-size: 14px;
}

/* Modern FAQ overrides for the old CodyHouse markup. */
.cstrdlp-site #content .field-item[style] {
    width: auto !important;
    max-width: none !important;
}

.cstrdlp-site .cd-faq,
.cstrdlp-site .cd-faq__items,
.cstrdlp-site .cd-faq__group {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cstrdlp-site .cd-faq__categories,
.cstrdlp-site .cd-faq__close-panel,
.cstrdlp-site .cd-faq__overlay {
    display: none !important;
}

.cstrdlp-site .cd-faq__item {
    margin: 0 0 14px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(9, 44, 78, 0.06);
}

.cstrdlp-site .cd-faq__trigger {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 18px 54px 18px 20px;
    color: var(--blue-800) !important;
    background: #ffffff;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.cstrdlp-site .cd-faq__trigger::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
}

.cstrdlp-site .cd-faq__content {
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    background: #ffffff;
}

.cstrdlp-site .cd-faq__content ul {
    margin-top: 12px;
}

.cstrdlp-site .cd-faq__content li {
    margin: 7px 0 !important;
}
/* DataTables */
.cstrdlp-site table.dataTable,
.cstrdlp-site table.table {
    width: 100% !important;
    min-width: 620px;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    color: var(--ink);
    background: #ffffff;
}

.cstrdlp-site table.dataTable thead th,
.cstrdlp-site table.table thead th {
    padding: 14px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    color: #42566f;
    background: #eef6fb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cstrdlp-site table.dataTable tbody td,
.cstrdlp-site table.table tbody td {
    padding: 15px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    color: var(--ink);
    font-size: 14px;
    vertical-align: middle;
}

.cstrdlp-site table.dataTable tbody tr:hover td,
.cstrdlp-site table.table tbody tr:hover td {
    background: #f7fbfe;
}

.cstrdlp-site table.dataTable tbody a {
    color: var(--blue-800);
    font-weight: 800;
}

.cstrdlp-site .dataTables_wrapper {
    color: var(--muted);
}

.cstrdlp-site .dataTables_wrapper .dataTables_length,
.cstrdlp-site .dataTables_wrapper .dataTables_filter {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 13px;
}

.cstrdlp-site .dataTables_wrapper .dataTables_filter input,
.cstrdlp-site .dataTables_wrapper .dataTables_length select {
    min-height: 40px;
    margin-left: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: #ffffff;
    outline: none;
}

.cstrdlp-site .dataTables_wrapper .dataTables_filter input {
    width: min(300px, 65vw);
}

.cstrdlp-site .dataTables_wrapper .dataTables_filter input:focus,
.cstrdlp-site .dataTables_wrapper .dataTables_length select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(27, 163, 216, 0.12);
}

.cstrdlp-site .dataTables_wrapper .dataTables_info {
    padding-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.cstrdlp-site .dataTables_wrapper .dataTables_paginate {
    padding-top: 12px;
}

.cstrdlp-site .dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 38px;
    margin-left: 5px;
    padding: 8px 12px;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius);
    color: var(--ink) !important;
    background: #ffffff !important;
}

.cstrdlp-site .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.cstrdlp-site .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #ffffff !important;
    border-color: var(--blue-800) !important;
    background: var(--blue-800) !important;
}

.cstrdlp-site .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #ffffff !important;
    border-color: var(--blue-700) !important;
    background: var(--blue-700) !important;
}

@media (max-width: 1100px) {
    .brand-logo-wrap {
        width: 80px;
        height: 64px;
    }

    .brand-logo-wrap img {
        width: auto;
        max-width: 80px;
        max-height: 62px;
        height: auto;
    }

    .brand-copy {
        display: none;
    }

    .home-hero-inner {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .home-hero h1 {
        font-size: 46px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .members-layout {
        grid-template-columns: 1fr;
    }

    .member-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cstrdlp-site #main #main-content {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .site-container,
    .home-slide-inner,
    .mission-banner-inner,
    .dark-services-inner {
        width: calc(100% - 32px);
    }

    .site-topbar {
        display: none;
    }

    .header-inner {
        min-height: auto;
        padding: 10px 0 12px;
        flex-wrap: wrap;
    }

    .site-menu-toggle {
        display: none !important;
    }

    .brand {
        width: 100%;
    }

    .brand-copy {
        display: flex;
    }

    .site-nav {
        position: static;
        display: grid !important;
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 10px 0 0;
        border-top: 1px solid var(--line);
        background: transparent;
        box-shadow: none;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        min-height: 38px;
        justify-content: center;
        padding: 7px 9px;
        background: var(--blue-100);
    }

    .site-nav .nav-cta {
        grid-column: 1 / -1;
        margin: 0;
        justify-content: center;
    }

    .home-hero {
        min-height: auto;
    }

    .home-hero-inner {
        grid-template-columns: 1fr;
        padding: 62px 0 92px;
    }

    .home-hero-card {
        max-width: 420px;
    }

    .home-stats,
    .download-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-about,
    .home-downloads,
    .pakcat-card {
        grid-template-columns: 1fr;
    }

    .pakcat-card .button-primary {
        width: fit-content;
    }

    .gallery-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 190px;
    }

    .member-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-band {
        grid-template-columns: 1fr;
    }

    .cstrdlp-site #main #main-content {
        grid-template-columns: 1fr;
    }

    .cstrdlp-site .sidebars {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 640px) {
    body.cstrdlp-site {
        font-size: 14px;
    }

    .site-container,
    .home-slide-inner,
    .mission-banner-inner,
    .dark-services-inner {
        width: calc(100% - 28px);
    }

    .brand-logo-wrap {
        width: 74px;
        height: 58px;
    }

    .brand-logo-wrap img {
        width: auto;
        max-width: 74px;
        max-height: 56px;
        height: auto;
    }

    .brand {
        gap: 10px;
    }

    .brand-title {
        font-size: 16px;
    }

    .brand-subtitle {
        font-size: 10px;
        line-height: 1.25;
    }

    .site-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-hero-inner {
        padding: 46px 0 84px;
    }

    .home-hero h1 {
        font-size: 36px;
    }

    .home-hero p,
    .member-hero p {
        font-size: 15px;
    }

    .home-hero-card strong {
        font-size: 44px;
    }

    .home-stats,
    .service-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .home-stat-card,
    .service-card,
    .home-about-text,
    .pakcat-card {
        padding: 20px;
    }

    .section-heading h2,
    .home-pakcat h2 {
        font-size: 30px;
    }

    .home-section {
        padding-top: 56px;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 230px;
    }

    .gallery-tile-large {
        grid-column: auto;
        grid-row: span 1;
    }

    .cstrdlp-site #section-title,
    .cstrdlp-site #section-title a {
        font-size: 32px;
    }

    .cstrdlp-site #main > .wrapper {
        width: calc(100% - 28px);
    }

    .cstrdlp-site #content .field-item,
    .cstrdlp-site .sidebars .block {
        padding: 20px;
    }

    .cstrdlp-site .sidebars {
        grid-template-columns: 1fr;
    }

    .cstrdlp-site #content table:not(.dataTable):not(.table),
    .cstrdlp-site #content table:not(.dataTable):not(.table) tbody,
    .cstrdlp-site #content table:not(.dataTable):not(.table) tr,
    .cstrdlp-site #content table:not(.dataTable):not(.table) td {
        display: block;
        width: 100%;
    }

    .cstrdlp-site #content table:not(.dataTable):not(.table) {
        border-spacing: 0;
    }

    .cstrdlp-site #content table:not(.dataTable):not(.table) td {
        margin-bottom: 16px;
    }

    .member-hero {
        min-height: 360px;
    }

    .member-hero .site-container {
        padding: 48px 0 86px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button-primary,
    .button-secondary,
    .button-light {
        width: 100%;
    }

    .member-main {
        margin-top: -70px;
    }

    .member-hero h1 {
        font-size: 36px;
    }

    .panel-heading h2 {
        font-size: 28px;
    }

    .member-summary-grid,
    .member-side {
        grid-template-columns: 1fr;
    }

    .summary-card {
        min-height: auto;
        padding: 18px;
    }

    .panel-heading,
    .table-shell,
    .side-card,
    .info-panel {
        padding: 20px;
    }

    .cstrdlp-site .dataTables_wrapper .dataTables_length,
    .cstrdlp-site .dataTables_wrapper .dataTables_filter,
    .cstrdlp-site .dataTables_wrapper .dataTables_info,
    .cstrdlp-site .dataTables_wrapper .dataTables_paginate {
        float: none;
        width: 100%;
        text-align: left;
    }

    .cstrdlp-site .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        margin: 8px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        padding: 30px 0 24px;
    }

    .footer-brand {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
    }

    .footer-brand img {
        width: 48px;
        height: 48px;
    }

    .footer-bottom .site-container {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
    }
}
/* Final companion-card responsive guard. */
@media (max-width: 900px) {
    .cstrdlp-site #main #main-content.has-page-companion {
        grid-template-columns: 1fr !important;
    }

    .legacy-feature-card {
        order: -1;
        position: static;
        top: auto;
    }

    .legacy-feature-image {
        height: 260px;
    }
}

@media (max-width: 640px) {
    .legacy-feature-body {
        padding: 20px;
    }

    .legacy-feature-image {
        height: 210px;
    }

    .cstrdlp-site #banner {
        min-height: 190px;
    }

    .cstrdlp-site #banner .wrapper {
        padding: 42px 0 48px;
    }
}
/* Home page visual refresh. */
.home-hero {
    min-height: 690px;
    background: #062f57;
}

.home-hero-bg {
    background:
        linear-gradient(90deg, rgba(5, 37, 70, 0.97), rgba(7, 55, 99, 0.86) 44%, rgba(5, 37, 70, 0.36)),
        url("redesign/gallery-delegation.jpg") center / cover no-repeat;
    filter: saturate(1.08) contrast(1.04);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 76% 18%, rgba(158, 224, 247, 0.26), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.home-hero::after {
    inset: auto -10% -28% 22%;
    height: 54%;
    background: rgba(15, 139, 87, 0.2);
}

.home-hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.65fr);
    gap: 54px;
    padding: 84px 0 122px;
}

.home-hero h1 {
    max-width: 790px;
    font-size: 64px;
    line-height: 1.02;
}

.home-hero p {
    max-width: 720px;
    color: #e5f3fb;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-trust-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-hero-media {
    position: relative;
    min-height: 470px;
}

.hero-photo-frame {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.hero-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-photo-frame span {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.hero-photo-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 55, 99, 0.72), rgba(7, 55, 99, 0.05) 58%);
}

.hero-photo-main {
    top: 0;
    right: 0;
    width: 86%;
    height: 310px;
}

.hero-photo-small {
    left: 0;
    bottom: 46px;
    width: 54%;
    height: 190px;
}

.home-hero-media .home-hero-card {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 250px;
    padding: 22px;
    background: rgba(7, 55, 99, 0.86);
}

.home-quick-actions {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.home-action-card {
    min-height: 146px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--blue-900) !important;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(9, 44, 78, 0.1);
}

.home-action-card:nth-child(1),
.home-action-card:nth-child(4) {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

.home-action-card:nth-child(2) {
    background: linear-gradient(135deg, #ffffff, var(--green-soft));
}

.home-action-card span {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 900;
}

.home-action-card:nth-child(1) span,
.home-action-card:nth-child(4) span {
    color: #9ee0f7;
}

.home-action-card strong {
    margin-top: 12px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
}

.home-action-card em {
    margin-top: 8px;
    color: inherit;
    font-size: 13px;
    line-height: 1.5;
    font-style: normal;
    opacity: 0.82;
}

.home-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 38px;
    align-items: center;
}

.home-showcase-media {
    overflow: hidden;
    min-height: 420px;
    border-radius: var(--radius);
    background: var(--blue-900);
    box-shadow: var(--shadow);
}

.home-showcase-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.home-showcase-copy {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08);
}

.home-showcase-copy h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 40px;
    line-height: 1.12;
    font-weight: 900;
}

.home-showcase-copy p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.showcase-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.showcase-list span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #334861;
    font-weight: 800;
}

.showcase-list span::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--green);
}

.service-card {
    min-height: 330px;
    overflow: hidden;
    padding: 0;
}

.service-card > img {
    display: block;
    width: 100%;
    height: 154px;
    object-fit: cover;
}

.service-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.service-card .service-card-body a {
    margin-top: auto;
}

@media (max-width: 1100px) {
    .home-hero-inner {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 34px;
    }

    .home-hero h1 {
        font-size: 50px;
    }

    .home-hero-media {
        min-height: 430px;
    }
}

@media (max-width: 900px) {
    .home-hero-inner,
    .home-showcase {
        grid-template-columns: 1fr;
    }

    .home-hero-media {
        min-height: 430px;
    }

    .home-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-showcase-media,
    .home-showcase-media img {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .home-hero h1 {
        font-size: 38px;
    }

    .home-hero-media {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .hero-photo-frame,
    .home-hero-media .home-hero-card {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
    }

    .hero-photo-main,
    .hero-photo-small {
        height: 220px;
    }

    .home-quick-actions {
        grid-template-columns: 1fr;
    }

    .home-action-card {
        min-height: 120px;
    }

    .home-showcase-copy {
        padding: 22px;
    }

    .home-showcase-copy h2 {
        font-size: 30px;
    }

    .service-card > img {
        height: 180px;
    }
}
/* Home beauty pass. */
.home-page {
    background:
        linear-gradient(180deg, #eef6fb 0, #f8fbfd 24%, #ffffff 48%, #eef6fb 100%);
}

.home-hero {
    min-height: 720px;
}

.home-hero-bg {
    background:
        linear-gradient(90deg, rgba(4, 31, 60, 0.98), rgba(7, 55, 99, 0.88) 44%, rgba(7, 55, 99, 0.35)),
        url("redesign/gallery-library.jpg") center / cover no-repeat;
}

.home-hero-copy {
    position: relative;
    padding-left: 18px;
}

.home-hero-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 8px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--cyan), var(--green));
}

.home-hero h1 {
    max-width: 760px;
    text-wrap: balance;
}

.home-hero p {
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-photo-frame {
    border: 5px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 84px rgba(0, 0, 0, 0.34);
}

.hero-photo-main {
    width: 92%;
    height: 332px;
}

.hero-photo-small {
    width: 58%;
    height: 210px;
}

.home-hero-media .home-hero-card {
    border-top: 4px solid var(--cyan);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.home-stats {
    gap: 18px;
    margin-top: -76px;
}

.home-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    border-top: 4px solid var(--cyan);
    box-shadow: 0 22px 48px rgba(9, 44, 78, 0.14);
}

.home-stat-card:nth-child(2),
.home-stat-card:nth-child(4) {
    border-top-color: var(--green);
}

.home-stat-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 110px;
    height: 110px;
    border: 18px solid rgba(27, 163, 216, 0.08);
    border-radius: 50%;
}

.home-stat-card strong,
.home-stat-card span {
    position: relative;
    z-index: 1;
}

.home-quick-actions {
    gap: 18px;
    margin-top: 28px;
}

.home-action-card {
    position: relative;
    min-height: 178px;
    overflow: hidden;
    color: #ffffff !important;
    background-size: cover !important;
    background-position: center !important;
    box-shadow: 0 22px 46px rgba(9, 44, 78, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-action-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 55, 99, 0.2), rgba(7, 55, 99, 0.92));
}

.home-action-card:nth-child(1) {
    background: url("redesign/network.jpg");
}

.home-action-card:nth-child(2) {
    background: url("redesign/gallery-lab.jpg");
}

.home-action-card:nth-child(3) {
    background: url("redesign/gallery-workshop.jpg");
}

.home-action-card:nth-child(4) {
    background: url("redesign/gallery-delegation.jpg");
}

.home-action-card:hover,
.home-action-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 28px 58px rgba(9, 44, 78, 0.2);
}

.home-action-card span,
.home-action-card strong,
.home-action-card em {
    position: relative;
    z-index: 1;
}

.home-action-card span,
.home-action-card:nth-child(1) span,
.home-action-card:nth-child(4) span {
    color: #9ee0f7;
}

.home-action-card strong {
    color: #ffffff;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.home-action-card em {
    color: #d9edf8;
    opacity: 1;
}

.home-showcase {
    position: relative;
}

.home-showcase::before {
    content: "";
    position: absolute;
    inset: 42px -24px -28px 32%;
    z-index: -1;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(27, 163, 216, 0.13), rgba(15, 139, 87, 0.12));
}

.home-showcase-media {
    position: relative;
    min-height: 460px;
    box-shadow: 0 24px 60px rgba(9, 44, 78, 0.16);
}

.home-showcase-media::after {
    content: "PASTIC Library Network";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.home-showcase-media img {
    min-height: 460px;
    filter: saturate(1.05) contrast(1.03);
}

.home-showcase-copy {
    border-top: 4px solid var(--green);
    box-shadow: 0 22px 48px rgba(9, 44, 78, 0.12);
}

.home-services {
    margin-top: 86px;
    padding: 86px 0 92px;
    background:
        linear-gradient(180deg, #ffffff 0, #f3f9fc 100%);
}

.service-grid {
    gap: 22px;
}

.service-card {
    border: 0;
    box-shadow: 0 22px 46px rgba(9, 44, 78, 0.12);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 58px rgba(9, 44, 78, 0.18);
}

.service-card > img {
    height: 178px;
    filter: saturate(1.05) contrast(1.03);
}

.service-card-body {
    padding: 24px;
}

.home-pakcat {
    padding-top: 0;
}

.pakcat-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 66px rgba(9, 44, 78, 0.18);
}

.home-gallery {
    margin-top: 88px;
    padding: 86px 0 94px;
    background:
        linear-gradient(135deg, rgba(4, 31, 60, 0.98), rgba(12, 79, 135, 0.94));
}

.home-gallery .section-heading h2,
.home-gallery .eyebrow {
    color: #ffffff;
}

.home-gallery .section-heading {
    color: #d9edf8;
}

.gallery-mosaic {
    gap: 18px;
}

.gallery-tile {
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

.gallery-tile span {
    font-size: 18px;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.home-gallery .button-secondary {
    color: var(--blue-900) !important;
    border-color: #ffffff;
    background: #ffffff;
}

.home-downloads {
    padding-top: 72px;
}

.download-grid a {
    border-top: 4px solid var(--cyan);
    box-shadow: 0 20px 42px rgba(9, 44, 78, 0.1);
}

.download-grid a:nth-child(2) {
    border-top-color: var(--green);
}

@media (max-width: 1100px) {
    .home-hero-inner {
        grid-template-columns: minmax(0, 1fr) 360px;
    }

    .home-hero h1 {
        font-size: 50px;
    }
}

@media (max-width: 900px) {
    .home-hero-inner,
    .home-showcase {
        grid-template-columns: 1fr;
    }

    .home-showcase::before {
        inset: 32px -16px -22px 18%;
    }
}

@media (max-width: 640px) {
    .home-hero-copy {
        padding-left: 14px;
    }

    .home-hero h1 {
        font-size: 38px;
    }

    .home-action-card {
        min-height: 150px;
    }

    .home-showcase-media,
    .home-showcase-media img {
        min-height: 300px;
    }

    .home-showcase-media::after {
        font-size: 21px;
    }

    .home-gallery {
        padding: 62px 0 70px;
    }
}
/* Home spacing trim: remove dead whitespace between sections. */
.home-section {
    padding-top: 58px;
}

.home-showcase {
    padding-top: 58px;
}

.home-about {
    padding-top: 48px;
    margin-bottom: 0;
    align-items: stretch;
}

.home-about .section-heading,
.home-about-text {
    align-self: stretch;
}

.home-about .section-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
}

.home-about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-services {
    margin-top: 34px;
    padding: 58px 0 72px;
}

.home-services .section-heading-centered {
    margin-bottom: 24px;
}

.home-pakcat {
    padding-top: 48px;
}

.home-gallery {
    margin-top: 56px;
    padding: 64px 0 74px;
}

.home-downloads {
    padding-top: 50px;
    padding-bottom: 36px;
}

@media (max-width: 900px) {
    .home-section,
    .home-showcase,
    .home-about,
    .home-pakcat,
    .home-downloads {
        padding-top: 42px;
    }

    .home-services {
        margin-top: 28px;
        padding: 46px 0 58px;
    }

    .home-gallery {
        margin-top: 42px;
        padding: 54px 0 62px;
    }
}

@media (max-width: 640px) {
    .home-section,
    .home-showcase,
    .home-about,
    .home-pakcat,
    .home-downloads {
        padding-top: 34px;
    }

    .home-about .section-heading {
        padding: 0;
    }

    .home-services {
        margin-top: 22px;
        padding: 38px 0 48px;
    }
}
/* Home whitespace final tuning. */
.home-about-highlights {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.home-about-highlights span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--blue-900);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(9, 44, 78, 0.06);
    font-size: 14px;
    font-weight: 900;
}

.home-about-highlights span::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
}

.home-services {
    margin-top: 22px;
    padding-top: 38px;
}

@media (max-width: 900px) {
    .home-services {
        margin-top: 18px;
        padding-top: 34px;
    }
}

@media (max-width: 640px) {
    .home-about-highlights {
        margin-top: 18px;
    }

    .home-services {
        margin-top: 16px;
        padding-top: 30px;
    }
}
/* Home about image replacing old text chips. */
.home-about-image {
    position: relative;
    min-height: 210px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--blue-900);
    box-shadow: 0 18px 42px rgba(9, 44, 78, 0.14);
}

.home-about-image::after {
    content: "Resource sharing network";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.home-about-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.03);
}

.home-about-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(7, 55, 99, 0.7), rgba(7, 55, 99, 0.05) 58%);
}

@media (max-width: 900px) {
    .home-about-image,
    .home-about-image img {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .home-about-image {
        margin-top: 18px;
    }

    .home-about-image,
    .home-about-image img {
        min-height: 210px;
    }
}
/* Final all-page responsive guards. */
.members-layout,
.members-layout > *,
.panel,
.member-side,
.table-shell,
.table-responsive {
    min-width: 0;
}

.table-responsive {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
    .members-layout,
    .members-layout > *,
    .panel,
    .member-side,
    #member-directory,
    .table-shell,
    .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .cstrdlp-site #content table:not(.dataTable):not(.table),
    .cstrdlp-site #content table:not(.dataTable):not(.table) tbody,
    .cstrdlp-site #content table:not(.dataTable):not(.table) tr,
    .cstrdlp-site #content table:not(.dataTable):not(.table) td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .cstrdlp-site #content table:not(.dataTable):not(.table) {
        border-spacing: 0 !important;
    }

    .cstrdlp-site #content table:not(.dataTable):not(.table) tr {
        margin-bottom: 12px;
    }

    .cstrdlp-site #content table:not(.dataTable):not(.table) td {
        margin-bottom: 0;
        padding: 9px 10px;
        border-bottom: 1px solid var(--line);
    }
}
/* PASTIC website link and resource footer. */
.topbar-pastic-link {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 11px;
    border: 1px solid rgba(158, 224, 247, 0.38);
    border-radius: 999px;
    color: #ffffff !important;
    background: rgba(158, 224, 247, 0.12);
    font-weight: 900;
}

.topbar-pastic-link:hover,
.topbar-pastic-link:focus {
    color: #ffffff !important;
    background: rgba(158, 224, 247, 0.22);
}

/* ==========================================================================
   PASTIC National Portal footer — .footer-pastic
   ========================================================================== */

.footer-pastic {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, #052848 0, #031f39 100%);
}

/* Bootstrap-style utilities scoped to this block */
.footer-pastic .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-pastic .py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-pastic .mb-1 { margin-bottom: 0.25rem; }
.footer-pastic .mb-3 { margin-bottom: 1rem; }
.footer-pastic .mb-4 { margin-bottom: 1.5rem; }

.footer-pastic .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.footer-pastic .g-4 {
    gap: 0;
}

.footer-pastic .row > [class*="col-"] {
    padding: 0 12px;
    box-sizing: border-box;
}

/* col-6 = 50% on all viewports */
.footer-pastic .col-6 {
    width: 50%;
    margin-bottom: 2rem;
}

/* col-lg-3 = 25% on ≥992px */
@media (min-width: 992px) {
    .footer-pastic .col-lg-3 {
        width: 25%;
        margin-bottom: 0;
    }
}

/* Section headings */
.foot-title {
    color: #c2d3e8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Link lists */
.foot-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.foot-links li {
    margin-bottom: 7px;
}

.foot-links a {
    color: #9fb3d4 !important;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.foot-links a:hover,
.foot-links a:focus {
    color: #ffffff !important;
}

@media (max-width: 640px) {
    .footer-pastic .col-6 {
        width: 100%;
    }
}
/* Mobile topbar keeps PASTIC links visible. */
@media (max-width: 900px) {
    .site-topbar {
        display: block;
    }

    .topbar-inner {
        min-height: auto;
        padding: 8px 0;
    }

    .topbar-contact {
        display: none;
    }

    .topbar-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .topbar-links {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar-links a {
        justify-content: center;
    }
}
/* Services dropdown navigation. */
.site-nav .nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.site-nav .nav-dropdown-toggle {
    gap: 7px;
}

.nav-caret {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.site-nav .nav-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}

.site-nav .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 80;
    width: min(360px, calc(100vw - 32px));
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 22px 48px rgba(9, 44, 78, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav .nav-dropdown:hover .nav-dropdown-menu,
.site-nav .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav .nav-dropdown-menu a {
    min-height: auto;
    justify-content: flex-start;
    white-space: normal;
    padding: 10px 11px;
    border: 1px solid transparent;
    color: #253c57;
    background: transparent;
    font-size: 13px;
    line-height: 1.35;
}

.site-nav .nav-dropdown-menu a:hover,
.site-nav .nav-dropdown-menu a:focus,
.site-nav .nav-dropdown-menu a.is-active {
    color: var(--blue-900);
    border-color: var(--line);
    background: var(--blue-100);
}

.site-nav .nav-dropdown-menu a.is-active::after {
    display: none;
}

@media (max-width: 900px) {
    .site-nav .nav-dropdown {
        width: 100%;
        min-width: 0;
        display: grid;
        gap: 6px;
    }

    .site-nav .nav-dropdown::after {
        display: none;
    }

    .site-nav .nav-dropdown-toggle {
        justify-content: center;
    }

    .site-nav .nav-dropdown-menu {
        position: static;
        width: 100%;
        gap: 5px;
        padding: 8px;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        background: #f8fbfd;
    }

    .site-nav .nav-dropdown-menu a {
        justify-content: flex-start;
        min-height: 34px;
        padding: 8px 9px;
        font-size: 12px;
        background: #ffffff;
    }
}
/* Services dropdown click refinements. */
.site-nav .nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 12px;
    border: 0;
    border-radius: var(--radius);
    color: #253c57;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.site-nav .nav-dropdown-toggle:hover,
.site-nav .nav-dropdown-toggle:focus,
.site-nav .nav-dropdown-toggle.is-active,
.site-nav .nav-dropdown.is-open > .nav-dropdown-toggle {
    color: var(--blue-900);
    background: var(--blue-100);
}

.site-nav .nav-dropdown-toggle.is-active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 3px;
    border-radius: 999px;
    background: var(--cyan);
}

.site-nav .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav .nav-dropdown.is-open .nav-caret,
.site-nav .nav-dropdown:hover .nav-caret,
.site-nav .nav-dropdown:focus-within .nav-caret {
    transform: translateY(2px) rotate(225deg);
}

@media (max-width: 900px) {
    .site-nav .nav-dropdown-toggle {
        min-height: 38px;
        justify-content: center;
        padding: 7px 9px;
        background: var(--blue-100);
    }
}
/* Modern gallery slider and albums. */
body.page-gallery #main > .wrapper {
    padding-top: 28px;
}

body.page-gallery #content .field-item {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.gallery-showcase {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
    padding: 24px;
    border-radius: var(--radius);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(4, 31, 60, 0.98), rgba(12, 79, 135, 0.9)),
        url("redesign/gallery-library.jpg") center / cover no-repeat;
    box-shadow: 0 24px 60px rgba(9, 44, 78, 0.18);
}

.gallery-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% 12%, rgba(158, 224, 247, 0.22), transparent 30%);
    pointer-events: none;
}

.gallery-showcase-copy,
.gallery-slider {
    position: relative;
    z-index: 1;
}

.gallery-showcase-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 10px 4px;
}

.gallery-showcase-copy .eyebrow {
    color: #9ee0f7;
}

.gallery-showcase-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 900;
}

.gallery-showcase-copy p {
    margin: 16px 0 0;
    color: #d9edf8;
    font-size: 15px;
    line-height: 1.75;
}

.gallery-showcase-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.gallery-showcase-stat {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.gallery-showcase-stat strong {
    display: block;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.gallery-showcase-stat span {
    display: block;
    margin-top: 7px;
    color: #d9edf8;
    font-size: 12px;
    font-weight: 800;
}

.gallery-slider {
    min-width: 0;
}

.gallery-slider-frame {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: #062f57;
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.gallery-slider-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    color: #ffffff;
    background: #062f57;
    cursor: pointer;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 280ms ease, transform 320ms ease;
}

.gallery-slider-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.gallery-slider-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.04);
}

.gallery-slider-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 31, 60, 0.88), rgba(4, 31, 60, 0.12) 58%);
}

.gallery-slider-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    text-align: left;
}

.gallery-slider-caption strong {
    display: block;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.gallery-slider-caption span {
    display: inline-flex;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(15, 139, 87, 0.9);
    font-size: 12px;
    font-weight: 900;
}

.gallery-slider-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(4, 31, 60, 0.72);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    transform: translateY(-50%);
}

.gallery-slider-control:hover,
.gallery-slider-control:focus {
    background: rgba(15, 139, 87, 0.92);
}

.gallery-slider-prev {
    left: 16px;
}

.gallery-slider-next {
    right: 16px;
}

.gallery-slider-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.gallery-slider-thumb {
    min-width: 0;
    height: 74px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius);
    background: #062f57;
    cursor: pointer;
    opacity: 0.72;
}

.gallery-slider-thumb.is-active,
.gallery-slider-thumb:hover,
.gallery-slider-thumb:focus {
    border-color: var(--cyan);
    opacity: 1;
}

.gallery-slider-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-gallery #content table,
body.page-gallery #content tbody {
    display: block;
    width: 100% !important;
    border: 0 !important;
    border-spacing: 0 !important;
}

body.page-gallery #content tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 18px;
}

body.page-gallery #content td {
    display: block;
    width: auto !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    vertical-align: top;
}

body.page-gallery #content figure {
    position: relative;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(9, 44, 78, 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

body.page-gallery #content figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(9, 44, 78, 0.16);
}

body.page-gallery #content figure > a:first-of-type {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    background: var(--blue-900);
}

body.page-gallery #content figure > a:not(:first-of-type) {
    display: none;
}

body.page-gallery #content figure img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 220ms ease;
}

body.page-gallery #content figure:hover img {
    transform: scale(1.04);
}

body.page-gallery #content figcaption {
    min-height: 128px;
    margin: 0;
    padding: 18px;
    color: #42566f;
    font-size: 14px;
    line-height: 1.55;
    background: #ffffff;
}

.gallery-album-count {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(7, 55, 99, 0.88);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
}

.gallery-card-action {
    display: inline-flex;
    margin-top: 12px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 1000px) {
    .gallery-showcase {
        grid-template-columns: 1fr;
    }

    .gallery-slider-frame {
        min-height: 400px;
    }

    body.page-gallery #content tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gallery-showcase {
        padding: 16px;
    }

    .gallery-showcase-copy h2 {
        font-size: 29px;
    }

    .gallery-showcase-stats {
        grid-template-columns: 1fr;
    }

    .gallery-slider-frame {
        min-height: 310px;
    }

    .gallery-slider-caption {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .gallery-slider-caption strong {
        font-size: 20px;
    }

    .gallery-slider-control {
        width: 36px;
        height: 36px;
    }

    .gallery-slider-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-gallery #content tr {
        grid-template-columns: 1fr;
    }

    body.page-gallery #content figure > a:first-of-type {
        height: 230px;
    }

    body.page-gallery #content figcaption {
        min-height: auto;
    }
}
/* Home downloads graphic panel. */
.home-downloads {
    display: block;
    padding-top: 58px;
    padding-bottom: 58px;
}

.home-download-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: 30px;
    align-items: stretch;
    padding: 30px;
    border-radius: var(--radius);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(4, 31, 60, 0.98), rgba(7, 55, 99, 0.92) 52%, rgba(15, 139, 87, 0.86)),
        url("redesign/gallery-library.jpg") center / cover no-repeat;
    box-shadow: 0 26px 66px rgba(9, 44, 78, 0.2);
}

.home-download-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 12%, rgba(158, 224, 247, 0.22), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.home-download-panel::after {
    content: "";
    position: absolute;
    right: -72px;
    bottom: -92px;
    width: 240px;
    height: 240px;
    border: 34px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.home-download-copy,
.home-download-panel .download-grid {
    position: relative;
    z-index: 1;
}

.home-download-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-download-copy .eyebrow {
    color: #9ee0f7;
}

.home-download-copy h2 {
    max-width: 520px;
    margin: 0;
    color: #ffffff;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 900;
}

.home-download-copy p:not(.eyebrow) {
    max-width: 520px;
    margin: 16px 0 0;
    color: #d9edf8;
    font-size: 15px;
    line-height: 1.75;
}

.home-download-visual {
    position: relative;
    max-width: 360px;
    min-height: 172px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    background: #062f57;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.home-download-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 172px;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.05);
}

.home-download-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 31, 60, 0.76), rgba(4, 31, 60, 0.06) 60%);
}

.home-download-visual span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.home-download-panel .download-grid {
    align-self: center;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-download-panel .download-card {
    position: relative;
    min-width: 0;
    min-height: 224px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 0;
    border-radius: var(--radius);
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-download-panel .download-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 100% 100%, rgba(158, 224, 247, 0.18), transparent 36%);
    pointer-events: none;
}

.home-download-panel .download-card:hover,
.home-download-panel .download-card:focus {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.22);
}

.home-download-panel .download-card > * {
    position: relative;
    z-index: 1;
}

.home-download-panel .download-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: #073763;
    background: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.home-download-panel .download-card strong {
    display: block;
    margin-top: 24px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
}

.home-download-panel .download-card em {
    display: block;
    margin-top: 12px;
    color: #d9edf8;
    font-size: 13px;
    line-height: 1.55;
    font-style: normal;
}

.home-download-panel .download-card-featured {
    background: rgba(15, 139, 87, 0.72);
}

@media (max-width: 1000px) {
    .home-download-panel {
        grid-template-columns: 1fr;
    }

    .home-download-panel .download-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-downloads {
        padding-top: 38px;
        padding-bottom: 44px;
    }

    .home-download-panel {
        padding: 20px;
    }

    .home-download-copy h2 {
        font-size: 30px;
    }

    .home-download-visual {
        max-width: none;
    }

    .home-download-panel .download-grid {
        grid-template-columns: 1fr;
    }

    .home-download-panel .download-card {
        min-height: 168px;
    }
}
/* AI generated home quick-action images. */
.home-action-card:nth-child(1) {
    background-image: url("redesign/ai-pakcat-search.png") !important;
}

.home-action-card:nth-child(2) {
    background-image: url("redesign/ai-koha-cloud.png") !important;
}

.home-action-card:nth-child(3) {
    background-image: url("redesign/ai-training-programs.png") !important;
}

.home-action-card:nth-child(4) {
    background-image: url("redesign/ai-join-network.png") !important;
}

.home-action-card::before {
    background:
        linear-gradient(180deg, rgba(4, 31, 60, 0.18), rgba(4, 31, 60, 0.94)),
        radial-gradient(circle at 90% 12%, rgba(158, 224, 247, 0.18), transparent 36%);
}
/* Final mobile hamburger header. */
@media (max-width: 900px) {
  .cstrdlp-site .site-topbar {
    display: none;
  }

  .cstrdlp-site .site-header {
    top: 0;
    box-shadow: 0 10px 28px rgba(13, 59, 102, 0.12);
  }

  .cstrdlp-site .header-inner {
    position: relative;
    min-height: 74px;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
  }

  .cstrdlp-site .brand {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .cstrdlp-site .brand-logo-wrap {
    width: 66px;
    min-width: 66px;
    height: 56px;
  }

  .cstrdlp-site .brand-logo-wrap img {
    max-height: 56px;
  }

  .cstrdlp-site .brand-title {
    font-size: 17px;
    line-height: 1.12;
    white-space: normal;
  }

  .cstrdlp-site .brand-subtitle {
    max-width: 230px;
    font-size: 9px;
    line-height: 1.25;
  }

  .cstrdlp-site .site-menu-toggle {
    display: inline-flex !important;
    position: relative;
    z-index: 120;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 71, 119, 0.2);
  }

  .cstrdlp-site .site-menu-toggle span:not(.sr-only) {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .cstrdlp-site .site-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .cstrdlp-site .site-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .cstrdlp-site .site-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .cstrdlp-site .site-nav {
    display: none !important;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 110;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 71, 119, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 54px rgba(13, 59, 102, 0.22);
  }

  .cstrdlp-site .site-nav.is-open {
    display: grid !important;
  }

  .cstrdlp-site .site-nav a,
  .cstrdlp-site .site-nav .nav-dropdown-toggle {
    min-height: 42px;
    justify-content: flex-start;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eaf6fd;
    color: var(--blue-900);
    font-weight: 800;
    text-align: left;
  }

  .cstrdlp-site .site-nav a:hover,
  .cstrdlp-site .site-nav a:focus,
  .cstrdlp-site .site-nav a.is-active,
  .cstrdlp-site .site-nav .nav-dropdown-toggle:hover,
  .cstrdlp-site .site-nav .nav-dropdown-toggle:focus,
  .cstrdlp-site .site-nav .nav-dropdown-toggle.is-active {
    background: #dff1fb;
    color: var(--blue-900);
  }

  .cstrdlp-site .site-nav .nav-cta {
    justify-content: center;
    margin: 2px 0 0;
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 26px rgba(16, 148, 86, 0.22);
  }

  .cstrdlp-site .site-nav .nav-dropdown {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .cstrdlp-site .site-nav .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 71, 119, 0.1);
    background: #f8fbfd;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .cstrdlp-site .site-nav .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .cstrdlp-site .site-nav .nav-dropdown-menu a {
    min-height: 38px;
    padding: 9px 10px;
    background: #fff;
    color: #173650;
    font-size: 12px;
    line-height: 1.25;
  }
}

@media (max-width: 420px) {
  .cstrdlp-site .site-container {
    width: calc(100% - 24px);
  }

  .cstrdlp-site .brand-logo-wrap {
    width: 58px;
    min-width: 58px;
    height: 50px;
  }

  .cstrdlp-site .brand-logo-wrap img {
    max-height: 50px;
  }

  .cstrdlp-site .brand-title {
    font-size: 16px;
  }

  .cstrdlp-site .brand-subtitle {
    max-width: 178px;
    font-size: 8px;
  }
}
/* International databases page refresh. */
.database-page {
    background: linear-gradient(180deg, #eef7fc 0%, #ffffff 62%);
}

.database-page #main-content,
.database-page #content,
.database-page .database-shell {
    width: 100%;
    min-width: 0;
}

.database-page #main-content {
    display: block !important;
}

.database-shell {
    display: grid;
    gap: 22px;
    padding-bottom: 46px;
}

.database-intro {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 18px;
    align-items: stretch;
    margin-top: -76px;
}

.database-intro-card,
.database-visual,
.database-card,
.database-note {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(9, 44, 78, 0.1);
}

.database-intro-card {
    padding: 30px;
}

.database-intro-card h2 {
    max-width: 760px;
    margin: 0;
    color: var(--blue-900);
    font-size: 34px;
    line-height: 1.16;
    font-weight: 900;
}

.database-intro-card p {
    max-width: 800px;
    margin: 14px 0 0;
    color: #48617b;
    font-size: 16px;
    line-height: 1.7;
}

.database-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.database-quick-grid a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 11px 13px;
    border-radius: var(--radius);
    color: var(--blue-900) !important;
    background: #e9f6fc;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

.database-quick-grid a:hover,
.database-quick-grid a:focus {
    color: #ffffff !important;
    background: var(--blue-800);
}

.database-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 300px;
    padding: 24px;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(7, 55, 99, 0.1), rgba(7, 55, 99, 0.88)),
        url("redesign/network.jpg") center / cover no-repeat;
}

.database-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: calc(var(--radius) - 2px);
    pointer-events: none;
}

.database-visual div {
    position: relative;
    z-index: 1;
}

.database-visual strong {
    display: block;
    color: #ffffff;
    font-size: 58px;
    line-height: 1;
    font-weight: 900;
}

.database-visual span {
    display: block;
    max-width: 240px;
    margin-top: 8px;
    color: #d9edf8;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
}

.database-note {
    padding: 16px 18px;
    color: #435873;
    background: #f7fbfe;
    font-size: 14px;
    line-height: 1.6;
}

.database-note strong {
    color: var(--blue-900);
}

.database-directory {
    display: grid;
    gap: 18px;
}

.database-card {
    overflow: hidden;
    padding: 0;
}

.database-card-header {
    display: grid;
    gap: 8px;
    padding: 24px 26px 18px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 96% 0%, rgba(27, 163, 216, 0.14), transparent 34%),
        #ffffff;
}

.database-card-header span {
    color: var(--cyan);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.database-card-header h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 25px;
    line-height: 1.2;
    font-weight: 900;
}

.database-card-header p {
    max-width: 780px;
    margin: 0;
    color: #516880;
    font-size: 15px;
    line-height: 1.6;
}

.database-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
    gap: 10px;
    padding: 22px 26px 26px;
}

.database-link-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
}

.database-link-grid a,
.database-chip,
.database-chip-list a,
.database-chip-list span {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid rgba(0, 71, 119, 0.1);
    border-radius: var(--radius);
    color: var(--blue-800) !important;
    background: #f8fbfd;
    font-size: 13px;
    line-height: 1.28;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.database-link-grid a:hover,
.database-link-grid a:focus,
.database-chip-list a:hover,
.database-chip-list a:focus {
    color: #ffffff !important;
    border-color: var(--blue-800);
    background: var(--blue-800);
}

.database-chip,
.database-chip-list span {
    color: #445b73 !important;
    background: #ffffff;
}

.database-subjects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 22px 26px 26px;
}

.database-subjects section {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(0, 71, 119, 0.1);
    border-radius: var(--radius);
    background: #f8fbfd;
}

.database-subjects h3 {
    margin: 0 0 12px;
    color: var(--blue-900);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.database-subjects h3 a {
    color: var(--blue-900) !important;
}

.database-chip-list {
    display: grid;
    gap: 8px;
}

@media (max-width: 1000px) {
    .database-intro {
        grid-template-columns: 1fr;
        margin-top: -54px;
    }

    .database-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .database-subjects {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .database-shell {
        gap: 16px;
        padding-bottom: 32px;
    }

    .database-intro {
        margin-top: -38px;
    }

    .database-intro-card,
    .database-card-header,
    .database-link-grid,
    .database-subjects {
        padding-left: 16px;
        padding-right: 16px;
    }

    .database-intro-card {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .database-intro-card h2 {
        font-size: 25px;
    }

    .database-quick-grid,
    .database-link-grid,
    .database-link-grid.compact {
        grid-template-columns: 1fr;
    }

    .database-visual {
        min-height: 220px;
    }

    .database-card-header h2 {
        font-size: 22px;
    }
}
/* Native gallery slideshow lightbox. */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 25, 45, 0.82);
    backdrop-filter: blur(8px);
}

.gallery-lightbox-panel {
    position: relative;
    z-index: 1;
    width: min(1060px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: #061f35;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}

.gallery-lightbox-figure {
    position: relative;
    min-height: 420px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #03192d;
}

.gallery-lightbox-image {
    display: block;
    width: 100%;
    max-height: calc(100vh - 168px);
    object-fit: contain;
}

.gallery-lightbox-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: 780px;
    padding: 12px 14px;
    border-radius: var(--radius);
    color: #ffffff;
    background: rgba(7, 55, 99, 0.76);
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.gallery-lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 18px;
    color: #d9edf8;
    background: rgba(7, 55, 99, 0.96);
}

.gallery-lightbox-title {
    min-width: 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-lightbox-counter {
    flex: 0 0 auto;
    color: #a7e4f8;
    font-size: 13px;
    font-weight: 900;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius);
    color: #ffffff;
    background: rgba(15, 139, 87, 0.94);
    cursor: pointer;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus {
    background: var(--cyan);
}

.gallery-lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 20px;
    line-height: 1;
}

.gallery-lightbox-nav {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    font-size: 26px;
}

.gallery-lightbox-prev {
    left: 16px;
}

.gallery-lightbox-next {
    right: 16px;
}

.gallery-lightbox.has-single-photo .gallery-lightbox-nav {
    display: none;
}

@media (max-width: 640px) {
    .gallery-lightbox {
        padding: 12px;
    }

    .gallery-lightbox-panel {
        max-height: calc(100vh - 24px);
    }

    .gallery-lightbox-figure {
        min-height: 300px;
    }

    .gallery-lightbox-image {
        max-height: calc(100vh - 156px);
    }

    .gallery-lightbox-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-height: 104px;
        overflow: auto;
        font-size: 12px;
    }

    .gallery-lightbox-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .gallery-lightbox-title {
        white-space: normal;
    }

    .gallery-lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .gallery-lightbox-prev {
        left: 8px;
    }

    .gallery-lightbox-next {
        right: 8px;
    }
}
/* Logo-color accent pass. */
.cstrdlp-site {
    --brand-orange: #f28c28;
    --brand-lime: #8dc63f;
    --brand-red: #d94132;
    --brand-purple: #6f58c9;
    --brand-sky: #1ba3d8;
}

.cstrdlp-site .site-header::after,
.cstrdlp-site .site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-sky), var(--brand-orange), var(--brand-lime), var(--brand-red), var(--brand-purple));
}

.cstrdlp-site .site-header::after {
    bottom: -1px;
}

.cstrdlp-site .site-footer {
    position: relative;
}

.cstrdlp-site .site-footer::before {
    top: 0;
}

.cstrdlp-site .eyebrow::before,
.cstrdlp-site .legacy-feature-kicker::before,
.cstrdlp-site .database-card-header span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 999px;
    background: var(--brand-orange);
    box-shadow: 10px 0 0 var(--brand-lime), 20px 0 0 var(--brand-red);
    vertical-align: middle;
}

.cstrdlp-site .home-stat-card,
.cstrdlp-site .summary-card,
.cstrdlp-site .download-card,
.cstrdlp-site .database-card,
.cstrdlp-site .legacy-feature-card {
    border-top: 4px solid var(--brand-sky);
}

.cstrdlp-site .home-stat-card:nth-child(2),
.cstrdlp-site .summary-card:nth-child(2),
.cstrdlp-site .download-card:nth-child(2),
.cstrdlp-site .database-card:nth-child(2) {
    border-top-color: var(--brand-orange);
}

.cstrdlp-site .home-stat-card:nth-child(3),
.cstrdlp-site .summary-card:nth-child(3),
.cstrdlp-site .download-card:nth-child(3),
.cstrdlp-site .database-card:nth-child(3) {
    border-top-color: var(--brand-lime);
}

.cstrdlp-site .home-stat-card:nth-child(4),
.cstrdlp-site .summary-card:nth-child(4),
.cstrdlp-site .download-card:nth-child(4),
.cstrdlp-site .database-card:nth-child(4) {
    border-top-color: var(--brand-red);
}

.cstrdlp-site .home-stat-card:nth-child(1) strong,
.cstrdlp-site .summary-card:nth-child(1) .summary-value,
.cstrdlp-site .gallery-showcase-stat:nth-child(1) strong {
    color: var(--brand-sky);
}

.cstrdlp-site .home-stat-card:nth-child(2) strong,
.cstrdlp-site .summary-card:nth-child(2) .summary-value,
.cstrdlp-site .gallery-showcase-stat:nth-child(2) strong {
    color: var(--brand-orange);
}

.cstrdlp-site .home-stat-card:nth-child(3) strong,
.cstrdlp-site .summary-card:nth-child(3) .summary-value {
    color: var(--brand-lime);
}

.cstrdlp-site .home-stat-card:nth-child(4) strong,
.cstrdlp-site .summary-card:nth-child(4) .summary-value {
    color: var(--brand-red);
}

.cstrdlp-site .service-card:nth-child(1) .service-number,
.cstrdlp-site .home-download-panel .download-card:nth-child(1) .download-card-icon {
    background: rgba(27, 163, 216, 0.12);
    color: var(--brand-sky);
}

.cstrdlp-site .service-card:nth-child(2) .service-number,
.cstrdlp-site .home-download-panel .download-card:nth-child(2) .download-card-icon {
    background: rgba(242, 140, 40, 0.14);
    color: #b86111;
}

.cstrdlp-site .service-card:nth-child(3) .service-number,
.cstrdlp-site .home-download-panel .download-card:nth-child(3) .download-card-icon {
    background: rgba(141, 198, 63, 0.16);
    color: #557f18;
}

.cstrdlp-site .service-card:nth-child(4) .service-number,
.cstrdlp-site .home-download-panel .download-card:nth-child(4) .download-card-icon {
    background: rgba(217, 65, 50, 0.12);
    color: var(--brand-red);
}

.cstrdlp-site .home-action-card:nth-child(1),
.cstrdlp-site .database-quick-grid a:nth-child(4n + 1),
.cstrdlp-site .database-link-grid a:nth-child(4n + 1),
.cstrdlp-site .database-chip-list a:nth-child(4n + 1) {
    border-left: 4px solid var(--brand-sky);
}

.cstrdlp-site .home-action-card:nth-child(2),
.cstrdlp-site .database-quick-grid a:nth-child(4n + 2),
.cstrdlp-site .database-link-grid a:nth-child(4n + 2),
.cstrdlp-site .database-chip-list a:nth-child(4n + 2) {
    border-left: 4px solid var(--brand-orange);
}

.cstrdlp-site .home-action-card:nth-child(3),
.cstrdlp-site .database-quick-grid a:nth-child(4n + 3),
.cstrdlp-site .database-link-grid a:nth-child(4n + 3),
.cstrdlp-site .database-chip-list a:nth-child(4n + 3) {
    border-left: 4px solid var(--brand-lime);
}

.cstrdlp-site .home-action-card:nth-child(4),
.cstrdlp-site .database-quick-grid a:nth-child(4n + 4),
.cstrdlp-site .database-link-grid a:nth-child(4n + 4),
.cstrdlp-site .database-chip-list a:nth-child(4n + 4) {
    border-left: 4px solid var(--brand-red);
}

.cstrdlp-site .database-card:nth-child(1) .database-card-header span,
.cstrdlp-site .database-subjects section:nth-child(1) h3 a {
    color: var(--brand-sky) !important;
}

.cstrdlp-site .database-card:nth-child(2) .database-card-header span,
.cstrdlp-site .database-subjects section:nth-child(2) h3 a {
    color: var(--brand-orange) !important;
}

.cstrdlp-site .database-card:nth-child(3) .database-card-header span,
.cstrdlp-site .database-subjects section:nth-child(3) h3 a {
    color: #6b941f !important;
}

.cstrdlp-site .database-card:nth-child(4) .database-card-header span {
    color: var(--brand-red) !important;
}

.cstrdlp-site .gallery-card-action,
.cstrdlp-site .legacy-feature-link,
.cstrdlp-site .button-primary,
.cstrdlp-site .site-nav .nav-cta {
    background-image: linear-gradient(135deg, var(--green), #0b7448);
}

.cstrdlp-site .gallery-card-action:hover,
.cstrdlp-site .gallery-card-action:focus,
.cstrdlp-site .button-primary:hover,
.cstrdlp-site .button-primary:focus,
.cstrdlp-site .site-nav .nav-cta:hover,
.cstrdlp-site .site-nav .nav-cta:focus {
    background-image: linear-gradient(135deg, var(--brand-orange), #c56a12);
}

.cstrdlp-site .topbar-links a:last-child {
    color: #ffd28a;
}

.cstrdlp-site .nav-dropdown-menu a:hover,
.cstrdlp-site .nav-dropdown-menu a:focus {
    border-left-color: var(--brand-orange);
}

@media (max-width: 640px) {
    .cstrdlp-site .site-header::after {
        height: 2px;
    }

    .cstrdlp-site .eyebrow::before,
    .cstrdlp-site .legacy-feature-kicker::before,
    .cstrdlp-site .database-card-header span::before {
        width: 7px;
        height: 7px;
        margin-right: 7px;
        box-shadow: 9px 0 0 var(--brand-lime), 18px 0 0 var(--brand-red);
    }
}
/* Text contrast and label spacing pass. */
.cstrdlp-site .eyebrow,
.cstrdlp-site .legacy-feature-kicker,
.cstrdlp-site .database-card-header span {
    color: var(--blue-800);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: none;
}

.cstrdlp-site .eyebrow::before,
.cstrdlp-site .legacy-feature-kicker::before,
.cstrdlp-site .database-card-header span::before {
    width: 28px;
    min-width: 28px;
    flex: 0 0 28px;
    margin-right: 9px;
    box-shadow: 10px 0 0 var(--brand-lime), 20px 0 0 var(--brand-red);
}

.cstrdlp-site .home-hero .eyebrow,
.cstrdlp-site .member-hero .eyebrow,
.cstrdlp-site .gallery-showcase-copy .eyebrow,
.cstrdlp-site .home-gallery .eyebrow,
.cstrdlp-site .pakcat-card .eyebrow,
.cstrdlp-site .home-download-panel .eyebrow,
.cstrdlp-site #banner .eyebrow {
    color: #d8f4ff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.cstrdlp-site h1,
.cstrdlp-site h2,
.cstrdlp-site h3,
.cstrdlp-site #section-title,
.cstrdlp-site #section-title a,
.cstrdlp-site .section-heading h2,
.cstrdlp-site .home-showcase-copy h2,
.cstrdlp-site .database-intro-card h2,
.cstrdlp-site .database-card-header h2,
.cstrdlp-site .panel-heading h2,
.cstrdlp-site .legacy-feature-card h2 {
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
}

.cstrdlp-site .section-heading h2,
.cstrdlp-site .home-showcase-copy h2,
.cstrdlp-site .home-about h2,
.cstrdlp-site .home-services h2,
.cstrdlp-site .database-intro-card h2,
.cstrdlp-site .database-card-header h2,
.cstrdlp-site .panel-heading h2,
.cstrdlp-site .legacy-feature-card h2,
.cstrdlp-site #content h2,
.cstrdlp-site #content h3,
.cstrdlp-site #content h4 {
    color: var(--blue-900);
}

.cstrdlp-site .home-hero h1,
.cstrdlp-site .member-hero h1,
.cstrdlp-site #section-title,
.cstrdlp-site #section-title a,
.cstrdlp-site .gallery-showcase-copy h2,
.cstrdlp-site .pakcat-card h2,
.cstrdlp-site .home-download-copy h2,
.cstrdlp-site .home-gallery .section-heading h2 {
    color: #ffffff;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.cstrdlp-site p,
.cstrdlp-site li,
.cstrdlp-site .database-card-header p,
.cstrdlp-site .database-intro-card p,
.cstrdlp-site .service-card p,
.cstrdlp-site .home-showcase-copy p,
.cstrdlp-site .home-about-text p {
    color: #40566f;
}

.cstrdlp-site .home-hero p,
.cstrdlp-site .member-hero p,
.cstrdlp-site .gallery-showcase-copy p,
.cstrdlp-site .pakcat-card p,
.cstrdlp-site .home-download-copy p:not(.eyebrow),
.cstrdlp-site .home-gallery .section-heading,
.cstrdlp-site #banner p {
    color: #e8f5fb;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.cstrdlp-site .home-action-card span,
.cstrdlp-site .service-number,
.cstrdlp-site .download-card-icon,
.cstrdlp-site .gallery-card-action,
.cstrdlp-site .gallery-showcase-stat span,
.cstrdlp-site .database-chip,
.cstrdlp-site .database-chip-list span {
    font-weight: 900;
}

@media (max-width: 640px) {
    .cstrdlp-site .eyebrow::before,
    .cstrdlp-site .legacy-feature-kicker::before,
    .cstrdlp-site .database-card-header span::before {
        width: 25px;
        min-width: 25px;
        flex-basis: 25px;
        margin-right: 8px;
        box-shadow: 9px 0 0 var(--brand-lime), 18px 0 0 var(--brand-red);
    }
}
/* Readable text enforcement. */
.cstrdlp-site .database-intro-card p,
.cstrdlp-site .database-card-header p,
.cstrdlp-site .service-card p,
.cstrdlp-site .home-showcase-copy p,
.cstrdlp-site .home-about-text p,
.cstrdlp-site #content p,
.cstrdlp-site #content li {
    color: #334861 !important;
}

.cstrdlp-site .home-hero p,
.cstrdlp-site .member-hero p,
.cstrdlp-site .gallery-showcase-copy p,
.cstrdlp-site .pakcat-card p,
.cstrdlp-site .home-download-copy p:not(.eyebrow),
.cstrdlp-site .home-gallery .section-heading,
.cstrdlp-site #banner p {
    color: #e8f5fb !important;
}

.cstrdlp-site .database-card:nth-child(1) .database-card-header span,
.cstrdlp-site .database-subjects section:nth-child(1) h3 a,
.cstrdlp-site .home-action-card span {
    color: #0c6f9d !important;
}

.cstrdlp-site .database-card:nth-child(2) .database-card-header span,
.cstrdlp-site .database-subjects section:nth-child(2) h3 a {
    color: #a8560e !important;
}

.cstrdlp-site .database-card:nth-child(3) .database-card-header span,
.cstrdlp-site .database-subjects section:nth-child(3) h3 a {
    color: #557f18 !important;
}

.cstrdlp-site .database-card:nth-child(4) .database-card-header span {
    color: #b92d23 !important;
}

/* Gallery validation cleanup. */
.cstrdlp-site.sidebar-second #content,
body.page-gallery.cstrdlp-site #content {
    width: 100%;
}

/* Google UI and accessibility audit fixes. */
.cstrdlp-site .site-topbar a,
.cstrdlp-site .site-topbar .topbar-contact a,
.cstrdlp-site .site-topbar .topbar-links a {
    color: #f4fbff !important;
}

.cstrdlp-site .topbar-pastic-link {
    min-height: 34px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.42);
}

.cstrdlp-site .topbar-pastic-link:hover,
.cstrdlp-site .topbar-pastic-link:focus {
    background: rgba(255, 255, 255, 0.24);
}

.cstrdlp-site .site-nav a,
.cstrdlp-site .site-nav .nav-dropdown-toggle,
.cstrdlp-site .legacy-feature-link,
.cstrdlp-site .button-primary,
.cstrdlp-site .button-secondary,
.cstrdlp-site .button-light,
.cstrdlp-site .footer-cta,
.cstrdlp-site .gallery-card-action {
    min-height: 44px;
}

.cstrdlp-site .legacy-feature-link,
.cstrdlp-site .button-primary,
.cstrdlp-site .footer-cta,
.cstrdlp-site .gallery-card-action,
.cstrdlp-site .site-nav .nav-cta {
    color: #ffffff !important;
    background-color: #0b7448 !important;
    background-image: linear-gradient(135deg, #0b7448, #085c39) !important;
}

.cstrdlp-site .legacy-feature-link:hover,
.cstrdlp-site .legacy-feature-link:focus,
.cstrdlp-site .button-primary:hover,
.cstrdlp-site .button-primary:focus,
.cstrdlp-site .footer-cta:hover,
.cstrdlp-site .footer-cta:focus,
.cstrdlp-site .gallery-card-action:hover,
.cstrdlp-site .gallery-card-action:focus,
.cstrdlp-site .site-nav .nav-cta:hover,
.cstrdlp-site .site-nav .nav-cta:focus {
    background-color: #085c39 !important;
    background-image: linear-gradient(135deg, #085c39, #06482f) !important;
}

.cstrdlp-site .button-light {
    color: #ffffff !important;
    background: rgba(4, 31, 60, 0.76) !important;
    border-color: rgba(255, 255, 255, 0.52) !important;
}

.cstrdlp-site .button-light:hover,
.cstrdlp-site .button-light:focus {
    background: rgba(4, 31, 60, 0.9) !important;
}

.cstrdlp-site .site-footer p,
.cstrdlp-site .pastic-footer-section p,
.cstrdlp-site .footer-pastic p,
.cstrdlp-site .footer-brand p,
.cstrdlp-site .footer-contact p,
.cstrdlp-site .pastic-footer-heading p {
    color: #dcecf7 !important;
}

.cstrdlp-site .site-footer a:not(.footer-cta),
.cstrdlp-site .pastic-links-column a,
.cstrdlp-site .foot-links a {
    color: #e8f5fb !important;
}

.cstrdlp-site .summary-card:nth-child(1) .summary-value {
    color: #0c6f9d !important;
}

.cstrdlp-site .summary-card:nth-child(2) .summary-value {
    color: #a8560e !important;
}

.cstrdlp-site .summary-card:nth-child(3) .summary-value {
    color: #557f18 !important;
}

.cstrdlp-site .summary-card:nth-child(4) .summary-value {
    color: #b92d23 !important;
}

@media (max-width: 640px) {
    .cstrdlp-site .site-nav a,
    .cstrdlp-site .site-nav .nav-dropdown-toggle,
    .cstrdlp-site .site-nav .nav-dropdown-menu a,
    .cstrdlp-site .site-footer a:not(.footer-cta),
    .cstrdlp-site .pastic-links-column a,
    .cstrdlp-site .foot-links a,
    .cstrdlp-site .topbar-contact a,
    .cstrdlp-site .topbar-links a {
        min-height: 44px;
        align-items: center;
    }

    .cstrdlp-site .footer-links a,
    .cstrdlp-site .pastic-links-column a,
    .cstrdlp-site .foot-links a {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}
/* Final Google UI audit refinements. */
.cstrdlp-site .home-hero-card a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #ffffff !important;
    text-decoration-color: rgba(255, 255, 255, 0.75);
}

.cstrdlp-site .service-grid .service-card:nth-child(1) .service-number,
.cstrdlp-site .home-download-panel .download-card:nth-child(1) .download-card-icon {
    color: #0a587d !important;
}

.cstrdlp-site .service-grid .service-card:nth-child(2) .service-number,
.cstrdlp-site .home-download-panel .download-card:nth-child(2) .download-card-icon {
    color: #8a470b !important;
}

.cstrdlp-site .service-grid .service-card:nth-child(3) .service-number,
.cstrdlp-site .home-download-panel .download-card:nth-child(3) .download-card-icon {
    color: #466b12 !important;
}

.cstrdlp-site .service-grid .service-card:nth-child(4) .service-number,
.cstrdlp-site .home-download-panel .download-card:nth-child(4) .download-card-icon {
    color: #9d251e !important;
}

.cstrdlp-site .home-download-panel .download-card-featured {
    background: rgba(7, 84, 54, 0.94) !important;
}

.cstrdlp-site .home-download-panel .download-card-featured strong,
.cstrdlp-site .home-download-panel .download-card-featured em {
    color: #ffffff !important;
}

.cstrdlp-site .home-download-panel .download-card-featured .download-card-icon {
    background: #ffffff !important;
}

.cstrdlp-site .gallery-slider-control {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
}

.cstrdlp-site .gallery-slider-thumb {
    min-height: 44px;
}

@media (max-width: 640px) {
    .cstrdlp-site .site-topbar a,
    .cstrdlp-site .site-footer a:not(.footer-cta),
    .cstrdlp-site .pastic-links-column a,
    .cstrdlp-site .foot-links a,
    .cstrdlp-site #content a,
    .cstrdlp-site .text-link,
    .cstrdlp-site .side-list a,
    .cstrdlp-site table.dataTable tbody a,
    .cstrdlp-site .dataTables_wrapper a {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 44px !important;
    }

    .cstrdlp-site .dataTables_wrapper select,
    .cstrdlp-site .dataTables_wrapper input,
    .cstrdlp-site input[type="search"] {
        min-height: 44px !important;
    }
}
/* Mobile tap target completion for homepage service links. */
@media (max-width: 640px) {
    .cstrdlp-site .service-card a,
    .cstrdlp-site .home-page .service-card a {
        display: inline-flex !important;
        align-items: center !important;
        min-height: 44px !important;
    }
}
/* Mobile 44px tap target floor. */
@media (max-width: 640px) {
    body.cstrdlp-site a[href],
    body.cstrdlp-site button,
    body.cstrdlp-site input,
    body.cstrdlp-site select,
    body.cstrdlp-site textarea,
    body.cstrdlp-site [role="button"] {
        min-width: 44px !important;
        min-height: 44px !important;
    }

    body.cstrdlp-site a[href] {
        display: inline-flex !important;
        align-items: center !important;
    }
}

/* Keep hidden gallery album image links hidden after the mobile tap-target floor. */
body.page-gallery.cstrdlp-site #content figure > a:not(:first-of-type) {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Gallery polish pass. */
body.page-gallery.cstrdlp-site #banner {
    min-height: 170px;
}

body.page-gallery.cstrdlp-site #section-title {
    font-size: clamp(34px, 4vw, 52px);
}

body.page-gallery.cstrdlp-site .gallery-showcase {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
    gap: 20px;
    padding: 18px;
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(4, 31, 60, 0.95), rgba(7, 55, 99, 0.86)),
        url("redesign/gallery-library.jpg") center / cover no-repeat;
}

body.page-gallery.cstrdlp-site .gallery-showcase-copy {
    justify-content: end;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(3, 25, 45, 0.72);
}

body.page-gallery.cstrdlp-site .gallery-showcase-copy .eyebrow,
body.page-gallery.cstrdlp-site .gallery-showcase-copy h2,
body.page-gallery.cstrdlp-site .gallery-showcase-copy p {
    color: #ffffff !important;
}

body.page-gallery.cstrdlp-site .gallery-showcase-copy h2 {
    max-width: 420px;
    font-size: clamp(28px, 3vw, 40px);
}

body.page-gallery.cstrdlp-site .gallery-showcase-copy p {
    max-width: 440px;
    color: #dcecf7 !important;
    font-size: 14px;
    line-height: 1.65;
}

body.page-gallery.cstrdlp-site .gallery-showcase-stat {
    background: rgba(255, 255, 255, 0.12);
}

body.page-gallery.cstrdlp-site .gallery-slider-frame {
    min-height: 360px;
    border-radius: 8px;
}

body.page-gallery.cstrdlp-site .gallery-slider-caption {
    left: 20px;
    right: 20px;
    bottom: 18px;
}

body.page-gallery.cstrdlp-site .gallery-slider-caption strong {
    max-width: 720px;
    font-size: clamp(20px, 2.2vw, 28px);
}

body.page-gallery.cstrdlp-site .gallery-slider-control {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(3, 25, 45, 0.78);
    font-size: 34px;
    line-height: 1;
}

body.page-gallery.cstrdlp-site .gallery-slider-control span {
    transform: translateY(-2px);
}

body.page-gallery.cstrdlp-site .gallery-slider-thumb {
    height: 64px;
    border-radius: 6px;
}

body.page-gallery.cstrdlp-site #content tr {
    gap: 22px;
    margin-bottom: 22px;
}

body.page-gallery.cstrdlp-site #content figure {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.11);
}

body.page-gallery.cstrdlp-site #content figure > a:first-of-type {
    height: 215px;
}

body.page-gallery.cstrdlp-site #content figure > a:first-of-type::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 31, 60, 0), rgba(4, 31, 60, 0.2));
    pointer-events: none;
}

body.page-gallery.cstrdlp-site #content figcaption {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 164px;
    padding: 16px;
    color: #334861;
}

body.page-gallery.cstrdlp-site .gallery-card-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--blue-900);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 900;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

body.page-gallery.cstrdlp-site .gallery-card-meta {
    color: #59718d;
    font-size: 12px;
    font-weight: 800;
}

body.page-gallery.cstrdlp-site .gallery-card-action {
    align-self: flex-start;
    margin-top: auto;
    border: 0;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    color: #ffffff !important;
    background: #0b7448 !important;
    background-image: none !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
}

body.page-gallery.cstrdlp-site .gallery-card-action:hover,
body.page-gallery.cstrdlp-site .gallery-card-action:focus {
    background: #085c39 !important;
}

body.page-gallery.cstrdlp-site .gallery-lightbox {
    padding: 24px;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-backdrop {
    background: rgba(3, 25, 45, 0.78);
    backdrop-filter: blur(7px);
}

body.page-gallery.cstrdlp-site .gallery-lightbox-panel {
    width: min(1080px, calc(100vw - 48px));
    height: min(760px, calc(100vh - 48px));
    max-height: calc(100vh - 48px);
    grid-template-rows: minmax(0, 1fr) auto;
    border-radius: 10px;
    background: #06192d;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-figure {
    min-height: 0;
    height: 100%;
    padding: 18px 76px 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(27, 163, 216, 0.18), transparent 34%),
        #041f3a;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 168px);
    border-radius: 4px;
    object-fit: contain;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

body.page-gallery.cstrdlp-site .gallery-lightbox-caption {
    display: none;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-footer {
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #073763;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-title {
    max-width: calc(100% - 92px);
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-counter {
    padding: 7px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

body.page-gallery.cstrdlp-site .gallery-lightbox-close,
body.page-gallery.cstrdlp-site .gallery-lightbox-nav {
    border-radius: 999px;
    background: rgba(15, 139, 87, 0.94);
    background-image: none !important;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-close {
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    font-size: 30px;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-nav {
    width: 52px;
    height: 52px;
    color: #ffffff;
    font-size: 48px;
    line-height: 1;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-nav span {
    transform: translateY(-3px);
}

body.page-gallery.cstrdlp-site .gallery-lightbox-prev {
    left: 18px;
}

body.page-gallery.cstrdlp-site .gallery-lightbox-next {
    right: 18px;
}

@media (max-width: 900px) {
    body.page-gallery.cstrdlp-site .gallery-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.page-gallery.cstrdlp-site #banner {
        min-height: 132px;
    }

    body.page-gallery.cstrdlp-site .gallery-showcase {
        padding: 12px;
    }

    body.page-gallery.cstrdlp-site .gallery-showcase-copy {
        padding: 18px;
    }

    body.page-gallery.cstrdlp-site .gallery-slider-frame {
        min-height: 300px;
    }

    body.page-gallery.cstrdlp-site .gallery-showcase-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 16px;
    }

    body.page-gallery.cstrdlp-site .gallery-showcase-stat {
        padding: 10px;
    }

    body.page-gallery.cstrdlp-site .gallery-slider-thumbs {
        display: none;
    }

    body.page-gallery.cstrdlp-site #content figure > a:first-of-type {
        height: 220px;
    }

    body.page-gallery.cstrdlp-site .gallery-lightbox {
        padding: 10px;
    }

    body.page-gallery.cstrdlp-site .gallery-lightbox-panel {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        max-height: calc(100vh - 20px);
    }

    body.page-gallery.cstrdlp-site .gallery-lightbox-figure {
        padding: 58px 12px 0;
    }

    body.page-gallery.cstrdlp-site .gallery-lightbox-image {
        max-height: calc(100vh - 190px);
    }

    body.page-gallery.cstrdlp-site .gallery-lightbox-footer {
        align-items: flex-start;
        gap: 10px;
    }

    body.page-gallery.cstrdlp-site .gallery-lightbox-title {
        max-width: 100%;
    }

    body.page-gallery.cstrdlp-site .gallery-lightbox-nav {
        top: auto;
        bottom: 82px;
        width: 46px;
        height: 46px;
        font-size: 42px;
        transform: none;
    }
}

/* ==========================================================================
   Redesign pass 2: About, Services, Koha, FAQ, Join, Contact
   Shared generic pieces (page-hero, split sections, cards, steps, CTA band)
   ========================================================================== */

.inner-page {
    background: var(--page);
}

.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(100deg, rgba(7, 41, 79, 0.93), rgba(12, 79, 135, 0.74) 60%, rgba(7, 55, 99, 0.4)),
        url("redesign/gallery-library.jpg") center / cover no-repeat;
}

.page-hero .site-container {
    position: relative;
    z-index: 1;
    padding: 58px 0 64px;
}

.page-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

.page-hero p {
    max-width: 680px;
    margin: 16px 0 0;
    color: #d9edf8;
    font-size: 17px;
    line-height: 1.7;
}

.page-hero.hero-about {
    background-image: linear-gradient(100deg, rgba(7, 41, 79, 0.90), rgba(12, 79, 135, 0.70) 60%, rgba(7, 55, 99, 0.38)), url("redesign/library-hero.jpg");
    background-position: center 38%;
}

.page-hero.hero-services {
    background-image: linear-gradient(100deg, rgba(7, 41, 79, 0.93), rgba(12, 79, 135, 0.74) 60%, rgba(7, 55, 99, 0.4)), url("redesign/gallery-workshop.jpg");
}

.page-hero.hero-koha {
    background-image: linear-gradient(100deg, rgba(7, 41, 79, 0.93), rgba(12, 79, 135, 0.74) 60%, rgba(7, 55, 99, 0.4)), url("redesign/home-hero.jpg");
}

.page-hero.hero-faq {
    background-image: linear-gradient(100deg, rgba(6, 33, 64, 0.94), rgba(11, 63, 110, 0.82) 60%, rgba(7, 55, 99, 0.6)), url("redesign/library-hero.jpg");
    background-position: center 55%;
}

.page-hero.hero-join {
    background-image: linear-gradient(100deg, rgba(7, 41, 79, 0.93), rgba(12, 79, 135, 0.74) 60%, rgba(7, 55, 99, 0.4)), url("redesign/gallery-workshop.jpg");
}

.page-hero.hero-contact {
    background-image: linear-gradient(100deg, rgba(7, 41, 79, 0.93), rgba(12, 79, 135, 0.74) 60%, rgba(7, 55, 99, 0.4)), url("redesign/gallery-delegation.jpg");
}

.page-section {
    padding: 64px 0;
}

/* Alternating sections are full-bleed: the white band spans the whole viewport
   width while the inner .site-container keeps content aligned. Uses the
   box-shadow + clip-path technique so it never adds a horizontal scrollbar.
   This removes the "band cut short on the sides" look. */
.page-section.alt {
    position: relative;
    background: #ffffff;
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(0 -100vmax);
}

.section-head {
    margin-bottom: 30px;
}

.section-head h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.section-head p {
    max-width: 640px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 50px;
    align-items: stretch;
}

.split-section.reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split-section.reverse .split-media {
    order: 2;
}

.split-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.split-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-copy h2 {
    margin: 14px 0 0;
    color: var(--blue-900);
    font-size: 28px;
    line-height: 1.18;
    font-weight: 900;
}

.split-copy p {
    margin: 14px 0 0;
    color: #33445e;
    font-size: 15.5px;
    line-height: 1.72;
}

.split-copy p.muted-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: #33445e;
    font-size: 15px;
    line-height: 1.55;
}

.check-list li::before {
    content: "\2713";
    flex: none;
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.objective-grid {
    display: grid;
    gap: 14px;
}

.objective-card {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--cyan);
    border-radius: var(--radius);
    background: var(--blue-100);
    color: #2c3d4e;
    font-size: 14.5px;
    line-height: 1.55;
}

.objective-card:nth-child(2) {
    border-left-color: #f0851f;
}

.objective-card:nth-child(3) {
    border-left-color: var(--green);
}

.objective-card:nth-child(4) {
    border-left-color: #5a3fb0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.team-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(9, 44, 78, 0.08);
}

.team-photo {
    height: 8px;
    background: linear-gradient(120deg, var(--blue-800), var(--cyan));
}

.team-body {
    padding: 18px 20px;
}

.team-name {
    color: var(--blue-900);
    font-size: 15.5px;
    font-weight: 900;
    line-height: 1.3;
}

.team-role {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.download-card-list {
    display: grid;
    gap: 0;
}

.quick-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--blue-100);
    color: var(--blue-900) !important;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.35;
    transition: transform 0.15s ease, border-color 0.2s ease;
}

.quick-link-card:hover,
.quick-link-card:focus {
    transform: translateY(-3px);
    border-color: var(--cyan);
    color: var(--blue-900) !important;
}

.quick-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--blue-800);
    color: #ffffff;
    font-size: 21px;
}

.svc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
}

.svc-row.reverse .svc-media {
    order: 2;
}

.svc-media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.svc-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.svc-badge {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--blue-800);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.svc-copy h2 {
    margin: 16px 0 14px;
    color: var(--blue-900);
    font-size: 28px;
    line-height: 1.16;
    font-weight: 900;
}

.svc-copy p {
    margin: 0 0 18px;
    color: #33445e;
    font-size: 15.5px;
    line-height: 1.7;
}

.svc-logo {
    display: block;
    height: 42px;
    width: auto;
    margin-bottom: 16px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.step-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.step-number {
    color: var(--cyan);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.step-card h3 {
    margin: 10px 0 6px;
    color: var(--blue-900);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    padding: 30px 38px;
    border-radius: 18px;
    color: #ffffff;
    background:
        radial-gradient(130% 150% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
        linear-gradient(120deg, var(--blue-900) 0%, var(--blue-800) 46%, var(--cyan) 120%);
    box-shadow: 0 18px 42px rgba(9, 44, 78, 0.22);
}

/* soft decorative ring, sits behind the text */
.cta-banner.cta-pakcat {
    background-color: #0c3a72;
    background-image:
        linear-gradient(90deg, rgba(8, 34, 72, 0.95) 0%, rgba(10, 50, 102, 0.88) 40%, rgba(12, 64, 128, 0.60) 72%, rgba(14, 74, 150, 0.42) 100%),
        url("redesign/PAKCAT.png");
    background-position: center, center right;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -40px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 68%);
    pointer-events: none;
}

.cta-banner::after {
    content: "";
    position: absolute;
    right: 90px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 180, 236, 0.20), transparent 70%);
    pointer-events: none;
}

.cta-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 520px;
    max-width: 760px;
}

.cta-logo-chip {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(2px);
}

/* higher specificity so it beats the global "body.cstrdlp-site img { height:auto }" rule */
.cta-banner .cta-logo-chip img {
    height: 65px;
    width: auto;
    display: block;
}

.cta-banner h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.cta-banner p {
    margin: 0;
    max-width: 560px;
    color: #e6f2fb;
    font-size: 15.5px;
    line-height: 1.6;
}

.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: var(--radius);
    color: #ffffff !important;
    background: #f0851f;
    font-weight: 800;
    white-space: nowrap;
}

.button-cta:hover,
.button-cta:focus {
    color: #ffffff !important;
    background: #d76f12;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 880px;
}

.faq-card {
    padding: 22px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.faq-card h3 {
    margin: 0 0 8px;
    color: var(--blue-900);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}

.faq-card p,
.faq-card ul {
    margin: 0;
    color: #33445e;
    font-size: 14.5px;
    line-height: 1.6;
}

.faq-card ul {
    padding-left: 20px;
}

.faq-card p + p {
    margin-top: 10px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.audience-card {
    padding: 24px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--blue-100);
}

.audience-icon {
    font-size: 24px;
}

.audience-card h3 {
    margin: 10px 0 6px;
    color: var(--blue-900);
    font-size: 17.5px;
    font-weight: 800;
}

.audience-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 30px;
    align-items: start;
}

.contact-card-list {
    display: grid;
    gap: 14px;
}

.contact-info-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 19px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.contact-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--blue-800);
    font-size: 18px;
}

.contact-info-card h3 {
    margin: 0;
    color: var(--blue-900);
    font-size: 15px;
    font-weight: 800;
}

.contact-info-card p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.contact-form-panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(9, 44, 78, 0.08);
}

.contact-form-panel h2 {
    margin: 0 0 6px;
    color: var(--blue-900);
    font-size: 21px;
    font-weight: 900;
}

.contact-form-panel > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 13.5px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    margin-bottom: 16px;
}

.form-field {
    display: block;
}

.form-field span {
    display: block;
    margin-bottom: 7px;
    color: var(--blue-900);
    font-size: 13px;
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f8fbfe;
    color: var(--blue-900);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #93a6bd;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--cyan);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 163, 216, 0.16);
}

.form-field textarea {
    min-height: 132px;
    resize: vertical;
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7085' stroke-width='2.2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* stacked fields get vertical spacing... */
.form-field + .form-field {
    margin-top: 16px;
}

/* ...but the two fields inside the 2-col row must stay top-aligned (no extra top margin) */
.form-grid-2 .form-field + .form-field {
    margin-top: 0;
}

.form-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    background: var(--blue-800);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
}

.form-submit:hover {
    background: var(--blue-900);
}

@media (max-width: 1080px) {
    .quick-link-grid,
    .team-grid,
    .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .split-section,
    .split-section.reverse,
    .svc-row,
    .svc-row.reverse,
    .contact-grid,
    .form-grid-2,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .split-section.reverse .split-media,
    .svc-row.reverse .svc-media {
        order: 0;
    }

    .page-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .quick-link-grid,
    .team-grid,
    .step-grid {
        grid-template-columns: 1fr;
    }

    .page-section {
        padding: 44px 0;
    }

    .cta-banner {
        padding: 32px 26px;
    }

    .cta-banner h2 {
        font-size: 23px;
    }
}

/* ==========================================================================
   Homepage rebuild — hero slider, mission pillars, parallax banner,
   dark services grid, databases preview, masonry gallery + lightbox
   ========================================================================== */

.home-slider {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: var(--blue-900);
}

.home-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s ease;
}

.home-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.home-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.home-slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 22, 52, 0.88) 0%, rgba(12, 34, 78, 0.64) 45%, rgba(28, 78, 163, 0.28) 100%);
}

.home-slide-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-slide-inner h1 {
    max-width: 680px;
    margin: 20px 0 0;
    color: #ffffff;
    font-family: "CSTRDLP Open Sans", sans-serif;
    font-weight: 900;
    font-size: 46px;
    line-height: 1.07;
    letter-spacing: -0.01em;
}

.home-slide-inner p {
    max-width: 560px;
    margin: 18px 0 0;
    color: #dce8f8;
    font-size: 17px;
    line-height: 1.6;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
}

.slider-arrow:hover,
.slider-arrow:focus {
    background: rgba(255, 255, 255, 0.3);
}

.slider-prev {
    left: 22px;
}

.slider-next {
    right: 22px;
}

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.slider-dot.is-active {
    background: #ffffff;
    transform: scale(1.25);
}

.mission-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 50px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.mission-pillar {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mission-pillar.middle {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    padding: 0 30px;
}

.mission-pillar-icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.mission-pillar h3 {
    margin: 4px 0 7px;
    color: var(--blue-900);
    font-size: 18px;
    font-weight: 800;
}

.mission-pillar p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.mission-banner {
    position: relative;
    background-color: #071a34;
    background-image:
        linear-gradient(90deg, rgba(4, 13, 30, 0.82) 0%, rgba(5, 18, 40, 0.58) 28%, rgba(6, 22, 46, 0.18) 56%, rgba(6, 22, 46, 0.05) 100%),
        url("redesign/mission-bg.jpg");
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
}

.mission-banner-inner {
    padding: 84px 0;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 54px;
    align-items: center;
}

.mission-banner h2 {
    max-width: 560px;
    margin: 18px 0 14px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 900;
}

.mission-banner p {
    max-width: 560px;
    margin: 0 0 28px;
    color: #dce8f8;
    font-size: 16px;
    line-height: 1.65;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mission-stat {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

.mission-stat strong {
    display: block;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
}

.mission-stat span {
    display: block;
    margin-top: 4px;
    color: #bcd2ee;
    font-size: 13.5px;
    line-height: 1.4;
}

.dark-services {
    background-color: #0b1f45;
    background-image:
        linear-gradient(135deg, rgba(9, 24, 54, 0.82) 0%, rgba(12, 40, 90, 0.60) 55%, rgba(16, 46, 102, 0.55) 100%),
        url("redesign/PKLIBARORIES.png");
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    clip-path: polygon(0 46px, 100% 0, 100% 100%, 0 100%);
    margin-top: -10px;
}

.dark-services-inner {
    padding: 104px 0 86px;
}

.dark-services-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.dark-services-head h2 {
    margin: 16px 0 0;
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
}

.dark-services-head p {
    max-width: 380px;
    margin: 0;
    color: #bcd2ee;
    font-size: 15px;
    line-height: 1.6;
}

.dark-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.dark-service-card {
    display: block;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dark-service-card:hover,
.dark-service-card:focus {
    background: rgba(255, 255, 255, 0.12);
}

.dark-service-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
}

.dark-service-kicker span:last-child {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #46c0f0;
}

.dark-service-card h3 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.dark-service-card p {
    margin: 0;
    color: #bcd2ee;
    font-size: 14px;
    line-height: 1.55;
}

.databases-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.databases-preview-card {
    padding: 26px 20px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--cyan);
    border-radius: 13px;
    background: var(--blue-100);
    text-align: center;
}

.databases-preview-card .icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.databases-preview-card strong {
    display: block;
    color: var(--blue-900);
    font-size: 15.5px;
    font-weight: 800;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 14px;
}

.gallery-masonry-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border: none;
    padding: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(14, 42, 94, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-masonry-tile:hover {
    transform: scale(1.012);
}

.gallery-masonry-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-masonry-tile.span-2 {
    grid-column: span 2;
}

.gallery-masonry-tile.span-2-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.home-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: rgba(8, 20, 45, 0.95);
}

.home-lightbox.is-open {
    display: flex;
}

.home-lightbox img {
    max-width: 84vw;
    max-height: 78vh;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    object-fit: contain;
}

.home-lightbox-close,
.home-lightbox-nav {
    position: absolute;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-lightbox-close {
    top: 22px;
    right: 26px;
    width: 46px;
    height: 46px;
    font-size: 20px;
}

.home-lightbox-nav {
    top: 50%;
    width: 54px;
    height: 54px;
    font-size: 26px;
    transform: translateY(-50%);
}

.home-lightbox-prev {
    left: 24px;
}

.home-lightbox-next {
    right: 24px;
}

.home-lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: #cfe0f5;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1080px) {
    .mission-banner-inner,
    .dark-service-grid {
        grid-template-columns: 1fr;
    }

    .databases-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .mission-pillars {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mission-pillar.middle {
        border: none;
        padding: 0;
    }

    .home-slide-inner h1 {
        font-size: 32px;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-masonry-tile.span-2,
    .gallery-masonry-tile.span-2-2 {
        grid-column: span 2;
    }
}

/* Member directory table — dark header to match Member Libraries.dc.html */
.members-page table.dataTable thead th {
    background: var(--blue-900) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    letter-spacing: 0.05em;
}

.members-page table.dataTable tbody tr:nth-child(even) td {
    background: #f5f9fd;
}

.members-page .dataTables_wrapper .dataTables_filter input {
    width: min(360px, 70vw);
    padding: 13px 16px 13px 42px;
    border-radius: 11px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238aa3c2' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 16px;
}

.member-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #16895a;
}

.member-status-dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1bb574;
    display: inline-block;
}

@media (max-width: 640px) {
    .home-slider {
        height: 620px;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-masonry-tile.span-2,
    .gallery-masonry-tile.span-2-2 {
        grid-column: span 1;
    }
}

/* =========================================================================
   Picture Gallery — album-card grid + lightbox (rebuilt 2026-07-05)
   Self-contained; independent of the legacy body.page-gallery uplift.
   ========================================================================= */

.page-hero.hero-gallery {
    background-image:
        linear-gradient(100deg, rgba(7, 41, 79, 0.93), rgba(12, 79, 135, 0.74) 60%, rgba(7, 55, 99, 0.4)),
        url("redesign/gallery-seminar.jpg");
}

/* Filter bar */
.album-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 32px;
}

.album-filter {
    appearance: none;
    cursor: pointer;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #35506b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 11px 18px;
    border-radius: 999px;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.album-filter:hover,
.album-filter:focus-visible {
    border-color: var(--cyan);
    color: var(--blue-900);
    outline: none;
}

.album-filter.is-active {
    background: var(--blue-900);
    border-color: var(--blue-900);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(7, 55, 99, 0.22);
}

/* Album grid */
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.album-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(9, 44, 78, 0.07);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.album-card:hover,
.album-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(9, 44, 78, 0.16);
    outline: none;
}

.album-card:focus-visible {
    border-color: var(--cyan);
}

.album-cover {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--blue-900);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 240ms ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 22, 52, 0) 45%, rgba(8, 22, 52, 0.55) 100%);
    pointer-events: none;
}

.album-count {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(7, 55, 99, 0.82);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.album-count::before {
    content: "\1F4F7";
    font-size: 12px;
}

.album-category {
    position: absolute;
    bottom: 14px;
    left: 16px;
    z-index: 2;
    padding: 5px 11px;
    border-radius: 6px;
    background: var(--cyan);
    color: #052033;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.album-info {
    padding: 20px 22px 24px;
}

.album-title {
    margin: 0 0 7px;
    color: var(--blue-900);
    font-size: 18px;
    line-height: 1.28;
    font-weight: 800;
}

.album-desc {
    margin: 0;
    color: #5b6c84;
    font-size: 13.5px;
    line-height: 1.55;
}

.album-empty {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 15px;
}

/* Lightbox */
.album-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(8, 20, 45, 0.95);
}

.album-lightbox.is-open {
    display: flex;
    animation: albumFadeIn 220ms ease both;
}

@keyframes albumFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

body.album-lightbox-open {
    overflow: hidden;
}

.album-lb-title {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 90px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.album-lb-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    transition: background 150ms ease;
}

.album-lb-btn:hover,
.album-lb-btn:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.album-lb-close {
    top: 22px;
    right: 24px;
    width: 46px;
    height: 46px;
    font-size: 22px;
}

.album-lb-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    font-size: 30px;
    line-height: 1;
}

.album-lb-prev { left: 24px; }
.album-lb-next { right: 24px; }

.album-lightbox.has-single .album-lb-nav {
    display: none;
}

.album-lb-figure {
    margin: 0;
    max-width: 86vw;
    text-align: center;
}

.album-lb-image {
    max-width: 86vw;
    max-height: 74vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.album-lb-counter {
    margin-top: 16px;
    color: #cfe0f5;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

@media (max-width: 1000px) {
    .album-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .album-grid {
        grid-template-columns: 1fr;
    }

    .album-lightbox {
        padding: 16px;
    }

    .album-lb-title {
        top: 16px;
        left: 16px;
        right: 66px;
        font-size: 15px;
    }

    .album-lb-nav {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .album-lb-prev { left: 10px; }
    .album-lb-next { right: 10px; }

    .album-lb-image {
        max-width: 92vw;
        max-height: 68vh;
    }
}


/* =========================================================================
   Forms & Policies — document download cards (home page)
   ========================================================================= */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.doc-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 52px 20px 20px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--cyan);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(9, 44, 78, 0.06);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-left-color 0.18s ease;
}

.doc-card:hover,
.doc-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(9, 44, 78, 0.14);
    border-left-color: var(--green);
    outline: none;
}

.doc-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / 22px no-repeat,
        linear-gradient(135deg, var(--blue-800), var(--cyan));
}

.doc-body {
    display: block;
    min-width: 0;
}

.doc-body strong {
    display: block;
    color: var(--blue-900);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.doc-meta {
    display: block;
    margin-top: 4px;
    color: var(--cyan);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.02em;
}

.doc-card::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: transform 0.18s ease, opacity 0.18s ease;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231ba3d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='5' y1='21' x2='19' y2='21'/%3E%3C/svg%3E") center / contain no-repeat;
}

.doc-card:hover::after {
    opacity: 1;
    transform: translateY(-35%);
}

@media (max-width: 640px) {
    .doc-grid {
        grid-template-columns: 1fr;
    }
}
