:root {
    --attavo-navy: #001f46;
    --attavo-blue: #001f46;
    --attavo-blue-dark: #06172f;
    --attavo-yellow: #f7bb00;
    --attavo-ink: #071a43;
    --attavo-muted: #5f6673;
    --attavo-line: #e5dfd2;
    --attavo-surface: #faf9f6;
}

/* Mobile homepage app-style shell */
.home .attavo-mobile-header-actions,
.home .attavo-spotlight__subtab-more {
    display: none;
}

@media (max-width: 767px) {
    body.home {
        background: #fff;
    }

    body.home.admin-bar #wpadminbar {
        top: -46px !important;
    }

    .home .header-top,
    .home .attavo-home-courses {
        display: none !important;
    }

    .home .header-main,
    .home .header-main.sticky {
        background: #fff;
        border-bottom: 1px solid #e6ebf4;
        box-shadow: 0 4px 14px rgba(20, 42, 79, 0.06);
        padding: 9px 0 10px !important;
    }

    .home .header-main .container {
        max-width: none;
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
    }

    .home .header-main .row,
    .home .header-main .col-md-12 {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .home .header-main .navbar {
        display: grid !important;
        gap: 9px 10px;
        grid-template-areas:
            "toggle logo actions"
            "search search search";
        grid-template-columns: 34px minmax(0, 1fr) auto;
        min-height: 0;
        padding: 0;
        position: relative;
    }

    .home .header-main .navbar-brand {
        align-items: center;
        display: flex;
        grid-area: logo;
        justify-self: start;
        margin: 0 !important;
        min-width: 0;
    }

    .home .header-main .navbar-brand p,
    .home .header-main .navbar-brand .textwidget {
        margin: 0;
    }

    .home .logo-area img {
        height: auto !important;
        max-height: 35px;
        object-fit: contain;
        width: 105px !important;
    }

    .home .navbar-header {
        align-items: center;
        display: flex;
        grid-area: toggle;
        justify-content: flex-start;
        margin: 0 !important;
    }

    .home .navbar-toggle {
        background: transparent !important;
        border: 0;
        border-radius: 7px;
        box-shadow: none;
        margin: 0;
        padding: 7px 5px;
    }

    .home .navbar-toggle .icon-bar {
        background: #172441;
        border-radius: 999px;
        display: block;
        height: 2px;
        margin: 4px 0;
        width: 18px;
    }

    .home .attavo-mobile-header-actions {
        align-items: center;
        display: flex;
        gap: 13px;
        grid-area: actions;
        justify-self: end;
    }

    .home .attavo-mobile-header-actions a {
        align-items: center;
        color: #10203e;
        display: inline-flex;
        font-size: 17px;
        height: 28px;
        justify-content: center;
        width: 28px;
    }

    .home .attavo-mobile-header-actions a:last-child {
        border: 1px solid #3158ff;
        border-radius: 50%;
        color: #3158ff;
    }

    .home .tm-serch-bar {
        grid-area: search;
        margin: 0 !important;
        max-width: none;
        width: 100% !important;
    }

    .home .tm-serch-bar.a_search_bar form {
        align-items: center;
        display: flex;
        width: 100%;
    }

    .home .tm-serch-bar.a_search_bar input {
        background: #fff;
        border: 1px solid #dfe6f1;
        border-radius: 9px;
        box-shadow: 0 2px 8px rgba(23, 47, 91, 0.035);
        color: #263653;
        font-size: 11px;
        height: 42px;
        padding: 0 49px 0 12px;
        width: 100%;
    }

    .home .tm-serch-bar.a_search_bar button#search_button {
        background: #3158ff;
        border-radius: 8px;
        height: 36px;
        right: 3px;
        top: 3px;
        width: 38px;
    }

    .home .header-main .navbar-collapse {
        left: 0;
        right: 0;
        top: calc(100% + 8px);
    }

    .home .attavo-home-quick-links {
        background: #fff;
        padding: 12px 0 14px;
    }

    .home .attavo-home-quick-links .container {
        max-width: none;
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
    }

    .home .attavo-home-quick-links__heading {
        display: none;
    }

    .home .attavo-home-quick-links__grid {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home .attavo-home-quick-card {
        align-content: center;
        align-items: center;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(20, 42, 79, 0.035);
        column-gap: 8px;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        grid-template-rows: auto auto;
        min-height: 76px;
        padding: 8px;
        row-gap: 3px;
        text-align: left;
    }

    .home .attavo-home-quick-card::before {
        display: none;
    }

    .home .attavo-home-quick-card__icon {
        flex-basis: 42px;
        grid-column: 1;
        grid-row: 1 / 3;
        height: 42px;
        margin: 0;
        width: 42px;
    }

    .home .attavo-home-quick-card__icon img {
        height: 32px;
        width: 32px;
    }

    .home .attavo-home-quick-card strong {
        -webkit-line-clamp: 2;
        align-self: end;
        font-size: 10px;
        grid-column: 2;
        grid-row: 1;
        line-height: 1.2;
        min-height: 0;
    }

    .home .attavo-home-quick-card small {
        align-self: start;
        font-size: 8px;
        gap: 5px;
        grid-column: 2;
        grid-row: 2;
        margin: 0;
    }

    .home #attavo-ai-spotlight .attavo-spotlight {
        background: #fff;
        padding: 0 0 18px;
    }

    .home #attavo-ai-spotlight .attavo-spotlight::before,
    .home #attavo-ai-spotlight .attavo-spotlight::after {
        display: none;
    }

    .home .attavo-spotlight > .container {
        max-width: none;
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }

    .home .attavo-spotlight__card {
        border-radius: 13px;
        box-shadow: 0 4px 16px rgba(20, 42, 79, 0.06);
        padding: 13px 10px 11px;
    }

    .home .attavo-spotlight__card::before {
        display: none;
    }

    .home .attavo-spotlight__heading {
        gap: 7px;
        margin-bottom: 10px;
    }

    .home .attavo-spotlight__spark {
        background: transparent;
        box-shadow: none;
        color: #3158ff;
        flex-basis: 22px;
        font-size: 21px;
        height: 22px;
        width: 22px;
    }

    .home .attavo-spotlight__heading h2 {
        font-size: 17px;
        letter-spacing: -0.2px;
    }

    .home .attavo-spotlight__badge {
        font-size: 8px;
        padding: 4px 7px;
    }

    .home .attavo-spotlight__main-tabs {
        gap: 7px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-bottom: 10px;
    }

    .home .attavo-spotlight__main-tab {
        border-radius: 8px;
        flex-direction: column;
        font-size: 8px;
        gap: 3px !important;
        min-height: 47px;
        padding: 5px 3px;
    }

    .home .attavo-spotlight__main-tab .dashicons {
        background: transparent;
        flex-basis: 25px !important;
        font-size: 17px;
        height: 25px;
        width: 25px !important;
    }

    .home .attavo-spotlight__main-tab > span:last-child {
        display: none !important;
        font-size: 7px;
        line-height: 1.1;
    }

    .home .attavo-spotlight__main-tab.is-active > span:last-child {
        display: block !important;
    }

    .home .attavo-spotlight__subtabs {
        background: transparent;
        border: 0;
        border-radius: 0;
        flex-wrap: nowrap;
        gap: 5px;
        margin: 0 0 8px;
        overflow: hidden;
        padding: 0;
    }

    .home .attavo-spotlight__subtab {
        align-items: center;
        background: #f4f6fa;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 8px;
        min-height: 27px;
        padding: 7px 9px;
    }

    .home .attavo-spotlight__subtab:nth-of-type(n + 5) {
        display: none;
    }

    .home .attavo-spotlight__subtab-more {
        align-items: center;
        background: #f4f6fa;
        border: 1px solid transparent;
        border-radius: 999px;
        color: #243251;
        display: inline-flex;
        flex: 0 0 auto;
        font-size: 8px;
        gap: 2px;
        margin-left: auto;
        min-height: 27px;
        padding: 6px 8px;
    }

    .home .attavo-spotlight__subtab-more .dashicons {
        font-size: 12px;
        height: 12px;
        transition: transform 0.2s ease;
        width: 12px;
    }

    .home .attavo-spotlight__subtabs.is-mobile-expanded {
        flex-wrap: wrap;
    }

    .home .attavo-spotlight__subtabs.is-mobile-expanded .attavo-spotlight__subtab {
        display: inline-flex;
    }

    .home .attavo-spotlight__subtabs.is-mobile-expanded .attavo-spotlight__subtab-more .dashicons {
        transform: rotate(180deg);
    }

    .home .attavo-spotlight__body {
        background: transparent;
        border: 0;
        border-radius: 0;
        display: grid;
        gap: 0;
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 0;
    }

    .home .attavo-spotlight__content-list {
        gap: 0;
    }

    .home .attavo-spotlight__item {
        align-items: center;
        background: #fff;
        border: 0;
        border-bottom: 1px solid #e9edf4;
        border-radius: 0;
        box-shadow: none;
        gap: 9px;
        min-height: 54px;
        padding: 8px 18px 8px 0;
        position: relative;
    }

    .home .attavo-spotlight__item::after {
		content: none;
		display: none;
    }

    .home .attavo-spotlight__item-icon {
        border-width: 3px;
        border-radius: 50%;
        flex-basis: 34px;
        height: 34px;
        width: 34px;
    }

    .home .attavo-spotlight__item-icon .dashicons {
        font-size: 15px;
        height: 15px;
        width: 15px;
    }

    .home .attavo-spotlight__item h3 {
        font-size: 10px;
        line-height: 1.35;
        margin: 0;
    }

    .home .attavo-spotlight__item p {
        display: none;
    }

    .home .attavo-spotlight__visual {
        background: transparent;
        border: 0;
        min-height: 0;
        padding: 10px 0 0;
    }

    .home .attavo-spotlight__visual::before,
    .home .attavo-spotlight__visual::after,
    .home .attavo-spotlight__svg {
        display: none;
    }

    .home .attavo-spotlight__cta {
        background: #fff;
        border-color: #aac0ff;
        box-shadow: none;
        color: #3158ff;
        font-size: 10px;
        gap: 14px;
        margin: 0;
        min-height: 42px;
        min-width: 0;
        padding: 10px 13px;
        width: 100%;
    }

    .home .custom-footer {
        padding: 35px 0 0;
    }

    .home .custom-footer > .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home .custom-footer > .container > .row {
        display: grid;
        gap: 26px 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
    }

    .home .custom-footer > .container > .row > [class*="col-"] {
        flex: none;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .home .custom-footer > .container > .row > [class*="col-"]:first-child {
        grid-column: 1 / -1;
    }

    .home .footer-col {
        margin: 0;
        padding-top: 39px;
    }

    .home .footer-col::before,
    .home .footer-col h4 {
        font-size: 14px;
    }

    .home .footer-col::after {
        top: 27px;
        width: 40px;
    }

    .home .footer-col-1 p,
    .home .footer-col ul li a {
        font-size: 10px;
        line-height: 1.65;
    }

    .home .footer-col ul li {
        margin-bottom: 7px;
    }

    .home .footer-btm {
        margin-top: 30px;
        padding: 13px 10px;
    }

    .home .footer-btm p {
        font-size: 9px;
        line-height: 1.55;
        margin: 0;
    }
}

