:root {
    --qma-blue: #00032f;
    --qma-blue-2: #00064d;
    --qma-green: #00ff6b;
    --qma-white: #ffffff;
    --qma-muted: rgba(255, 255, 255, 0.74);
    --qma-soft: rgba(255, 255, 255, 0.08);
    --qma-line: rgba(255, 255, 255, 0.16);
    --qma-radius: 10px;
    --qma-font: "Pilat", "Pilat Extended", "Arial", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.qma-figma-page {
    margin: 0;
    background: var(--qma-blue);
    color: var(--qma-white);
    font-family: var(--qma-font);
    letter-spacing: 0;
}

.qma-page-shell {
    min-height: 100vh;
    overflow: hidden;
    background: var(--qma-blue);
}

.qma-container {
    width: min(1478px, calc(100% - 48px));
    margin: 0 auto;
}

.qma-site-header {
    position: absolute;
    top: 9px;
    right: 0;
    left: 0;
    z-index: 20;
    padding: 0 26px;
}

.qma-navbar {
    display: flex;
    gap: 354px;
    align-items: center;
    justify-content: center;
    max-width: 1676px;
    height: 83px;
    margin: 0 auto;
    padding: 13px 46px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--qma-radius);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(7px);
    box-shadow: none;
}

.qma-navbar .navbar-collapse {
    flex-grow: 0;
    gap: 22px;
    align-items: center;
}

.qma-navbar .navbar-brand {
    flex: 0 0 181px;
    padding: 0;
    margin: 0;
}

.qma-brand img {
    display: block;
    width: 181px;
    height: 63px;
    object-fit: contain;
}

.qma-nav {
    gap: 32px;
    align-items: center;
    height: 40px;
}

.qma-nav .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 0 4px;
    color: var(--qma-white);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.qma-nav .nav-link:hover,
.qma-nav .nav-link:focus,
.qma-nav .nav-link.active {
    color: var(--qma-green);
}

.qma-nav .nav-link.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -12px;
    width: 31px;
    height: 43px;
    border-radius: 999px 0 0 999px;
    background: var(--qma-green);
    transform: translateY(-50%);
    z-index: -1;
    clip-path: polygon(0 0, 74% 0, 42% 100%, 0 100%);
}

.qma-nav .dropdown-toggle::after {
    width: 11.5px;
    height: 6px;
    margin-left: 8px;
    border: 0;
    background: url("../images/figma-home/icon-dropdown.svg") center / contain no-repeat;
}

.qma-dropdown {
    padding: 12px;
    border: 1px solid var(--qma-line);
    border-radius: 8px;
    background: rgba(0, 3, 47, 0.98);
}

.qma-dropdown .dropdown-item {
    border-radius: 4px;
    color: var(--qma-white);
    font-size: 13px;
}

.qma-dropdown .dropdown-item:hover,
.qma-dropdown .dropdown-item:focus {
    background: var(--qma-green);
    color: var(--qma-blue);
}

.qma-header-actions {
    display: flex;
    flex: 0 0 318px;
    width: 318px;
    gap: 30px;
    align-items: center;
}

.qma-header-divider {
    width: 1px;
    height: 12px;
    background: var(--qma-white);
    opacity: 0.72;
}

.qma-lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 16px;
    border: 0;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--qma-white);
    font-size: 12px;
    font-weight: 900;
    line-height: 20px;
    letter-spacing: 0.24px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.qma-lang-pill img {
    display: block;
    width: 21.75px;
    height: 21px;
}

.qma-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 184px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--qma-green);
    border-radius: 3px;
    background: var(--qma-green);
    color: var(--qma-blue);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.qma-action:hover,
.qma-action:focus {
    background: transparent;
    color: var(--qma-green);
    transform: translateY(-1px);
}

.qma-action-sm {
    min-width: 181px;
    min-height: 38px;
    font-size: 12px;
}

.qma-login-button {
    display: grid;
    grid-template-columns: 39px 1fr;
    align-items: center;
    width: 181px;
    height: 38px;
    overflow: hidden;
    border-radius: 3px;
    background: blue;
    color: var(--qma-white);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.qma-login-icon {
    display: grid;
    width: 39px;
    height: 38px;
    place-items: center;
    background: var(--qma-green);
    color: blue;
}

.qma-login-icon img {
    display: block;
    width: 18.76px;
    height: 18.76px;
}

.qma-login-label {
    display: grid;
    height: 38px;
    place-items: center;
    padding-bottom: 4px;
}

.qma-hero {
    position: relative;
    min-height: 907px;
    margin: 8px;
    overflow: hidden;
    border-radius: var(--qma-radius);
    background-image: linear-gradient(118deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.12) 64%, rgba(0, 0, 0, 0.32) 100%), url("../images/figma-home/hero.jpg");
    background-position: center;
    background-size: cover;
}

.qma-hero-content {
    position: relative;
    z-index: 2;
    width: min(730px, calc(100% - 48px));
    padding-top: 240px;
    margin-left: 98px;
}

.qma-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--qma-white);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.qma-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--qma-green);
}

.qma-hero-title,
.qma-section-title {
    margin: 22px 0 0;
    color: var(--qma-white);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.qma-hero-title {
    font-size: 59px;
}

.qma-section-title {
    max-width: 780px;
    font-size: 54px;
}

.qma-green {
    color: var(--qma-green);
}

.qma-hero-title .qma-green {
    text-shadow: 5px 5px 0 var(--qma-white);
}

.qma-lead {
    max-width: 650px;
    margin: 27px 0 0;
    color: var(--qma-muted);
    font-size: 24px;
    line-height: 1.45;
}

.qma-hero .qma-action {
    margin-top: 38px;
}

.qma-social-rail {
    position: absolute;
    right: 45px;
    top: 333px;
    z-index: 2;
    display: grid;
    gap: 18px;
}

.qma-social-rail a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--qma-white);
    text-decoration: none;
}

.qma-hero-panel {
    position: absolute;
    right: 45px;
    bottom: 45px;
    z-index: 2;
    width: min(470px, calc(100% - 90px));
    padding: 28px;
    border-radius: 4px;
    background: rgba(0, 3, 47, 0.88);
}

.qma-hero-panel strong {
    display: block;
    margin-bottom: 9px;
    color: var(--qma-green);
    font-size: 18px;
    text-transform: uppercase;
}

.qma-hero-panel p {
    margin: 0;
    color: var(--qma-muted);
    font-size: 14px;
    line-height: 1.55;
}

.qma-section {
    padding: 103px 0;
}

.qma-about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 90px;
    align-items: start;
}

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

.qma-copy p {
    margin: 0 0 23px;
}

.qma-why {
    margin: 0 8px;
    padding: 106px 0;
    border-radius: var(--qma-radius);
    background: radial-gradient(circle at 78% 20%, rgba(0, 255, 107, 0.09), transparent 25%), #000426;
}

.qma-why-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.qma-feature-list {
    display: grid;
    gap: 18px;
}

.qma-feature {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 24px;
    padding: 31px 0;
    border-bottom: 1px solid var(--qma-line);
}

.qma-feature:first-child {
    padding-top: 0;
}

.qma-feature-icon {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 50%;
    background: var(--qma-green);
    color: var(--qma-blue);
    font-size: 28px;
}

.qma-feature h3 {
    margin: 0 0 10px;
    font-size: 27px;
    font-weight: 900;
    text-transform: uppercase;
}

.qma-feature p {
    max-width: 650px;
    margin: 0;
    color: var(--qma-muted);
    font-size: 17px;
    line-height: 1.65;
}

.qma-cta {
    margin: 154px 8px 0;
    padding: 122px 0;
    overflow: hidden;
    border-radius: var(--qma-radius);
    background-image: linear-gradient(100deg, rgba(0, 3, 47, 0.91), rgba(0, 3, 47, 0.2)), url("../images/figma-home/cta.jpg");
    background-position: center;
    background-size: cover;
}

.qma-cta-card {
    max-width: 790px;
    margin-left: 96px;
}

.qma-news-head {
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 46px;
}

.qma-news-head .qma-copy {
    max-width: 610px;
}

.qma-news-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
}

.qma-news-card {
    position: relative;
    min-height: 254px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--qma-blue-2);
    color: var(--qma-white);
}

.qma-news-card img {
    width: 100%;
    height: 100%;
    min-height: 254px;
    object-fit: cover;
    filter: saturate(1.05);
}

.qma-news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 18%, rgba(0, 3, 47, 0.92) 100%);
}

.qma-news-card-featured {
    min-height: 546px;
}

.qma-news-card-featured img {
    min-height: 546px;
}

.qma-news-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 28px;
}

.qma-news-date {
    margin-bottom: 10px;
    color: var(--qma-green);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.qma-news-body h3 {
    margin: 0 0 12px;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.24;
    text-transform: uppercase;
}

.qma-news-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.6;
}

.qma-news-side {
    display: grid;
    gap: 24px;
}

.qma-news-list {
    display: grid;
    gap: 14px;
}

.qma-news-row {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--qma-white);
    text-decoration: none;
}

.qma-news-row strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.qma-news-row span {
    display: block;
    color: var(--qma-muted);
    font-size: 13px;
    line-height: 1.5;
}

.qma-experience {
    margin: 112px 8px 0;
    padding: 100px 0;
    border-radius: var(--qma-radius);
    background: linear-gradient(135deg, rgba(0, 255, 107, 0.08), transparent 30%), #000426;
}

.qma-experience-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 70px;
    align-items: center;
}

.qma-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 158px;
    gap: 14px;
}

.qma-mosaic img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.qma-mosaic .wide {
    grid-column: span 2;
}

.qma-mosaic .tall {
    grid-row: span 2;
}

.qma-footer {
    position: relative;
    overflow: hidden;
    padding: 64px 0 38px;
    background:
        radial-gradient(ellipse at 42% 88%, rgba(0, 255, 107, 0.52) 0, rgba(0, 255, 107, 0.28) 21%, rgba(0, 255, 107, 0.08) 42%, rgba(0, 255, 107, 0) 66%),
        radial-gradient(ellipse at 30% 38%, rgba(0, 255, 107, 0.16) 0, rgba(0, 255, 107, 0.07) 24%, rgba(0, 255, 107, 0) 58%),
        linear-gradient(180deg, #07101b 0%, #06091f 48%, #061119 100%);
}

.qma-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background:
        repeating-linear-gradient(55deg, transparent 0 38px, rgba(0, 0, 0, 0.58) 39px 48px, transparent 49px 78px),
        linear-gradient(180deg, transparent 0%, rgba(0, 255, 107, 0.12) 72%, rgba(0, 255, 107, 0.22) 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 34%, #000 100%);
}

.qma-footer .qma-container {
    position: relative;
    z-index: 1;
}

.qma-footer-main {
    display: grid;
    grid-template-columns: 460px 1px 1fr;
    gap: 68px;
    align-items: start;
    min-height: 142px;
}

.qma-footer-brand {
    display: flex;
    gap: 28px;
    align-items: center;
    width: 460px;
}

.qma-footer-logo {
    display: block;
    width: 142px;
    height: 96px;
    object-fit: contain;
    margin: 0;
    border: 0;
    outline: 0;
}

.qma-footer-brand a,
.qma-footer-brand a:focus,
.qma-footer-brand a:focus-visible {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.qma-footer-brand p {
    flex: 1 1 auto;
    margin: 0;
    opacity: 0.8;
}

.qma-footer p,
.qma-footer a {
    color: var(--qma-white);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.qma-footer a {
    text-decoration: none;
}

.qma-footer a:hover,
.qma-footer a:focus {
    color: var(--qma-green);
}

.qma-footer-vertical-line {
    display: block;
    width: 1px;
    height: 80px;
    background: var(--qma-white);
    opacity: 0.2;
}

.qma-footer-columns {
    display: flex;
    gap: 52px;
    align-items: flex-start;
}

.qma-footer-col {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
}

.qma-footer-col-academy,
.qma-footer-col-contact {
    width: 170px;
}

.qma-footer-col-links {
    width: 120px;
}

.qma-footer h5 {
    width: 100%;
    margin: 0;
    color: var(--qma-green);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}

.qma-footer ul {
    display: grid;
    gap: 7px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.qma-footer li {
    min-height: 15px;
}

.qma-footer-contact-list li {
    display: flex;
    gap: 5px;
    align-items: flex-start;
    width: 210px;
    min-height: 20px;
}

.qma-footer-contact-list img {
    display: block;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-top: 1px;
}

.qma-footer-contact-list span,
.qma-footer-contact-list a {
    width: 190px;
}

.qma-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 36px;
    margin-top: 46px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.qma-footer-bottom p {
    margin: 0;
}

.qma-footer-policy {
    display: flex;
    gap: 19px;
    align-items: center;
}

.qma-footer-policy a + a {
    position: relative;
}

.qma-footer-policy a + a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 1px;
    height: 9px;
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-50%);
}

.qma-inner-main {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 95px 0 120px;
    background:
        radial-gradient(circle at 50% 34%, rgba(0, 255, 107, 0.11) 0, rgba(0, 255, 107, 0.03) 28%, rgba(0, 255, 107, 0) 54%),
        var(--qma-blue);
}

.qma-inner-main::before {
    content: "";
    position: absolute;
    top: 620px;
    left: 50%;
    width: 1162px;
    height: 1162px;
    pointer-events: none;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0, 255, 107, 0.15) 0, rgba(0, 255, 107, 0.08) 16%, rgba(0, 255, 107, 0) 46%);
    opacity: 0.8;
    transform: translateX(-50%);
}

.qma-page-hero {
    position: relative;
    z-index: 1;
    width: min(1668px, calc(100% - 62px));
    min-height: 432px;
    margin: 0 auto;
}

.qma-page-hero-media,
.qma-page-hero-title {
    position: absolute;
    right: 0;
    left: 0;
    overflow: hidden;
    border-radius: 10px;
}

.qma-page-hero-media {
    top: 0;
    height: 294px;
    background:
        var(--qma-about-arrow-image, none) left center / 360px auto no-repeat,
        linear-gradient(90deg, rgba(0, 5, 42, 0.96) 0%, rgba(0, 8, 52, 0.82) 12%, rgba(0, 13, 54, 0.48) 28%, rgba(0, 13, 54, 0.16) 45%, rgba(0, 13, 54, 0.02) 68%),
        radial-gradient(circle at 10% 0%, rgba(0, 255, 107, 0.2), transparent 20%),
        url("../images/figma-home/hero.jpg") center / cover no-repeat;
}

.qma-page-hero-media::after,
.qma-page-hero-title::after {
    content: "";
    position: absolute;
    top: -35%;
    right: -8%;
    width: 64%;
    height: 150%;
    opacity: 0.16;
    background: repeating-linear-gradient(135deg, transparent 0 42px, rgba(255, 255, 255, 0.18) 43px 53px, transparent 54px 88px);
    transform: skewX(-10deg);
}

.qma-page-hero-title {
    bottom: 0;
    height: 217px;
    background: #00042f;
}

.qma-page-title-wrap {
    position: absolute;
    left: 129px;
    bottom: 35px;
    z-index: 2;
}

.qma-page-title {
    margin: 0;
    color: var(--qma-white);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    text-transform: none;
}

.qma-page-title .qma-green {
    color: var(--qma-green);
}

.qma-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.qma-crumbs a,
.qma-crumbs span {
    color: inherit;
    text-decoration: none;
}

.qma-crumbs span:last-child,
.qma-crumbs a:last-child {
    color: var(--qma-white);
}

.qma-inner-content {
    position: relative;
    z-index: 1;
    width: min(1407px, calc(100% - 48px));
    margin: 78px auto 0;
}

.qma-news-page-grid,
.qma-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.qma-list-card {
    position: relative;
    display: block;
    min-height: 351px;
    overflow: hidden;
    color: var(--qma-white);
    text-decoration: none;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
}

.qma-list-card img {
    width: 100%;
    height: 100%;
    min-height: 351px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.qma-list-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 29%, rgba(0, 0, 0, 0.78) 100%);
}

.qma-list-card:hover img,
.qma-list-card:focus img {
    transform: scale(1.04);
}

.qma-list-card-body {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 2;
}

.qma-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 8px 15px;
    margin-bottom: 18px;
    color: var(--qma-white);
    font-size: 14px;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 26px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(7px);
}

.qma-list-card-date,
.qma-detail-date {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--qma-green);
    font-size: 14px;
    font-weight: 700;
}

