/* AquaSafe homepage — Option 3
   A restrained editorial system scoped to the current homepage only. */
html:has(body.aquasafe-home-v3) {
    overflow-x: clip;
}

/* Every value here resolves to frontend/css/aquasafe-tokens.css. The local
   --v3-* names are kept so the rules below read unchanged; what changed is
   that they no longer each pick their own value. */
.aquasafe-home-v3 {
    --v3-navy: var(--as-navy);
    --v3-blue: var(--as-blue);
    --v3-blue-dark: var(--as-blue-dark);
    --v3-red: var(--as-red);
    --v3-ink: var(--as-ink);
    --v3-muted: var(--as-muted);
    --v3-soft: var(--as-soft);
    --v3-line: var(--as-line);
    --v3-radius: var(--as-radius);
    --v3-section-space: var(--as-space-2xl);
    --v3-content-width: var(--as-content-width);
    --v3-text-sm: var(--as-text-md);
    --v3-text-md: var(--as-text-base);
    --v3-text-lg: var(--as-text-lg);
    color: var(--v3-ink);
    background: var(--as-surface);
    font-size: var(--as-text-base);
    overflow-x: clip;
}

.aquasafe-home-v3 .as-shell,
.aquasafe-home-v3 .as-certification-about__container,
.aquasafe-home-v3 .as-featured-course__container,
.aquasafe-home-v3 .as-certification-faq__container,
.aquasafe-home-v3 .as-certification-journey__container,
.aquasafe-home-v3 .as-certification-news__container,
.aquasafe-home-v3 .instructor__area-two > .container {
    width: min(var(--v3-content-width), calc(100% - 64px));
    max-width: var(--v3-content-width);
    margin-inline: auto;
}

.aquasafe-home-v3 h1,
.aquasafe-home-v3 h2,
.aquasafe-home-v3 h3,
.aquasafe-home-v3 h4 {
    color: var(--v3-navy);
    letter-spacing: -.025em;
}

.aquasafe-home-v3 a,
.aquasafe-home-v3 button,
.aquasafe-home-v3 input {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Focus rings for this scope live in aquasafe-a11y.css, which restates this
   selector list at higher specificity; the copy that used to sit here never
   applied. */

/* Compact, readable desktop header */
@media (min-width: 1200px) {
    .aquasafe-home-v3 .tg-header__top .container,
    .aquasafe-home-v3 .tg-header__area .container {
        width: min(var(--v3-content-width), calc(100% - 64px));
        max-width: var(--v3-content-width);
        padding-inline: 0;
    }

    .aquasafe-home-v3 .tg-header__area { padding: 0; }
    .aquasafe-home-v3 .tgmenu__nav { min-height: 72px; gap: 18px; }
    .aquasafe-home-v3 .tgmenu__nav .logo { flex-basis: 164px; }
    .aquasafe-home-v3 .tgmenu__nav .logo img { max-width: 158px; max-height: 48px; }
    .aquasafe-home-v3 .tgmenu__navbar-wrap { margin-left: 12px; }
    .aquasafe-home-v3 .navigation { gap: 8px; }
    .aquasafe-home-v3 .navigation > li > a {
        padding: 25px 15px;
        color: var(--v3-navy);
        font-size: var(--as-text-base);
        line-height: 22px;
        font-weight: 700;
    }

    .aquasafe-home-v3 .tgmenu__navbar-wrap .navigation > li.active > a { color: var(--v3-navy); }
    .aquasafe-home-v3 .tgmenu__navbar-wrap .navigation > li.active > a::after { left: 15px; right: 15px; background: var(--v3-red); }
    .aquasafe-home-v3 .tgmenu__navbar-wrap .navigation .sub-menu li.active > a { color: var(--v3-red); }
}

/* Hero */
.aquasafe-home-v3 .as-hero {
    position: relative;
    min-height: 530px;
    overflow: hidden;
    background: #fff;
}

.aquasafe-home-v3 .as-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: var(--v3-line);
}

.aquasafe-home-v3 .as-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
    align-items: center;
    gap: 34px;
    min-height: 530px;
}

.aquasafe-home-v3 .as-hero__copy {
    width: auto;
    padding: 46px 0;
}

.aquasafe-home-v3 .as-hero__visual {
    align-self: end;
    min-width: 0;
    height: 510px;
}