@media (max-width: 380px) {
    .home .custom-footer > .container > .row {
        grid-template-columns: 1fr;
    }

    .home .custom-footer > .container > .row > [class*="col-"]:first-child {
        grid-column: auto;
    }
}

html {
    scroll-behavior: smooth;
}

body.home {
    background: #f5f8fd;
    color: var(--attavo-ink);
    overflow-x: hidden;
}

.home .attavo-home-main {
    display: block;
    overflow: hidden;
}

.home .attavo-home-main section,
.home #attavo-ai-spotlight {
    scroll-margin-top: 24px;
}

/* Header */
.home .custom-header {
    position: relative;
    z-index: 1000;
}

.home .header-top {
    background: linear-gradient(90deg, #071f42 0%, #0b2b5c 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: visible;
    padding: 7px 0;
}

.home .header-top-left,
.home .header-top-right {
    margin: 0;
}

.home .header-top-left {
    align-items: center;
    display: flex;
    min-height: 28px;
}

.home .header-top-left::after,
.home .header-top-right::before,
.home .header-top-right::after {
    display: none;
}

.home .header-top-left ul,
.home .header-top-right ul {
    margin: 0;
}

.home .header-top-left ul li {
    margin: 0 22px 0 0;
}

.home .header-top-left ul li a {
    align-items: center;
    display: inline-flex;
    gap: 7px;
}

.home .header-top-left ul li a p {
    color: #e9f2ff;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.home .header-top-left ul li a span {
    color: var(--attavo-yellow);
    margin: 0;
}

.home .header-top-right {
    align-items: center;
    background: transparent;
    display: flex;
    justify-content: flex-end;
    min-height: 28px;
    padding: 0;
    text-align: right;
}

.home .header-social {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    margin: 0 18px 0 0;
}

.home .header-social h5 {
    color: #dbe8fb;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    margin: 0 3px 0 0;
}

.home .header-social li {
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    display: inline-flex;
    height: 25px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    width: 25px;
}

.home .header-social li:hover {
    background: var(--attavo-yellow);
}

.home .header-social li a {
    color: #fff;
    font-size: 11px;
}

.home .header-social li:hover a {
    color: var(--attavo-navy);
}

.home .log-in {
    align-items: center;
    display: inline-flex;
    margin: 0;
}

.home .log-in li {
    align-items: center;
    display: flex;
    gap: 6px;
    margin: 0;
}

.home .log-in li > span:first-child {
    align-items: center;
    display: inline-flex;
    margin: 0;
}

.home .log-in li a {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.home .log-in li > span:last-child a {
    background: var(--attavo-yellow);
    border-radius: 999px;
    color: var(--attavo-navy);
    display: inline-block;
    margin-left: 4px;
    padding: 5px 10px;
}

.home .header-main,
.home .header-main.sticky {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 26px rgba(17, 39, 77, 0.08);
    height: auto !important;
    padding: 10px 0 !important;
    position: relative;
}

.home .header-main .navbar {
    align-items: center;
    min-height: 54px;
    padding: 0;
}

.home .header-main .navbar-brand {
    margin: 0 36px 0 0;
    padding: 0;
}

.home .logo-area img {
    height: auto !important;
    max-width: 165px;
    width: 165px !important;
}

.home .tm-serch-bar {
    background: #f2f6fc;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    box-shadow: none;
    margin: 0 auto 0 0;
    padding: 0;
    position: relative;
    top: auto;
    width: min(420px, 38%);
}

.home .tm-serch-bar.a_search_bar input {
    background: transparent;
    border: 0;
    color: var(--attavo-ink);
    font-size: 13px;
    height: 42px;
    max-height: none;
    outline: none;
    padding: 0 48px 0 15px;
    width: 100%;
}

.home .tm-serch-bar.a_search_bar button#search_button {
    align-items: center;
    background: linear-gradient(135deg, #3c63ff 0%, #2347e9 100%);
    border: 0;
    border-radius: 9px;
    color: #fff;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    right: 4px;
    top: 4px;
    width: 36px;
}

.home .header-main .navbar-nav {
    align-items: center;
    margin: 0 0 0 auto;
}

.home .header-main .navbar-nav li {
    margin: 0 0 0 14px;
}

.home .header-main nav ul li a {
    border-radius: 8px;
    color: #24324d;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 11px;
}

.home .header-main nav ul li a:hover,
.home .header-main nav ul li.current-menu-item > a {
    background: #eef3ff;
    color: var(--attavo-blue);
}

/* Hero */
.attavo-home-hero {
    background:
        radial-gradient(circle at 11% 17%, rgba(70, 106, 255, 0.18), transparent 27%),
        radial-gradient(circle at 91% 80%, rgba(31, 193, 153, 0.13), transparent 26%),
        linear-gradient(135deg, #f6f9ff 0%, #eef4ff 58%, #f5fbff 100%);
    min-height: 620px;
    overflow: hidden;
    padding: 88px 0 82px;
    position: relative;
}

.attavo-home-hero::before,
.attavo-home-hero::after {
    border: 1px solid rgba(49, 88, 255, 0.10);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    position: absolute;
}

.attavo-home-hero::before {
    height: 360px;
    left: -210px;
    top: -200px;
    width: 360px;
}

.attavo-home-hero::after {
    bottom: -240px;
    height: 430px;
    right: -220px;
    width: 430px;
}

.attavo-home-hero .container {
    position: relative;
    z-index: 2;
}

.attavo-home-hero__content {
    margin: 0;
    max-width: 720px;
}

.attavo-home-eyebrow {
    align-items: center;
    background: #e8efff;
    border: 1px solid #d7e2ff;
    border-radius: 999px;
    color: var(--attavo-blue);
    display: inline-flex;
    font-size: 12px;
    font-weight: 750;
    gap: 8px;
    letter-spacing: 0.65px;
    margin: 0 0 20px;
    padding: 8px 13px;
    text-transform: uppercase;
}

.attavo-home-hero__content h1 {
    color: var(--attavo-ink);
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 750;
    letter-spacing: -2.3px;
    line-height: 1.04;
    margin: 0 0 24px;
}

.attavo-home-hero__content h1 span {
    background: linear-gradient(90deg, #3158ff 0%, #159f93 92%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.attavo-home-hero__content > p {
    color: #52617c;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    max-width: 650px;
}

.attavo-home-hero__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 29px 0 0;
}

.attavo-home-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 12px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    text-decoration: none;
}

.attavo-home-button--primary {
    background: linear-gradient(135deg, #3b61ff 0%, #2347e9 100%);
    box-shadow: 0 10px 25px rgba(49, 88, 255, 0.24);
    color: #fff;
}

.attavo-home-button--primary:hover {
    box-shadow: 0 14px 30px rgba(49, 88, 255, 0.30);
    color: #fff;
    transform: translateY(-2px);
}

.attavo-home-button--secondary {
    background: rgba(255, 255, 255, 0.72);
    border-color: #cfd9eb;
    color: var(--attavo-navy);
}

.attavo-home-button--secondary:hover {
    background: #fff;
    border-color: #aebfea;
    color: var(--attavo-blue);
}

.attavo-home-stats {
    align-items: stretch;
    display: flex;
    margin: 38px 0 0;
}

.attavo-home-stats > div {
    border-right: 1px solid #cfd9e8;
    margin: 0;
    min-width: 132px;
    padding: 0 24px;
}

.attavo-home-stats > div:first-child {
    padding-left: 0;
}

.attavo-home-stats > div:last-child {
    border-right: 0;
}

.attavo-home-stats strong,
.attavo-home-stats span {
    display: block;
}

.attavo-home-stats strong {
    color: var(--attavo-navy);
    font-family: 'Exo 2', sans-serif;
    font-size: 24px;
    line-height: 1.1;
}

.attavo-home-stats span {
    color: #6d7990;
    font-size: 11px;
    margin-top: 4px;
}

.attavo-home-hero__visual {
    height: 430px;
    margin: 0 0 0 auto;
    max-width: 500px;
    position: relative;
}

.attavo-home-hero__visual::before {
    background: linear-gradient(145deg, rgba(49, 88, 255, 0.16), rgba(35, 188, 156, 0.11));
    border-radius: 40% 60% 56% 44% / 54% 37% 63% 46%;
    content: "";
    inset: 20px 15px 18px 20px;
    position: absolute;
    transform: rotate(-5deg);
}

.attavo-home-learning-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(195, 208, 232, 0.82);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(24, 48, 91, 0.16);
    left: 50%;
    margin: 0;
    padding: 29px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(1.5deg);
    width: 330px;
    z-index: 2;
}

.attavo-home-learning-card__top {
    align-items: center;
    display: flex;
    gap: 10px;
    margin: 0 0 23px;
}

.attavo-home-learning-card__top > span {
    align-items: center;
    background: linear-gradient(135deg, #3158ff, #6b83ff);
    border-radius: 11px;
    color: #fff;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    margin: 0;
    width: 42px;
}

.attavo-home-learning-card__top small {
    color: #75829b;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.65px;
    margin: 0;
}

.attavo-home-learning-card h2 {
    color: var(--attavo-ink);
    font-size: 25px;
    font-weight: 750;
    line-height: 1.25;
    margin: 0 0 28px;
}

.attavo-home-progress {
    background: #e9eef7;
    border-radius: 999px;
    height: 9px;
    margin: 0;
    overflow: hidden;
    width: 100%;
}

.attavo-home-progress span {
    background: linear-gradient(90deg, #3158ff, #2ac0a3);
    border-radius: inherit;
    display: block;
    height: 100%;
    margin: 0;
    width: 78%;
}

.attavo-home-learning-card__meta {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 10px 0 0;
}

.attavo-home-learning-card__meta b {
    color: #75829a;
    font-size: 11px;
    font-weight: 550;
    margin: 0;
}

.attavo-home-learning-card__meta strong {
    color: var(--attavo-blue);
    font-size: 13px;
    margin: 0;
}

.attavo-home-float-card {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(205, 216, 237, 0.90);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(25, 47, 89, 0.13);
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 11px 13px;
    position: absolute;
    z-index: 3;
}

.attavo-home-float-card > i {
    align-items: center;
    background: #edf2ff;
    border-radius: 9px;
    color: var(--attavo-blue);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    margin: 0;
    width: 34px;
}

.attavo-home-float-card span,
.attavo-home-float-card b,
.attavo-home-float-card small {
    display: block;
    margin: 0;
}

.attavo-home-float-card b {
    color: #172442;
    font-size: 11px;
}

.attavo-home-float-card small {
    color: #7a879e;
    font-size: 9px;
    margin-top: 2px;
}

.attavo-home-float-card--tests {
    left: -3px;
    top: 62px;
}

.attavo-home-float-card--notes {
    bottom: 51px;
    left: 15px;
}

.attavo-home-float-card--updates {
    right: -5px;
    top: 110px;
}

.attavo-home-float-card--notes > i {
    background: #eafaf5;
    color: #17a983;
}

.attavo-home-float-card--updates > i {
    background: #fff4dc;
    color: #e99a00;
}

/* Top quick exam shortcuts */
.attavo-home-quick-links {
    background:
        radial-gradient(circle at 7% 15%, rgba(49, 88, 255, 0.075), transparent 24%),
        linear-gradient(180deg, #f8faff 0%, #f5f8fd 100%);
    display: none;
    padding: 68px 0 25px;
}

.attavo-home-quick-links__heading {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin: 0 0 23px;
}

.attavo-home-quick-links__heading > div,
.attavo-home-quick-links__heading h2,
.attavo-home-quick-links__heading span {
    margin: 0;
}

.attavo-home-quick-links__heading span {
    color: var(--attavo-blue);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.25px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.attavo-home-quick-links__heading h2 {
    color: var(--attavo-ink);
    font-family: 'Exo 2', sans-serif;
    font-size: 29px;
    font-weight: 750;
    letter-spacing: -0.55px;
    line-height: 1.2;
}

.attavo-home-quick-links__heading > a {
    align-items: center;
    color: var(--attavo-blue);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 8px;
    margin: 0 0 4px;
}

.attavo-home-quick-links__heading > a:hover {
    color: var(--attavo-blue-dark);
    gap: 11px;
}

.attavo-home-quick-links__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin: 0;
}

.attavo-home-quick-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dfe6f2;
    border-radius: 17px;
    box-shadow: 0 8px 24px rgba(27, 49, 88, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    min-height: 190px;
    overflow: hidden;
    padding: 19px 12px 15px;
    position: relative;
    text-align: center;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.attavo-home-quick-card::before {
    background: linear-gradient(90deg, #3158ff, #31bfa1);
    bottom: 0;
    content: "";
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.22s ease;
    width: 100%;
}

.attavo-home-quick-card:hover {
    border-color: #bfcdf1;
    box-shadow: 0 16px 34px rgba(27, 49, 88, 0.12);
    transform: translateY(-4px);
}

.attavo-home-quick-card:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.attavo-home-quick-card__icon {
    align-items: center;
    background: linear-gradient(145deg, #edf2ff 0%, #f5f8ff 100%);
    border: 1px solid #dfe7fa;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 68px;
    height: 68px;
    justify-content: center;
    margin: 0 0 13px;
    width: 68px;
}

.attavo-home-quick-card:nth-child(2) .attavo-home-quick-card__icon,
.attavo-home-quick-card:nth-child(5) .attavo-home-quick-card__icon {
    background: linear-gradient(145deg, #eafaf4 0%, #f4fcf8 100%);
    border-color: #d8f0e7;
}

.attavo-home-quick-card:nth-child(3) .attavo-home-quick-card__icon,
.attavo-home-quick-card:nth-child(6) .attavo-home-quick-card__icon {
    background: linear-gradient(145deg, #fff4df 0%, #fffaf1 100%);
    border-color: #f7e6c3;
}

.attavo-home-quick-card__icon img {
    height: 52px;
    margin: 0;
    object-fit: contain;
    transition: transform 0.22s ease;
    width: 52px;
}

.attavo-home-quick-card:hover .attavo-home-quick-card__icon img {
    transform: scale(1.08);
}

.attavo-home-quick-card__icon i {
    color: var(--attavo-blue);
    font-size: 25px;
    margin: 0;
}

.attavo-home-quick-card strong {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #111d3b;
    display: -webkit-box;
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    min-height: 37px;
    overflow: hidden;
}

.attavo-home-quick-card small {
    align-items: center;
    color: var(--attavo-blue);
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    gap: 7px;
    margin: auto 0 0;
}

.attavo-home-quick-card:hover small {
    gap: 10px;
}

/* Shared section heading */
.attavo-home-section-heading {
    margin: 0 auto 42px;
    max-width: 760px;
    text-align: center;
}

.attavo-home-section-heading > span {
    color: var(--attavo-blue);
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.attavo-home-section-heading h2 {
    color: var(--attavo-ink);
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 750;
    letter-spacing: -1px;
    line-height: 1.15;
    margin: 0;
}

.attavo-home-section-heading p {
    color: var(--attavo-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 15px auto 0;
    max-width: 650px;
}

.attavo-home-section-heading--left {
    margin: 0 0 31px;
    max-width: 780px;
    text-align: left;
}

.attavo-home-section-heading--left p {
    margin-left: 0;
}

/* Course section */
.home .attavo-home-courses {
    background:
        radial-gradient(circle at 94% 7%, rgba(49, 88, 255, 0.07), transparent 22%),
        #f5f8fd;
    padding: 36px 0 72px;
}

.home .attavo-home-courses > .container {
    margin-left: auto;
    margin-right: auto;
}

.home .home_sidebar {
    background: #fff;
    border: 1px solid var(--attavo-line);
    border-radius: 20px;
    box-shadow: 0 13px 34px rgba(24, 48, 91, 0.08);
    margin: 0;
    max-height: none;
    overflow: visible;
    position: sticky;
    top: 21px;
}

.home .attavo-home-sidebar-title {
    align-items: center;
    background: linear-gradient(135deg, #173f85 0%, #0a2857 100%);
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 18px;
}

.home .attavo-home-sidebar-title > span {
    align-items: center;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 11px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    margin: 0;
}

.home .attavo-home-sidebar-title > div,
.home .attavo-home-sidebar-title strong,
.home .attavo-home-sidebar-title small {
    display: block;
    margin: 0;
}

.home .attavo-home-sidebar-title strong {
    color: #fff;
    font-size: 14px;
}

.home .attavo-home-sidebar-title small {
    color: #bfd0ee;
    font-size: 10px;
    margin-top: 2px;
}

.home .home_sidebar .custom-sub-accordian {
    margin: 0;
}

.home .home_sidebar #accordion {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: none;
    overflow: visible;
    padding: 10px;
}

.home .home_sidebar .card {
    background: transparent;
    border: 0;
    border-radius: 11px;
    margin: 0;
    overflow: hidden;
}

.home .home_sidebar .card:last-child {
    margin-bottom: 0;
}

.home .attavo-sidebar-ad {
    background: linear-gradient(145deg, #f6f8fd 0%, #eef3fb 100%);
    border: 1px solid #d9e3f2;
    border-radius: 12px;
    grid-column: 1 / -1;
    margin: 5px 0;
    overflow: hidden;
    padding: 9px;
}

.home .attavo-sidebar-ad__label {
    align-items: center;
    color: #70809b;
    display: flex;
    font-family: 'Open Sans', sans-serif;
    font-size: 9px;
    font-weight: 700;
    gap: 6px;
    letter-spacing: 0.12em;
    line-height: 1;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.home .attavo-sidebar-ad__label::before {
    background: var(--attavo-blue);
    border-radius: 50%;
    content: '';
    height: 6px;
    width: 6px;
}

.home .attavo-sidebar-ad__slot {
    align-items: center;
    background: #fff;
    border: 1px dashed #cbd7ea;
    border-radius: 9px;
    display: flex;
    justify-content: center;
    min-height: 110px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.home .attavo-sidebar-ad__slot::before {
    color: #a0abc0;
    content: 'Sponsored space';
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    position: absolute;
}

.home .attavo-sidebar-ad .adsbygoogle {
    max-width: 100%;
    min-height: 110px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.home .attavo-sidebar-ad:has(.adsbygoogle[data-ad-status="unfilled"]) .attavo-sidebar-ad__slot {
    min-height: 72px;
}

.home .attavo-sidebar-ad:has(.adsbygoogle[data-ad-status="unfilled"]) .adsbygoogle {
    height: 0 !important;
    min-height: 0;
}

.home .home_sidebar .card-header {
    background: #f8faff !important;
    border: 1px solid #edf1f7;
    border-radius: 11px !important;
    margin: 0;
    padding: 0;
}

.home .home_sidebar .card-header p,
.home .home_sidebar .card-header a {
    margin: 0;
}

.home .home_sidebar .card-header a {
    align-items: center;
    color: #273554;
    display: flex;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    gap: 10px;
    line-height: 1.35;
    min-height: 58px;
    padding: 8px 10px;
    text-transform: none;
}

.home .home_sidebar .card-header:hover {
    background: #eef3ff !important;
    border-color: #cbd8fb;
}

.home .home_sidebar .card-header:hover a {
    color: var(--attavo-blue);
    transform: translateX(2px);
}

.home .home-sidebar-images {
    background: #fff;
    border-radius: 9px;
    flex: 0 0 42px;
    height: 42px;
    margin: 0;
    object-fit: contain;
    padding: 4px;
    width: 42px;
}

.home .home_sidebar .customAdsLucky,
.home .home_sidebar .adsbygoogle {
    margin: 10px 0;
    max-width: 100%;
}

.home .attavo-course-grid {
    align-items: stretch;
    margin-left: -11px;
    margin-right: -11px;
}

.home .attavo-course-column {
    display: flex;
    margin: 0;
    padding-left: 11px;
    padding-right: 11px;
}

.home .custom-course-wrap {
    background: #fff;
    border: 1px solid var(--attavo-line);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(27, 49, 88, 0.065);
    display: flex;
    flex-direction: column;
    margin: 0 0 22px;
    min-height: 390px;
    overflow: hidden;
    padding: 22px 20px 18px;
    position: relative;
    text-align: left;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    width: 100%;
}

.home .custom-course-wrap::before {
    background: linear-gradient(90deg, #3158ff 0%, #33c2a2 100%);
    content: "";
    height: 4px;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 0.25s ease;
}

.home .custom-course-wrap:hover {
    border-color: #c8d4ef;
    box-shadow: 0 20px 42px rgba(27, 49, 88, 0.13);
    transform: translateY(-5px);
}

.home .custom-course-wrap:hover::before {
    opacity: 1;
}

.home .custom-course-icon {
    align-items: center;
    background: linear-gradient(145deg, #f1f5ff 0%, #f7fbff 100%);
    border: 1px solid #e5ebf6;
    border-radius: 17px;
    display: flex;
    height: 118px;
    justify-content: center;
    margin: 0 0 20px;
    width: 100%;
}

.home .custom-course-icon a {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.home .custom-course-icon img {
    height: 88px;
    margin: 0;
    object-fit: contain;
    transition: transform 0.25s ease;
    width: 88px;
}

.home .custom-course-wrap:hover .custom-course-icon img {
    transform: scale(1.06);
}

.home .custom-course-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    margin: 0;
    width: 100%;
}

.home .custom-course-content h4 {
    letter-spacing: -0.15px;
    line-height: 1.35;
    margin: 0 0 11px;
    min-height: 49px;
    padding: 0;
    text-align: left;
    text-transform: none;
}

.home .custom-course-content h4::after {
    display: none;
}

.home .custom-course-content h4 a {
    color: var(--attavo-ink);
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.home .custom-course-content h4 a:hover {
    color: var(--attavo-blue);
}

.home .custom-course-content p {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    color: #63708a;
    display: -webkit-box;
    font-size: 12px;
    line-height: 1.7;
    margin: 0 0 20px;
    min-height: 82px;
    overflow: hidden;
    padding: 0;
    text-align: left;
}

.home .custom-course-content ul {
    background: transparent;
    margin: auto 0 0;
    width: 100%;
}

.home .custom-course-content ul li,
.home .custom-course-content ul li:nth-child(1),
.home .custom-course-content ul li:nth-child(2) {
    border: 0;
    display: block;
    margin: 0;
    width: 100%;
}

.home .custom-course-content ul li a {
    align-items: center;
    background: #eef3ff;
    border: 1px solid #d8e2ff;
    border-radius: 10px;
    color: var(--attavo-blue);
    display: flex;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    justify-content: space-between;
    padding: 11px 42px 11px 13px;
    position: relative;
}

.home .custom-course-content ul li a .fa-arrow-right {
    margin: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.home .custom-course-content ul li a:hover {
    background: var(--attavo-blue);
    border-color: var(--attavo-blue);
    color: #fff;
}

.home .customAdsLucky.ads-code-added-taran {
    margin: 0 0 22px;
    overflow: hidden;
    width: 100%;
}

.home .customAdsLucky:has(.adsbygoogle[data-ad-status="unfilled"]),
.home .customAdsLucky:has(ins[data-ad-status="unfilled"]) {
    display: none !important;
}

/* Spotlight spacing harmony */
.home #attavo-ai-spotlight .attavo-spotlight {
    padding-bottom: 82px;
    padding-top: 25px;
}

/* About / long-form platform guide */
.home .custom-about {
    background:
        radial-gradient(circle at 8% 10%, rgba(49, 88, 255, 0.08), transparent 23%),
        linear-gradient(180deg, #fff 0%, #f5f8fd 100%);
    padding: 82px 0;
}

.home .attavo-about-shell {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--attavo-line);
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(23, 47, 91, 0.09);
    margin: 0;
    padding: 38px;
}

.home .custom-about-content {
    background: #f8faff;
    border: 1px solid #e3eaf5;
    border-radius: 18px;
    color: #52617b;
    margin: 0;
    padding: 30px;
    position: relative;
}

.js .home .custom-about-content:not(.is-expanded) {
    max-height: 760px;
    overflow: hidden;
}

.js .home .custom-about-content:not(.is-expanded)::after {
    background: linear-gradient(180deg, rgba(248, 250, 255, 0) 0%, #f8faff 82%);
    bottom: 0;
    content: "";
    height: 125px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.home .custom-about-content h1,
.home .custom-about-content h2,
.home .custom-about-content h3 {
    color: var(--attavo-ink);
    font-family: 'Exo 2', sans-serif;
    font-weight: 750;
    letter-spacing: -0.4px;
    line-height: 1.25;
    margin: 0 0 18px;
}

.home .custom-about-content h1 {
    font-size: 28px;
}

.home .custom-about-content h2 {
    font-size: 24px;
}

.home .custom-about-content h3 {
    font-size: 20px;
}

.home .custom-about-content p {
    color: #5e6c85;
    font-size: 13px;
    line-height: 1.85;
    margin: 0 0 15px;
}

.home .custom-about-content > ul {
    column-gap: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.home .custom-about-content > ul > li,
.home .custom-about-content > ul > p {
    background: #fff;
    border: 1px solid #e2e9f4;
    border-radius: 13px;
    break-inside: avoid;
    margin: 0 0 12px;
    padding: 15px;
}

.home .custom-about-content > ul > li p {
    margin: 0;
}

.home .custom-about-content h2:not(:first-child) {
    margin-top: 30px;
}

.home .custom-about-content strong {
    color: #20304f;
}

.home .attavo-about-toggle-wrap {
    margin: 21px 0 0;
    text-align: center;
}

.home .attavo-about-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid #cad6ec;
    border-radius: 11px;
    color: var(--attavo-blue);
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 750;
    gap: 10px;
    justify-content: center;
    min-height: 45px;
    padding: 10px 17px;
}

.home .attavo-about-toggle:hover,
.home .attavo-about-toggle:focus-visible {
    background: var(--attavo-blue);
    border-color: var(--attavo-blue);
    color: #fff;
    outline: none;
}

.home .attavo-about-toggle i {
    transition: transform 0.2s ease;
}

.home .attavo-about-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Footer */
.home .custom-footer {
    background:
        radial-gradient(circle at 85% 15%, rgba(54, 102, 199, 0.24), transparent 25%),
        linear-gradient(145deg, #061b3a 0%, #092754 100%);
    padding: 64px 0 0;
    position: relative;
}

.home .custom-footer::before {
    background: linear-gradient(90deg, #3158ff 0%, #32c1a2 62%, #ffbd1a 100%);
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.home .custom-footer > .container > .row > [class*="col-"] {
    flex: 1 1 0;
    max-width: none;
}

.home .custom-footer > .container > .row > [class*="col-"]:has(.footer-col:empty) {
    display: none;
}

.home .custom-footer > .container > .row > [class*="col-"]:has(.footer-col-4):not(:has(a, p, img, ul)) {
    display: none;
}

.home .footer-col {
    color: transparent;
    font-size: 0;
    margin: 0;
    padding-top: 46px;
    position: relative;
}

.home .footer-col::before {
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 17px;
    font-weight: 700;
    left: 0;
    letter-spacing: 0.25px;
    padding-bottom: 12px;
    position: absolute;
    text-transform: none;
    top: 0;
}

.home .footer-col::after {
    background: linear-gradient(90deg, #fff 0 36%, var(--attavo-yellow) 36% 100%);
    border-radius: 999px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    top: 31px;
    width: 47px;
}

.home .footer-col-1::before {
    content: "About";
}

.home .footer-col-2::before {
    content: "Categories";
}

.home .footer-col-3::before {
    content: "Terms & Support";
}

.home .footer-col-4::before {
    content: "Connect";
}

.home .footer-col:empty {
    display: none;
}

.home .footer-col-4:not(:has(a, p, img, ul)) {
    display: none;
}

.home .footer-col h4 {
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    font-size: 17px;
    letter-spacing: 0.25px;
    margin: 0 0 20px;
    padding: 0 0 12px;
    text-transform: none;
}

.home .footer-col h4::before {
    background: #fff;
    height: 3px;
    width: 18px;
}

.home .footer-col h4::after {
    background: var(--attavo-yellow);
    height: 3px;
    left: 16px;
    width: 28px;
}

.home .footer-col-1 p,
.home .footer-col ul li a {
    color: #b9cbe7;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 1.8;
    text-transform: none;
}

.home .footer-col ul,
.home .footer-col ul li {
    margin-left: 0;
}

.home .footer-col ul li {
    margin-bottom: 10px;
}

.home .footer-col ul li a:hover {
    color: #fff;
    padding-left: 3px;
}

.home .footer-spcial li {
    align-items: center;
    background: rgba(255, 255, 255, 0.09);
    display: inline-flex;
    justify-content: center;
    margin: 0 6px 0 0;
}

.home .footer-btm {
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 48px;
    padding: 16px 0;
}

.home .footer-btm p {
    color: #aebfda;
    font-size: 12px;
}

@media (max-width: 1199px) {
    .attavo-home-hero {
        min-height: 570px;
        padding: 76px 0 70px;
    }

    .attavo-home-hero__visual {
        transform: scale(0.9);
        transform-origin: right center;
    }

    .home .custom-course-wrap {
        min-height: 375px;
    }
}

@media (max-width: 991px) {
    .home .header-top-left ul li {
        margin-right: 12px;
    }

    .home .header-top-right {
        justify-content: flex-end;
    }

    .home .header-social {
        margin-right: 10px;
    }

    .home .header-social h5,
    .home .log-in li > a:first-of-type {
        display: none;
    }

    .home .header-main .navbar-brand {
        margin-right: 20px;
    }

    .home .tm-serch-bar {
        width: min(400px, 55%);
    }

    .home .navbar-header {
        border: 0;
        display: block;
        margin: 0 0 0 12px !important;
    }

    .home .navbar-toggle {
        background: var(--attavo-navy);
        border: 0;
        border-radius: 9px;
        margin: 0;
        padding: 10px;
    }

    .home .header-main .navbar-collapse {
        background: #fff;
        border: 1px solid var(--attavo-line);
        border-radius: 13px;
        box-shadow: 0 15px 35px rgba(18, 42, 82, 0.13);
        left: 0;
        padding: 12px;
        position: absolute;
        right: 0;
        top: calc(100% + 9px);
        z-index: 20;
    }

    .home .header-main .navbar-nav {
        align-items: stretch;
        margin: 0;
    }

    .home .header-main .navbar-nav li {
        border: 0;
        margin: 0;
    }

    .attavo-home-hero {
        padding-top: 67px;
    }

    .attavo-home-hero__content {
        text-align: center;
    }

    .attavo-home-hero__content > p,
    .attavo-home-hero__actions,
    .attavo-home-stats {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .attavo-home-hero__visual {
        margin: 38px auto 0;
        transform: none;
    }

    .attavo-home-quick-links__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .attavo-home-quick-card {
        min-height: 178px;
    }

    .home .home_sidebar {
        margin-bottom: 28px;
        max-height: none;
        position: relative;
        top: 0;
    }

    .home .home_sidebar #accordion {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 340px;
    }

    .home .home_sidebar .card {
        margin: 0;
    }
}

@media (max-width: 767px) {
    .home .header-top {
        padding: 6px 0;
    }

    .home .header-top-left ul li a p,
    .home .header-social {
        display: none !important;
    }

    .home .header-top-left ul li a span {
        font-size: 14px;
    }

    .home .log-in li > span:first-child {
        display: none;
    }

    .home .logo-area img {
        width: 135px !important;
    }

    .home .tm-serch-bar {
        margin-left: auto;
        width: calc(100% - 200px);
    }

    .attavo-home-hero {
        min-height: 0;
        padding: 55px 0 48px;
    }

    .attavo-home-hero__content h1 {
        font-size: 46px;
        letter-spacing: -1.5px;
    }

    .attavo-home-hero__content > p {
        font-size: 15px;
        line-height: 1.7;
    }

    .attavo-home-stats {
        margin-top: 31px;
    }

    .attavo-home-stats > div {
        min-width: 0;
        padding: 0 14px;
    }

    .attavo-home-stats strong {
        font-size: 21px;
    }

    .attavo-home-hero__visual {
        height: 390px;
        max-width: 460px;
    }

    .attavo-home-quick-links {
        display: block;
        padding: 53px 0 20px;
    }

    .attavo-home-quick-links__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .attavo-home-quick-links__heading h2 {
        font-size: 26px;
    }

    .home .attavo-home-courses {
        padding: 28px 0 58px;
    }

    .home .custom-about {
        padding: 58px 0;
    }

    .attavo-home-section-heading {
        margin-bottom: 31px;
    }

    .attavo-home-section-heading h2 {
        font-size: 34px;
    }

    .home .custom-course-wrap {
        min-height: 365px;
    }

    .home .attavo-about-shell {
        border-radius: 19px;
        padding: 25px 20px;
    }

    .home .custom-about-content {
        padding: 21px;
    }

    .home .custom-about-content > ul {
        grid-template-columns: 1fr;
    }

    .home #attavo-ai-spotlight .attavo-spotlight {
        padding-bottom: 58px;
        padding-top: 20px;
    }

    .home .custom-footer {
        padding-top: 50px;
    }

    .home .footer-col {
        margin-bottom: 27px;
    }
}

@media (max-width: 575px) {
    .home .header-top .col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .home .header-top .col-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .home .header-main {
        padding: 8px 0 !important;
    }

    .home .logo-area img {
        width: 112px !important;
    }

    .home .header-main .navbar-brand {
        margin-right: 10px;
    }

    .home .tm-serch-bar {
        width: calc(100% - 165px);
    }

    .home .tm-serch-bar.a_search_bar input {
        font-size: 12px;
        height: 38px;
        padding-left: 11px;
    }

    .home .tm-serch-bar.a_search_bar button#search_button {
        height: 30px;
        width: 32px;
    }

    .attavo-home-eyebrow {
        font-size: 10px;
        letter-spacing: 0.45px;
    }

    .attavo-home-hero__content h1 {
        font-size: 39px;
    }

    .attavo-home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .attavo-home-button {
        width: 100%;
    }

    .attavo-home-stats {
        align-items: center;
        gap: 13px;
        justify-content: space-between;
    }

    .attavo-home-stats > div {
        border: 0;
        padding: 0;
        width: 33.333%;
    }

    .attavo-home-stats span {
        font-size: 9px;
    }

    .attavo-home-hero__visual {
        height: 330px;
        margin-top: 24px;
    }

    .attavo-home-quick-links__grid {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .attavo-home-quick-card {
        min-height: 170px;
        padding-left: 9px;
        padding-right: 9px;
    }

    .attavo-home-learning-card {
        padding: 23px;
        width: min(280px, 82%);
    }

    .attavo-home-learning-card h2 {
        font-size: 21px;
    }

    .attavo-home-float-card {
        padding: 8px;
    }

    .attavo-home-float-card > i {
        height: 30px;
        width: 30px;
    }

    .attavo-home-float-card--tests {
        left: 0;
        top: 25px;
    }

    .attavo-home-float-card--notes {
        bottom: 19px;
        left: 2px;
    }

    .attavo-home-float-card--updates {
        right: 0;
        top: 72px;
    }

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

    .home .home_sidebar #accordion {
        display: block;
        max-height: 320px;
    }

    .home .home_sidebar .card {
        margin-bottom: 7px;
    }

    .home .custom-course-wrap {
        min-height: 0;
    }

    .home .custom-course-content h4 {
        min-height: 0;
    }

    .home .attavo-about-shell {
        padding: 22px 15px;
    }

    .home .custom-about-content {
        border-radius: 14px;
        padding: 17px;
    }

    .home .custom-about-content h1 {
        font-size: 23px;
    }
}

/* Keep the mobile shell authoritative after legacy responsive rules. */
@media (max-width: 767px) {
    body.home {
        background: #fff;
    }

    .home .header-top,
    .home .attavo-home-courses {
        display: none !important;
    }

    .home .header-main,
    .home .header-main.sticky {
        background: #fff;
        border-bottom: 1px solid #e6ebf4;
        box-shadow: 0 4px 14px rgba(20, 42, 79, 0.06);
        padding: 9px 0 10px !important;
    }

    .home .header-main .navbar {
        align-items: center;
        display: flex !important;
        flex-wrap: wrap;
        gap: 9px 10px;
        min-height: 0;
        overflow: visible;
    }

    .home .header-main .navbar-brand {
        align-items: center;
        display: flex !important;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 !important;
        opacity: 1 !important;
        order: 2;
        visibility: visible !important;
    }

    .home .logo-area img {
        display: block !important;
        max-height: 35px;
        opacity: 1 !important;
        visibility: visible !important;
        width: 105px !important;
    }

    .home .navbar-header {
        align-items: center;
        border: 0;
        display: flex !important;
        flex: 0 0 34px;
        margin: 0 !important;
        opacity: 1 !important;
        order: 1;
        visibility: visible !important;
    }

    .home .navbar-toggle {
        background: transparent !important;
        display: block !important;
        height: 34px;
        margin: 0 !important;
        opacity: 1 !important;
        padding: 7px 5px;
        visibility: visible !important;
        width: 34px;
    }

    .home .navbar-toggle .icon-bar {
        background: #172441 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .home .attavo-mobile-header-actions {
        display: flex !important;
        flex: 0 0 auto;
        opacity: 1 !important;
        order: 3;
        visibility: visible !important;
    }

    .home .tm-serch-bar {
        bottom: auto !important;
        flex: 0 0 100%;
        left: auto !important;
        margin: 0 !important;
        order: 4;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
    }

    .home .tm-serch-bar.a_search_bar input {
        font-size: 11px;
        height: 42px;
        padding: 0 49px 0 12px;
    }

    .home .tm-serch-bar.a_search_bar button#search_button {
        height: 36px;
        width: 38px;
    }

    .home #attavo-ai-spotlight .attavo-spotlight {
        padding-bottom: 12px;
        padding-top: 0;
    }

    .home .custom-footer {
        padding: 25px 0 0;
    }

    .home .custom-footer > .container > .row {
        align-items: stretch;
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .home .custom-footer > .container > .row > [class*="col-"]:first-child {
        grid-column: auto;
    }

    .home .footer-col {
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        height: 100%;
        margin: 0;
        padding: 42px 12px 12px;
    }

    .home .footer-col::before,
    .home .footer-col h4 {
        font-size: 14px;
    }

    .home .footer-col::before {
        left: 12px;
        top: 11px;
    }

    .home .footer-col::after {
        left: 12px;
        top: 31px;
        width: 40px;
    }

    .home .footer-col-1 p,
    .home .footer-col ul li a {
        font-size: 10px;
        line-height: 1.65;
    }

    .home .footer-col ul,
    .home .footer-col ul li {
        margin: 0;
        padding: 0;
    }

    .home .footer-col-1 ul {
        display: flex;
        flex-wrap: wrap;
        gap: 7px 18px;
    }

    .home .footer-col-2 ul,
    .home .footer-col-3 ul {
        column-count: initial;
        display: grid;
        gap: 7px 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home .footer-col ul li a {
        align-items: flex-start;
        display: flex;
        gap: 4px;
        overflow-wrap: anywhere;
    }

    .home .footer-col ul li a i {
        color: var(--attavo-yellow);
        flex: 0 0 auto;
        font-size: 8px;
        margin-top: 4px;
    }

    .home .footer-col-2 ul li {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .home .footer-col-2 ul li a {
        align-items: start;
        display: grid !important;
        gap: 5px;
        grid-template-columns: 9px minmax(0, 1fr);
        justify-content: start !important;
        text-align: left !important;
        width: 100%;
    }

    .home .footer-col-2 ul li a i {
        float: none !important;
        justify-self: start;
        margin: 4px 0 0 !important;
        position: static !important;
        text-align: left;
        width: 9px;
    }

    .home .footer-btm {
        margin-top: 18px;
        padding: 12px 10px;
    }
}

@media (max-width: 380px) {
    .home .custom-footer > .container > .row {
        grid-template-columns: 1fr;
    }

    .home .custom-footer > .container > .row > [class*="col-"]:first-child {
        grid-column: auto;
    }
}

/* Final homepage brand overrides (kept last so legacy theme rules cannot reset them). */
body.home {
    background: #f8f8f6;
    font-family: "Segoe UI", Arial, sans-serif;
}

.home h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h6,
.home button,
.home .header-top-left ul li a p,
.home .header-social h5,
.home .log-in li a,
.home .header-main nav ul li a,
.home .attavo-home-sidebar-title,
.home .home_sidebar .card-header a,
.home .custom-course-content ul li a,
.home .attavo-spotlight,
.home .footer-col,
.home .footer-btm {
    font-family: "Exo 2", sans-serif;
}

.home .header-top,
.home .attavo-home-sidebar-title {
    background: #001f46;
}

.home .tm-serch-bar {
    background: #faf9f6;
    border-color: #e5dfd2;
}

.home .tm-serch-bar.a_search_bar button#search_button {
    background: linear-gradient(135deg, #f7bb00, #ffd34a);
    color: #001f46;
}

.home .header-main nav ul li a:hover,
.home .header-main nav ul li.current-menu-item > a {
    background: #fff7dc;
    color: #001f46;
}

.home .attavo-home-courses,
.home #attavo-ai-spotlight .attavo-spotlight {
    background: #f8f8f6;
}

.home .attavo-home-courses {
    background-image: radial-gradient(circle at 94% 7%, rgba(247, 187, 0, 0.07), transparent 22%);
}

.home .home_sidebar,
.home .custom-course-wrap,
.home .attavo-spotlight__card {
    border-color: #e5dfd2;
    box-shadow: 0 13px 34px rgba(0, 31, 70, 0.08);
}

.home .attavo-home-sidebar-title > span {
    background: rgba(247, 187, 0, 0.16);
    color: #f7bb00;
}

.home .attavo-home-sidebar-title small {
    color: #e7edf5;
}

.home .home_sidebar .card-header {
    background: #fbfaf7 !important;
    border-color: #ece6da;
}

.home .home_sidebar .card-header:hover {
    background: #fff7dc !important;
    border-color: #f7bb00;
}

.home .home_sidebar .card-header:hover a {
    color: #001f46;
}

.home .attavo-sidebar-ad {
    background: #faf9f6;
    border-color: #e5dfd2;
}

.home .attavo-sidebar-ad__label::before {
    background: #f7bb00;
}

.home .custom-course-wrap::before,
.home .attavo-spotlight__card::before,
.home .custom-footer::before {
    background: linear-gradient(90deg, #001f46, #f7bb00);
}

.home .custom-course-icon {
    background: linear-gradient(145deg, #fffdf8, #fff8e4);
    border-color: #ece4d3;
}

.home .custom-course-content ul li a {
    background: #fff7dc;
    border-color: #f7bb00;
    color: #001f46;
}

.home .custom-course-content ul li a .fa-arrow-right {
    color: #d49b00;
}

.home .custom-course-content ul li a:hover {
    background: #001f46;
    border-color: #001f46;
    color: #fff;
}

.home .custom-course-content ul li a:hover .fa-arrow-right {
    color: #f7bb00;
}

.home .attavo-spotlight__spark {
    background: #001f46;
    box-shadow: 0 7px 18px rgba(0, 31, 70, 0.20);
    color: #f7bb00;
}

.home .attavo-spotlight__badge {
    background: #fff7dc;
    border-color: #f7bb00;
    color: #001f46;
}

.home .attavo-spotlight__main-tab {
    background: linear-gradient(180deg, #fff, #fbfaf7);
    border-color: #e5dfd2;
    color: #071a43;
}

.home .attavo-spotlight__main-tab .dashicons {
    background: #fff3cc;
    color: #001f46;
}

.home .attavo-spotlight__main-tab:hover,
.home .attavo-spotlight__main-tab:focus-visible {
    border-color: #f7bb00;
    box-shadow: 0 8px 22px rgba(0, 31, 70, 0.10);
}

.home .attavo-spotlight__main-tab.is-active {
    background: #001f46;
    border-color: #001f46;
    box-shadow: 0 10px 24px rgba(0, 31, 70, 0.22);
    color: #fff;
}

.home .attavo-spotlight__main-tab.is-active .dashicons {
    background: rgba(247, 187, 0, 0.18);
    color: #f7bb00;
}

.home .attavo-spotlight__subtabs,
.home .attavo-spotlight__body {
    background: #faf9f6;
    border-color: #e5dfd2;
}

.home .attavo-spotlight__subtab.is-active {
    background: #f7bb00;
    border-color: #f7bb00;
    box-shadow: 0 5px 14px rgba(247, 187, 0, 0.22);
    color: #001f46;
}

.home .attavo-spotlight__item,
.home .attavo-spotlight__visual {
    border-color: #e5dfd2;
}

.home .attavo-spotlight__visual {
    background: linear-gradient(160deg, #fff, #fff9e8);
}

.home .attavo-spotlight__cta {
    background: linear-gradient(135deg, #f7bb00, #ffd34a);
    border-color: #f7bb00;
    box-shadow: 0 8px 19px rgba(247, 187, 0, 0.22);
    color: #001f46;
}

.home .attavo-spotlight__cta:hover,
.home .attavo-spotlight__cta:focus-visible {
    background: #001f46;
    border-color: #001f46;
    color: #fff;
}

.home .custom-about {
    background: linear-gradient(180deg, #fff, #f8f8f6);
}

.home .custom-about-content {
    background: #faf9f6;
    border-color: #e5dfd2;
}

@media (min-width: 768px) {
    .home .header-main,
    .home .header-main.sticky {
        padding: 0 !important;
    }

    .home .header-main .navbar {
        min-height: 51px;
    }

    .home .header-main .navbar-brand {
        margin-right: 28px;
    }

    .home .logo-area img {
        height: auto !important;
        max-height: 44px;
        max-width: 150px;
        object-fit: contain;
        width: 150px !important;
    }

    .home .header-top-left ul li a p,
    .home .log-in li a,
    .home .header-main nav ul li a,
    .home .tm-serch-bar.a_search_bar input {
        font-size: 14px;
    }

    .home .attavo-home-sidebar-title strong {
        font-size: 16px;
    }

    .home .attavo-home-sidebar-title small {
        font-size: 11px;
    }

    .home .home_sidebar .card-header a {
        font-size: 13px;
        min-height: 60px;
    }

    .home .custom-course-wrap {
        min-height: 414px;
    }

    .home .custom-course-content h4 a {
        font-size: 19px;
    }

    .home .custom-course-content p {
        font-size: 14px;
        line-height: 1.6;
        min-height: 90px;
    }

    .home .custom-course-content ul li a,
    .home .attavo-spotlight__subtab,
    .home .attavo-spotlight__cta {
        font-size: 13px;
    }

    .home .attavo-spotlight__heading h2 {
        font-size: 24px;
    }

    .home .attavo-spotlight__main-tab,
    .home .attavo-spotlight__item h3 {
        font-size: 15px;
    }

    .home .attavo-spotlight__item p,
    .home .footer-col-1 p,
    .home .footer-col ul li a {
        font-size: 13px;
    }
}

.home .attavo-spotlight__item-icon {
    background: #001f46 !important;
    border-color: #fff3cc !important;
    box-shadow: 0 5px 13px rgba(0, 31, 70, 0.18);
    color: #f7bb00;
}

.home .attavo-spotlight__item h3 a:hover {
    color: #a87700;
}

.home .attavo-spotlight__content-list {
    scrollbar-color: #d49b00 #eee9de;
}

.home .attavo-spotlight__content-list::-webkit-scrollbar-track {
    background: #eee9de;
}

.home .attavo-spotlight__content-list::-webkit-scrollbar-thumb {
    background: #d49b00;
}

.home .attavo-spotlight__visual::before,
.home .attavo-spotlight__visual::after {
    background: #f7bb00;
}

/* Match the typography used by the current avatto.com homepage. */
body.home {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

@media (min-width: 768px) {
    .home .header-top-left ul li a p {
        font-family: "Exo 2", sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 28px;
    }

    .home .header-social h5,
    .home .log-in li a,
    .home .header-main nav ul li a {
        font-family: "Exo 2", sans-serif;
        font-size: 15px;
        line-height: 22.5px;
    }

    .home .header-social h5,
    .home .log-in li a {
        font-weight: 700;
    }

    .home .header-main nav ul li a {
        font-weight: 600;
    }

    .home .home_sidebar .card-header a {
        font-family: "Oswald", sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 28px;
    }

    .home .custom-course-content h4,
    .home .custom-course-content h4 a {
        font-family: "Oswald", sans-serif;
        font-size: 21px;
        font-weight: 400;
        letter-spacing: 1px;
        line-height: 25.2px;
    }

    .home .custom-course-content p {
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 29px;
    }

    .home .custom-course-content ul li a {
        font-family: "Exo 2", sans-serif;
        font-size: 15px;
        font-weight: 700;
        line-height: 22.5px;
    }

    .home .attavo-spotlight__main-tab,
    .home .attavo-spotlight__subtab,
    .home .attavo-spotlight__cta {
        font-family: "Exo 2", sans-serif;
        font-size: 15px;
        line-height: 22.5px;
    }

    .home .attavo-spotlight__main-tab,
    .home .attavo-spotlight__cta {
        font-weight: 700;
    }

    .home .attavo-spotlight__item h3,
    .home .attavo-spotlight__item h3 a {
        font-family: "Exo 2", sans-serif;
        font-size: 15px;
        font-weight: 700;
        line-height: 22.5px;
    }

    .home .attavo-spotlight__item p {
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 19.5px;
    }

    .home .custom-about-content,
    .home .custom-about-content p,
    .home .custom-about-content li {
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 33px;
    }

    .home .custom-about-content h1 {
        font-family: "Exo 2", sans-serif;
        font-size: 40px;
        font-weight: 500;
        line-height: 48px;
    }

    .home .footer-col-1 p,
    .home .footer-col ul li a {
        font-family: "Segoe UI", Arial, sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 21px;
    }

    .home .footer-btm p {
        font-family: "Exo 2", sans-serif;
        font-size: 15px;
        font-weight: 400;
        line-height: 28px;
    }
}