.qma-list-card h2,
.qma-list-card h3 {
    margin: 14px 0 0;
    color: var(--qma-white);
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.qma-pagination {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.qma-pagination nav,
.qma-pagination ul {
    margin: 0;
}

.qma-pagination nav {
    width: 100%;
}

.qma-pagination p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 14px;
}

.qma-pagination nav > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.qma-pagination nav > div:first-child {
    display: none;
}

.qma-pagination nav > div:last-child {
    flex-wrap: wrap;
}

.qma-pagination nav > div:last-child > div:last-child,
.qma-pagination nav > div:last-child > div:last-child > span {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.qma-pagination .pagination {
    gap: 8px;
}

.qma-pagination .page-link,
.qma-pagination nav a,
.qma-pagination nav span.relative,
.qma-pagination nav span[aria-current] span,
.qma-pagination nav span[aria-disabled] span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    color: var(--qma-white);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;
}

.qma-pagination .active > .page-link,
.qma-pagination .page-link:hover,
.qma-pagination nav a:hover,
.qma-pagination nav span[aria-current] span {
    color: #001428;
    border-color: var(--qma-green);
    background: var(--qma-green);
}

.qma-pagination svg {
    width: 18px;
    height: 18px;
}

.qma-detail-layout {
    display: grid;
    grid-template-columns: 59px minmax(0, 833px);
    gap: 36px;
    justify-content: center;
    width: min(928px, 100%);
    margin: 0 auto;
}

.qma-detail-image {
    width: min(928px, 100%);
    height: 527px;
    margin: 0 auto 33px;
    overflow: hidden;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
}

.qma-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qma-share-rail {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 8px;
    min-height: 250px;
    padding: 12px 0;
    color: var(--qma-white);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.06);
}

.qma-share-rail span {
    margin-bottom: 12px;
    font-size: 14px;
}

.qma-share-rail a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--qma-white);
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.qma-share-rail a:hover {
    color: var(--qma-green);
}

.qma-detail-copy {
    color: rgba(255, 255, 255, 0.76);
    font-size: 16px;
    line-height: 1.72;
}

.qma-detail-copy h1,
.qma-detail-copy h2 {
    margin: 16px 0 28px;
    color: var(--qma-white);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.qma-detail-copy p {
    margin-bottom: 18px;
}

.qma-related-section {
    position: relative;
    width: min(1668px, calc(100% - 62px));
    margin: 56px auto 0;
    padding: 78px 100px;
    overflow: hidden;
    border-radius: 10px;
    background:
        radial-gradient(circle at 87% 50%, rgba(0, 255, 107, 0.12), transparent 34%),
        #00042f;
}

.qma-related-head {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    margin-bottom: 34px;
}

.qma-related-head h2 {
    margin: 0;
    color: var(--qma-white);
    font-size: 38px;
    font-weight: 900;
}

.qma-article-card {
    width: min(1407px, calc(100% - 48px));
    margin: 78px auto 0;
    padding: 60px;
    color: rgba(255, 255, 255, 0.78);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 255, 107, 0.28);
}

.qma-article-card h1,
.qma-article-card h2,
.qma-article-card h3,
.qma-article-card h4 {
    color: var(--qma-white);
}

.qma-article-card a {
    color: var(--qma-green);
}

.qma-article-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.qma-article-card .our-teacher {
    margin-top: 56px;
}

.qma-article-card .teacher-box {
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.qma-about-page {
    padding-bottom: 0;
    background:
        radial-gradient(circle at 50% 44%, rgba(0, 255, 107, 0.1) 0, rgba(0, 255, 107, 0.035) 28%, rgba(0, 255, 107, 0) 55%),
        #0d0d18;
}

.qma-about-page::before {
    top: 470px;
    opacity: 0.58;
}

.qma-about-hero .qma-page-hero-media {
    background:
        linear-gradient(124deg, rgba(0, 3, 47, 0.98) 0, rgba(0, 3, 47, 0.74) 14%, rgba(0, 3, 47, 0) 36%),
        radial-gradient(circle at 0 0, rgba(0, 255, 107, 0.22), transparent 25%),
        url("../images/figma-home/hero.jpg") center 48% / cover no-repeat;
}

.qma-about-design {
    position: relative;
    z-index: 1;
    width: min(1478px, calc(100% - 260px));
    margin: 78px auto 96px;
    color: var(--qma-white);
}

.qma-about-design .about-ourInfo {
    margin: 0;
    padding: 0;
    background: transparent;
}

.qma-about-design .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.qma-about-design .section-title {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: 122px;
    align-items: start;
    margin: 0 0 58px;
}

.qma-about-design .section-title h2 {
    position: relative;
    margin: 48px 0 0;
    color: var(--qma-white);
    font-size: 34px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.qma-about-design .section-title h2::before {
    content: "About us";
    position: absolute;
    top: -42px;
    left: 0;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 12px;
    color: var(--qma-green);
    border-radius: 999px;
    background: rgba(0, 255, 107, 0.12);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: none;
}

.qma-about-design .section-title h2 span {
    color: var(--qma-green);
}

.qma-about-design .section-title p {
    margin: 58px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
}

.qma-about-design .row {
    --bs-gutter-x: 16px;
    --bs-gutter-y: 16px;
}

.qma-about-design .col-sm-6 {
    position: relative;
    min-height: 351px;
    padding: 36px 32px 68px;
    overflow: hidden;
    border-radius: 7px;
    background: #00042f;
}

.qma-about-design .col-sm-6::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 32px;
    width: 264px;
    height: 46px;
    background:
        linear-gradient(45deg, transparent 0 38%, rgba(0, 255, 107, 0.62) 39% 57%, transparent 58%) 0 0 / 34px 46px repeat-x;
    opacity: 0.78;
}

.qma-about-design .col-sm-6 h3 {
    margin: 0 0 20px;
    color: var(--qma-white);
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
}

.qma-about-design .col-sm-6 p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
}

.qma-about-design .col-sm-6 p:empty,
.qma-about-design .col-sm-6 p:has(> br:only-child) {
    display: none;
}

@media (max-width: 1199.98px) {
    .qma-site-header {
        padding: 0 14px;
    }

    .qma-navbar {
        height: auto;
        gap: 0;
        padding: 12px 18px;
    }

    .qma-navbar .navbar-collapse {
        flex-grow: 1;
        gap: 0;
    }

    .qma-nav {
        align-items: flex-start;
        height: auto;
        padding: 24px 0 12px;
    }

    .qma-header-actions {
        width: auto;
        flex: initial;
        align-items: flex-start;
        padding-top: 14px;
    }

    .qma-header-divider {
        display: none;
    }

    .qma-hero-content {
        margin-left: 56px;
    }

    .qma-about-grid,
    .qma-why-grid,
    .qma-experience-grid,
    .qma-news-grid,
    .qma-footer-main {
        grid-template-columns: 1fr;
    }

    .qma-footer-main {
        gap: 40px;
    }

    .qma-footer-brand {
        width: auto;
    }

    .qma-footer-vertical-line {
        display: none;
    }

    .qma-footer-columns {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .qma-page-title-wrap {
        left: 56px;
        right: 56px;
    }

    .qma-news-page-grid,
    .qma-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qma-related-section {
        padding: 64px 48px;
    }

    .qma-news-head {
        display: block;
    }

    .qma-news-head .qma-copy {
        margin-top: 24px;
    }
}

@media (max-width: 767.98px) {
    .qma-container {
        width: min(100% - 32px, 1478px);
    }

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

    .qma-header-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .qma-action-sm {
        min-width: 0;
    }

    .qma-hero {
        min-height: 760px;
        margin: 6px;
    }

    .qma-hero-content {
        width: calc(100% - 32px);
        padding-top: 210px;
        margin-left: 16px;
    }

    .qma-hero-title,
    .qma-section-title {
        font-size: 34px;
    }

    .qma-lead {
        font-size: 18px;
    }

    .qma-social-rail,
    .qma-hero-panel {
        display: none;
    }

    .qma-section,
    .qma-why,
    .qma-experience {
        padding: 72px 0;
    }

    .qma-cta {
        margin-top: 72px;
        padding: 82px 0;
    }

    .qma-cta-card {
        margin-left: 0;
    }

    .qma-feature {
        grid-template-columns: 56px 1fr;
        gap: 16px;
    }

    .qma-feature-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .qma-feature h3 {
        font-size: 22px;
    }

    .qma-news-card-featured,
    .qma-news-card-featured img {
        min-height: 430px;
    }

    .qma-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 128px;
    }

    .qma-footer-bottom {
        display: grid;
    }

    .qma-inner-main {
        padding-top: 92px;
    }

    .qma-page-hero {
        width: min(100% - 32px, 1668px);
        min-height: 360px;
    }

    .qma-page-hero-media {
        height: 230px;
    }

    .qma-page-hero-title {
        height: 185px;
    }

    .qma-page-title-wrap {
        left: 24px;
        right: 24px;
        bottom: 30px;
    }

    .qma-page-title,
    .qma-related-head h2 {
        font-size: 30px;
    }

    .qma-crumbs {
        font-size: 12px;
    }

    .qma-inner-content,
    .qma-article-card {
        width: calc(100% - 32px);
        margin-top: 56px;
    }

    .qma-news-page-grid,
    .qma-related-grid {
        grid-template-columns: 1fr;
    }

    .qma-detail-image {
        height: 320px;
    }

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

    .qma-share-rail {
        display: flex;
        min-height: 0;
        padding: 12px;
    }

    .qma-share-rail span {
        margin: 0 12px 0 0;
    }

    .qma-detail-copy h1,
    .qma-detail-copy h2 {
        font-size: 24px;
    }

    .qma-related-section {
        width: calc(100% - 32px);
        padding: 48px 24px;
    }

    .qma-related-head {
        display: grid;
    }

    .qma-article-card {
        padding: 28px;
    }
}

@media (max-width: 1199.98px) {
    .qma-about-design {
        width: calc(100% - 48px);
        margin-top: 64px;
    }

    .qma-about-design .section-title {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 38px;
    }

    .qma-about-design .section-title h2,
    .qma-about-design .section-title p {
        margin-top: 42px;
    }

    .qma-about-design .col-sm-6 {
        min-height: 0;
        padding: 30px 26px 62px;
    }
}

@media (max-width: 767.98px) {
    .qma-about-page .qma-page-hero {
        min-height: 330px;
    }

    .qma-about-page .qma-page-hero-media {
        height: 205px;
        background-position: 58% 48%;
    }

    .qma-about-design {
        width: calc(100% - 32px);
        margin: 44px auto 64px;
    }

    .qma-about-design .section-title {
        gap: 10px;
        margin-bottom: 28px;
    }

    .qma-about-design .section-title h2 {
        font-size: 25px;
    }

    .qma-about-design .section-title p {
        margin-top: 12px;
        font-size: 13px;
    }

    .qma-about-design .row {
        --bs-gutter-y: 14px;
    }

    .qma-about-design .col-sm-6 {
        padding: 26px 20px 58px;
    }

    .qma-about-design .col-sm-6 h3 {
        font-size: 22px;
    }

    .qma-about-design .col-sm-6 p {
        font-size: 13px;
    }
}

/* Homepage alignment with the existing header and hero design */
body.qma-figma-page {
    background:
        radial-gradient(circle at 74% 20%, rgba(0, 255, 107, 0.14) 0, rgba(0, 255, 107, 0.04) 24%, rgba(0, 255, 107, 0) 45%),
        #0d0c19;
}

.qma-page-shell {
    background:
        radial-gradient(circle at 76% 18%, rgba(0, 255, 107, 0.12) 0, rgba(0, 255, 107, 0.04) 22%, rgba(0, 255, 107, 0) 47%),
        linear-gradient(180deg, #0d0c19 0%, #090818 52%, #08101a 100%);
}

.qma-hero .qma-kicker {
    display: none;
}

.qma-action {
    min-width: 0;
    min-height: 42px;
    gap: 0;
    padding: 0 0 0 19px;
    border: 0;
    border-radius: 3px;
    background: blue;
    color: var(--qma-white);
    font-size: 13px;
    line-height: 1;
    overflow: hidden;
}

.qma-action::after,
.qma-square-arrow::after,
.qma-more-link::after {
    content: "\f061";
    display: grid;
    place-items: center;
    font-family: FontAwesome;
    font-size: 14px;
}

.qma-action::after {
    width: 42px;
    height: 42px;
    margin-left: 14px;
    border: 2px solid var(--qma-green);
    background: blue;
    color: var(--qma-white);
}

.qma-action:hover,
.qma-action:focus {
    background: var(--qma-green);
    color: var(--qma-blue);
}

.qma-action-sm {
    min-height: 38px;
    padding-left: 17px;
    font-size: 11px;
}

.qma-action-sm::after {
    width: 38px;
    height: 38px;
}

.qma-kicker {
    min-height: 24px;
    padding: 0 13px;
    border: 0;
    background: rgba(0, 255, 107, 0.12);
    color: var(--qma-green);
    font-size: 11px;
    font-weight: 800;
    text-transform: none;
}

.qma-kicker::before {
    display: none;
}

.qma-section-title {
    max-width: 580px;
    margin-top: 16px;
    font-size: 34px;
    line-height: 1.04;
}

.qma-copy {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.52;
}

.qma-copy p {
    margin-bottom: 18px;
}

.qma-section {
    position: relative;
    padding: 112px 0;
}

.qma-about-grid {
    grid-template-columns: 430px minmax(0, 1fr);
    gap: 110px;
    align-items: center;
}

.qma-about-grid .qma-action {
    margin-top: 6px !important;
}

.qma-why {
    margin: 40px 8px 0;
    padding: 0;
    border-radius: 3px;
    background: #00043f;
}

.qma-why-grid {
    width: 100%;
    display: block;
}

.qma-why-grid > div:first-child {
    display: grid;
    grid-template-columns: minmax(260px, 510px) minmax(260px, 575px);
    justify-content: space-between;
    gap: 40px;
    padding: 63px 118px 61px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.qma-why-grid > div:first-child .qma-copy {
    max-width: 565px;
    margin-top: 22px !important;
}

.qma-feature-list {
    display: block;
}

.qma-feature {
    display: grid;
    grid-template-columns: 210px minmax(280px, 560px) 42px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 199px;
    padding: 42px 118px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.qma-feature:first-child {
    padding-top: 42px;
}

.qma-feature-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 18px;
    font-size: 22px;
}

.qma-feature-head {
    display: grid;
    align-content: center;
    justify-items: start;
}

.qma-feature h3 {
    max-width: 155px;
    margin: 0;
    color: var(--qma-green);
    font-size: 18px;
    line-height: 1.08;
}

.qma-feature p {
    max-width: none;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.qma-square-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 4px solid var(--qma-green);
    border-radius: 2px;
    background: blue;
    color: var(--qma-white);
    text-decoration: none;
}

.qma-square-arrow:hover,
.qma-square-arrow:focus {
    background: var(--qma-green);
    color: var(--qma-blue);
}

.qma-cta {
    min-height: 448px;
    margin: 120px 8px 0;
    padding: 0;
    display: flex;
    align-items: center;
    border-radius: 3px;
    background-image:
        linear-gradient(90deg, rgba(0, 38, 18, 0.92) 0%, rgba(20, 13, 30, 0.72) 50%, rgba(0, 3, 47, 0.05) 100%),
        url("../images/figma-home/cta.jpg");
    background-position: center;
    background-size: cover;
}

.qma-cta-card {
    max-width: 560px;
    /*margin-left: 118px;*/
}

.qma-cta .qma-section-title {
    max-width: 460px;
}

.qma-cta .qma-lead {
    max-width: 520px;
    margin: 18px 0 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.qma-cta .qma-action {
    margin-top: 22px;
}

.qma-news-layout {
    display: grid;
    grid-template-columns: 370px minmax(0, 690px) 330px;
    gap: 28px;
    align-items: start;
}

.qma-news-layout > div:first-child .qma-copy {
    max-width: 310px;
    margin-top: 23px;
}

.qma-news-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 14px;
}

.qma-news-card {
    min-height: 221px;
    border-radius: 2px;
}

.qma-news-card img {
    min-height: 221px;
}

.qma-news-card-featured,
.qma-news-card-featured img {
    min-height: 460px;
}

.qma-news-side {
    gap: 18px;
}

.qma-news-body {
    padding: 20px;
}

.qma-news-date,
.qma-news-row small {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 11px;
    font-weight: 700;
    text-transform: none;
}

.qma-news-body h3 {
    margin-bottom: 10px;
    color: var(--qma-green);
    font-size: 16px;
    line-height: 1.12;
}

.qma-news-card-featured .qma-news-body h3 {
    font-size: 19px;
}

.qma-news-body p {
    font-size: 12px;
    line-height: 1.42;
}

.qma-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--qma-green);
    font-size: 11px;
    font-weight: 900;
}

.qma-more-link::after {
    font-size: 10px;
}

.qma-news-list {
    gap: 0;
}

.qma-news-row {
    padding: 0 0 21px;
    margin-bottom: 21px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.qma-news-row strong {
    margin-bottom: 8px;
    color: var(--qma-green);
    font-size: 16px;
    line-height: 1.15;
}

.qma-news-row span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.qma-experience {
    min-height: 550px;
    margin: 70px 8px 0;
    padding: 0;
    display: flex;
    align-items: center;
    border-radius: 3px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 31, 75, 0.96) 0%, rgba(0, 14, 58, 0.88) 34%, rgba(0, 6, 40, 0.46) 100%),
        linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, 0.05) 23px 31px, transparent 32px 54px),
        #00043f;
}

.qma-experience-grid {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

.qma-experience .qma-copy {
    max-width: 285px;
}

.qma-experience .qma-action {
    margin-top: 18px;
}

.qma-mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 95px;
    gap: 10px;
    transform: rotate(-2deg);
}

