/* VNTech Theme 5 shared components. */
body.vntech-theme5 .vn-surface-card {
    border: 1px solid var(--t5-line);
    border-radius: var(--t5-radius-md);
    background: var(--t5-surface);
    box-shadow: var(--t5-shadow-sm);
}

body.vntech-theme5 .vn-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin: 0 0 22px;
    padding: 0;
    color: var(--t5-ink-500);
    font-size: 12px;
    list-style: none;
}

body.vntech-theme5 .vn-breadcrumbs a {
    color: var(--t5-ink-600);
    text-decoration: none;
}

body.vntech-theme5 .vn-breadcrumbs a:hover {
    color: var(--t5-accent-strong);
}

body.vntech-theme5 .vn-breadcrumbs__separator {
    color: #9aa7ba;
}

body.vntech-theme5 .vn-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(138px, 14vw, 178px) 0 clamp(62px, 7vw, 94px);
    background:
        radial-gradient(circle at 80% 12%, rgba(42, 113, 255, 0.26), transparent 28%),
        radial-gradient(circle at 8% 70%, rgba(33, 91, 190, 0.14), transparent 30%),
        linear-gradient(135deg, #030d20, #071a38 58%, #0a2852);
    color: #fff;
}

body.vntech-theme5 .vn-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
    pointer-events: none;
}

body.vntech-theme5 .vn-page-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
    gap: clamp(36px, 7vw, 96px);
    align-items: end;
}

body.vntech-theme5 .vn-page-hero__copy {
    max-width: 780px;
}

body.vntech-theme5 .vn-page-hero h1 {
    max-width: 16ch;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.01;
    letter-spacing: -0.052em;
}

body.vntech-theme5 .vn-page-hero__intro {
    max-width: 700px;
    margin-bottom: 0;
    color: rgba(225, 237, 255, 0.74);
    font-size: clamp(17px, 1.6vw, 21px);
}

body.vntech-theme5 .vn-page-hero__media {
    min-height: 240px;
    overflow: hidden;
    border: 1px solid rgba(173, 204, 255, 0.18);
    border-radius: var(--t5-radius-lg);
    background: rgba(4, 15, 35, 0.46);
    box-shadow: 0 26px 76px rgba(0, 7, 24, 0.28);
}

body.vntech-theme5 .vn-page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.vntech-theme5 .vn-content-section {
    padding-block: var(--t5-section-space);
}

body.vntech-theme5 .vn-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr);
    gap: clamp(42px, 7vw, 96px);
    align-items: start;
}

body.vntech-theme5 .vn-content-layout--single {
    grid-template-columns: minmax(0, var(--t5-reading-width));
    justify-content: center;
}

body.vntech-theme5 .vn-entry-content {
    min-width: 0;
    color: var(--t5-ink-800);
    font-size: 17px;
}

body.vntech-theme5 .vn-entry-content > * {
    max-width: var(--t5-reading-width);
}

body.vntech-theme5 .vn-entry-content > .alignwide {
    max-width: 1040px;
}

body.vntech-theme5 .vn-entry-content > .alignfull {
    max-width: none;
}

body.vntech-theme5 .vn-entry-content h2 {
    margin: 2.2em 0 0.65em;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

body.vntech-theme5 .vn-entry-content h3 {
    margin: 1.8em 0 0.55em;
    font-size: clamp(23px, 2.2vw, 30px);
    line-height: 1.16;
    letter-spacing: -0.025em;
}

body.vntech-theme5 .vn-entry-content p,
body.vntech-theme5 .vn-entry-content li {
    color: var(--t5-ink-600);
    font-size: 17px;
    line-height: 1.75;
}

body.vntech-theme5 .vn-entry-content a {
    color: var(--t5-accent-strong);
}

body.vntech-theme5 .vn-entry-content blockquote {
    margin: 2em 0;
    padding: 22px 26px;
    border-left: 4px solid var(--t5-accent);
    border-radius: 0 var(--t5-radius-sm) var(--t5-radius-sm) 0;
    background: var(--t5-accent-soft);
}

body.vntech-theme5 .vn-entry-content table {
    width: 100%;
    border-collapse: collapse;
}

body.vntech-theme5 .vn-entry-content th,
body.vntech-theme5 .vn-entry-content td {
    padding: 12px 14px;
    border: 1px solid var(--t5-line);
    text-align: left;
}

body.vntech-theme5 .vn-page-aside {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--t5-line);
    border-radius: var(--t5-radius-md);
    background: #fff;
    box-shadow: var(--t5-shadow-sm);
}

