/* ==========================================================================
Course hero
========================================================================== */

.palomarr-academy-course .palomarr-academy-course-hero {
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5.5rem;
    background: var(--academy-course-dark);
    color: #fff;
}

.palomarr-academy-course .palomarr-academy-course-hero.has-course-hero-background {
    background-image: linear-gradient(rgba(10, 43, 35, .84), rgba(10, 43, 35, .9)), var(--academy-course-hero-image);
    background-position: center;
    background-size: cover;
}

.palomarr-academy-course-hero::before {
    content: '';
    position: absolute;
    inset: -8%;
    background-image: url('/wp-content/uploads/2025/12/palomarr-bg-circles-12.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .1;
    pointer-events: none;
    transform: scale(1.08);
}

.palomarr-academy-course-hero.has-course-hero-background::before {
    opacity: 0;
}

.palomarr-academy-course-hero .palomarr-academy-inner {
    position: relative;
    z-index: 1;
}

.palomarr-academy-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
}

.palomarr-academy-breadcrumbs a {
    color: var(--color-accent, #daff98);
    text-decoration: none;
}

.palomarr-academy-breadcrumbs a:hover,
.palomarr-academy-breadcrumbs a:focus {
    color: #fff;
    text-decoration: underline;
}

.palomarr-academy-breadcrumbs .separator {
    color: rgba(255, 255, 255, .42);
}

.palomarr-academy-hero-layout {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.palomarr-academy-hero-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.palomarr-academy-course-hero h1 {
    max-width: 52rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 4rem;
    line-height: 1.08;
}

.palomarr-academy-course-hero h1.gradient-header.light {
    color: transparent;
}

.palomarr-academy-hero-summary {
    max-width: 46rem;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1.08rem;
    line-height: 1.7;
}

.palomarr-academy-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.palomarr-academy-course .nectar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content !important;
    min-width: 13rem;
    margin: 0;
    border-radius: var(--border-radius-p, 1rem 1rem 1rem 0);
}

.palomarr-academy-hero-card {
    max-width: 17rem;
    padding: 1.3rem 1.5rem 1.65rem;
    border: 0;
    border-radius: var(--border-radius-p, 1rem 1rem 1rem 0);
    background: rgba(90, 121, 107, .12);
    color: #fff;
    backdrop-filter: blur(4px);
}

.palomarr-academy-course-card-visual {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: var(--border-radius-p-2, 2rem 2rem 2rem 0);
    aspect-ratio: 3 / 2;
}

.palomarr-academy-course-card-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.palomarr-academy-hero-facts {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: .85;
}

.palomarr-academy-hero-facts li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--text-white);
    font-size: .95rem;
    line-height: 1.45;
}

.palomarr-academy-hero-facts span {
    line-height: 1.4;
}

.palomarr-academy-hero-fact-icon {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--color-accent, #daff98);
}

.palomarr-academy-course-next .palomarr-academy-hero-fact-icon {
    color: var(--color-primary, #2f9376);
}

.palomarr-academy-hero-fact-icon svg {
    width: 1.05rem;
    height: 1.05rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