.aquasafe-home-v3 .as-hero__team {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.aquasafe-home-v3 .as-hero h1 {
    max-width: 690px;
    margin: 0 0 20px;
    font-size: clamp(var(--as-heading-lg), 3.5vw, var(--as-heading-display));
    line-height: 1.08;
    font-weight: 800;
}

.aquasafe-home-v3 .as-hero__copy > h3 {
    margin-bottom: 13px;
    color: var(--v3-blue);
    font-size: var(--as-text-md);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.aquasafe-home-v3 .as-hero-subtitle,
.aquasafe-home-v3 .as-hero-subtitle p {
    max-width: 590px;
    margin: 0;
    color: var(--as-body);
    font-size: var(--as-text-base);
    line-height: 1.7;
}

.aquasafe-home-v3 .as-btn {
    min-height: 52px;
    border-radius: 7px;
    padding: 0 27px;
    font-size: var(--as-text-md);
}

.aquasafe-home-v3 .as-btn--red {
    background: var(--v3-red);
    box-shadow: var(--as-shadow-cta);
}

.aquasafe-home-v3 .as-btn--red:hover {
    color: #fff;
    background: var(--as-red-dark);
    transform: translateY(-2px);
}

.aquasafe-home-v3 .as-location {
    color: var(--v3-muted);
    font-size: var(--as-text-md);
}

.aquasafe-home-v3 .as-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 24px 0 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.aquasafe-home-v3 .as-hero-proof__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--as-body);
}

.aquasafe-home-v3 .as-hero-proof i {
    margin: 0 0 11px;
    color: var(--v3-blue);
    font-size: 36px;
    line-height: 1;
}

.aquasafe-home-v3 .as-hero-proof strong {
    display: block;
    color: var(--v3-navy);
    font-size: var(--as-text-base);
    line-height: 1.25;
    font-weight: 800;
}

.aquasafe-home-v3 .as-hero-proof span {
    display: block;
    margin-top: 5px;
    color: var(--v3-muted);
    font-size: var(--as-text-sm);
    line-height: 1.4;
    font-weight: 500;
}

/* Consistent section rhythm */
.aquasafe-home-v3 .as-certification-about,
.aquasafe-home-v3 .as-featured-course,
.aquasafe-home-v3 .as-certification-faq,
.aquasafe-home-v3 .as-certification-journey,
.aquasafe-home-v3 .as-certification-news,
.aquasafe-home-v3 .instructor__area-two {
    padding-block: var(--v3-section-space);
}

.aquasafe-home-v3 .as-certification-about__heading,
.aquasafe-home-v3 .as-featured-course__heading,
.aquasafe-home-v3 .as-certification-faq__heading,
.aquasafe-home-v3 .as-certification-journey__heading,
.aquasafe-home-v3 .as-certification-news__heading {
    margin-bottom: 28px;
}

.aquasafe-home-v3 .as-certification-about__heading > span,
.aquasafe-home-v3 .as-featured-course__heading > span,
.aquasafe-home-v3 .as-certification-faq__heading > span,
.aquasafe-home-v3 .as-certification-journey__heading > span,
.aquasafe-home-v3 .as-certification-news__heading > span {
    margin-bottom: 10px;
    color: var(--v3-blue) !important;
    background: none;
    padding: 0;
    font-size: var(--as-text-xs);
    letter-spacing: .12em;
}

.aquasafe-home-v3 .as-certification-about__heading h2,
.aquasafe-home-v3 .as-featured-course__heading h2,
.aquasafe-home-v3 .as-certification-faq__heading h2,
.aquasafe-home-v3 .as-certification-journey__heading h2,
.aquasafe-home-v3 .as-certification-news__heading h2 {
    font-size: clamp(30px, 2.4vw, 40px);
    line-height: 1.2;
}

/* About */
.aquasafe-home-v3 .as-certification-about {
    padding-block: 40px 16px;
}

.aquasafe-home-v3 .as-certification-about__container {
    width: min(var(--v3-content-width), calc(100% - 64px));
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 52px;
}

.aquasafe-home-v3 .as-certification-about__heading {
    width: auto;
    margin: 0 0 28px;
    text-align: left;
}

.aquasafe-home-v3 .as-certification-about__media {
    min-height: 390px;
}

