/* Dự án đào tạo – chỉ nạp trên archive và single tương ứng. */
.hvd-projects {
    --hvd-blue: #1968c2;
    --hvd-blue-dark: #0d3767;
    --hvd-blue-soft: #eaf4fc;
    --hvd-ink: #1f2933;
    --hvd-muted: #637282;
    --hvd-line: #d7e4ef;
    --hvd-white: #fff;
    background: #fff;
    color: var(--hvd-ink);
    overflow: hidden;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
}

.hvd-training-project-page .page_content_wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.hvd-training-project-page .content,
.hvd-training-project-page .content_wrap {
    margin-top: 0;
    margin-bottom: 0;
}

.hvd-projects *,
.hvd-projects *::before,
.hvd-projects *::after {
    box-sizing: border-box;
}

.hvd-projects__container {
    width: min(1290px, calc(100% - 40px));
    margin-inline: auto;
}

.hvd-projects__eyebrow,
.hvd-project-card__organization {
    margin: 0 0 10px;
    color: var(--hvd-blue);
    font-size: 13px;
    /*font-weight: 700;
    letter-spacing: .12em;*/
    line-height: 1.4;
    text-transform: uppercase;
}

.hvd-projects h1,
.hvd-projects h2,
.hvd-projects h3 {
    color: var(--hvd-ink);
    margin-top: 0;
}

.hvd-projects__hero {
    position: relative;
    padding: clamp(130px, 14vw, 190px) 0 clamp(72px, 9vw, 110px);
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(57, 157, 234, .33), transparent 34%),
        linear-gradient(125deg, #071a2d 0%, #0d3767 62%, #135997 100%);
}

.hvd-projects__hero::after {
    content: "";
    position: absolute;
    right: -15vw;
    bottom: -28vw;
    width: min(700px, 64vw);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, .035), 0 0 0 140px rgba(255, 255, 255, .025);
    pointer-events: none;
}

.hvd-projects__hero .hvd-projects__container {
    position: relative;
    z-index: 1;
}

.hvd-projects__hero .hvd-projects__eyebrow {
    color: #80c8ff;
}

.hvd-projects__hero h1 {
    max-width: none;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(46px, 6vw, 55px);
    line-height: .98;
}

.hvd-projects__lead {
    max-width: 870px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: none;
    line-height: 1.65;
}

.hvd-projects__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 870px;
    margin-top: 48px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.hvd-projects__metric {
    padding: 22px 26px;
}