.qma-mosaic img {
    border-radius: 2px;
    box-shadow: 0 11px 24px rgba(0, 0, 0, 0.34);
}

.qma-mosaic .wide {
    grid-column: span 2;
}

.qma-mosaic .tall {
    grid-row: span 2;
}

@media (max-width: 1399.98px) {
    .qma-news-layout {
        grid-template-columns: 320px minmax(0, 1fr);
    }

    .qma-news-list {
        grid-column: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .qma-news-list .qma-action {
        align-self: start;
        justify-self: start;
    }
}

@media (max-width: 1199.98px) {
    .qma-about-grid,
    .qma-news-layout,
    .qma-experience-grid {
        grid-template-columns: 1fr;
    }

    .qma-about-grid {
        gap: 34px;
    }

    .qma-why-grid > div:first-child {
        grid-template-columns: 1fr;
        padding: 54px 48px;
    }

    .qma-feature {
        grid-template-columns: 190px minmax(0, 1fr) 42px;
        padding: 38px 48px;
    }

    .qma-cta-card {
        margin-left: 48px;
    }

    .qma-news-list {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    .qma-section {
        padding: 72px 0;
    }

    .qma-section-title {
        font-size: 30px;
    }

    .qma-about-grid {
        gap: 28px;
    }

    .qma-why-grid > div:first-child,
    .qma-feature {
        padding: 34px 22px;
    }

    .qma-feature {
        grid-template-columns: 1fr 38px;
        gap: 18px;
    }

    .qma-feature-icon {
        width: 50px;
        height: 50px;
    }

    .qma-feature h3 {
        max-width: none;
        font-size: 17px;
    }

    .qma-feature p {
        grid-column: 1 / -1;
    }

    .qma-square-arrow {
        width: 38px;
        height: 38px;
        grid-column: 2;
        grid-row: 1;
    }

    .qma-cta {
        min-height: 430px;
        margin-top: 70px;
    }

    .qma-cta-card {
        max-width: none;
        margin: 0 22px;
    }

    .qma-news-layout,
    .qma-news-grid,
    .qma-news-list {
        grid-template-columns: 1fr;
    }

    .qma-news-card-featured,
    .qma-news-card-featured img {
        min-height: 390px;
    }

    .qma-experience {
        min-height: 0;
        padding: 58px 0;
    }

    .qma-mosaic {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 92px;
        transform: none;
    }
}

/* Homepage overrides for the screenshot-driven redesign */
body.qma-figma-page {
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 76% 18%, rgba(0, 255, 107, 0.12) 0, rgba(0, 255, 107, 0.04) 22%, rgba(0, 255, 107, 0) 47%),
        #0d0c19;
    color: #fff;
    font-family: "Poppins", Arial, sans-serif;
}

body.qma-figma-page .qma-page-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 80% 16%, rgba(0, 255, 107, 0.14) 0, rgba(0, 255, 107, 0.05) 18%, rgba(0, 255, 107, 0) 42%),
        linear-gradient(180deg, #0d0c19 0%, #090818 55%, #08101a 100%);
}

body.qma-figma-page .qma-container {
    width: min(1416px, calc(100% - 48px));
    margin: 0 auto;
}

body.qma-figma-page .qma-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 40;
    padding: 0;
}

body.qma-figma-page .qma-header__inner {
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    width: min(1900px, calc(100% - 0px));
    height: 104px;
    margin: 0 auto;
    padding: 0 22px 0 18px;
    background: #0b0a16;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

body.qma-figma-page .qma-logo {
    display: block;
    width: 164px;
    height: auto;
    margin-left: 0;
}

body.qma-figma-page .qma-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-width: 0;
    white-space: nowrap;
}

body.qma-figma-page .qma-nav a,
body.qma-figma-page .qma-nav .lang-pill,
body.qma-figma-page .qma-nav .login-btn {
    text-decoration: none;
}

body.qma-figma-page .qma-nav > a,
body.qma-figma-page .qma-nav .nav-drop {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 36px;
    z-index: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.qma-figma-page .qma-nav .nav-drop {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

body.qma-figma-page .qma-nav > a > span,
body.qma-figma-page .qma-nav .nav-drop > span {
    position: relative;
    z-index: 2;
}

body.qma-figma-page .qma-nav > a:hover,
body.qma-figma-page .qma-nav > a:focus,
body.qma-figma-page .qma-nav .nav-drop:hover,
body.qma-figma-page .qma-nav .nav-drop:focus {
    color: var(--qma-green);
}

body.qma-figma-page .qma-nav > a.active,
body.qma-figma-page .qma-nav .nav-drop.active {
    padding: 0 14px 0 16px;
    color: var(--qma-green);
}

body.qma-figma-page .qma-nav > a.active::before,
body.qma-figma-page .qma-nav .nav-drop.active::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -18px;
    z-index: 1;
    width: 57px;
    height: 57px;
    background: url("../images/menu-icon.png") center / contain no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
}

body.qma-figma-page .qma-nav .nav-sep {
    width: 1px;
    height: 10px;
    flex: 0 0 1px;
    margin: 0 4px 0 0;
    background: rgba(255, 255, 255, 0.16);
}

body.qma-figma-page .qma-nav .nav-drop {
    gap: 7px;
}

body.qma-figma-page .qma-nav .chev {
    display: inline-block;
    width: 13px;
    height: 8px;
    background: url("../images/figma-home/icon-dropdown.svg") center / contain no-repeat;
    opacity: 0.9;
}

body.qma-figma-page .qma-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 36px;
}

body.qma-figma-page .qma-menu-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    z-index: 50;
    width: 258px;
    padding: 6px 0;
    border-top: 4px solid var(--qma-green);
    border-radius: 0;
    background: #0b0a16;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
    transition: opacity 160ms ease, transform 160ms ease;
}

body.qma-figma-page .qma-menu-dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    border-right: 11px solid transparent;
    border-bottom: 11px solid var(--qma-green);
    border-left: 11px solid transparent;
    transform: translateX(-50%);
}

body.qma-figma-page .qma-has-dropdown.is-open .qma-menu-dropdown,
body.qma-figma-page .qma-has-dropdown:hover .qma-menu-dropdown,
body.qma-figma-page .qma-has-dropdown:focus-within .qma-menu-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

body.qma-figma-page .qma-menu-dropdown a {
    display: block;
    padding: 13px 18px;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
    white-space: normal;
}

body.qma-figma-page .qma-menu-dropdown a:last-child {
    border-bottom: 0;
}

body.qma-figma-page .qma-menu-dropdown a:hover,
body.qma-figma-page .qma-menu-dropdown a:focus {
    background: rgba(0, 255, 107, 0.08);
    color: var(--qma-green);
}

body.qma-figma-page .qma-nav .lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 12px 0 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(41, 33, 65, 0.95), rgba(25, 22, 42, 0.95));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

body.qma-figma-page .qma-nav .qatar-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        linear-gradient(90deg, #ffffff 0 32%, #8a1538 32% 100%);
    position: relative;
    overflow: hidden;
}

body.qma-figma-page .qma-nav .qatar-flag::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 4px;
    width: 7px;
    background:
        linear-gradient(135deg, transparent 0 38%, #ffffff 38% 56%, transparent 56%) 0 0 / 7px 20px repeat-y;
    opacity: 0.95;
}

body.qma-figma-page .qma-nav .login-wrap {
    display: inline-flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 4px;
    margin-left: 8px;
}

body.qma-figma-page .qma-nav .login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 155px;
    height: 42px;
    padding: 0 20px;
    background: linear-gradient(180deg, #142cff 0%, #0d1fff 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

body.qma-figma-page .qma-nav .login-arrow {
    display: grid;
    width: 38px;
    height: 42px;
    place-items: center;
    background: linear-gradient(180deg, #00ff66 0%, #00f659 100%);
    border: 1px solid rgba(0, 255, 107, 0.65);
}

body.qma-figma-page .qma-nav .login-arrow svg {
    width: 15px;
    height: 15px;
}

body.qma-figma-page .qma-mobile-toggle,
body.qma-figma-page .qma-mobile-close,
body.qma-figma-page .qma-mobile-backdrop {
    display: none;
}

body.qma-figma-page .qma-hero {
    position: relative;
    min-height: 780px;
    margin: 8px 8px 0;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
}

body.qma-figma-page .qma-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

body.qma-figma-page .qma-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 650ms ease;
}

body.qma-figma-page .qma-hero-slide.is-active {
    opacity: 1;
}

body.qma-figma-page .qma-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(12%) brightness(0.78) contrast(1.04);
}

body.qma-figma-page .qma-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 18%, rgba(0, 0, 0, 0.12) 52%, rgba(0, 0, 0, 0.18) 100%),
        radial-gradient(circle at 16% 76%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.68) 100%);
}

body.qma-figma-page .qma-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 16% 76%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0.3) 58%, rgba(0, 0, 0, 0.62) 100%);
    pointer-events: none;
}

body.qma-figma-page .qma-hero-content {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 2;
    width: 510px;
}

body.qma-figma-page .qma-hero-title {
    margin: 0;
    color: #fff;
    font-size: 66px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.95),
        2px 2px 0 rgba(0, 0, 0, 0.85),
        4px 4px 0 rgba(0, 0, 0, 0.55);
}

body.qma-figma-page .qma-hero-title .qma-green {
    color: var(--qma-green);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.76);
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.95),
        2px 2px 0 rgba(0, 0, 0, 0.82),
        4px 4px 0 rgba(0, 0, 0, 0.48),
        0 0 10px rgba(0, 255, 107, 0.18);
}

body.qma-figma-page .qma-lead {
    max-width: 430px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

body.qma-figma-page .qma-action,
body.qma-figma-page .qma-action:focus,
body.qma-figma-page .qma-action:hover {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
    min-height: 31px;
    margin-top: 16px;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 2px;
    background: #1133ff;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    box-shadow: none;
}

body.qma-figma-page .qma-action-arrow {
 
}

body.qma-figma-page .qma-action-arrow::before {
 
}

body.qma-figma-page .qma-action:hover {
    background: #0d28e0;
    color: #fff;
}

body.qma-figma-page .qma-action-sm {
    min-height: 31px;
}

body.qma-figma-page .qma-social-rail {
    position: absolute;
    right: 40px;
    top: 42%;
    z-index: 2;
    display: grid;
    gap: 15px;
    justify-items: center;
    transform: translateY(-50%);
}

body.qma-figma-page .qma-social-rail::after {
    content: "";
    width: 1px;
    height: 122px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.24);
}

body.qma-figma-page .qma-social-rail a {
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    font-size: 13px;
}

body.qma-figma-page .qma-social-x {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

body.qma-figma-page .qma-hero-panel {
    position: absolute;
    right: 28px;
    bottom: 18px;
    z-index: 2;
    width: 287px;
    padding: 0;
    border-radius: 2px;
    overflow: hidden;
    background: transparent;
}

body.qma-figma-page .qma-hero-panel__button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    background: #1133ff;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
}

body.qma-figma-page .qma-hero-panel__controls {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 10px;
    height: 39px;
    padding: 0 11px;
    background: rgba(2, 3, 25, 0.95);
}

body.qma-figma-page .qma-hero-panel__pause {
    position: relative;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0;
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

body.qma-figma-page .qma-hero-panel__pause span {
    position: absolute;
    top: 3px;
    bottom: 3px;
    width: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

body.qma-figma-page .qma-hero-panel__pause span:first-child {
    left: 4px;
}

body.qma-figma-page .qma-hero-panel__pause span:last-child {
    right: 4px;
}

body.qma-figma-page .qma-hero-panel__pause .qma-hero-play {
    top: 2px;
    left: 4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid rgba(255, 255, 255, 0.92);
    background: transparent;
    border-radius: 0;
}

body.qma-figma-page .qma-hero-panel__track {
    position: relative;
    display: block;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    overflow: hidden;
}

body.qma-figma-page .qma-hero-panel__track span {
    position: absolute;
    inset: 0;
    width: 56%;
    border-radius: inherit;
    background: #fff;
    transition: width 300ms ease;
}

body.qma-figma-page .qma-hero-panel__count {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    font-weight: 700;
}

body.qma-figma-page .qma-section {
    padding: 113px 0 0;
}

body.qma-figma-page .qma-about-section {
    padding-top: 121px;
}

body.qma-figma-page .qma-about-grid,
body.qma-figma-page .qma-why-grid,
body.qma-figma-page .qma-experience-grid,
body.qma-figma-page .qma-news-layout {
    align-items: start;
}

body.qma-figma-page .qma-about-grid {
 display: grid;
    grid-template-columns: 328px minmax(0, 1fr);
    gap: 114px;
    margin-left: 60px;
    width: 100%;
}

body.qma-figma-page .qma-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: rgba(0, 255, 107, 0.12);
    color: var(--qma-green);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
}

body.qma-figma-page .qma-kicker::before {
    display: none;
}

body.qma-figma-page .qma-section-title {
    margin: 18px 0 0;
    max-width: 560px;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 0.98;
    text-transform: uppercase;
}

body.qma-figma-page .qma-about-grid .qma-action,
body.qma-figma-page .qma-cta-card .qma-action,
body.qma-figma-page .qma-experience-copy .qma-action,
body.qma-figma-page .qma-news-list .qma-action {
    margin-top: 18px;
}

body.qma-figma-page .qma-copy {
       color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.42;
    width: 83%;
    margin-top: 37px;
}

body.qma-figma-page .qma-copy p {
    margin: 0 0 17px;
}

body.qma-figma-page .qma-why {
    margin: 94px 8px 0;
    padding: 0;
    border-radius: 2px;
    background: #00043f;
}

body.qma-figma-page .qma-why-grid {
 
}

body.qma-figma-page .qma-why-head {
    padding: 33px 0 30px;
}

body.qma-figma-page .qma-why-head .qma-copy {
    margin-top: 18px;
  
}

body.qma-figma-page .qma-feature-list {
    display: grid;
}

body.qma-figma-page .qma-feature {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 42px;
    gap: 28px;
    align-items: center;
    min-height: 140px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.qma-figma-page .qma-feature:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.qma-figma-page .qma-feature-icon {
    display: grid;
    width: 55px;
    height: 55px;
    margin-left: 18px;
    border-radius: 50%;
    background: var(--qma-green);
    color: #00043f;
    place-items: center;
    font-size: 20px;
}

body.qma-figma-page .qma-feature-copy h3 {
    margin: 0 0 8px;
    color: var(--qma-green);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.05;
}

body.qma-figma-page .qma-feature-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

body.qma-figma-page .qma-square-arrow {
    display: grid;
    width: 19px;
    height: 19px;
    justify-self: end;
    border: 2px solid var(--qma-green);
    border-radius: 1px;
    background: transparent;
    place-items: center;
    text-decoration: none;
}

body.qma-figma-page .qma-square-arrow::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateX(-1px) rotate(45deg);
}

body.qma-figma-page .qma-cta {
    position: relative;
    min-height: 500px;
    margin: 0px 8px 0;
    padding: 0;
    border-radius: 2px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 36, 16, 0.92) 0%, rgba(2, 11, 37, 0.68) 48%, rgba(0, 0, 0, 0.12) 100%),
        url("../images/figma-home/cta.jpg") center center / cover no-repeat;
}

body.qma-figma-page .qma-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(135deg, transparent 0 38px, rgba(255, 255, 255, 0.06) 39px 44px, transparent 45px 78px);
    opacity: 0.34;
    mix-blend-mode: screen;
    pointer-events: none;
}

body.qma-figma-page .qma-cta .qma-container {
    position: relative;
    height: 100%;
}

body.qma-figma-page .qma-cta-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 470px;
    
}

body.qma-figma-page .qma-cta .qma-section-title {
    max-width: 450px;
}

body.qma-figma-page .qma-cta .qma-lead {
    max-width: 420px;
    margin-top: 16px;
}

body.qma-figma-page .qma-news-section {
    padding-top: 96px;
}

body.qma-figma-page .qma-news-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 682px) 306px;
    gap: 16px;
    align-items: start;
}

body.qma-figma-page .qma-news-intro .qma-copy {
    max-width: 260px;
    margin-top: 18px;
}

body.qma-figma-page .qma-news-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 16px;
    grid-column: 2;
}

body.qma-figma-page .qma-news-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: #00042f;
    color: #fff;
    text-decoration: none;
}

body.qma-figma-page .qma-news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

body.qma-figma-page .qma-news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 18%, rgba(0, 0, 0, 0.88) 100%);
}

body.qma-figma-page .qma-news-card-featured {
    min-height: 420px;
}

body.qma-figma-page .qma-news-card:not(.qma-news-card-featured) {
    min-height: 203px;
}

body.qma-figma-page .qma-news-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 16px 18px 14px;
}

body.qma-figma-page .qma-news-date,
body.qma-figma-page .qma-news-row small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
}

body.qma-figma-page .qma-news-body h3 {
    margin: 6px 0 0;
    color: var(--qma-green);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.12;
    text-transform: none;
}

body.qma-figma-page .qma-news-body p {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.42;
}