.aquasafe-home-v3 .as-certification-about__media > img {
    width: 100%;
    height: 390px;
    max-width: none;
    max-height: none;
    border-radius: var(--v3-radius);
    object-fit: cover;
}

.aquasafe-home-v3 .as-certification-about__description {
    color: var(--as-body);
    font-size: var(--as-text-base);
    line-height: 1.75;
    font-weight: 500;
}

.aquasafe-home-v3 .as-certification-about__description li {
    padding-left: 46px;
}

.aquasafe-home-v3 .as-certification-about__description li::before {
    width: 32px;
    height: 32px;
    background: var(--as-soft-blue);
    color: var(--v3-blue);
    font-size: var(--as-text-xs);
}

.aquasafe-home-v3 .as-certification-about__button {
    background: var(--v3-navy);
}

/* Featured course */
.aquasafe-home-v3 .as-featured-course {
    padding-block: 28px 24px;
    background: var(--v3-soft);
}

.aquasafe-home-v3 .as-featured-course__stage {
    width: min(960px, calc(100% - 110px));
}

.aquasafe-home-v3 .as-featured-course__dots.swiper-pagination-lock {
    display: none;
}

.aquasafe-home-v3 .as-featured-card {
    overflow: hidden;
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    background: #fff;
    box-shadow: var(--as-shadow-lg);
}

.aquasafe-home-v3 .as-featured-card {
    grid-template-rows: 260px 58px;
}

.aquasafe-home-v3 .as-featured-card__image img {
    object-fit: cover;
}

.aquasafe-home-v3 .as-featured-card__content h3,
.aquasafe-home-v3 .as-featured-card__content h3 a {
    font-size: var(--as-heading-xs);
    line-height: 1.25;
}

.aquasafe-home-v3 .as-featured-card__content > p {
    color: var(--v3-muted);
    font-size: var(--as-text-md);
    line-height: 1.65;
}

.aquasafe-home-v3 .as-featured-card__enroll {
    background: var(--v3-red);
}

/* Newsletter + metrics */
.aquasafe-home-v3 .as-newsletter-cta {
    padding: 30px 0;
    background: var(--v3-blue);
}

.aquasafe-home-v3 .as-newsletter-cta .as-shell {
    width: min(var(--v3-content-width), calc(100% - 64px));
}

.aquasafe-home-v3 .as-newsletter-cta h2 {
    color: #fff;
    font-size: clamp(24px, 2.2vw, 30px);
}

.aquasafe-home-v3 .as-newsletter-cta__message {
    display: flex;
    align-items: center;
    gap: 18px;
}

.aquasafe-home-v3 .as-newsletter-cta__media {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: hidden;
    border-radius: 50%;
    background: #fff;
}

.aquasafe-home-v3 .as-newsletter-cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aquasafe-home-v3 .as-newsletter-cta__form {
    height: 50px;
}

.aquasafe-home-v3 .as-newsletter-cta__form input {
    padding-inline: 20px;
    font-size: var(--as-text-base);
}

/* The same newsletter band appears on /about-us with a red submit; this one
   was navy, at a different weight and size, so the identical component read
   as two different components between two pages. The approved board shows
   this button red. */
.aquasafe-home-v3 .as-newsletter-cta__form button {
    min-width: 160px;
    background: var(--v3-red);
    font-size: var(--as-text-sm);
    font-weight: 700;
}

.aquasafe-home-v3 .as-newsletter-cta__form button:hover {
    background: var(--as-red-dark);
}

.aquasafe-home-v3 .as-trust-wrap {
    width: 100%;
    margin-top: 0;
    background: #fff;
}

.aquasafe-home-v3 .as-trust {
    width: 100%;
    max-width: var(--v3-content-width);
    margin: 0 auto;
    padding: 22px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.aquasafe-home-v3 .as-trust article {
    padding-block: 3px;
}

.aquasafe-home-v3 .as-trust-icon {
    width: 38px;
    height: 38px;
}

.aquasafe-home-v3 .as-trust h3 {
    font-size: var(--as-heading-sm);
}

.aquasafe-home-v3 .as-trust p {
    font-size: var(--as-text-md);
}

/* FAQ */
.aquasafe-home-v3 .as-certification-faq {
    padding-block: 44px;
    background: var(--v3-soft);
}

.aquasafe-home-v3 .as-certification-faq__container {
    width: min(var(--v3-content-width), calc(100% - 64px));
}

.aquasafe-home-v3 .as-certification-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 56px;
    align-items: center;
}