.hvd-projects__metric + .hvd-projects__metric {
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.hvd-projects__metric strong,
.hvd-projects__metric span {
    display: block;
}

.hvd-projects__metric strong {
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
}

.hvd-projects__metric span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.hvd-projects__listing {
    padding: clamp(70px, 9vw, 110px) 0;
}

.hvd-projects__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.hvd-projects__heading h2 {
    margin-bottom: 0;
    font-size: clamp(36px, 4vw, 45px);
}

.hvd-projects__filter {
    min-width: min(100%, 270px);
}

.hvd-projects__filter label {
    display: block;
    margin-bottom: 7px;
    color: var(--hvd-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.hvd-projects__filter select {
    width: 100%;
    min-height: 48px;
    margin: 0;
    border: 1px solid var(--hvd-line);
    border-radius: 0;
    background-color: #fff;
    color: var(--hvd-ink);
}

.hvd-projects__grid {
    display: grid;
    grid-template-columns: repeat(var(--hvd-project-columns, 4), minmax(0, 1fr));
    gap: 22px;
}

.hvd-project-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    border: 1px solid var(--hvd-line);
    background: #fff;
    box-shadow: 0 12px 35px rgba(17, 54, 88, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hvd-project-card:hover {
    border-color: #b7d4e9;
    box-shadow: 0 18px 48px rgba(17, 54, 88, .13);
    transform: translateY(-5px);
}

.hvd-project-card__image {
    display: grid;
    position: relative;
    min-height: 185px;
    padding: 34px 24px 24px;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--hvd-line);
    background:
        radial-gradient(circle at 78% 18%, rgba(48, 126, 216, .13), transparent 34%),
        linear-gradient(145deg, #fff 0%, #f3f8fc 100%);
}

.hvd-project-card__logo {
    display: grid;
    width: 100%;
    height: 112px;
    place-items: center;
}

.hvd-project-card__logo img {
    width: auto;
    max-width: 88%;
    height: auto;
    max-height: 105px;
    object-fit: contain;
    transition: transform .45s ease;
}

.hvd-project-card:hover .hvd-project-card__logo img {
    transform: scale(1.04);
}

.hvd-project-card__sector {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    max-width: calc(100% - 28px);
    padding: 5px 9px;
    border: 1px solid #cce0ef;
    background: rgba(255, 255, 255, .92);
    color: var(--hvd-blue-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hvd-project-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(25, 104, 194, .2);
    font-family: "Bebas Neue", sans-serif;
    font-size: 72px;
    letter-spacing: .08em;
}

.hvd-project-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px 21px 21px;
}

.hvd-project-card h3 {
    margin-bottom: 17px;
    font-size: 25px;
    line-height: 1.08;
}

.hvd-project-card h3 a {
    color: inherit;
}

.hvd-project-card__stats {
    display: grid;
    grid-template-columns: minmax(78px, .72fr) minmax(0, 1.28fr);
    margin: 0;
    border-bottom: 1px solid var(--hvd-blue-dark);
    background: var(--hvd-blue-dark);
}

.hvd-project-card__stat {
    min-width: 0;
    padding: 11px 12px;
}

.hvd-project-card__stat + .hvd-project-card__stat {
    border-left: 1px solid rgba(255, 255, 255, .17);
}

.hvd-project-card__stat > span,
.hvd-project-card__program > span {
    display: block;
    margin-bottom: 4px;
    color: var(--hvd-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hvd-project-card__stats .hvd-project-card__stat > span {
    color: rgba(255, 255, 255, .68);
}

.hvd-project-card__stat strong {
    color: #fff;
}

.hvd-project-card__stat:not(.hvd-project-card__stat--date) strong {
    display: inline;
    font-family: "Bebas Neue", sans-serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1;
}

.hvd-project-card__stat small {
    display: block;
    color: rgba(255, 255, 255, .66);
    font-size: 10px;
    line-height: 1.2;
}

.hvd-project-card__stat--date strong {
    display: block;
    font-size: 11px;
    line-height: 1.45;
}

.hvd-project-card__description {
    margin: 0 0 13px;
    color: var(--hvd-muted);
    font-size: 13px;
    line-height: 1.65;
}

.hvd-project-card__program {
    min-height: 86px;
    margin-bottom: 12px;
    padding: 13px 14px;
    border-left: 3px solid var(--hvd-blue);
    background: var(--hvd-blue-soft);
}

.hvd-project-card__program strong {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hvd-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.hvd-project-card__location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 0 0 10px;
    color: var(--hvd-muted);
    font-size: 12px;
    line-height: 1.45;
}

.hvd-project-card__location span {
    flex: 0 0 auto;
    color: var(--hvd-blue);
    font-size: 8px;
    line-height: 2;
}

.hvd-projects__text-link {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: 7px;
    margin-top: auto;
    padding-top: 10px;
    color: var(--hvd-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
	transition: color .2s ease, gap .2s ease;
}

.hvd-projects__text-link span {
	display: inline-block;
	transition: transform .2s ease;
}

.hvd-projects__text-link:hover,
.hvd-projects__text-link:focus-visible {
	gap: 11px;
	color: var(--hvd-blue-dark);
}

.hvd-projects__text-link:hover span,
.hvd-projects__text-link:focus-visible span {
	transform: translateX(3px);
}

.hvd-projects__empty {
    padding: 60px 30px;
    border: 1px dashed #b9cedf;
    background: #f7fbfe;
    text-align: center;
}

.hvd-projects__empty h3 {
    margin-bottom: 8px;
    font-size: 30px;
}

.hvd-projects__empty p {
    color: var(--hvd-muted);
}

.hvd-projects .navigation.pagination {
    margin-top: 45px;
}

.hvd-projects .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.hvd-projects .page-numbers {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    place-items: center;
    border: 1px solid var(--hvd-line);
    color: var(--hvd-ink);
}

.hvd-projects .page-numbers.current,
.hvd-projects .page-numbers:hover {
    border-color: var(--hvd-blue);
    background: var(--hvd-blue);
    color: #fff;
}

.hvd-projects__cta {
    padding: 65px 0;
    background: var(--hvd-blue-soft);
}

.hvd-projects__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hvd-projects__cta h2 {
    max-width: 760px;
    margin-bottom: 10px;
}

.hvd-projects__cta p:not(.hvd-projects__eyebrow) {
    max-width: 740px;
    margin-bottom: 0;
    color: var(--hvd-muted);
}

.hvd-projects__theme-button {
    flex: 0 0 auto;
}

.hvd-projects__button {
    display: inline-flex;
    min-height: 52px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    border: 1px solid var(--hvd-blue);
    background: var(--hvd-blue);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.hvd-projects__button:hover {
    border-color: var(--hvd-blue-dark);
    background: var(--hvd-blue-dark);
    color: #fff;
}

.hvd-projects__button--secondary {
    margin-top: 15px;
    background: transparent;
    color: var(--hvd-blue);
}

/* Trang chi tiết */
body.hvd-training-project-page .page_content_wrap {
    padding-top: 0 !important;
}

.hvd-project__hero {
    padding: clamp(38px, 4.5vw, 64px) 0 clamp(34px, 4vw, 52px);
    background: linear-gradient(180deg, #eff7fd 0%, #fff 100%);
}

.hvd-project__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(24px, 3vw, 34px);
    color: var(--hvd-muted);
    font-size: 14px;
}

.hvd-project__breadcrumb a {
    color: var(--hvd-blue);
}

.hvd-project__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 3vw, 42px);
}

.hvd-project__hero-grid.is-without-gallery {
    grid-template-columns: minmax(0, 820px);
}

.hvd-project__intro .hvd-project__title {
    margin-bottom: 24px;
    font-size: clamp(36px, 4vw, 45px);
    line-height: 1.12;
}

.hvd-project__lead {
    color: var(--hvd-muted);
    font-size: 18px;
    line-height: 1.72;
}

.hvd-project__lead p:last-child {
    margin-bottom: 0;
}

.hvd-project__partner-logo {
    display: flex;
	width: fit-content;
    align-items: center;
    justify-content: center;
	margin-bottom: 26px;
}

.hvd-project__partner-logo img {
    width: auto;
	max-width: min(320px, 100%);
	max-height: 150px;
	object-fit: contain;
}

.hvd-project__gallery {
    position: relative;
    gap: 10px;
}

.hvd-project__gallery::before {
    content: "";
    position: absolute;
    inset: 18px -18px auto 18px;
    z-index: 0;
    aspect-ratio: 16 / 10;
    background: var(--hvd-blue);
}

.hvd-project__gallery-item {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #dce9f3;
    appearance: none;
    cursor: zoom-in;
}

.hvd-project__gallery--slider {
    display: block;
}

.hvd-project__gallery--slider .hvd-project__gallery-item {
    display: none;
    aspect-ratio: 16 / 10;
}

.hvd-project__gallery--slider .hvd-project__gallery-item.is-active {
    display: block;
}

.hvd-project__gallery-item img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.hvd-project__gallery-item:hover img {
    transform: scale(1.035);
}

.hvd-project__gallery-controls {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    aspect-ratio: 16 / 10;
    pointer-events: none;
}

.hvd-project__gallery-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: rgba(4, 27, 48, .88);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
}

.hvd-project__gallery-prev {
    left: 14px;
}

.hvd-project__gallery-next {
    right: 14px;
}

.hvd-project__gallery-controls button:hover,
.hvd-project__gallery-controls button:focus-visible {
    background: var(--hvd-blue);
    color: #fff;
}

.hvd-project__gallery-count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    min-width: 58px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .94);
    color: var(--hvd-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.hvd-project__gallery-thumbnails {
    display: flex;
    position: relative;
    z-index: 2;
    gap: 8px;
    margin-top: 12px;
    padding: 2px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scroll-snap-type: inline mandatory;
}

.hvd-project__gallery-thumbnail {
    width: 76px;
    height: 54px;
    min-width: 76px;
    padding: 3px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    scroll-snap-align: center;
}

.hvd-project__gallery-thumbnail.is-active {
    border-color: var(--hvd-blue);
}

.hvd-project__gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.hvd-lightbox-open {
    overflow: hidden;
}

.hvd-project__lightbox[hidden] {
    display: none !important;
}

.hvd-project__lightbox {
    display: grid;
    position: fixed;
    inset: 0;
    z-index: 999999;
    padding: 68px 80px 48px;
    place-items: center;
    background: rgba(2, 14, 26, .96);
}

.hvd-project__lightbox-frame {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
}

.hvd-project__lightbox-frame img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 150px);
    object-fit: contain;
}

.hvd-project__lightbox-frame figcaption {
    margin-top: 14px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
}

.hvd-project__lightbox button {
    display: grid;
    position: absolute;
    z-index: 2;
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 0;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.hvd-project__lightbox button:hover,
.hvd-project__lightbox button:focus-visible {
    border-color: #fff;
    background: var(--hvd-blue);
}

.hvd-project__lightbox-close {
    top: 18px;
    right: 20px;
}

.hvd-project__lightbox-prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.hvd-project__lightbox-next {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.hvd-project__summary {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: var(--hvd-blue-dark);
    color: #fff;
}

.hvd-project__summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.hvd-project__summary-item {
    display: flex;
    min-width: 0;
    min-height: 142px;
    justify-content: center;
    flex-direction: column;
    padding: 24px clamp(20px, 3vw, 34px);
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.hvd-project__summary-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, .14);
}

.hvd-project__summary-item > span {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hvd-project__summary-item > strong {
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(37px, 4vw, 50px);
    font-weight: 400;
    line-height: 1;
}

.hvd-project__summary-item > small {
    margin-top: 7px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    line-height: 1.4;
}

.hvd-project__summary-item--certificate > strong {
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.hvd-project__layout {
    display: grid;
    grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(45px, 7vw, 90px);
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(48px, 6vw, 72px);
}

.hvd-project__facts {
    position: sticky;
    top: 110px;
    padding: 28px;
    border-top: 4px solid var(--hvd-blue);
    background: #f4f8fb;
}

.hvd-project__facts h2 {
    margin-bottom: 20px;
    font-size: 29px;
}

.hvd-project__facts dl,
.hvd-project__facts dd {
    margin: 0;
}

.hvd-project__facts dl > div {
    padding: 14px 0;
    border-top: 1px solid var(--hvd-line);
}

.hvd-project__facts dt {
    margin-bottom: 3px;
    color: var(--hvd-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hvd-project__facts dd {
    color: var(--hvd-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.hvd-project__content {
    min-width: 0;
    font-size: 17px;
    line-height: 1.8;
}

.hvd-project__content h2 {
    margin: 1.3em 0 .45em;
    font-size: clamp(33px, 4vw, 45px);
}

.hvd-project__content h3 {
    margin: 1.2em 0 .45em;
    font-size: 29px;
}

.hvd-project__content img {
    height: auto;
}

.hvd-project__content .gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.hvd-project__content .gallery-item {
    width: auto !important;
    margin: 0;
}

.hvd-project__content .gallery img {
    width: 100%;
    border: 0 !important;
}

.hvd-project__timeline,
.hvd-project__metrics {
    margin-top: clamp(42px, 6vw, 64px);
}

.hvd-project__timeline > h2,
.hvd-project__metrics > h2 {
    margin-top: 0;
}

.hvd-project__timeline-list {
    position: relative;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.hvd-project__timeline-list::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 2px;
    background: var(--hvd-line);
}

.hvd-project__timeline-item {
    display: grid;
    position: relative;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0 0 30px;
}

.hvd-project__timeline-item:last-child {
    padding-bottom: 0;
}

.hvd-project__timeline-number {
    display: grid;
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--hvd-blue);
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    line-height: 1;
}

.hvd-project__timeline-item > div {
    padding: 2px 0 26px;
    border-bottom: 1px solid var(--hvd-line);
}

.hvd-project__timeline-item:last-child > div {
    border-bottom: 0;
}

.hvd-project__timeline-time {
    display: block;
    margin-bottom: 4px;
    color: var(--hvd-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hvd-project__timeline-item h3 {
    margin: 0 0 6px;
    font-size: 25px;
    line-height: 1.25;
}

.hvd-project__timeline-item p {
    margin: 0;
    color: var(--hvd-muted);
    font-size: 15px;
    line-height: 1.65;
}

.hvd-project__metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.hvd-project__metric-card {
    display: flex;
    min-width: 0;
    min-height: 126px;
    justify-content: center;
    flex-direction: column;
    padding: 18px 17px;
    border: 1px solid #dce9f4;
    border-top: 3px solid var(--hvd-blue);
    /*border-radius: 7px;*/
    background: linear-gradient(145deg, #f2f8fd 0%, #eaf4fc 100%);
    box-shadow: 0 4px 14px rgba(13, 55, 103, .055);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hvd-project__metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 55, 103, .1);
}

.hvd-project__metric-card strong {
    color: var(--hvd-blue-dark);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(32px, 3vw, 42px);
    font-weight: 400;
    line-height: 1;
}

.hvd-project__metric-card > span {
    margin-top: 7px;
    color: var(--hvd-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.hvd-project__metric-card small {
    margin-top: 6px;
    color: var(--hvd-muted);
    font-size: 12px;
    line-height: 1.45;
}

.hvd-project__result {
    margin-top: 45px;
    padding: clamp(28px, 5vw, 48px);
    border-left: 4px solid var(--hvd-blue);
    background: var(--hvd-blue-soft);
}

.hvd-project__result h2 {
    margin-top: 0;
}

.hvd-project__result p:last-child {
    margin-bottom: 0;
}

.hvd-project__video {
    margin-top: 50px;
}

.hvd-project__embed {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #071a2d;
}

.hvd-project__embed iframe,
.hvd-project__embed video {
    width: 100%;
    height: 100%;
    border: 0;
}

.hvd-project__testimonial {
    position: relative;
    margin: 50px 0 0;
    padding: 38px 42px;
    background: var(--hvd-blue-dark);
    color: #fff;
}

.hvd-project__testimonial::before {
    content: "“";
    position: absolute;
    top: 13px;
    left: 22px;
    color: rgba(255, 255, 255, .14);
    font-family: Georgia, serif;
    font-size: 90px;
    line-height: 1;
}

.hvd-project__testimonial blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-style: normal;
    line-height: 1.7;
}

.hvd-project__testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 20px;
}

.hvd-project__testimonial-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
}

.hvd-project__testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hvd-project__testimonial-person {
    display: flex;
    flex-direction: column;
}

.hvd-project__testimonial figcaption strong {
    color: #fff;
}

.hvd-project__testimonial figcaption span {
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
}

.hvd-project__post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: clamp(55px, 7vw, 85px);
    background: var(--hvd-line);
    border: 1px solid var(--hvd-line);
}

.hvd-project__post-navigation-link {
    display: flex;
    min-height: 118px;
    justify-content: center;
    flex-direction: column;
    padding: 24px 28px;
    background: #fff;
    color: var(--hvd-ink);
    transition: background .2s ease, color .2s ease;
}

.hvd-project__post-navigation-link.is-next {
    grid-column: 2;
    text-align: right;
}

.hvd-project__post-navigation-link span {
    margin-bottom: 5px;
    color: var(--hvd-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hvd-project__post-navigation-link strong {
    font-size: 19px;
    line-height: 1.35;
}

.hvd-project__post-navigation-link:hover {
    background: var(--hvd-blue-dark);
    color: #fff;
}

.hvd-project__post-navigation-link:hover span {
    color: #8fd0ff;
}

.hvd-project__related {
    padding: clamp(60px, 8vw, 95px) 0;
    background: #f3f8fc;
}

.hvd-project__related h2 {
    margin-bottom: 34px;
    font-size: clamp(36px, 4vw, 48px);
}

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

.hvd-project__related-card {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    min-width: 0;
    border: 1px solid var(--hvd-line);
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 54, 88, .06);
}

.hvd-project__related-image {
    display: grid;
    min-height: 150px;
    padding: 16px;
    place-items: center;
    border-right: 1px solid var(--hvd-line);
    background: linear-gradient(145deg, #fff, #edf6fc);
}

.hvd-project__related-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.hvd-project__related-image > span {
    color: rgba(25, 104, 194, .25);
    font-family: "Bebas Neue", sans-serif;
    font-size: 44px;
}

.hvd-project__related-body {
    display: flex;
    min-width: 0;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.hvd-project__related-body h3 {
    margin-bottom: 8px;
    font-size: 23px;
    line-height: 1.15;
}

.hvd-project__related-body h3 a {
    color: inherit;
}

.hvd-project__related-body p {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--hvd-muted);
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hvd-project__related-body > span {
    color: var(--hvd-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (max-width: 1023px) {
    .hvd-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hvd-project__hero-grid {
        grid-template-columns: 1fr;
    }

    .hvd-project__gallery {
        max-width: 760px;
    }

    .hvd-project__layout {
        grid-template-columns: 1fr;
    }

    .hvd-project__facts {
        position: static;
    }

    .hvd-project__facts dl {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 25px;
    }

    .hvd-project__related-grid {
        grid-template-columns: 1fr;
    }

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

    .hvd-project__summary-item:nth-child(2n) {
        border-right: 1px solid rgba(255, 255, 255, .14);
    }

    .hvd-project__summary-item:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, .14);
    }
}

@media (max-width: 767px) {
    .hvd-projects__container {
        width: min(100% - 28px, 1290px);
    }

    .hvd-projects__hero {
        padding-top: 112px;
    }

    .hvd-projects__hero h1 {
        font-size: clamp(38px, 11vw, 46px);
        line-height: 1.08;
    }

    .hvd-projects__lead {
        line-height: 1.58;
        text-align: justify;
    }

    .hvd-projects__metrics {
        grid-template-columns: 1fr;
    }

    .hvd-projects__metric + .hvd-projects__metric {
        border-top: 1px solid rgba(255, 255, 255, .18);
        border-left: 0;
    }

    .hvd-projects__metric {
        display: flex;
        min-height: 132px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .hvd-projects__heading,
    .hvd-projects__cta-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .hvd-projects__heading h2 {
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.12;
    }

    .hvd-projects__filter {
        width: 100%;
    }

    .hvd-projects__grid {
        grid-template-columns: 1fr;
    }

    .hvd-projects__cta-inner {
        display: flex;
        gap: 25px;
    }

    .hvd-projects__button {
        width: 100%;
    }

    .hvd-project__hero {
        padding-top: 32px;
        padding-bottom: 30px;
    }

    .hvd-project__hero-grid {
        gap: 24px;
    }

    .hvd-project__intro .hvd-project__title {
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.12;
    }

    .hvd-project__partner-logo {
        margin-right: auto;
        margin-left: auto;
    }

    .hvd-project__partner-logo img {
        max-width: min(280px, 82vw);
        max-height: 130px;
    }

    .hvd-project__layout {
        padding-top: 34px;
    }

    .hvd-project__gallery::before {
        inset: 10px -10px auto 10px;
    }

    .hvd-project__gallery-controls {
        inset: 0 0 auto;
    }

    .hvd-project__gallery-controls button {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .hvd-project__gallery-prev {
        left: 10px;
    }

    .hvd-project__gallery-next,
    .hvd-project__gallery-count {
        right: 10px;
    }

    .hvd-project__gallery-count {
        bottom: 10px;
    }

    .hvd-project__gallery-thumbnail {
        width: 66px;
        height: 48px;
        min-width: 66px;
    }

    .hvd-project__lightbox {
        padding: 60px 14px 78px;
    }

    .hvd-project__lightbox-frame img {
        max-height: calc(100vh - 165px);
    }

    .hvd-project__lightbox-prev,
    .hvd-project__lightbox-next {
        top: auto;
        bottom: 16px;
        transform: none;
    }

    .hvd-project__lightbox-prev {
        left: calc(50% - 58px);
    }

    .hvd-project__lightbox-next {
        right: calc(50% - 58px);
    }

    .hvd-project__post-navigation {
        grid-template-columns: 1fr;
    }

    .hvd-project__post-navigation-link.is-next {
        grid-column: 1;
    }

    .hvd-project__related-card {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .hvd-project__summary-item {
        min-height: 122px;
        padding: 20px 18px;
        text-align: center;
    }

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

    .hvd-project__metric-card {
        min-height: 116px;
        padding: 16px 15px;
    }

    .hvd-project__related h2 {
        font-size: clamp(34px, 10vw, 42px);
        line-height: 1.12;
    }

    .hvd-projects__theme-button {
        width: 100%;
        justify-content: center;
    }

    .hvd-project__facts dl {
        grid-template-columns: 1fr;
    }

    .hvd-project__content .gallery {
        grid-template-columns: 1fr;
    }

    .hvd-project__testimonial {
        padding: 32px 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hvd-project-card,
    .hvd-project-card__image img,
    .hvd-project__gallery-item img,
    .hvd-project__post-navigation-link,
	.hvd-projects__text-link,
	.hvd-projects__text-link span {
        transition: none;
    }
}

@media (max-width: 520px) {
    .hvd-project__metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 18px;
    }

    .hvd-project__metric-card {
        min-height: 108px;
        padding: 14px 12px;
        border-radius: 6px;
    }

    .hvd-project__metric-card strong {
        font-size: clamp(28px, 8vw, 36px);
    }

    .hvd-project__metric-card > span {
        margin-top: 6px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hvd-project__metric-card {
        transition: none;
    }
}