body.vntech-theme5 .vn-page-aside__label {
    color: var(--t5-accent-strong);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

body.vntech-theme5 .vn-page-aside h2 {
    margin-bottom: 0;
    font-size: 24px;
    line-height: 1.16;
}

body.vntech-theme5 .vn-page-aside p {
    margin-bottom: 0;
    font-size: 14px;
}

body.vntech-theme5 .vn-feature-grid,
body.vntech-theme5 .vn-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

body.vntech-theme5 .vn-content-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--t5-line);
    border-radius: var(--t5-radius-md);
    background: #fff;
    box-shadow: var(--t5-shadow-sm);
    transition: transform 200ms var(--t5-ease), box-shadow 200ms ease, border-color 200ms ease;
}

body.vntech-theme5 .vn-content-card:hover {
    transform: translateY(-4px);
    border-color: var(--t5-line-strong);
    box-shadow: var(--t5-shadow-md);
}

body.vntech-theme5 .vn-content-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #eaf0f8, #dce7f6);
}

body.vntech-theme5 .vn-content-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.vntech-theme5 .vn-content-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

body.vntech-theme5 .vn-content-card__eyebrow {
    margin-bottom: 12px;
    color: var(--t5-accent-strong);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.vntech-theme5 .vn-content-card h2,
body.vntech-theme5 .vn-content-card h3 {
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 1.15;
}

body.vntech-theme5 .vn-content-card p {
    margin-bottom: 22px;
    font-size: 14px;
}

body.vntech-theme5 .vn-content-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--t5-accent-strong);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

body.vntech-theme5 .vn-page-cta {
    padding-block: var(--t5-section-space-compact);
    background: var(--t5-paper-strong);
}

body.vntech-theme5 .vn-page-cta__surface {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid rgba(151, 189, 248, 0.17);
    border-radius: var(--t5-radius-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(52, 116, 228, 0.25), transparent 26%),
        linear-gradient(140deg, #06142c, #0b244a);
    color: #fff;
    box-shadow: var(--t5-shadow-lg);
}

body.vntech-theme5 .vn-page-cta h2 {
    max-width: 18ch;
    margin-bottom: 12px;
    color: #fff;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.04;
}

body.vntech-theme5 .vn-page-cta p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(224, 236, 255, 0.7);
}

body.vntech-theme5 .site-footer--t5 {
    padding: 0;
    background: #041126;
    color: #fff;
}

body.vntech-theme5 .site-footer__inner {
    padding-top: 48px;
    padding-bottom: 22px;
}

body.vntech-theme5 .site-footer__grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.35fr) minmax(150px, 0.5fr) minmax(230px, 0.7fr);
    gap: clamp(34px, 5vw, 72px);
    align-items: start;
    padding-bottom: 32px;
}

body.vntech-theme5 .site-footer__grid > *,
body.vntech-theme5 .site-footer__brand {
    width: auto;
    min-width: 0;
    max-width: none;
}

body.vntech-theme5 .site-footer__brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

body.vntech-theme5 .site-footer__image {
    width: auto;
    max-height: 36px;
}

body.vntech-theme5 .site-footer__brand-title {
    color: #fff;
    font-size: 20px;
}

body.vntech-theme5 .site-footer__brand > p {
    max-width: 45ch;
    margin-bottom: 14px;
    color: rgba(226, 236, 252, 0.7);
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: normal;
    word-break: normal;
}

body.vntech-theme5 .site-footer__trust {
    display: inline-flex;
    max-width: 44ch;
    padding: 8px 11px;
    border: 1px solid rgba(145, 184, 247, 0.13);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(220, 233, 255, 0.64);
    font-size: 11px;
    line-height: 1.45;
}

body.vntech-theme5 .site-footer__heading {
    margin-bottom: 17px;
    color: #8eb8ff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

body.vntech-theme5 .site-footer__links,
body.vntech-theme5 .site-footer__contact-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.vntech-theme5 .site-footer__links a,
body.vntech-theme5 .site-footer__contact-list a {
    color: rgba(232, 240, 255, 0.72);
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
}

body.vntech-theme5 .site-footer__links a:hover,
body.vntech-theme5 .site-footer__contact-list a:hover {
    color: #fff;
}

body.vntech-theme5 .site-footer__bottom {
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

body.vntech-theme5 .site-footer__bottom p {
    margin: 0;
    color: rgba(220, 233, 255, 0.5);
    font-size: 11px;
}