.aquasafe-home-v3 .as-certification-faq__media {
    min-height: 420px;
}

.aquasafe-home-v3 .as-certification-faq__media > img {
    display: block;
    width: 100%;
    height: 420px;
    border: 1px solid var(--as-line-strong);
    border-radius: 7px;
    object-fit: contain;
}

.aquasafe-home-v3 .as-certification-faq__content {
    min-width: 0;
}

.aquasafe-home-v3 .as-certification-faq__heading {
    width: auto;
    margin: 0 0 18px;
    text-align: left;
}

.aquasafe-home-v3 .as-certification-faq__heading > span {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.aquasafe-home-v3 .as-certification-faq__heading h2 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(30px, 2.65vw, 40px);
    line-height: 1.2;
}

.aquasafe-home-v3 .as-certification-faq__heading p {
    max-width: 620px;
    margin: 12px 0 0;
    color: var(--as-body);
    font-size: var(--as-text-base);
    line-height: 1.65;
}

.aquasafe-home-v3 .as-certification-faq__accordion {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.aquasafe-home-v3 .as-certification-faq__accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--as-line-strong);
    border-radius: 0;
    background: transparent;
}

.aquasafe-home-v3 .as-certification-faq__accordion .accordion-button {
    min-height: 54px;
    padding: 14px 8px;
    color: var(--v3-navy);
    background: transparent;
    font-size: var(--as-text-base);
    line-height: 1.35;
    font-weight: 700;
    box-shadow: none;
}

.aquasafe-home-v3 .as-certification-faq__accordion .accordion-button:not(.collapsed) {
    color: var(--as-blue);
    background: transparent;
    box-shadow: none;
}

.aquasafe-home-v3 .as-certification-faq__accordion .accordion-body {
    padding: 0 36px 18px 8px;
    color: var(--as-body);
    font-size: var(--as-text-md);
    line-height: 1.65;
}

/* Journey */
.aquasafe-home-v3 .as-certification-journey {
    background: #fff;
    padding-block: 40px 20px;
}

.aquasafe-home-v3 .as-certification-journey__container {
    width: min(var(--v3-content-width), calc(100% - 64px));
}

.aquasafe-home-v3 .as-certification-journey__steps {
    gap: 36px;
}

.aquasafe-home-v3 .as-journey-card {
    display: block;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* The step connector was drawn for the bordered card this layer replaced,
   where the middle of the box was the middle of nothing in particular. With
   the box gone it pointed straight across the body copy. It belongs level
   with the icons, which is where one step actually hands over to the next. */
.aquasafe-home-v3 .as-journey-card:not(:last-child)::after {
    top: 32px;
}

.aquasafe-home-v3 .as-journey-card:not(:last-child)::before {
    top: 28px;
}

.aquasafe-home-v3 .as-journey-card__number {
    top: -8px;
    left: -7px;
    width: 38px;
    height: 38px;
    border-width: 3px;
    background: var(--v3-blue);
    font-size: var(--as-text-lg);
    font-weight: 700;
}

.aquasafe-home-v3 .as-journey-card__heading {
    min-height: 64px;
    margin: 0 0 12px;
    padding: 0 0 0 16px;
}

.aquasafe-home-v3 .as-journey-card__icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 0;
    background: transparent;
    color: var(--v3-blue);
    font-size: 48px;
}

.aquasafe-home-v3 .as-journey-card__icon img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.aquasafe-home-v3 .as-journey-card h3 {
    min-height: 44px;
    margin: 0 0 10px;
    font-size: var(--as-text-base);
    line-height: 1.35;
}

.aquasafe-home-v3 .as-journey-card p {
    color: var(--v3-muted);
    font-size: var(--as-text-sm);
    line-height: 1.65;
}

/* Dual role cards */
.aquasafe-home-v3 .instructor__area-two {
    background: var(--v3-soft);
    padding-block: 16px;
}

.aquasafe-home-v3 .instructor__area-two > .container {
    max-width: var(--v3-content-width);
}

.aquasafe-home-v3 .instructor__item-two {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    min-height: 180px;
    margin-bottom: 0;
    padding: 24px 28px !important;
    gap: 22px !important;
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    box-shadow: var(--as-shadow);
}