body.qma-figma-page .qma-more-link {
    display: inline-flex;
    align-items: center;
    margin-top: 9px;
    color: var(--qma-green);
    font-size: 10px;
    font-weight: 800;
}

body.qma-figma-page .qma-news-side {
    display: grid;
    gap: 16px;
}

body.qma-figma-page .qma-news-list {
    display: block;
    align-content: start;
    gap: 8px;
    padding-top: 4px;
    grid-column: 3;
    min-width: 0;
}

body.qma-figma-page .qma-news-row {
    display: block;
    padding: 0 0 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

body.qma-figma-page .qma-news-row strong {
    display: block;
    margin: 6px 0 5px;
    color: var(--qma-green);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.14;
}

body.qma-figma-page .qma-news-row span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.42;
}

body.qma-figma-page .qma-news-empty {
    display: flex;
    align-items: center;
    min-height: 72px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 600;
}

body.qma-figma-page .qma-experience {
    margin: 118px 8px 0;
    padding: 0;
    min-height: 502px;
    border-radius: 2px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 31, 75, 0.95) 0%, rgba(0, 14, 58, 0.88) 30%, rgba(0, 6, 40, 0.42) 100%),
        #00043f;
}

body.qma-figma-page .qma-experience-grid {
    display: grid;
    grid-template-columns: 296px minmax(0, 1fr);
    gap: 32px;
    padding: 72px 0 56px;
}

body.qma-figma-page .qma-experience-copy .qma-copy {
    max-width: 242px;
    margin-top: 16px;
}

body.qma-figma-page .qma-mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 90px;
    gap: 10px;
    transform: matrix(1, 0, 0, 1, 0, 0);
    padding-top: 4px;
}