.aquasafe-home-v3 .instructor__thumb-two {
    display: grid !important;
    place-items: center;
    width: 150px;
    height: 120px;
    color: var(--v3-blue);
    font-size: 76px;
    overflow: visible;
}

.aquasafe-home-v3 .instructor__thumb-two > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aquasafe-home-v3 .instructor__content-two {
    width: auto;
    padding: 0;
}

.aquasafe-home-v3 .instructor__content-two .title {
    font-size: var(--as-heading-xs);
}

.aquasafe-home-v3 .instructor__content-two p {
    margin-bottom: 14px;
    color: var(--v3-muted);
    font-size: var(--as-text-md);
    line-height: 1.65;
}

.aquasafe-home-v3 .instructor__content-two .btn {
    min-height: 42px;
    padding: 0 22px;
    background: var(--v3-red);
}

/* News */
.aquasafe-home-v3 .as-certification-news {
    padding-block: 34px 28px;
}

.aquasafe-home-v3 .as-certification-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.aquasafe-home-v3 .as-certification-news__card {
    border-radius: var(--v3-radius);
    box-shadow: var(--as-shadow-sm);
}

.aquasafe-home-v3 .as-certification-news__image {
    height: 215px;
}

.aquasafe-home-v3 .as-certification-news__content {
    padding: 21px 18px 24px;
}

.aquasafe-home-v3 .as-certification-news__tag,
.aquasafe-home-v3 .as-certification-news__meta {
    font-size: var(--as-text-sm);
    line-height: 1.5;
}

.aquasafe-home-v3 .as-certification-news__content h3 {
    font-size: var(--as-heading-xs);
    line-height: 1.4;
}

.aquasafe-home-v3 .as-certification-news__link {
    font-size: var(--v3-text-sm);
    line-height: 1.5;
}

@media (max-width: 991px) {
    .aquasafe-home-v3 .as-hero {
        min-height: 500px;
    }

    .aquasafe-home-v3 .as-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(330px, .85fr); min-height: 500px; }
    .aquasafe-home-v3 .as-hero__copy { width: auto; }
    .aquasafe-home-v3 .as-hero__visual { height: 450px; }
    .aquasafe-home-v3 .as-hero-proof { gap: 12px; }

    .aquasafe-home-v3 .as-certification-about,
    .aquasafe-home-v3 .as-featured-course,
    .aquasafe-home-v3 .as-certification-faq,
    .aquasafe-home-v3 .as-certification-journey,
    .aquasafe-home-v3 .as-certification-news,
    .aquasafe-home-v3 .instructor__area-two { padding-block: 52px; }

    .aquasafe-home-v3 .as-certification-about { padding-block: 42px 18px; }
    .aquasafe-home-v3 .as-featured-course { padding-block: 30px 28px; }
    .aquasafe-home-v3 .as-certification-faq { padding-block: 44px; }
    .aquasafe-home-v3 .as-certification-journey { padding-block: 40px 24px; }
    .aquasafe-home-v3 .instructor__area-two { padding-block: 18px; }
    .aquasafe-home-v3 .as-certification-news { padding-block: 36px 30px; }

    .aquasafe-home-v3 .as-certification-about__container,
    .aquasafe-home-v3 .as-certification-faq__layout { grid-template-columns: 1fr; gap: 38px; }
    .aquasafe-home-v3 .as-certification-about__media > img,
    .aquasafe-home-v3 .as-certification-faq__media,
    .aquasafe-home-v3 .as-certification-faq__media > img { height: 360px; }
    .aquasafe-home-v3 .as-certification-news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aquasafe-home-v3 .instructor__area-two .col-lg-6 + .col-lg-6 { margin-top: 20px; }
}

@media (max-width: 767px) {
    .aquasafe-home-v3 { --v3-section-space: 36px; font-size: var(--as-text-base); }
    .aquasafe-home-v3 .as-shell,
    .aquasafe-home-v3 .as-certification-about__container,
    .aquasafe-home-v3 .as-featured-course__container,
    .aquasafe-home-v3 .as-certification-faq__container,
    .aquasafe-home-v3 .as-certification-journey__container,
    .aquasafe-home-v3 .as-certification-news__container {
        width: calc(100% - 28px);
        max-width: none;
    }

    .aquasafe-home-v3 .instructor__area-two > .container {
        width: calc(100% - 28px);
        max-width: none;
    }

    .aquasafe-home-v3 .as-hero {
        min-height: auto;
        padding-top: 0;
    }

    .aquasafe-home-v3 .as-hero__inner { grid-template-columns: 1fr; gap: 0; min-height: auto; }
    .aquasafe-home-v3 .as-hero__copy { width: 100%; padding: 30px 0 24px; }
    .aquasafe-home-v3 .as-hero__visual { grid-row: 1; width: min(390px, 100%); height: 300px; margin: 0 auto; }
    .aquasafe-home-v3 .as-hero h1 { font-size: var(--as-heading-md); line-height: 1.1; }
    .aquasafe-home-v3 .as-hero-subtitle,
    .aquasafe-home-v3 .as-hero-subtitle p { font-size: var(--as-text-base); }
    .aquasafe-home-v3 .as-hero-proof { gap: 10px; margin-top: 18px; padding-top: 0; }
    .aquasafe-home-v3 .as-hero-proof i { margin-bottom: 8px; font-size: var(--as-heading-md); }
    .aquasafe-home-v3 .as-hero-proof strong { font-size: var(--as-text-sm); }
    .aquasafe-home-v3 .as-hero-proof span { margin-top: 3px; font-size: var(--as-text-xs); }

    .aquasafe-home-v3 .as-certification-about,
    .aquasafe-home-v3 .as-featured-course,
    .aquasafe-home-v3 .as-certification-faq,
    .aquasafe-home-v3 .as-certification-journey,
    .aquasafe-home-v3 .as-certification-news,
    .aquasafe-home-v3 .instructor__area-two { padding-block: var(--v3-section-space); }

    .aquasafe-home-v3 .as-certification-about { padding-block: 32px 16px; }
    .aquasafe-home-v3 .as-featured-course { padding-block: 24px; }
    .aquasafe-home-v3 .as-certification-about__heading,
    .aquasafe-home-v3 .as-featured-course__heading,
    .aquasafe-home-v3 .as-certification-faq__heading,
    .aquasafe-home-v3 .as-certification-journey__heading,
    .aquasafe-home-v3 .as-certification-news__heading { margin-bottom: 22px; }

    .aquasafe-home-v3 .as-certification-about__heading h2,
    .aquasafe-home-v3 .as-featured-course__heading h2,
    .aquasafe-home-v3 .as-certification-faq__heading h2,
    .aquasafe-home-v3 .as-certification-journey__heading h2,
    .aquasafe-home-v3 .as-certification-news__heading h2 { font-size: var(--as-heading-sm); }

    .aquasafe-home-v3 .as-certification-about__media,
    .aquasafe-home-v3 .as-certification-about__media > img,
    .aquasafe-home-v3 .as-certification-faq__media,
    .aquasafe-home-v3 .as-certification-faq__media > img { min-height: 0; height: 230px; }

    .aquasafe-home-v3 .as-certification-about__container,
    .aquasafe-home-v3 .as-certification-faq__layout { gap: 22px; }
    .aquasafe-home-v3 .as-certification-about__heading { margin-bottom: 18px; }
    .aquasafe-home-v3 .as-certification-about__description { font-size: var(--as-text-md); line-height: 1.55; }
    .aquasafe-home-v3 .as-certification-about__description ul { gap: 14px; }
    .aquasafe-home-v3 .as-certification-about__description li { padding-left: 38px; }
    .aquasafe-home-v3 .as-certification-about__description li::before { width: 28px; height: 28px; }

    .aquasafe-home-v3 .as-featured-course__stage { width: 100%; }
    .aquasafe-home-v3 .as-featured-course__stage--single { padding-bottom: 0; }
    .aquasafe-home-v3 .as-featured-card { grid-template-rows: 180px 44px auto auto; }
    .aquasafe-home-v3 .as-featured-card__content { padding: 16px 14px 0; }
    .aquasafe-home-v3 .as-featured-card__content > p { display: none; }
    .aquasafe-home-v3 .as-featured-card__meta { min-height: 88px; margin-inline: -14px; }
    .aquasafe-home-v3 .as-featured-card__meta-item { grid-template-columns: 22px 1fr; padding: 10px 8px; }
    .aquasafe-home-v3 .as-featured-card__meta-item > i { font-size: 15px; }
    .aquasafe-home-v3 .as-featured-card__actions { min-height: 52px; padding-block: 7px; }
    .aquasafe-home-v3 .as-featured-card__content h3,
    .aquasafe-home-v3 .as-featured-card__content h3 a { font-size: var(--as-heading-xs); }
    .aquasafe-home-v3 .as-newsletter-cta { padding-block: 26px; }
    .aquasafe-home-v3 .as-newsletter-cta__message { gap: 12px; }
    .aquasafe-home-v3 .as-newsletter-cta__media { width: 46px; height: 46px; flex-basis: 46px; }
    .aquasafe-home-v3 .as-newsletter-cta__form { width: 100%; }
    .aquasafe-home-v3 .as-trust { grid-template-columns: repeat(2, 1fr); width: calc(100% - 28px); }
    .aquasafe-home-v3 .as-trust article:nth-child(2) { border-right: 0; }
    .aquasafe-home-v3 .as-trust { padding-block: 16px; }
    .aquasafe-home-v3 .as-trust article { padding-block: 12px; border-bottom: 1px solid var(--v3-line); }
    .aquasafe-home-v3 .as-certification-faq__heading h2 { font-size: var(--as-heading-sm); }
    .aquasafe-home-v3 .as-certification-faq__heading p { font-size: var(--as-text-md); }
    .aquasafe-home-v3 .as-certification-faq__accordion .accordion-button { padding-inline: 2px; }
    .aquasafe-home-v3 .as-certification-faq__accordion .accordion-body { padding-left: 2px; }
    .aquasafe-home-v3 .as-certification-news__grid { grid-template-columns: 1fr; }
    .aquasafe-home-v3 .as-certification-faq { padding-block: 34px; }
    .aquasafe-home-v3 .as-certification-journey { padding-block: 32px 24px; }
    .aquasafe-home-v3 .as-certification-journey__heading p { font-size: var(--as-text-sm); line-height: 1.55; }
    .aquasafe-home-v3 .as-certification-journey__steps { gap: 0; }
    .aquasafe-home-v3 .as-journey-card { padding: 15px 0; border-bottom: 1px solid var(--v3-line); }
    .aquasafe-home-v3 .as-journey-card:last-child { border-bottom: 0; }
    .aquasafe-home-v3 .as-journey-card__body {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        column-gap: 14px;
    }
    .aquasafe-home-v3 .as-journey-card__number { top: 8px; left: -5px; width: 30px; height: 30px; font-size: var(--as-text-md); }
    .aquasafe-home-v3 .as-journey-card__heading { grid-column: 1; grid-row: 1 / span 2; min-height: 52px; margin: 0; padding: 0; }
    .aquasafe-home-v3 .as-journey-card__icon { width: 54px; height: 52px; font-size: 34px; }
    .aquasafe-home-v3 .as-journey-card h3 { grid-column: 2; min-height: 0; margin: 0 0 5px; font-size: var(--as-text-base); }
    .aquasafe-home-v3 .as-journey-card p { grid-column: 2; font-size: var(--as-text-sm); line-height: 1.5; }
    .aquasafe-home-v3 .instructor__area-two { padding-block: 20px; }
    .aquasafe-home-v3 .as-certification-news { padding-block: 34px 28px; }
    .aquasafe-home-v3 .instructor__item-two {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 0;
        margin-bottom: 0;
        padding: 18px !important;
        gap: 16px !important;
    }
    .aquasafe-home-v3 .instructor__thumb-two { display: grid !important; width: 82px; height: 86px; font-size: 50px; }
    .aquasafe-home-v3 .instructor__content-two { width: auto; padding: 0; }
    .aquasafe-home-v3 .instructor__content-two .title { margin-bottom: 4px; font-size: var(--as-text-lg); }
    .aquasafe-home-v3 .instructor__content-two p { margin-bottom: 10px; font-size: var(--as-text-sm); line-height: 1.45; }
    .aquasafe-home-v3 .instructor__content-two .btn { min-height: 38px; padding-inline: 18px; }

}

@media (prefers-reduced-motion: reduce) {
    .aquasafe-home-v3 *,
    .aquasafe-home-v3 *::before,
    .aquasafe-home-v3 *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* The theme sizes <small> at 11px, which is below the scale and was the only
   place on the page using it. */
.aquasafe-home-v3 .as-featured-card__meta-item :where(small, strong) {
    font-size: var(--as-text-xs);
}