body.qma-figma-page .qma-mosaic img {
    border-radius: 2px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

body.qma-figma-page .qma-mosaic .wide {
    grid-column: span 2;
}

body.qma-figma-page .qma-mosaic .tall {
    grid-row: span 2;
}

body.qma-figma-page .qma-footer {
    margin-top: 0;
    padding: 62px 0 38px;
    background:
        radial-gradient(ellipse at 44% 90%, rgba(0, 255, 107, 0.38) 0, rgba(0, 255, 107, 0.18) 20%, rgba(0, 255, 107, 0.05) 42%, rgba(0, 255, 107, 0) 64%),
        linear-gradient(180deg, #07101b 0%, #06091f 50%, #061119 100%);
}

body.qma-figma-page .qma-footer::before {
    opacity: 0.28;
}

body.qma-figma-page .qma-footer-main {
    display: grid;
    grid-template-columns: 430px 1px 1fr;
    gap: 58px;
    align-items: start;
    min-height: 144px;
}

body.qma-figma-page .qma-footer-brand {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 430px;
}

body.qma-figma-page .qma-footer-logo {
    width: 145px;
    height: auto;
}

body.qma-figma-page .qma-footer-brand p,
body.qma-figma-page .qma-footer p,
body.qma-figma-page .qma-footer a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    line-height: 1.4;
}

body.qma-figma-page .qma-footer-vertical-line {
    width: 1px;
    height: 82px;
    background: rgba(255, 255, 255, 0.16);
}

body.qma-figma-page .qma-footer-columns {
    display: flex;
    gap: 44px;
}

body.qma-figma-page .qma-footer-col {
    gap: 18px;
}

body.qma-figma-page .qma-footer h5 {
    color: var(--qma-green);
    font-size: 14px;
    font-weight: 800;
}

body.qma-figma-page .qma-footer ul {
    gap: 7px;
}

body.qma-figma-page .qma-footer-contact-list li {
    width: 220px;
}

body.qma-figma-page .qma-footer-contact-list span,
body.qma-figma-page .qma-footer-contact-list a {
    width: auto;
}

body.qma-figma-page .qma-footer-bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body.qma-figma-page .qma-footer-bottom p,
body.qma-figma-page .qma-footer-policy a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

body.qma-figma-page .qma-footer-policy {
    gap: 18px;
}

body.qma-figma-page .qma-footer-policy a + a::before {
    left: -11px;
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-header {
        padding: 0 12px;
    }

    body.qma-figma-page .qma-header__inner {
        grid-template-columns: 1fr;
        height: auto;
        gap: 12px;
    }

    body.qma-figma-page .qma-logo {
        margin-left: 0;
    }

    body.qma-figma-page .qma-nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    body.qma-figma-page .qma-nav .nav-sep {
        display: none;
    }

    body.qma-figma-page .qma-hero-content {
        top: 0px;
        left: 0px;
        width: 460px;
    }

    body.qma-figma-page .qma-social-rail {
        right: 18px;
    }

    body.qma-figma-page .qma-hero-panel {
        right: 18px;
    }

    body.qma-figma-page .qma-about-grid,
    body.qma-figma-page .qma-why-grid,
    body.qma-figma-page .qma-news-layout,
    body.qma-figma-page .qma-experience-grid,
    body.qma-figma-page .qma-footer-main {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-footer-brand {
        width: auto;
    }

    body.qma-figma-page .qma-footer-vertical-line {
        display: none;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-container {
        width: calc(100% - 32px);
    }

    body.qma-figma-page .qma-header {
        top: 0;
        padding: 0;
    }

    body.qma-figma-page .qma-header__inner {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        height: 70px;
        padding: 0 16px;
        background: #0b0a16;
    }

    body.qma-figma-page .qma-logo {
        width: 132px;
    }

    body.qma-figma-page .qma-mobile-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        border: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    body.qma-figma-page .qma-mobile-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        margin: 2px auto;
        border-radius: 999px;
        background: #fff;
    }

    body.qma-figma-page .qma-mobile-backdrop {
        position: fixed;
        inset: 0;
        z-index: 38;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease;
    }

    body.qma-figma-page .qma-nav {
        position: fixed;
        top: 70px;
        right: 12px;
        left: 12px;
        z-index: 39;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 84px);
        padding: 56px 18px 18px;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(11, 10, 22, 0.98), rgba(6, 8, 24, 0.98));
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
        transform: translateY(-14px);
        opacity: 0;
        pointer-events: none;
        overflow: auto;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    body.qma-figma-page .qma-mobile-close {
        position: absolute;
        top: 14px;
        right: 14px;
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 28px;
        line-height: 1;
    }

    body.qma-figma-page .qma-nav > a,
    body.qma-figma-page .qma-nav .nav-drop {
        width: 100%;
        min-height: 48px;
        justify-content: space-between;
        padding: 0 8px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.qma-figma-page .qma-nav-item {
        display: block;
        width: 100%;
        height: auto;
    }

    body.qma-figma-page .qma-menu-dropdown {
        position: static;
        width: 100%;
        padding: 0 0 10px 14px;
        border-top: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    body.qma-figma-page .qma-menu-dropdown::before {
        display: none;
    }

    body.qma-figma-page .qma-menu-dropdown a {
        padding: 10px 10px;
        border-bottom-color: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.76);
        font-size: 14px;
        letter-spacing: 0;
    }

    body.qma-figma-page .qma-menu-dropdown a:hover,
    body.qma-figma-page .qma-menu-dropdown a:focus {
        background: transparent;
        color: var(--qma-green);
    }

    body.qma-figma-page .qma-nav .nav-drop .chev {
        margin-left: auto;
    }

    body.qma-figma-page .qma-nav .nav-sep {
        display: none;
    }

    body.qma-figma-page .qma-nav > a.home::before,
    body.qma-figma-page .qma-nav > a.home::after {
        display: none;
    }

    body.qma-figma-page .qma-nav > a.home {
        padding-left: 8px;
    }

    body.qma-figma-page .qma-nav .lang-pill {
        width: 100%;
        justify-content: space-between;
        min-height: 46px;
        margin-top: 12px;
        padding: 0 14px 0 16px;
        border-radius: 14px;
    }

    body.qma-figma-page .qma-nav .login-wrap {
        width: 100%;
        margin-top: 12px;
    }

    body.qma-figma-page .qma-nav .login-btn,
    body.qma-figma-page .qma-nav .login-arrow {
        height: 46px;
    }

    body.qma-figma-page .qma-nav .login-btn {
        flex: 1 1 auto;
        min-width: 0;
        font-size: 12px;
    }

    body.qma-figma-page .qma-nav .login-arrow {
        width: 46px;
    }

    body.qma-figma-page.menu-open {
        overflow: hidden;
    }

    body.qma-figma-page.menu-open .qma-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.qma-figma-page.menu-open .qma-mobile-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body.qma-figma-page .qma-nav > a,
    body.qma-figma-page .qma-nav .nav-drop,
    body.qma-figma-page .qma-nav .lang-pill,
    body.qma-figma-page .qma-nav .login-wrap {
        transform: none;
    }

    body.qma-figma-page .qma-hero {
        min-height: 760px;
        margin: 6px 6px 0;
    }

    body.qma-figma-page .qma-hero-content {
        top: 24px !important;
        left: 20px !important;
        width: calc(100% - 40px) !important;
        grid-template-columns: 1fr !important;
        grid-auto-flow: row;
        gap: 18px !important;
        transform: none !important;
    }

    body.qma-figma-page .qma-hero-title {
        font-size: 32px;
        line-height: 0.98;
    }

    body.qma-figma-page .qma-hero-content > article {
        position: relative;
        width: 100%;
        min-width: 0;
    }

    body.qma-figma-page .qma-hero-content > article:last-child {
        padding: 20px !important;
    }

    body.qma-figma-page .qma-hero-content .qma-lead {
        max-width: 100%;
        margin-top: 12px;
        font-size: 12px;
        line-height: 1.45;
    }

    body.qma-figma-page .qma-hero-content .qma-action {
        margin-top: 12px;
    }

    body.qma-figma-page .qma-lead {
        max-width: 320px;
        font-size: 13px;
    }

    body.qma-figma-page .qma-social-rail,
    body.qma-figma-page .qma-hero-panel {
        display: none;
    }

    body.qma-figma-page .qma-section,
    body.qma-figma-page .qma-cta,
    body.qma-figma-page .qma-why,
    body.qma-figma-page .qma-experience {
        margin-left: 6px;
        margin-right: 6px;
    }

    body.qma-figma-page .qma-about-grid,
    body.qma-figma-page .qma-why-grid,
    body.qma-figma-page .qma-news-grid,
    body.qma-figma-page .qma-news-layout {
        gap: 18px;
    }

    body.qma-figma-page .qma-section-title {
        font-size: 30px;
    }

    body.qma-figma-page .qma-feature {
        grid-template-columns: 72px minmax(0, 1fr) 36px;
        gap: 14px;
        padding: 22px 0;
    }

    body.qma-figma-page .qma-feature-icon {
        margin-left: 0;
    }

    body.qma-figma-page .qma-cta {
        min-height: 400px;
    }

    body.qma-figma-page .qma-cta-card {
        padding: 40px 0 0 22px;
    }

    body.qma-figma-page .qma-news-layout {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-news-grid {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    body.qma-figma-page .qma-news-card-featured,
    body.qma-figma-page .qma-news-card:not(.qma-news-card-featured) {
        min-height: 240px;
    }

    body.qma-figma-page .qma-news-list {
        grid-column: auto;
    }

    body.qma-figma-page .qma-mosaic {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 82px;
        transform: none;
    }

    body.qma-figma-page .qma-footer-columns {
        flex-direction: column;
        gap: 24px;
    }
}

/* Why Choose Us hover treatment */
body.qma-figma-page .qma-why {
    overflow: hidden;
}

body.qma-figma-page .qma-feature-list {
    padding-bottom: 18px;
}

body.qma-figma-page .qma-feature {
    position: relative;
    min-height: 180px;
    padding: 34px 28px 34px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transition: background-color 180ms ease, transform 180ms ease;
}

body.qma-figma-page .qma-feature:hover,
body.qma-figma-page .qma-feature:focus-within {
    background: linear-gradient(90deg, #19ff66 0%, #14ff5a 100%);
}

body.qma-figma-page .qma-feature:hover .qma-feature-icon,
body.qma-figma-page .qma-feature:focus-within .qma-feature-icon {
    background: #06093a;
    color: var(--qma-green);
}

body.qma-figma-page .qma-feature:hover .qma-feature-copy h3,
body.qma-figma-page .qma-feature:focus-within .qma-feature-copy h3 {
    color: #00104d;
}

body.qma-figma-page .qma-feature:hover .qma-feature-copy p,
body.qma-figma-page .qma-feature:focus-within .qma-feature-copy p {
    color: rgba(0, 16, 77, 0.82);
}

body.qma-figma-page .qma-feature:hover .qma-square-arrow,
body.qma-figma-page .qma-feature:focus-within .qma-square-arrow {
    border-color: #00104d;
    background: #00104d;
}

body.qma-figma-page .qma-feature-preview {
    position: absolute;
    top: 50%;
    right: 118px;
    z-index: 1;
    width: 310px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50%) translateX(28px) rotate(8deg) scale(0.96);
    transform-origin: center center;
    transition: opacity 220ms ease, transform 220ms ease;
}

body.qma-figma-page .qma-feature:hover .qma-feature-preview,
body.qma-figma-page .qma-feature:focus-within .qma-feature-preview {
    opacity: 1;
    transform: translateY(-50%) translateX(0) rotate(8deg) scale(1);
}

body.qma-figma-page .qma-feature-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    filter: grayscale(100%) contrast(1.05);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

body.qma-figma-page .qma-feature::before,
body.qma-figma-page .qma-feature::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

body.qma-figma-page .qma-feature::before {
    top: 0;
}

body.qma-figma-page .qma-feature::after {
    bottom: 0;
}

body.qma-figma-page .qma-feature .qma-feature-icon {
    position: relative;
    z-index: 2;
}

body.qma-figma-page .qma-feature .qma-feature-copy {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

body.qma-figma-page .qma-feature .qma-square-arrow {
    position: relative;
    z-index: 2;
    margin-right: 0;
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-feature {
        min-height: 160px;
        padding-right: 18px;
    }

    body.qma-figma-page .qma-feature-preview {
        right: 82px;
        width: 250px;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-feature {
        grid-template-columns: 62px minmax(0, 1fr) 32px;
        min-height: 0;
        padding: 22px 0;
    }

    body.qma-figma-page .qma-feature-preview {
        display: none;
    }

    body.qma-figma-page .qma-feature:hover,
    body.qma-figma-page .qma-feature:focus-within {
        background: transparent;
    }
}

/* ABOUT US article page */
body.qma-figma-page .qma-about-article-page {
    background:
        radial-gradient(circle at 78% 12%, rgba(0, 255, 107, 0.12) 0, rgba(0, 255, 107, 0.04) 18%, rgba(0, 255, 107, 0) 42%),
        linear-gradient(180deg, #0c0c16 0%, #0a0b17 32%, #080814 100%);
    color: var(--qma-white);
    padding-bottom: 112px;
}

body.qma-figma-page .qma-about-article-hero {
    position: relative;
    width: min(100% - 18px, 1828px);
    min-height: 620px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    background:
        linear-gradient(90deg, rgba(4, 7, 34, 0.92) 0%, rgba(4, 7, 34, 0.72) 28%, rgba(4, 7, 34, 0.25) 58%, rgba(4, 7, 34, 0.1) 100%),
        linear-gradient(180deg, rgba(9, 10, 22, 0.28) 0%, rgba(9, 10, 22, 0.78) 100%),
        var(--qma-about-hero-image) center center / cover no-repeat;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

body.qma-figma-page .qma-about-article-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 28%, rgba(0, 255, 107, 0.15), transparent 28%),
        radial-gradient(circle at 68% 40%, rgba(0, 94, 255, 0.18), transparent 33%),
        linear-gradient(90deg, rgba(6, 7, 20, 0.92) 0%, rgba(6, 7, 20, 0.5) 44%, rgba(6, 7, 20, 0.14) 100%);
    pointer-events: none;
}

body.qma-figma-page .qma-about-article-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 46px;
    align-items: end;
    padding: 132px 0 64px;
}

body.qma-figma-page .qma-about-article-hero__copy {
    max-width: 760px;
}

body.qma-figma-page .qma-about-article-page .qma-kicker {
    margin-bottom: 18px;
}

body.qma-figma-page .qma-about-article-title {
    margin: 0;
    color: var(--qma-white);
    font-size: clamp(54px, 6vw, 104px);
    line-height: 0.93;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

body.qma-figma-page .qma-about-article-title .qma-green {
    display: inline-block;
    color: var(--qma-green);
}

body.qma-figma-page .qma-about-article-lead {
    max-width: 660px;
    margin: 24px 0 0;
    color: rgba(239, 242, 255, 0.8);
    font-size: 20px;
    line-height: 1.45;
    font-weight: 500;
}

body.qma-figma-page .qma-about-article-hero__facts {
    display: grid;
    gap: 14px;
}

body.qma-figma-page .qma-about-stat {
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: rgba(8, 10, 36, 0.58);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

body.qma-figma-page .qma-about-stat span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 26px;
    padding: 0 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    color: var(--qma-green);
    background: rgba(0, 255, 107, 0.1);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

body.qma-figma-page .qma-about-stat strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
}

body.qma-figma-page .qma-about-stat p {
    margin: 0;
    color: rgba(239, 242, 255, 0.76);
    font-size: 13px;
    line-height: 1.45;
}

body.qma-figma-page .qma-about-article-crumbs {
    position: relative;
    z-index: 1;
    padding-top: 14px;
}

body.qma-figma-page .qma-about-article-crumbs .qma-crumbs {
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.74);
}

body.qma-figma-page .qma-about-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 410px);
    gap: 28px;
    align-items: start;
    margin-top: 34px;
}

body.qma-figma-page .qma-about-article-main {
    min-width: 0;
}

body.qma-figma-page .qma-about-article-body {
    padding: 40px 42px 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(7, 9, 28, 0.98), rgba(7, 9, 28, 0.9)),
        rgba(10, 12, 30, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
    color: rgba(241, 245, 255, 0.88);
    font-size: 16px;
    line-height: 1.85;
}

body.qma-figma-page .qma-about-article-body h2,
body.qma-figma-page .qma-about-article-body h3,
body.qma-figma-page .qma-about-article-body h4 {
    margin: 30px 0 14px;
    color: var(--qma-white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

body.qma-figma-page .qma-about-article-body h2 {
    font-size: 34px;
    line-height: 1.1;
}

body.qma-figma-page .qma-about-article-body h3 {
    font-size: 24px;
    line-height: 1.15;
}

body.qma-figma-page .qma-about-article-body p {
    margin: 0 0 18px;
    color: rgba(241, 245, 255, 0.88);
}

body.qma-figma-page .qma-about-article-body p:last-child {
    margin-bottom: 0;
}

body.qma-figma-page .qma-about-article-body ul,
body.qma-figma-page .qma-about-article-body ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

body.qma-figma-page .qma-about-article-body li {
    margin: 8px 0;
}

body.qma-figma-page .qma-about-article-body a {
    color: var(--qma-green);
    text-decoration: none;
}

body.qma-figma-page .qma-about-article-body a:hover {
    text-decoration: underline;
}

body.qma-figma-page .qma-about-article-body img {
    display: block;
    width: 100%;
    height: auto;
    margin: 28px 0;
    border-radius: 18px;
}

body.qma-figma-page .qma-about-article-body blockquote {
    margin: 28px 0;
    padding: 22px 24px;
    border-left: 4px solid var(--qma-green);
    border-radius: 0 18px 18px 0;
    background: rgba(0, 255, 107, 0.07);
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.6;
}

body.qma-figma-page .qma-about-article-aside {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 16px;
    min-width: 0;
}

body.qma-figma-page .qma-about-aside-card {
    padding: 26px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(8, 10, 34, 0.88);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

body.qma-figma-page .qma-about-aside-card h2 {
    margin: 6px 0 12px;
    color: var(--qma-white);
    font-size: 24px;
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
}

body.qma-figma-page .qma-about-aside-card p {
    margin: 0;
    color: rgba(239, 242, 255, 0.76);
    font-size: 15px;
    line-height: 1.7;
}

body.qma-figma-page .qma-about-aside-card--accent {
    background:
        radial-gradient(circle at 100% 0, rgba(0, 255, 107, 0.14), transparent 28%),
        rgba(8, 10, 34, 0.9);
}

body.qma-figma-page .qma-about-aside-card--action {
    background:
        linear-gradient(180deg, rgba(15, 20, 58, 0.96), rgba(7, 9, 28, 0.96)),
        rgba(8, 10, 34, 0.9);
}

body.qma-figma-page .qma-about-aside-card .qma-action {
    margin-top: 20px;
}

body.qma-figma-page .qma-about-aside-card--action .qma-action {
    width: fit-content;
}

@media (max-width: 1399.98px) {
    body.qma-figma-page .qma-about-article-hero__inner {
        grid-template-columns: minmax(0, 1fr) 286px;
        gap: 28px;
    }

    body.qma-figma-page .qma-about-article-title {
        font-size: clamp(50px, 5.4vw, 86px);
    }

    body.qma-figma-page .qma-about-article-lead {
        font-size: 18px;
    }
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-about-article-hero {
        min-height: 560px;
    }

    body.qma-figma-page .qma-about-article-hero__inner {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 116px 0 44px;
    }

    body.qma-figma-page .qma-about-article-hero__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.qma-figma-page .qma-about-article-grid {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-about-article-aside {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-about-article-page {
        padding-bottom: 72px;
    }

    body.qma-figma-page .qma-about-article-hero {
        width: calc(100% - 12px);
        min-height: 540px;
    }

    body.qma-figma-page .qma-about-article-hero__inner {
        padding: 92px 18px 28px;
        gap: 18px;
    }

    body.qma-figma-page .qma-about-article-title {
        font-size: 44px;
        line-height: 0.98;
    }

    body.qma-figma-page .qma-about-article-lead {
        margin-top: 18px;
        font-size: 16px;
    }

    body.qma-figma-page .qma-about-article-hero__facts {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-about-stat {
        padding: 16px 16px 14px;
    }

    body.qma-figma-page .qma-about-article-crumbs {
        padding-top: 10px;
        padding-left: 0;
        padding-right: 0;
    }

    body.qma-figma-page .qma-about-article-body {
        padding: 26px 20px 30px;
        border-radius: 20px;
        font-size: 15px;
        line-height: 1.75;
    }

    body.qma-figma-page .qma-about-article-body h2 {
        font-size: 26px;
    }

    body.qma-figma-page .qma-about-article-body h3 {
        font-size: 20px;
    }

    body.qma-figma-page .qma-about-article-aside {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-about-aside-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    body.qma-figma-page .qma-about-aside-card h2 {
        font-size: 20px;
    }
}

/* About Us landing page matching the reference screenshot */
body.qma-figma-page .qma-about-landing {
    padding-bottom: 96px;
    color: var(--qma-white);
    background:
        linear-gradient(180deg, #090914 0%, #070812 28%, #080913 100%);
}

body.qma-figma-page .qma-about-landing__hero {
    width: 100%;
}

body.qma-figma-page .qma-about-landing__hero-image {
    position: relative;
    width: 100%;
    height: 197px;
    background:
        linear-gradient(180deg, rgba(3, 5, 26, 0.1) 0%, rgba(3, 5, 26, 0.14) 32%, rgba(3, 5, 26, 0.34) 100%),
        var(--qma-about-hero-image) center 40% / cover no-repeat;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.04);*/
    overflow: hidden;
}

body.qma-figma-page .qma-about-landing__hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        var(--qma-about-arrow-image) left center / 380px auto no-repeat,
        linear-gradient(90deg, rgba(0, 5, 42, 0.96) 0%, rgba(0, 8, 52, 0.82) 12%, rgba(0, 13, 54, 0.48) 28%, rgba(0, 13, 54, 0.16) 45%, rgba(0, 13, 54, 0.02) 68%),
        radial-gradient(circle at 10% 0%, rgba(0, 255, 107, 0.2), transparent 20%),
        linear-gradient(90deg, rgba(6, 12, 38, 0.42) 0%, rgba(6, 12, 38, 0.08) 45%, rgba(6, 12, 38, 0.02) 100%);
    opacity: 1;
}

body.qma-figma-page .qma-about-landing__titlebar {
    position: relative;
    min-height: 96px;
    overflow: hidden;
    background:
        linear-gradient(90deg, #0b0d2f 0%, #0a0c29 72%, #081020 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

body.qma-figma-page .qma-about-landing__titlebar::after {
/*    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: min(32%, 360px);
    background:
        repeating-linear-gradient(135deg, rgba(20, 32, 98, 0.42) 0 12px, rgba(20, 32, 98, 0) 12px 24px),
        linear-gradient(180deg, rgba(18, 27, 80, 0.18), rgba(18, 27, 80, 0));
    opacity: 0.85;
    pointer-events: none;*/
}

body.qma-figma-page .qma-about-landing__titlebar-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 96px;
}

body.qma-figma-page .qma-about-landing__titlewrap {
    padding-left: 4px;
}

body.qma-figma-page .qma-about-landing__title {
    margin: 0;
    color: var(--qma-white);
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.qma-figma-page .qma-about-landing__title span {
    color: var(--qma-green);
}

/* Photo and video album pages */
body.qma-figma-page .qma-media-page {
    padding-bottom: 120px;
}

body.qma-figma-page .qma-media-content {
    margin-top: 64px;
}

body.qma-figma-page .qma-media-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
    gap: 48px;
    align-items: end;
    margin-bottom: 34px;
}

body.qma-figma-page .qma-media-heading .qma-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--qma-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-media-heading h2 {
    margin: 0;
    color: var(--qma-white);
    font-size: clamp(32px, 3.2vw, 48px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-media-heading h2 span {
    color: var(--qma-green);
}

body.qma-figma-page .qma-media-heading > p {
    max-width: 500px;
    margin: 0 0 3px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.7;
}

body.qma-figma-page .qma-media-card {
    min-height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #10121f;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

body.qma-figma-page .qma-media-card img {
    min-height: 430px;
}

body.qma-figma-page .qma-media-card::after {
    background:
        linear-gradient(180deg, rgba(2, 4, 20, 0.06) 12%, rgba(2, 4, 20, 0.35) 46%, rgba(2, 4, 20, 0.96) 100%);
}

body.qma-figma-page .qma-media-card__icon {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #001428;
    border-radius: 50%;
    background: var(--qma-green);
    box-shadow: 0 10px 28px rgba(0, 255, 107, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.qma-figma-page .qma-media-card__icon--video i {
    margin-left: 3px;
}

body.qma-figma-page .qma-media-card:hover .qma-media-card__icon,
body.qma-figma-page .qma-media-card:focus .qma-media-card__icon {
    transform: scale(1.08);
    box-shadow: 0 12px 34px rgba(0, 255, 107, 0.46);
}

body.qma-figma-page .qma-media-card .qma-chip {
    margin-bottom: 12px;
}

body.qma-figma-page .qma-media-card h3 {
    max-width: 92%;
    margin-top: 10px;
}

body.qma-figma-page .qma-media-card__link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
    color: var(--qma-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-media-card__link i {
    transition: transform 0.25s ease;
}

body.qma-figma-page .qma-media-card:hover .qma-media-card__link i,
body.qma-figma-page .qma-media-card:focus .qma-media-card__link i {
    transform: translateX(5px);
}

body.qma-figma-page .qma-media-empty {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
}

body.qma-figma-page .qma-media-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    color: #001428;
    border-radius: 50%;
    background: var(--qma-green);
}

body.qma-figma-page .qma-media-empty h3 {
    margin: 0 0 10px;
    color: var(--qma-white);
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

body.qma-figma-page .qma-media-empty p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
}

body.qma-figma-page .qma-media-detail-heading {
    display: flex;
    gap: 32px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 34px;
}

body.qma-figma-page .qma-media-detail-heading .qma-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--qma-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-media-detail-heading h2 {
    max-width: 980px;
    margin: 0;
    color: var(--qma-white);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-media-count {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 9px;
    align-items: center;
    min-height: 42px;
    padding: 0 17px;
    color: var(--qma-green);
    border: 1px solid rgba(0, 255, 107, 0.28);
    border-radius: 999px;
    background: rgba(0, 255, 107, 0.07);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-media-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    grid-auto-rows: 250px;
    gap: 16px;
}

body.qma-figma-page .qma-media-detail-item {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    background: #10121f;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

body.qma-figma-page .qma-media-detail-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

body.qma-figma-page .qma-media-detail-item:nth-child(7n) {
    grid-column: span 2;
}

body.qma-figma-page .qma-media-detail-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

body.qma-figma-page .qma-media-detail-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(1, 4, 24, 0.84) 100%);
    opacity: 0.58;
    transition: opacity 0.3s ease;
}

body.qma-figma-page .qma-media-detail-item:hover > img,
body.qma-figma-page .qma-media-detail-item:focus > img {
    filter: brightness(0.76);
    transform: scale(1.055);
}

body.qma-figma-page .qma-media-detail-item:hover::after,
body.qma-figma-page .qma-media-detail-item:focus::after {
    opacity: 1;
}

body.qma-figma-page .qma-media-detail-item__overlay {
    position: absolute;
    right: 18px;
    bottom: 17px;
    left: 18px;
    z-index: 2;
    display: flex;
    gap: 9px;
    align-items: center;
    color: var(--qma-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: translateY(5px);
    transition: transform 0.3s ease;
}

body.qma-figma-page .qma-media-detail-item:hover .qma-media-detail-item__overlay,
body.qma-figma-page .qma-media-detail-item:focus .qma-media-detail-item__overlay {
    color: var(--qma-green);
    transform: translateY(0);
}

body.qma-figma-page .qma-video-detail-item {
    min-height: 250px;
}

body.qma-figma-page .qma-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    color: #001428;
    border-radius: 50%;
    background: var(--qma-green);
    box-shadow: 0 14px 36px rgba(0, 255, 107, 0.32);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.qma-figma-page .qma-video-play i {
    margin-left: 4px;
}

body.qma-figma-page .qma-video-detail-item:hover .qma-video-play,
body.qma-figma-page .qma-video-detail-item:focus .qma-video-play {
    box-shadow: 0 16px 42px rgba(0, 255, 107, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
}

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

.qma-lightbox[hidden] {
    display: none !important;
}

.qma-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(1, 3, 15, 0.94);
    backdrop-filter: blur(14px);
    animation: qma-lightbox-fade 0.2s ease;
}

.qma-lightbox__dialog {
    position: relative;
    display: flex;
    width: min(1320px, 100%);
    height: min(880px, calc(100vh - 56px));
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qma-lightbox__stage {
    display: flex;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: 38px 86px 18px;
}

.qma-lightbox__stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.qma-lightbox__stage.is-video {
    width: min(1180px, 100%);
}

.qma-lightbox__stage iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 4px;
    background: #000;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.qma-lightbox__thumbnails {
    display: flex;
    width: calc(100% - 172px);
    flex: 0 0 72px;
    gap: 9px;
    align-items: center;
    padding: 7px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: var(--qma-green) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
}

.qma-lightbox__thumbnail {
    position: relative;
    width: 78px;
    height: 58px;
    flex: 0 0 78px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 3px;
    background: #0a0d26;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.qma-lightbox__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qma-lightbox__thumbnail:hover,
.qma-lightbox__thumbnail:focus,
.qma-lightbox__thumbnail.is-active {
    border-color: var(--qma-green);
    outline: none;
    opacity: 1;
    transform: translateY(-2px);
}

.qma-lightbox__close,
.qma-lightbox__nav {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--qma-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(10, 13, 38, 0.72);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.qma-lightbox__close:hover,
.qma-lightbox__close:focus,
.qma-lightbox__nav:hover,
.qma-lightbox__nav:focus {
    color: #001428;
    border-color: var(--qma-green);
    outline: none;
    background: var(--qma-green);
}

.qma-lightbox__close {
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    font-size: 30px;
    line-height: 1;
}

.qma-lightbox__nav {
    top: 50%;
    width: 54px;
    height: 54px;
    font-size: 16px;
    transform: translateY(-50%);
}

.qma-lightbox__nav:hover,
.qma-lightbox__nav:focus {
    transform: translateY(-50%) scale(1.06);
}

.qma-lightbox__nav--prev {
    left: 0;
}

.qma-lightbox__nav--next {
    right: 0;
}

.qma-lightbox__footer {
    display: flex;
    width: calc(100% - 172px);
    flex: 0 0 auto;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.qma-lightbox__footer [data-lightbox-counter] {
    flex: 0 0 auto;
    color: var(--qma-green);
    font-weight: 800;
}

@keyframes qma-lightbox-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-media-page {
        padding-bottom: 82px;
    }

    body.qma-figma-page .qma-media-content {
        margin-top: 46px;
    }

    body.qma-figma-page .qma-media-heading {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    body.qma-figma-page .qma-media-heading h2 {
        font-size: 30px;
    }

    body.qma-figma-page .qma-media-card,
    body.qma-figma-page .qma-media-card img {
        min-height: 390px;
    }

    body.qma-figma-page .qma-media-detail-heading {
        display: grid;
        gap: 18px;
        align-items: start;
    }

    body.qma-figma-page .qma-media-count {
        justify-self: start;
    }

    body.qma-figma-page .qma-media-detail-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    body.qma-figma-page .qma-media-detail-item:first-child,
    body.qma-figma-page .qma-media-detail-item:nth-child(7n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .qma-lightbox {
        padding: 12px;
    }

    .qma-lightbox__dialog {
        height: calc(100vh - 24px);
    }

    .qma-lightbox__stage {
        padding: 64px 0 128px;
    }

    .qma-lightbox__nav {
        top: auto;
        bottom: 4px;
        width: 46px;
        height: 46px;
        transform: none;
    }

    .qma-lightbox__nav:hover,
    .qma-lightbox__nav:focus {
        transform: scale(1.05);
    }

    .qma-lightbox__nav--prev {
        left: 0;
    }

    .qma-lightbox__nav--next {
        right: 0;
    }

    .qma-lightbox__footer {
        position: absolute;
        bottom: 4px;
        left: 58px;
        width: calc(100% - 116px);
        justify-content: center;
        text-align: center;
    }

    .qma-lightbox__thumbnails {
        position: absolute;
        right: 0;
        bottom: 58px;
        left: 0;
        width: 100%;
        flex-basis: 62px;
    }

    .qma-lightbox__thumbnail {
        width: 68px;
        height: 50px;
        flex-basis: 68px;
    }

    .qma-lightbox__footer [data-lightbox-caption] {
        display: none;
    }
}

body.qma-figma-page .qma-about-landing__crumbs {
    margin-top: 8px;
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
}

body.qma-figma-page .qma-news-detail-page {
    background: #090b16;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__hero {
    width: min(1668px, calc(100% - 16px));
    margin: 0 auto;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar {
    min-height: 128px;
    border-radius: 3px;
    background:
        var(--qma-about-arrow-image) right center / 520px auto no-repeat,
        linear-gradient(90deg, #00043f 0%, #00043f 45%, #000437 72%, #00042f 100%);
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar::after {
    display: none;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar-inner {
    width: min(1478px, calc(100% - 96px));
    height: 128px;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__title {
    font-size: 32px;
    font-weight: 900;
}

body.qma-figma-page .qma-news-detail-content {
    width: min(700px, calc(100% - 48px));
    margin-top: 64px;
}

body.qma-figma-page .qma-news-detail-card {
    overflow: hidden;
    border: 2px solid #008dff;
    background: #07101b;
}

body.qma-figma-page .qma-news-detail-card .qma-detail-image {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    border-radius: 0;
}

body.qma-figma-page .qma-news-detail-card .qma-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

body.qma-figma-page .qma-news-detail-card .qma-detail-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    margin: 0;
    padding: 18px 24px 34px;
}

body.qma-figma-page .qma-news-detail-card .qma-share-rail {
    gap: 10px;
    min-height: 0;
    padding: 0;
    background: transparent;
}

body.qma-figma-page .qma-news-detail-card .qma-share-rail span {
    display: none;
}

body.qma-figma-page .qma-news-detail-card .qma-share-rail a {
    width: 24px;
    height: 24px;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

body.qma-figma-page .qma-news-detail-card .qma-detail-date {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
}

body.qma-figma-page .qma-news-detail-card .qma-detail-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.62;
}

body.qma-figma-page .qma-news-detail-card .qma-detail-copy h1 {
    margin: 10px 0 22px;
    color: var(--qma-green);
    font-size: 21px;
    line-height: 1.16;
    font-weight: 900;
    text-transform: lowercase;
}

body.qma-figma-page .qma-news-detail-card .qma-detail-copy h2,
body.qma-figma-page .qma-news-detail-card .qma-detail-copy h3 {
    margin: 22px 0 8px;
    color: var(--qma-white);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 900;
}

body.qma-figma-page .qma-news-detail-card .qma-detail-copy p {
    margin-bottom: 15px;
}

body.qma-figma-page .qma-news-detail-page .qma-related-section {
    width: min(1668px, calc(100% - 16px));
    margin-top: 56px;
    padding: 48px 120px 64px;
    border-radius: 3px;
    background:
        var(--qma-about-arrow-image) left top / 360px auto no-repeat,
        linear-gradient(135deg, rgba(0, 255, 107, 0.08), transparent 28%),
        #00043f;
}

@media (max-width: 991.98px) {
    body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar-inner {
        width: calc(100% - 48px);
    }

    body.qma-figma-page .qma-news-detail-page .qma-related-section {
        padding: 44px 32px 54px;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar {
        min-height: 104px;
        background-size: 360px auto, auto;
    }

    body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar-inner {
        width: calc(100% - 32px);
        height: 104px;
    }

    body.qma-figma-page .qma-news-detail-page .qma-about-landing__title {
        font-size: 25px;
    }

    body.qma-figma-page .qma-news-detail-content {
        width: calc(100% - 28px);
        margin-top: 42px;
    }

    body.qma-figma-page .qma-news-detail-card .qma-detail-layout {
        grid-template-columns: 1fr;
        padding: 18px 18px 28px;
    }

    body.qma-figma-page .qma-news-detail-card .qma-share-rail {
        display: flex;
        gap: 12px;
        order: 2;
    }

    body.qma-figma-page .qma-news-detail-card .qma-detail-copy {
        font-size: 12px;
    }

    body.qma-figma-page .qma-news-detail-card .qma-detail-copy h1 {
        font-size: 18px;
    }
}

/* News details layout matching the provided design */
body.qma-figma-page .qma-news-detail-page {
    background:
        radial-gradient(circle at 42% 78%, rgba(0, 255, 107, 0.12), transparent 28%),
        #090b16;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__hero {
    width: 100%;
    margin: 0;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar {
    min-height: 216px;
    border-radius: 0;
    background:
        var(--qma-about-arrow-image) right top / 760px auto no-repeat,
        linear-gradient(90deg, rgba(0, 4, 58, 1) 0%, rgba(0, 4, 58, 1) 46%, rgba(0, 4, 58, 0.96) 100%);
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar-inner {
    width: min(1400px, calc(100% - 96px));
    height: 216px;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlewrap {
    padding-left: 0;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__title {
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

body.qma-figma-page .qma-news-detail-page .qma-about-landing__crumbs {
    margin-top: 18px;
    font-size: 13px;
}

body.qma-figma-page .qma-news-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 64px;
    align-items: start;
    width: min(1400px, calc(100% - 96px));
    margin-top: 52px;
}

body.qma-figma-page .qma-news-detail-article {
    min-width: 0;
}

body.qma-figma-page .qma-news-detail-article .qma-detail-image {
    width: 100%;
    height: auto;
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: 2px;
    background: #060814;
}

body.qma-figma-page .qma-news-detail-article .qma-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.72 / 1;
    object-fit: cover;
}

body.qma-figma-page .qma-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

body.qma-figma-page .qma-detail-meta .qma-detail-date {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

body.qma-figma-page .qma-detail-chip {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1;
}

body.qma-figma-page .qma-news-detail-article .qma-detail-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.45;
}

body.qma-figma-page .qma-news-detail-article .qma-detail-copy h1 {
    max-width: 1040px;
    margin: 0 0 46px;
    color: var(--qma-green);
    font-size: 31px;
    line-height: 1.22;
    font-weight: 900;
    text-transform: lowercase;
}

body.qma-figma-page .qma-news-detail-article .qma-detail-copy h2,
body.qma-figma-page .qma-news-detail-article .qma-detail-copy h3,
body.qma-figma-page .qma-news-detail-article .qma-detail-copy h4 {
    margin: 30px 0 4px;
    color: var(--qma-white);
    font-size: 18px;
    line-height: 1.28;
    font-weight: 900;
}

body.qma-figma-page .qma-news-detail-article .qma-detail-copy p {
    margin: 0 0 28px;
}

body.qma-figma-page .qma-news-detail-sidebar {
    display: grid;
    gap: 32px;
    min-width: 0;
}

body.qma-figma-page .qma-news-detail-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 68px;
    padding: 0 28px;
    border-radius: 8px;
    background: #050042;
}

body.qma-figma-page .qma-news-detail-share strong {
    color: var(--qma-green);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

body.qma-figma-page .qma-news-detail-share div {
    display: flex;
    gap: 28px;
    align-items: center;
}

body.qma-figma-page .qma-news-detail-share a {
    color: var(--qma-white);
    font-size: 20px;
    text-decoration: none;
}

body.qma-figma-page .qma-news-detail-share a:hover,
body.qma-figma-page .qma-news-detail-share a:focus {
    color: var(--qma-green);
}

body.qma-figma-page .qma-news-detail-latest {
    position: relative;
    overflow: hidden;
    padding: 28px 38px 20px;
    border-radius: 8px;
    background:
        var(--qma-about-arrow-image) left top / 220px auto no-repeat,
        #050042;
}

body.qma-figma-page .qma-news-detail-latest h2 {
    margin: 0 0 26px;
    color: var(--qma-green);
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

body.qma-figma-page .qma-news-detail-latest-item {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
    padding: 0 0 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--qma-white);
    text-decoration: none;
}

body.qma-figma-page .qma-news-detail-latest-item:last-child {
    margin-bottom: 0;
}

body.qma-figma-page .qma-news-detail-latest-item img {
    width: 105px;
    height: 72px;
    object-fit: cover;
    border-radius: 2px;
}

body.qma-figma-page .qma-news-detail-latest-item span {
    display: block;
    min-width: 0;
}

body.qma-figma-page .qma-news-detail-latest-item small {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

body.qma-figma-page .qma-news-detail-latest-item strong {
    display: block;
    color: var(--qma-white);
    font-size: 16px;
    line-height: 1.22;
    font-weight: 900;
}

body.qma-figma-page .qma-news-detail-latest-item em {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-style: normal;
}

body.qma-figma-page .qma-news-detail-latest-item:hover strong,
body.qma-figma-page .qma-news-detail-latest-item:focus strong,
body.qma-figma-page .qma-news-detail-latest-item:hover em,
body.qma-figma-page .qma-news-detail-latest-item:focus em {
    color: var(--qma-green);
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-news-detail-content {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    body.qma-figma-page .qma-news-detail-sidebar {
        grid-row: auto;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar {
        min-height: 150px;
        background-size: 520px auto, auto;
    }

    body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar-inner,
    body.qma-figma-page .qma-news-detail-content {
        width: calc(100% - 32px);
    }

    body.qma-figma-page .qma-news-detail-page .qma-about-landing__titlebar-inner {
        height: 150px;
    }

    body.qma-figma-page .qma-news-detail-page .qma-about-landing__title {
        font-size: 30px;
    }

    body.qma-figma-page .qma-detail-meta,
    body.qma-figma-page .qma-news-detail-share {
        align-items: flex-start;
        flex-direction: column;
    }

    body.qma-figma-page .qma-news-detail-share {
        padding: 20px;
    }

    body.qma-figma-page .qma-news-detail-latest {
        padding: 24px 20px 10px;
    }

    body.qma-figma-page .qma-news-detail-latest-item {
        grid-template-columns: 92px minmax(0, 1fr);
    }

body.qma-figma-page .qma-news-detail-latest-item img {
        width: 92px;
        height: 64px;
    }

    body.qma-figma-page .qma-news-detail-article .qma-detail-copy {
        font-size: 15px;
    }

    body.qma-figma-page .qma-news-detail-article .qma-detail-copy h1 {
        font-size: 24px;
    }
}

/* Home: Why Choose Us heading alignment */
body.qma-figma-page .qma-why .qma-why-head {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 0.8fr);
    grid-template-areas:
        "kicker copy"
        "title copy";
    column-gap: 120px;
    align-items: start;
}

body.qma-figma-page .qma-why .qma-why-head .qma-kicker {
    grid-area: kicker;
    justify-self: start;
}

body.qma-figma-page .qma-why .qma-why-head .qma-section-title {
    grid-area: title;
    max-width: 640px;
    margin-top: 22px;
}

body.qma-figma-page .qma-why .qma-why-head .qma-copy {
    grid-area: copy;
    max-width: 620px;
    margin-top: 10px;
    justify-self: end;
}

@media (max-width: 991.98px) {
    body.qma-figma-page .qma-why .qma-why-head {
        grid-template-columns: 1fr;
        grid-template-areas:
            "kicker"
            "title"
            "copy";
        row-gap: 0;
    }

    body.qma-figma-page .qma-why .qma-why-head .qma-copy {
        max-width: 100%;
        margin-top: 22px;
        justify-self: start;
    }
}

/* Contact page */
body.qma-figma-page .qma-contact-page {
    background:
        radial-gradient(circle at 72% 42%, rgba(0, 255, 107, 0.11), transparent 31%),
        linear-gradient(180deg, #090b16 0%, #071019 100%);
}

body.qma-figma-page .qma-contact-page .qma-about-landing__hero {
    width: 100%;
    margin: 0;
}

body.qma-figma-page .qma-contact-page .qma-about-landing__titlebar {
    min-height: 96px;
    border-radius: 0;
    background:
        linear-gradient(90deg, #00043f 0%, #00043f 54%, #00042f 100%);
}

body.qma-figma-page .qma-contact-page .qma-about-landing__titlebar-inner {
    width: min(1416px, calc(100% - 96px));
    height: 96px;
}

body.qma-figma-page .qma-contact-page .qma-about-landing__title {
    font-size: 30px;
    font-weight: 800;
}

body.qma-figma-page .qma-contact-shell {
    padding: 76px 0 110px;
}

body.qma-figma-page .qma-contact-intro {
    display: grid;
    grid-template-columns: minmax(280px, 560px) minmax(280px, 560px);
    gap: 72px;
    align-items: end;
    margin-bottom: 34px;
}

body.qma-figma-page .qma-contact-intro .qma-kicker {
    grid-column: 1;
    justify-self: start;
}

body.qma-figma-page .qma-contact-intro .qma-section-title {
    grid-column: 1;
    margin-top: 14px;
}

body.qma-figma-page .qma-contact-intro .qma-copy {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 540px;
    align-self: center;
}

body.qma-figma-page .qma-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

body.qma-figma-page .qma-contact-card {
    display: grid;
    min-height: 172px;
    align-content: start;
    gap: 13px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(0, 255, 107, 0.1), transparent 42%),
        #00043f;
    color: var(--qma-white);
    text-decoration: none;
}

body.qma-figma-page .qma-contact-card span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: var(--qma-green);
    color: #00043f;
    font-size: 20px;
}

body.qma-figma-page .qma-contact-card small {
    color: var(--qma-green);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

body.qma-figma-page .qma-contact-card strong {
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.45;
}

body.qma-figma-page .qma-contact-card:hover,
body.qma-figma-page .qma-contact-card:focus {
    border-color: rgba(0, 255, 107, 0.42);
}

body.qma-figma-page .qma-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
    gap: 24px;
    align-items: stretch;
}

body.qma-figma-page .qma-contact-form-panel,
body.qma-figma-page .qma-contact-map-panel {
    overflow: hidden;
    border-radius: 4px;
    background: #00043f;
}

body.qma-figma-page .qma-contact-form-panel {
    padding: 36px;
}

body.qma-figma-page .qma-contact-form-panel h2 {
    margin: 16px 0 28px;
    color: var(--qma-white);
    font-size: 30px;
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
}

body.qma-figma-page .qma-contact-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

body.qma-figma-page .qma-contact-form .input-box {
    margin: 0;
    min-width: 0;
}

body.qma-figma-page .qma-contact-form input,
body.qma-figma-page .qma-contact-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 54px;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px !important;
    outline: 0;
    background: rgba(255, 255, 255, 0.06);
    color: var(--qma-white);
    font-size: 14px !important;
    font-weight: 700;
}

body.qma-figma-page .qma-contact-form textarea {
    height: 100%;
    min-height: 194px;
    padding-top: 16px !important;
    resize: vertical;
}

body.qma-figma-page .qma-contact-form input::placeholder,
body.qma-figma-page .qma-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.56);
}

body.qma-figma-page .qma-contact-form input:focus,
body.qma-figma-page .qma-contact-form textarea:focus {
    border-color: rgba(0, 255, 107, 0.65);
    background: rgba(255, 255, 255, 0.08);
}

body.qma-figma-page .qma-contact-form .input-box-message {
    grid-column: 2;
    grid-row: 1 / span 3;
    min-height: 194px;
}

body.qma-figma-page .qma-contact-form-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
}

body.qma-figma-page .qma-contact-form-bottom .qma-action {
    border: 0;
    cursor: pointer;
}

body.qma-figma-page .req,
body.qma-figma-page #g-recaptcha-error p {
    display: block;
    margin: 7px 0 0;
    color: #ff5d75 !important;
    font-size: 12px;
    font-weight: 700;
}

body.qma-figma-page .qma-contact-map-panel {
    min-height: 100%;
    border: 1px solid rgba(0, 255, 107, 0.18);
}

body.qma-figma-page .qma-contact-map-panel #map_site {
    width: 100%;
    height: 100%;
    min-height: 552px;
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-contact-layout,
    body.qma-figma-page .qma-contact-intro {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-contact-intro .qma-copy {
        grid-column: 1;
        grid-row: auto;
    }

    body.qma-figma-page .qma-contact-form .input-box-message {
        min-height: 180px;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-contact-page .qma-about-landing__titlebar {
        min-height: 84px;
    }

    body.qma-figma-page .qma-contact-page .qma-about-landing__titlebar-inner {
        width: calc(100% - 32px);
        height: 84px;
    }

    body.qma-figma-page .qma-contact-page .qma-about-landing__title {
        font-size: 24px;
    }

    body.qma-figma-page .qma-contact-shell {
        padding: 54px 0 76px;
    }

    body.qma-figma-page .qma-contact-cards,
    body.qma-figma-page .qma-contact-fields {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-contact-form .input-box-message {
        grid-column: auto;
        grid-row: auto;
        min-height: 170px;
    }

    body.qma-figma-page .qma-contact-form textarea {
        min-height: 170px;
    }

    body.qma-figma-page .qma-contact-form-panel {
        padding: 24px;
    }

    body.qma-figma-page .qma-contact-map-panel #map_site {
        min-height: 360px;
    }
}

/* Academy details */
body.qma-figma-page .qma-academy-page {
    color: var(--qma-white);
    background:
        radial-gradient(circle at 74% 38%, rgba(0, 255, 107, 0.1), transparent 28%),
        linear-gradient(180deg, #090b16 0%, #070812 100%);
}

body.qma-figma-page .qma-academy-page .qma-about-landing__hero-image {
    height: 196px;
}

body.qma-figma-page .qma-academy-page .qma-about-landing__titlebar {
    min-height: 98px;
    background:
        linear-gradient(90deg, #00043f 0%, #00043f 52%, #000437 78%, #00042f 100%);
}

body.qma-figma-page .qma-academy-page .qma-about-landing__titlebar-inner {
    height: 98px;
}

body.qma-figma-page .qma-academy-page .qma-about-landing__title {
    font-size: 32px;
    line-height: 1;
}

body.qma-figma-page .qma-academy-intro {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 92px;
    align-items: start;
    margin-top: 76px;
}

body.qma-figma-page .qma-academy-intro--reverse {
    grid-template-columns: minmax(0, 1fr) 330px;
}

body.qma-figma-page .qma-academy-intro--reverse .qma-academy-intro__copy {
    order: 2;
}

body.qma-figma-page .qma-academy-intro--reverse .qma-academy-intro__text {
    order: 1;
}

body.qma-figma-page .qma-academy-intro--center {
    grid-template-columns: 1fr;
    gap: 26px;
}

body.qma-figma-page .qma-academy-intro--center .qma-academy-intro__copy,
body.qma-figma-page .qma-academy-intro--center .qma-academy-intro__text {
    padding-left: 0;
    padding-top: 0;
    max-width: none;
    order: initial;
}

body.qma-figma-page .qma-academy-intro--center .qma-academy-intro__title {
    max-width: 640px;
}

body.qma-figma-page .qma-academy-intro--compact {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 72px;
}

body.qma-figma-page .qma-academy-intro--compact .qma-academy-intro__text {
    max-width: 620px;
}

body.qma-figma-page .qma-academy-intro__copy {
    padding-left: 4px;
}

body.qma-figma-page .qma-academy-intro__title {
    margin: 18px 0 0;
    color: var(--qma-white);
    font-size: clamp(28px, 3.25vw, 44px);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-academy-intro__title span {
    display: block;
    color: var(--qma-green);
}

body.qma-figma-page .qma-academy-intro__text {
    padding-top: 48px;
    max-width: 760px;
}

body.qma-figma-page .qma-academy-intro__box {
    padding: 28px 30px 26px;
    overflow: hidden;
    border-radius: 4px;
    background:
        radial-gradient(circle at 92% 0%, rgba(0, 255, 107, 0.08), transparent 26%),
        #00043f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.qma-figma-page .qma-academy-body {
    color: rgba(239, 243, 255, 0.84);
    font-size: 14px;
    line-height: 1.68;
}

body.qma-figma-page .qma-academy-body > :first-child {
    margin-top: 0;
}

body.qma-figma-page .qma-academy-body h1,
body.qma-figma-page .qma-academy-body h2,
body.qma-figma-page .qma-academy-body h3,
body.qma-figma-page .qma-academy-body h4 {
    margin: 30px 0 14px;
    color: var(--qma-white);
    font-weight: 900;
    line-height: 1.12;
    text-transform: none;
}

body.qma-figma-page .qma-academy-body h2 {
    font-size: 20px;
}

body.qma-figma-page .qma-academy-body h3 {
    font-size: 18px;
}

body.qma-figma-page .qma-academy-body p {
    margin: 0 0 16px;
}

body.qma-figma-page .qma-academy-body strong {
    color: var(--qma-white);
}

body.qma-figma-page .qma-academy-body a {
    color: var(--qma-green);
}

body.qma-figma-page .qma-academy-body ul,
body.qma-figma-page .qma-academy-body ol {
    margin: 14px 0 18px;
    padding: 0;
    list-style: none;
}

body.qma-figma-page .qma-academy-body li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 20px;
}

body.qma-figma-page .qma-academy-body li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--qma-green);
    font-weight: 900;
}

body.qma-figma-page .qma-academy-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px 0 20px;
    border-radius: 4px;
}

body.qma-figma-page .qma-academy-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    color: inherit;
}

body.qma-figma-page .qma-academy-body th,
body.qma-figma-page .qma-academy-body td {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
}

body.qma-figma-page .qma-academy-panels {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

body.qma-figma-page .qma-academy-panels--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.qma-figma-page .qma-academy-panels--compact {
    grid-template-columns: 1fr;
}

body.qma-figma-page .qma-academy-panel {
    padding: 34px 34px 30px;
    overflow: hidden;
    border-radius: 4px;
    background:
        radial-gradient(circle at 94% 0%, rgba(0, 255, 107, 0.07), transparent 26%),
        #00043f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.qma-figma-page .qma-academy-panel h3 {
    margin: 0 0 18px;
    color: var(--qma-white);
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

body.qma-figma-page .qma-academy-panel .qma-academy-body {
    max-width: none;
}

body.qma-figma-page .qma-academy-panel .qma-academy-body strong {
    color: var(--qma-green);
}

body.qma-figma-page .qma-related-section.qma-academy-related {
    width: min(1407px, calc(100% - 48px));
    margin-top: 74px;
    padding: 56px 34px 58px;
    border-radius: 4px;
    background:
        radial-gradient(circle at 92% 44%, rgba(0, 255, 107, 0.12), transparent 30%),
        #00043f;
}

body.qma-figma-page .qma-academy-related .qma-related-head {
    margin-bottom: 28px;
}

body.qma-figma-page .qma-academy-related .qma-related-head h2 {
    font-size: 34px;
    line-height: 1;
}

body.qma-figma-page .qma-academy-related .qma-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

body.qma-figma-page .qma-academy-page--ladies .qma-about-landing__title span,
body.qma-figma-page .qma-academy-page--ladies .qma-academy-intro__title span {
    color: var(--qma-green);
}

body.qma-figma-page .qma-academy-page--adults .qma-about-landing__title span,
body.qma-figma-page .qma-academy-page--adults .qma-academy-intro__title span {
    color: #ffb84d;
}

body.qma-figma-page .qma-academy-page--motorcycles .qma-about-landing__title span,
body.qma-figma-page .qma-academy-page--motorcycles .qma-academy-intro__title span {
    color: #6fe9ff;
}

body.qma-figma-page .qma-academy-page--karting .qma-about-landing__title span,
body.qma-figma-page .qma-academy-page--karting .qma-academy-intro__title span {
    color: #b38cff;
}

body.qma-figma-page .qma-academy-page--challenge .qma-about-landing__title span,
body.qma-figma-page .qma-academy-page--challenge .qma-academy-intro__title span {
    color: #ffe85f;
}

body.qma-figma-page .qma-academy-page--riding .qma-about-landing__title span,
body.qma-figma-page .qma-academy-page--riding .qma-academy-intro__title span {
    color: #43f59f;
}

body.qma-figma-page .qma-academy-grid {
    gap: 18px;
}

body.qma-figma-page .qma-academy-card {
    min-height: 258px;
    border-radius: 2px;
}

body.qma-figma-page .qma-academy-card img {
    min-height: 258px;
}

body.qma-figma-page .qma-academy-card .qma-list-card-body {
    right: 18px;
    bottom: 18px;
    left: 18px;
}

body.qma-figma-page .qma-academy-card .qma-chip {
    min-height: 28px;
    padding: 7px 12px;
    margin-bottom: 14px;
    border-radius: 22px;
    font-size: 12px;
}

body.qma-figma-page .qma-academy-card h3 {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.18;
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-academy-intro {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 42px;
    }

    body.qma-figma-page .qma-academy-intro__text {
        padding-top: 0;
        max-width: none;
    }

    body.qma-figma-page .qma-academy-intro__box {
        padding: 24px 22px 22px;
    }

    body.qma-figma-page .qma-related-section.qma-academy-related {
        width: min(100%, calc(100% - 32px));
        padding: 44px 20px 46px;
    }

    body.qma-figma-page .qma-academy-panel {
        padding: 28px 22px 26px;
    }

    body.qma-figma-page .qma-academy-panel h3 {
        font-size: 24px;
    }

    body.qma-figma-page .qma-academy-intro--reverse .qma-academy-intro__copy,
    body.qma-figma-page .qma-academy-intro--reverse .qma-academy-intro__text {
        order: initial;
    }

    body.qma-figma-page .qma-academy-intro--center {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-academy-panels--inline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-academy-page .qma-about-landing__hero-image {
        height: 164px;
    }

    body.qma-figma-page .qma-academy-page .qma-about-landing__titlebar,
    body.qma-figma-page .qma-academy-page .qma-about-landing__titlebar-inner {
        min-height: 86px;
        height: 86px;
    }

    body.qma-figma-page .qma-academy-page .qma-about-landing__title {
        font-size: 24px;
    }

    body.qma-figma-page .qma-academy-intro__copy {
        padding-left: 0;
    }

    body.qma-figma-page .qma-academy-intro {
        margin-top: 34px;
    }

    body.qma-figma-page .qma-academy-intro__title {
        font-size: 28px;
    }

    body.qma-figma-page .qma-academy-intro__text {
        padding-top: 0;
    }

    body.qma-figma-page .qma-academy-intro__box {
        padding: 20px 16px 18px;
    }

    body.qma-figma-page .qma-academy-related .qma-related-head h2 {
        font-size: 24px;
    }

    body.qma-figma-page .qma-academy-related .qma-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.qma-figma-page .qma-academy-panels {
        margin-top: 28px;
    }

    body.qma-figma-page .qma-academy-panel {
        padding: 22px 18px 20px;
    }

    body.qma-figma-page .qma-academy-panel h3 {
        font-size: 20px;
    }

    body.qma-figma-page .qma-academy-card {
        min-height: 220px;
    }

    body.qma-figma-page .qma-academy-card img {
        min-height: 220px;
    }

    body.qma-figma-page .qma-academy-related .qma-related-grid {
        grid-template-columns: 1fr;
    }
}

/* Dedicated children academy page */
body.qma-figma-page .qma-academy-children-page {
    color: var(--qma-white);
}

body.qma-figma-page .qma-academy-children-intro,
body.qma-figma-page .qma-academy-children-boxgrid {
    width: min(1407px, calc(100% - 48px));
    margin-top: 76px;
}

body.qma-figma-page .qma-academy-children-intro {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 92px;
    align-items: start;
}

body.qma-figma-page .qma-academy-children-intro__copy {
    padding-left: 4px;
}

body.qma-figma-page .qma-academy-children-intro__title {
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-academy-children-intro__title span {
    display: block;
    color: var(--qma-green);
}

body.qma-figma-page .qma-academy-children-intro__text {
    padding-top: 48px;
}

body.qma-figma-page .qma-academy-children-boxgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.qma-figma-page .qma-academy-children-panel {
    padding: 30px 30px 26px;
    border-radius: 4px;
    background:
        radial-gradient(circle at 92% 0%, rgba(0, 255, 107, 0.08), transparent 26%),
        #00043f;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.qma-figma-page .qma-academy-children-panel--full {
    grid-column: 1 / -1;
}

body.qma-figma-page .qma-academy-children-panel--wide {
    min-height: 100%;
}

body.qma-figma-page .qma-academy-panel-head h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    text-transform: capitalize;
}

body.qma-figma-page .qma-academy-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.qma-figma-page .qma-academy-list li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 20px;
}

body.qma-figma-page .qma-academy-list li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--qma-green);
    font-weight: 900;
}

body.qma-figma-page .qma-academy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

body.qma-figma-page .qma-academy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

body.qma-figma-page .qma-academy-btn-primary {
    background: linear-gradient(180deg, #142cff 0%, #0d1fff 100%);
}

body.qma-figma-page .qma-academy-btn-success {
    background: linear-gradient(180deg, #00ff66 0%, #00e05a 100%);
    color: #091018;
}

body.qma-figma-page .qma-academy-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body.qma-figma-page .qma-academy-faq-item {
    padding: 18px 18px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.qma-figma-page .qma-academy-faq-item h4 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}

body.qma-figma-page .qma-academy-faq-item p {
    margin: 0;
    color: rgba(239, 243, 255, 0.82);
    font-size: 13px;
    line-height: 1.6;
}

/* Dedicated karting academy page */
body.qma-figma-page .qma-academy-karting-page .qma-about-landing__title span,
body.qma-figma-page .qma-academy-karting-page .qma-academy-children-intro__title span {
    color: var(--qma-green);
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-children-panel {
    background:
        linear-gradient(180deg, rgba(7, 15, 62, 0.98) 0%, rgba(5, 8, 40, 0.98) 100%);
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-children-panel--karting-note {
    background:
        radial-gradient(circle at 90% 0%, rgba(124, 240, 255, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(7, 15, 62, 0.98) 0%, rgba(5, 8, 40, 0.98) 100%);
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-children-panel--full {
    padding-bottom: 28px;
}

body.qma-figma-page .qma-karting-level-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

body.qma-figma-page .qma-karting-level-card {
    padding: 22px 20px 20px;
    border-radius: 4px;
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 240, 255, 0.08), transparent 24%),
        rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.qma-figma-page .qma-karting-level-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(0, 255, 107, 0.16);
    color: var(--qma-green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

body.qma-figma-page .qma-karting-level-card h4 {
    margin: 14px 0 10px;
    color: var(--qma-green);
    font-size: 18px;
    line-height: 1.18;
    font-weight: 900;
}

body.qma-figma-page .qma-karting-level-card h4 span {
    color: var(--qma-green);
}

body.qma-figma-page .qma-karting-level-card p {
    margin: 0 0 12px;
    color: rgba(239, 243, 255, 0.84);
    font-size: 13px;
    line-height: 1.65;
}

body.qma-figma-page .qma-karting-fee {
    color: var(--qma-green) !important;
    font-weight: 800;
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-body strong {
    color: var(--qma-green);
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-actions {
    margin-top: 14px;
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-children-panel--wide {
    margin-bottom: 0;
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-panel-head h3 {
    color: var(--qma-green);
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-body p,
body.qma-figma-page .qma-academy-karting-page .qma-academy-body li,
body.qma-figma-page .qma-academy-karting-page .qma-academy-body a {
    color: rgba(239, 243, 255, 0.84);
}

body.qma-figma-page .qma-academy-karting-page .qma-academy-body strong {
    color: var(--qma-green);
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-karting-level-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-karting-level-card {
        padding: 18px 16px 16px;
    }

    body.qma-figma-page .qma-karting-level-card h4 {
        font-size: 16px;
    }
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-academy-children-intro {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 42px;
    }

    body.qma-figma-page .qma-academy-children-intro__text {
        padding-top: 0;
    }

    body.qma-figma-page .qma-academy-children-boxgrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-academy-children-intro,
    body.qma-figma-page .qma-academy-children-boxgrid {
        width: calc(100% - 32px);
    }

    body.qma-figma-page .qma-academy-children-panel {
        padding: 20px 16px 18px;
    }

    body.qma-figma-page .qma-academy-panel-head h3 {
        font-size: 20px;
    }

    body.qma-figma-page .qma-academy-faq-grid {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-academy-faq-item p,
    body.qma-figma-page .qma-academy-list li {
        font-size: 13px;
    }
}

body.qma-figma-page .qma-about-landing__intro {
    display: grid;
    grid-template-columns: minmax(250px, 0.95fr) minmax(0, 1.05fr);
    gap: 54px;
    align-items: start;
    margin-top: 56px;
}

body.qma-figma-page .qma-about-landing__intro-copy {
    padding-left: 4px;
}

body.qma-figma-page .qma-about-landing__section-title {
    margin: 18px 0 0;
    color: var(--qma-white);
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-about-landing__section-title span {
    color: var(--qma-green);
}

body.qma-figma-page .qma-about-landing__intro-text {
    padding-top: 68px;
    max-width: 560px;
}

body.qma-figma-page .qma-about-landing__intro-text p {
    margin: 0;
    color: rgba(235, 239, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

body.qma-figma-page .qma-about-landing__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
}

body.qma-figma-page .qma-about-landing__card {
    position: relative;
    min-height: 360px;
    padding: 24px 24px 30px;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(18, 23, 87, 0.98) 0%, rgba(10, 13, 45, 0.98) 100%);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

body.qma-figma-page .qma-about-landing__card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 10px;
    background: linear-gradient(90deg, rgba(13, 224, 89, 0.85) 0 18%, rgba(13, 224, 89, 0) 18% 22%, rgba(13, 224, 89, 0.85) 22% 40%, rgba(13, 224, 89, 0) 40% 44%, rgba(13, 224, 89, 0.85) 44% 62%, rgba(13, 224, 89, 0) 62% 66%, rgba(13, 224, 89, 0.85) 66% 84%, rgba(13, 224, 89, 0) 84% 88%, rgba(13, 224, 89, 0.85) 88% 100%);
    opacity: 0.78;
}

body.qma-figma-page .qma-about-landing__card h3 {
    margin: 0 0 16px;
    color: var(--qma-white);
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

body.qma-figma-page .qma-about-landing__card-body {
    position: relative;
    z-index: 1;
    color: rgba(239, 243, 255, 0.82);
    font-size: 14px;
    line-height: 1.65;
}

body.qma-figma-page .qma-about-landing__card-body p {
    margin: 0 0 14px;
}

body.qma-figma-page .qma-about-landing__card-body p:last-child {
    margin-bottom: 0;
}

body.qma-figma-page .qma-about-landing__chevrons {
    position: absolute;
    left: 24px;
    bottom: 12px;
    z-index: 0;
    display: block;
    width: 160px;
    height: 18px;
    opacity: 0.8;
    background:
        linear-gradient(135deg, transparent 40%, rgba(12, 224, 89, 0.82) 40% 58%, transparent 58%) 0 0 / 26px 18px repeat-x;
    clip-path: polygon(0 0, 94% 0, 100% 100%, 0 100%);
}

/* About academy discipline cards */
body.qma-figma-page .qma-about-landing__cards {
    gap: 24px;
    margin-top: 48px;
}

body.qma-figma-page .qma-about-landing__card {
    isolation: isolate;
    min-height: 520px;
    padding: 34px 34px 52px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: #0d1026;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

body.qma-figma-page .qma-about-landing__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(7, 9, 28, 0.68) 0%, rgba(7, 9, 28, 0.93) 42%, #090b1b 100%),
        var(--qma-discipline-image) center / cover no-repeat;
    transition: transform 0.45s ease;
}

body.qma-figma-page .qma-about-landing__card--motorcycle {
    background: #090b1b;
}

body.qma-figma-page .qma-about-landing__card--motorcycle::before {
    content: "";
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(7, 9, 28, 0.64), rgba(7, 9, 28, 0.76)),
        url("../images/figma-home/heromooto.png") center / cover no-repeat;
    transform: scale(1);
    transition: transform 450ms ease;
    pointer-events: none;
}

body.qma-figma-page .qma-about-landing__card--motorcycle > .qma-about-landing__card-head,
body.qma-figma-page .qma-about-landing__card--motorcycle > h3,
body.qma-figma-page .qma-about-landing__card--motorcycle > .qma-about-landing__card-body {
    position: relative;
    z-index: 1;
}


body.qma-figma-page .qma-about-landing__card--motorcycle h3,
body.qma-figma-page .qma-about-landing__card--motorcycle .qma-about-landing__card-body {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

body.qma-figma-page .qma-about-landing__card--motorcycle .qma-about-landing__card-body,
body.qma-figma-page .qma-about-landing__card--motorcycle .qma-about-landing__card-body * {
    background-color: transparent !important;
    background-image: none !important;
}

body.qma-figma-page .qma-about-landing__card--karting {
    --qma-discipline-image: url("../images/figma-home/cta.jpg");
    background: #090b1b;
}

body.qma-figma-page .qma-about-landing__card--karting::before {
    content: "";
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(7, 9, 28, 0.64), rgba(7, 9, 28, 0.76)),
        var(--qma-discipline-image) center / cover no-repeat;
    transform: scale(1);
    transition: transform 450ms ease;
    pointer-events: none;
}

body.qma-figma-page .qma-about-landing__card--karting > .qma-about-landing__card-head,
body.qma-figma-page .qma-about-landing__card--karting > h3,
body.qma-figma-page .qma-about-landing__card--karting > .qma-about-landing__card-body {
    position: relative;
    z-index: 1;
}


body.qma-figma-page .qma-about-landing__card--karting h3,
body.qma-figma-page .qma-about-landing__card--karting .qma-about-landing__card-body {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

body.qma-figma-page .qma-about-landing__card:hover::before {
    transform: scale(1.025);
}

body.qma-figma-page .qma-about-landing__card-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

body.qma-figma-page .qma-about-landing__card-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    color: #061526;
    border-radius: 50%;
    background: var(--qma-green);
    box-shadow: 0 10px 26px rgba(0, 255, 107, 0.24);
    font-size: 21px;
}

body.qma-figma-page .qma-about-landing__card-number {
    color: rgba(255, 255, 255, 0.14);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
}

body.qma-figma-page .qma-about-landing__card-label {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 9px;
    color: var(--qma-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-about-landing__card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    padding-bottom: 20px;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

body.qma-figma-page .qma-about-landing__card h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: var(--qma-green);
}

body.qma-figma-page .qma-about-landing__card-body {
    max-width: 680px;
    color: rgba(244, 247, 255, 0.78);
    font-size: 14px;
    line-height: 1.78;
}

body.qma-figma-page .qma-about-landing__card-body h2,
body.qma-figma-page .qma-about-landing__card-body h3 {
    margin: 24px 0 10px;
    padding: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
}

body.qma-figma-page .qma-about-landing__card-body h2::after,
body.qma-figma-page .qma-about-landing__card-body h3::after {
    display: none;
}

body.qma-figma-page .qma-about-landing__card::after {
    height: 4px;
    background: linear-gradient(90deg, var(--qma-green), rgba(0, 255, 107, 0.08) 70%, transparent);
    opacity: 1;
}

body.qma-figma-page .qma-about-landing__card .qma-about-landing__chevrons {
    right: 22px;
    bottom: 18px;
    left: auto;
    width: 110px;
    opacity: 0.25;
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-about-landing__intro {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    body.qma-figma-page .qma-about-landing__intro-text {
        padding-top: 0;
        max-width: none;
    }

    body.qma-figma-page .qma-about-landing__cards {
        grid-template-columns: 1fr;
    }

    body.qma-figma-page .qma-about-landing__card {
        min-height: 320px;
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-about-landing__hero-image {
        height: 168px;
    }

    body.qma-figma-page .qma-about-landing__titlebar {
        min-height: 84px;
    }

    body.qma-figma-page .qma-about-landing__titlebar-inner {
        height: 84px;
    }

    body.qma-figma-page .qma-about-landing__title {
        font-size: 24px;
    }

    body.qma-figma-page .qma-about-landing__intro {
        margin-top: 34px;
    }

    body.qma-figma-page .qma-about-landing__section-title {
        font-size: 26px;
    }

    body.qma-figma-page .qma-about-landing__card {
        min-height: 0;
        padding: 22px 18px 28px;
    }

    body.qma-figma-page .qma-about-landing__cards {
        gap: 18px;
        margin-top: 34px;
    }

    body.qma-figma-page .qma-about-landing__card-head {
        margin-bottom: 22px;
    }

    body.qma-figma-page .qma-about-landing__card-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    body.qma-figma-page .qma-about-landing__card-number {
        font-size: 34px;
    }

    body.qma-figma-page .qma-about-landing__card h3 {
        margin-bottom: 18px;
        padding-bottom: 15px;
        font-size: 23px;
    }

    body.qma-figma-page .qma-about-landing__card-body {
        font-size: 13px;
        line-height: 1.7;
    }

    body.qma-figma-page .qma-about-landing__chevrons {
        left: 18px;
        width: 132px;
    }
}
/* Homepage Media Mosaic */
body.qma-figma-page .qma-experience .qma-mosaic {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 90px;
    grid-auto-flow: dense;
    gap: 10px;
    padding-top: 4px;
}

body.qma-figma-page .qma-experience .qma-mosaic .wide {
    grid-column: span 2;
}

body.qma-figma-page .qma-experience .qma-mosaic .tall {
    grid-row: span 2;
}

body.qma-figma-page .qma-experience .qma-mosaic-item {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 2px;
    background: #10121f;
    color: #fff;
    text-decoration: none;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 12px 24px rgba(0, 0, 0, 0.28);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

body.qma-figma-page .qma-experience .qma-mosaic-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

body.qma-figma-page .qma-experience .qma-mosaic-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(
            180deg,
            transparent 30%,
            rgba(2, 5, 27, 0.9) 100%
        );
    transition: opacity 0.25s ease;
}

body.qma-figma-page .qma-experience .qma-mosaic-item strong {
    position: absolute;
    right: 10px;
    bottom: 9px;
    left: 10px;
    z-index: 3;
    overflow: hidden;
    color: #fff;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

body.qma-figma-page .qma-experience .qma-mosaic-item__type {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #00ff6b;
    color: #001428;
    font-size: 10px;
    box-shadow: 0 6px 16px rgba(0, 255, 107, 0.28);
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

body.qma-figma-page .qma-experience .qma-mosaic-item:hover,
body.qma-figma-page .qma-experience .qma-mosaic-item:focus {
    z-index: 4;
    outline: none;
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.38),
        inset 0 0 0 2px #00ff6b;
    transform: translateY(-3px);
}

body.qma-figma-page .qma-experience .qma-mosaic-item:hover::after,
body.qma-figma-page .qma-experience .qma-mosaic-item:focus::after {
    opacity: 1;
}

body.qma-figma-page .qma-experience .qma-mosaic-item:hover img,
body.qma-figma-page .qma-experience .qma-mosaic-item:focus img {
    filter: brightness(0.8);
    transform: scale(1.06);
}

body.qma-figma-page .qma-experience .qma-mosaic-item:hover strong,
body.qma-figma-page .qma-experience .qma-mosaic-item:focus strong {
    opacity: 1;
    transform: translateY(0);
}

body.qma-figma-page .qma-experience
.qma-mosaic-item:hover .qma-mosaic-item__type,
body.qma-figma-page .qma-experience
.qma-mosaic-item:focus .qma-mosaic-item__type {
    box-shadow: 0 8px 22px rgba(0, 255, 107, 0.48);
    transform: scale(1.1);
}

/* Tablet */
@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-experience .qma-mosaic {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    body.qma-figma-page .qma-experience .qma-mosaic {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 82px;
        gap: 8px;
    }

    body.qma-figma-page .qma-experience .qma-mosaic-item strong {
        right: 7px;
        bottom: 6px;
        left: 7px;
        font-size: 8px;
    }

    body.qma-figma-page .qma-experience .qma-mosaic-item__type {
        top: 6px;
        right: 6px;
        width: 22px;
        height: 22px;
        font-size: 8px;
    }
}


/* About Us: expanded motorcycle academy information */
body.qma-figma-page .qma-about-landing__cards--detailed {
    grid-template-columns: minmax(0, 1fr);
}

body.qma-figma-page .qma-about-landing__cards--detailed .qma-about-landing__card {
    min-height: 0;
}

body.qma-figma-page .qma-about-landing__cards--detailed .qma-about-landing__card-body {
    max-width: none;
}

body.qma-figma-page .qma-about-motorcycle-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 40px;
}

body.qma-figma-page .qma-about-motorcycle-section {
    min-width: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 107, 0.25);
}

body.qma-figma-page .qma-about-motorcycle-section h4 {
    margin: 0 0 18px;
    color: var(--qma-green);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.qma-figma-page .qma-about-landing__cards--detailed .qma-about-landing__card--karting .qma-about-landing__card-body {
    columns: 2;
    column-gap: 40px;
}

body.qma-figma-page .qma-about-landing__cards--detailed .qma-about-landing__card--karting p {
    break-inside: avoid;
}

@media (max-width: 991.98px) {
    body.qma-figma-page .qma-about-motorcycle-sections {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    body.qma-figma-page .qma-about-landing__cards--detailed .qma-about-landing__card--karting .qma-about-landing__card-body {
        columns: 1;
    }
}


/* About Us introduction and academy section links */
body.qma-figma-page .qma-about-landing__summary span {
    display: block;
}

body.qma-figma-page .qma-about-landing__section-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

body.qma-figma-page .qma-about-landing__section-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--qma-green);
    border-radius: 6px;
    background: var(--qma-green);
    color: #061526;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

body.qma-figma-page .qma-about-landing__section-link:hover {
    background: #061526;
    color: var(--qma-green);
}

body.qma-figma-page .qma-about-landing__section-link:focus-visible {
    outline: 2px solid var(--qma-white);
    outline-offset: 4px;
}

body.qma-figma-page .qma-about-landing__cards--detailed .qma-about-landing__card[id] {
    scroll-margin-top: 24px;
}

/* Children Academy development levels and fee details */
body.qma-figma-page .qma-academy-children-page .qma-children-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
}

body.qma-figma-page .qma-academy-children-page .qma-children-detail-card {
    min-width: 0;
    padding: 24px 20px;
    border: 1px solid rgba(0, 255, 107, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.025);
}

body.qma-figma-page .qma-academy-children-page .qma-children-detail-card h4 {
    margin: 0 0 18px;
    color: var(--qma-green);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}

body.qma-figma-page .qma-academy-children-page .qma-children-tagline {
    color: var(--qma-green);
}

@media (max-width: 1199.98px) {
    body.qma-figma-page .qma-academy-children-page .qma-children-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    body.qma-figma-page .qma-academy-children-page .qma-children-detail-card {
        padding: 20px 16px;
    }
}


/* Children Academy: use the full width for the introduction */
body.qma-figma-page .qma-academy-children-intro--full {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

body.qma-figma-page .qma-academy-children-intro--full .qma-academy-children-intro__text {
    padding-top: 0;
}

body.qma-figma-page .qma-academy-children-intro--full .qma-academy-children-intro__title {
    line-height: 1.1;
}

body.qma-figma-page .qma-academy-children-intro--full .qma-academy-body {
    columns: 2;
    column-gap: 36px;
}

body.qma-figma-page .qma-academy-children-intro--full .qma-academy-body p {
    break-inside: avoid;
}

@media (max-width: 991.98px) {
    body.qma-figma-page .qma-academy-children-intro--full .qma-academy-body {
        columns: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.qma-figma-page .qma-about-landing__card--motorcycle::before,
    body.qma-figma-page .qma-about-landing__card--karting::before {
        transition: none;
    }

    body.qma-figma-page .qma-about-landing__card--motorcycle:hover::before,
    body.qma-figma-page .qma-about-landing__card--karting:hover::before {
        transform: none;
    }
}
/* Header academy submenu: native disclosure supports mouse, touch and keyboard. */
body.qma-figma-page .qma-academy-submenu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.qma-figma-page .qma-academy-submenu > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}
body.qma-figma-page .qma-academy-submenu > summary::-webkit-details-marker {
    display: none;
}
body.qma-figma-page .qma-academy-submenu > summary:hover,
body.qma-figma-page .qma-academy-submenu > summary:focus-visible,
body.qma-figma-page .qma-academy-submenu[open] > summary {
    color: var(--qma-green);
    background: rgba(0, 255, 107, 0.08);
}
body.qma-figma-page .qma-academy-submenu > summary:focus-visible {
    outline: 2px solid var(--qma-green);
    outline-offset: -2px;
}
body.qma-figma-page .qma-academy-submenu[open] > summary span {
    transform: rotate(45deg);
}
body.qma-figma-page .qma-academy-submenu-links {
    background: rgba(0, 0, 0, 0.22);
}
body.qma-figma-page .qma-academy-submenu-links a {
    padding-left: 28px;
}

/* Open Motorcycle Academy options to the right of the academy dropdown. */
body.qma-figma-page .qma-academy-submenu {
    position: relative;
}
body.qma-figma-page .qma-academy-submenu-links {
    position: absolute;
    left: 100%;
    right: auto;
    top: 0;
    width: 210px;
    max-width: calc(100vw - 32px);
    background: #101526;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    z-index: 5;
    overflow: hidden;
}
body.qma-figma-page .qma-academy-submenu-links a {
    padding: 14px 18px;
}
body.qma-figma-page .qma-academy-submenu > summary span {
    font-size: 0;
}
body.qma-figma-page .qma-academy-submenu > summary span::after {
    content: "\203A";
    font-size: 20px;
    line-height: 1;
}
body.qma-figma-page .qma-academy-submenu[open] > summary span {
    transform: none;
}
@media (max-width: 767.98px) {
    body.qma-figma-page .qma-academy-submenu-links {
        right: auto;
        left: 0;
        top: 100%;
        width: calc(100% - 20px);
        border-left: 3px solid var(--qma-green);
    }
}

/* Popular Academy footer disclosure stays inside the column at every width. */
.qma-footer .qma-footer-academy-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 6px 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    list-style: none;
    font-size: 11px;
}
.qma-footer .qma-footer-academy-group > summary::-webkit-details-marker {
    display: none;
}
.qma-footer .qma-footer-academy-group > summary:hover,
.qma-footer .qma-footer-academy-group > summary:focus-visible {
    color: #00ff6b;
}
.qma-footer .qma-footer-academy-group > summary:focus-visible {
    outline: 2px solid #00ff6b;
    outline-offset: 3px;
}
.qma-footer .qma-footer-academy-group[open] > summary span {
    transform: rotate(45deg);
}
.qma-footer .qma-footer-academy-group > ul {
    margin: 4px 0 10px;
    padding-inline-start: 14px;
    border-inline-start: 2px solid #00ff6b;
    list-style: none;
}
.qma-footer .qma-footer-academy-group > ul a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    white-space: normal;
}
