/*
 * Theme Name: Elabnody Dark Blue
 * Theme URI: https://www.elabnody.net/
 * Author: Elabnody.Net
 * Description: Responsive animated dark-blue WordPress theme with editable hero slides, WooCommerce and LearnPress integration.
 * Version: 1.1.0
 * Requires at least: 6.0
 * Requires PHP: 7.4
 * License: GPL-2.0-or-later
 * Text Domain: elabnody-dark-blue
 */

/*
 * Stylesheet organization:
 * 01. Theme variables & base
 * 02. Header & navigation
 * 03. Homepage hero
 * 04. Shared sections & cards
 * 05. WooCommerce
 * 06. LearnPress
 * 07. Animations
 * 08. Responsive layout
 * 09. Inner-page & post hero
 * 10. Responsive images
 * 11. Blog inner header
 *
 * Duplicate responsive-image rules from the previous stylesheet
 * have been consolidated into one section.
 */

:root {
    --navy: #061a34;
    --blue: #1972e8;
    --ink: #0d203a;
    --muted: #68788e;
    --line: #e3eaf2;
    --soft: #f4f8fc;
    --white: #fff;
    --ease: cubic-bezier(.2,.75,.25,1);
    --shadow: 0 20px 60px rgba(7,26,51,.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

button,input,textarea,select {
    font: inherit;
}

.container {
    width: min(1180px,calc(100% - 40px));
    margin: auto;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    height: 78px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transition: .35s;
}

.site-header.scrolled {
    height: 68px;
    box-shadow: 0 12px 40px rgba(7,26,51,.08);
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    white-space: nowrap;
}

.brand strong {
    font-size: 20px;
}

.brand small {
    font-size: 14px;
    color: var(--blue);
}

.brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--navy);
    font-weight: 900;
}

.custom-logo-link img {
    max-height: 45px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
    color: #506078;
    font-size: 13px;
    font-weight: 700;
}

.main-nav a {
    position: relative;
    padding: 8px 0;
}

.main-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 2px;
    height: 2px;
    background: var(--blue);
    transition: .35s;
}

.main-nav a:hover,.main-nav a.active {
    color: var(--navy);
}

.main-nav a:hover:after,.main-nav a.active:after {
    right: 0;
}

.nav-cta {
    background: var(--navy);
    color: #fff;
    padding: 11px 17px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    margin: 6px 5px;
    transition: .3s;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    height: min(760px,calc(100vh - 78px));
    min-height: 650px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
    background-size: 60px 60px;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 40%,rgba(26,114,232,.18),transparent 35%),linear-gradient(90deg,#061a34 5%,rgba(6,26,52,.88) 45%,rgba(6,26,52,.35) 100%);
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orb-a {
    width: 330px;
    height: 330px;
    right: -90px;
    top: 8%;
    background: radial-gradient(circle,#1972e8,transparent 68%);
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-b {
    width: 210px;
    height: 210px;
    right: 35%;
    bottom: -100px;
    background: radial-gradient(circle,#4b4bd7,transparent 70%);
    animation: orbFloat 8s ease-in-out infinite reverse;
}

.orb-c {
    width: 90px;
    height: 90px;
    right: 20%;
    top: 18%;
    background: #72c5ff;
    filter: blur(35px);
    animation: blink 4s ease-in-out infinite;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(25px);
    transition: opacity .8s var(--ease),transform .9s var(--ease);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hero-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 710px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8ec7ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.eyebrow i {
    width: 24px;
    height: 2px;
    background: #55a8ff;
    display: block;
}

.hero h1 {
    font-size: clamp(48px,6.2vw,78px);
    line-height: 1.01;
    letter-spacing: -4px;
    margin: 0 0 24px;
    font-weight: 900;
}

.hero h1 span {
    color: #78b9ff;
}

.hero p {
    font-size: 18px;
    max-width: 650px;
    color: #d5e3f3;
    margin: 0 0 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    transition: .35s;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 12px 30px rgba(25,114,232,.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.05);
}

.btn-ghost:hover {
    background: #fff;
    color: var(--navy);
}

.hero-visual {
    height: 430px;
    position: relative;
    display: grid;
    place-items: center;
    perspective: 900px;
}

.floating-ui {
    width: 360px;
    height: 245px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    background: linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.03));
    backdrop-filter: blur(18px);
    box-shadow: 0 35px 90px rgba(0,0,0,.25);
    animation: deviceFloat 6s ease-in-out infinite;
}

.ui-top {
    height: 42px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 15px;
    color: #cde2ff;
    font-size: 10px;
}

.ui-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
}

.ui-top b {
    margin-left: 8px;
}

.ui-lines {
    padding: 25px 22px 12px;
}

.ui-lines i {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.13);
    margin: 9px 0;
}

.ui-lines i:first-child {
    width: 55%;
    background: rgba(113,185,255,.6);
}

.ui-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 9px;
    padding: 10px 22px;
}

.ui-grid b {
    height: 45px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,.96);
    color: var(--navy);
    box-shadow: 0 20px 55px rgba(0,0,0,.22);
    border-radius: 14px;
    padding: 14px 17px;
    animation: cardFloat 5s ease-in-out infinite;
}

.card-one {
    right: 0;
    top: 70px;
    min-width: 145px;
}

.card-one strong {
    display: block;
    font-size: 25px;
}

.card-one small {
    color: var(--muted);
}

.card-two {
    left: 20px;
    bottom: 65px;
    font-size: 12px;
    font-weight: 800;
}

.card-two span {
    color: #1ebc6d;
    margin-right: 7px;
}

.book-stack {
    position: relative;
    width: 350px;
    height: 300px;
    transform: rotate(-8deg);
    animation: deviceFloat 7s ease-in-out infinite;
}

.book {
    position: absolute;
    width: 250px;
    height: 180px;
    border-radius: 8px 15px 15px 8px;
    box-shadow: 25px 25px 50px rgba(0,0,0,.3);
    left: 50px;
    top: 65px;
}

.book-back {
    background: #273a80;
    transform: rotate(-12deg) translate(-25px,-25px);
}

.book-mid {
    background: #4f48a5;
    transform: rotate(5deg) translate(10px,0);
}

.book-front {
    background: linear-gradient(135deg,#1882ef,#55b9ff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    color: #fff;
    font-weight: 900;
    transform: translateY(12px);
}

.book-front span {
    font-size: 30px;
    letter-spacing: 3px;
}

.book-front b {
    font-size: 40px;
}

.course-progress {
    right: -5px;
    bottom: 65px;
    width: 175px;
}

.course-progress small {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1px;
}

.course-progress strong {
    display: block;
    font-size: 30px;
}

.course-progress div {
    height: 5px;
    background: #dfe8f2;
    border-radius: 5px;
}

.course-progress i {
    display: block;
    width: 82%;
    height: 100%;
    background: #1972e8;
    border-radius: 5px;
}

.research-ring {
    position: absolute;
    border: 1px solid rgba(104,195,255,.35);
    border-radius: 50%;
    animation: ringRotate 12s linear infinite;
}

.ring-one {
    width: 330px;
    height: 330px;
}

.ring-two {
    width: 220px;
    height: 220px;
    animation-duration: 8s;
    animation-direction: reverse;
}

.research-core {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle,#54c9ff,#176ee8 65%,#082e62);
    box-shadow: 0 0 80px rgba(45,158,255,.5);
    text-align: center;
    z-index: 2;
}

.research-core span {
    font-size: 45px;
    font-weight: 900;
    line-height: 1;
}

.research-core small {
    font-size: 8px;
    letter-spacing: 2px;
}

.data-chip {
    position: absolute;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    padding: 9px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    animation: cardFloat 4s ease-in-out infinite;
}

.chip-a {
    top: 40px;
    right: 60px;
}

.chip-b {
    bottom: 60px;
    left: 55px;
}

.chip-c {
    top: 55%;
    right: 15px;
}

.doc-card {
    width: 220px;
    height: 290px;
    border-radius: 9px;
    position: absolute;
    box-shadow: 25px 30px 70px rgba(0,0,0,.3);
}

.doc-back {
    background: #274776;
    transform: rotate(10deg) translate(45px,-15px);
}

.doc-front {
    background: #fff;
    color: var(--navy);
    padding: 35px 25px;
    transform: rotate(-7deg);
}

.doc-title {
    width: 80%;
    height: 20px;
    background: #1972e8;
    border-radius: 4px;
    margin: 35px 0 25px;
}

.doc-line {
    width: 100%;
    height: 8px;
    background: #d9e3ee;
    margin: 12px 0;
    border-radius: 3px;
}

.doc-line.short {
    width: 60%;
}

.doc-front span {
    position: absolute;
    bottom: 24px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #1972e8;
}

.download-badge {
    position: absolute;
    right: 10px;
    bottom: 50px;
    background: #fff;
    color: var(--navy);
    padding: 13px 16px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
    font-size: 13px;
}

.download-badge small {
    display: block;
    color: var(--muted);
    font-size: 9px;
}

.hero-bottom {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-arrows {
    display: flex;
    gap: 7px;
}

.slider-arrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.06);
    color: #fff;
    cursor: pointer;
}

.hero-dots {
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 42px;
    height: 34px;
    border: 0;
    border-bottom: 2px solid rgba(255,255,255,.22);
    background: none;
    color: #8fa8c5;
    cursor: pointer;
    font-size: 10px;
}

.hero-dots button.active {
    color: #fff;
    border-color: #fff;
}

.hero-progress {
    height: 2px;
    background: rgba(255,255,255,.14);
    flex: 1;
    max-width: 230px;
    margin-left: auto;
}

.hero-progress span {
    display: block;
    height: 100%;
    width: 25%;
    background: #fff;
    transition: width .5s;
}

.marquee-section {
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.marquee {
    padding: 17px 0;
}

.marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 28px;
    animation: marquee 28s linear infinite;
    color: #29415e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.marquee-track b {
    color: var(--blue);
}

.section {
    padding: 110px 0;
}

.section-white {
    background: #fff;
}

.section-soft {
    background: var(--soft);
}

.section-navy {
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-navy:before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    right: -220px;
    top: -180px;
    background: radial-gradient(circle,rgba(31,120,239,.2),transparent 70%);
    pointer-events: none;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
}

.section-kicker {
    display: inline-block;
    color: var(--blue);
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 18px;
}

.section h2 {
    font-size: clamp(36px,4.4vw,58px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin: 0 0 20px;
    color: var(--navy);
}

.section-navy h2 {
    color: #fff;
}

.lead-copy {
    color: var(--muted);
    font-size: 17px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading>p {
    color: var(--muted);
    font-size: 17px;
}

.section-navy .section-heading>p {
    color: #c8d7e9;
}

.row-heading {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.card-grid,.course-grid,.product-grid,.blog-grid {
    display: grid;
    gap: 22px;
}

.card-grid.four {
    grid-template-columns: repeat(4,1fr);
}

.course-grid,.product-grid,.blog-grid {
    grid-template-columns: repeat(3,1fr);
}

.feature-card,.course-card,.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: .4s;
}

.feature-card {
    padding: 30px;
    min-height: 310px;
    position: relative;
    overflow: hidden;
}

.feature-card:hover,.course-card:hover,.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 70px rgba(7,26,51,.16);
}

.card-number {
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.icon {
    font-size: 28px;
    margin-top: 28px;
    color: var(--blue);
}

.feature-card h3 {
    font-size: 21px;
    margin: 10px 0;
}

.feature-card p,.course-body p,.blog-card p {
    color: var(--muted);
    font-size: 14px;
}

.feature-card a,.course-meta strong,.blog-card a,.text-link {
    color: var(--blue);
    font-weight: 800;
}

.outline-btn,.light-outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 17px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.light-outline-btn {
    border-color: rgba(255,255,255,.25);
    color: #fff;
}

.course-card {
    overflow: hidden;
}

.course-image {
    height: 190px;
    display: grid;
    place-items: center;
    color: #fff;
    overflow: hidden;
}

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

.course-image span {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 4px;
}

.gradient-one {
    background: linear-gradient(135deg,#0b3d79,#1972e8);
}

.gradient-two {
    background: linear-gradient(135deg,#27366f,#7654db);
}

.gradient-three {
    background: linear-gradient(135deg,#075b67,#17aaa3);
}

.course-body {
    padding: 25px;
}

.course-category {
    font-size: 10px;
    color: var(--blue);
    font-weight: 900;
    letter-spacing: 1.4px;
}

.course-body h3 {
    font-size: 21px;
    margin: 8px 0;
}

.course-meta {
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.product-card {
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 235px;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    transition: .4s;
}

.product-art {
    background: linear-gradient(145deg,#d8eaff,#eff6ff);
    display: grid;
    place-items: center;
    position: relative;
    color: var(--navy);
    font-weight: 900;
}

.product-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
}

.product-info h3 {
    margin: 8px 0 22px;
    font-size: 19px;
}

.research-layout {
    align-items: center;
}

.research-list {
    border-left: 1px solid var(--line);
}

.research-list article {
    display: grid;
    grid-template-columns: 42px 1fr 30px;
    gap: 18px;
    align-items: start;
    padding: 24px 0 24px 30px;
    border-bottom: 1px solid var(--line);
    transition: .3s;
}

.research-list article:hover {
    padding-left: 38px;
}

.research-list article>span,.research-list article>b {
    color: var(--blue);
    font-size: 12px;
}

.research-list h3 {
    margin: 0 0 5px;
    font-size: 19px;
}

.research-list p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.blog-card {
    padding: 30px;
    min-height: 260px;
}

.blog-card>span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.blog-card h2,.blog-card h3 {
    font-size: 21px;
    line-height: 1.25;
    margin: 30px 0 12px;
}

.contact-box {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-box p {
    color: var(--muted);
}

.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer {
    background: #031224;
    color: #a9bdd3;
    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    color: #fff;
}

.site-footer h4 {
    color: #fff;
    margin: 0 0 15px;
}

.site-footer a,.site-footer span {
    display: block;
    font-size: 13px;
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 50px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    border-radius: 50%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    box-shadow: 0 10px 25px rgba(7,26,51,.15);
    cursor: pointer;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease),transform .8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/*
 * =========================================================
 *    RESPONSIVE IMAGES
 *    One consolidated image system for WordPress, WooCommerce,
 *    LearnPress, blog posts, galleries, logos, and hero images.
 *    =========================================================
 */

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

figure,
picture {
    max-width: 100%;
    margin: 0;
}

picture img {
    display: block;
    width: 100%;
    height: auto;
}

.wp-block-image img,
.wp-post-image,
.attachment-post-thumbnail,
.post-content img,
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin: 0 25px 20px 0;
    max-width: 50%;
}

.alignright {
    float: right;
    margin: 0 0 20px 25px;
    max-width: 50%;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo-link img {
    width: auto;
    max-width: 220px;
    max-height: 48px;
    height: auto;
    object-fit: contain;
}

.wp-block-gallery img,
.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Component image defaults */

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-art {
    overflow: hidden;
}

.product-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s var(--ease);
}

.product-card:hover .product-art img {
    transform: scale(1.05);
}

.post-featured-image {
    overflow: hidden;
}

.post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.inner-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img,
.learn-press-courses img,
.learnpress img {
    max-width: 100%;
    height: auto;
}

/* Responsive image sizing */

@media (max-width: 1000px) {
    .custom-logo-link img {
        max-width: 190px;
        max-height: 44px;
    }

    .course-image {
        height: 210px;
    }

    .inner-hero-image {
        width: 100%;
        height: 220px;
    }

}

@media (max-width: 760px) {
    .custom-logo-link img {
        max-width: 165px;
        max-height: 40px;
    }

    .alignleft,
    .alignright {
        float: none;
        display: block;
        margin: 20px auto;
        max-width: 100%;
    }

    .course-image {
        width: 100%;
        height: 220px;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-art {
        width: 100%;
        height: 240px;
    }

    .product-art img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 15px;
    }

    .post-featured-image {
        width: 100%;
        margin-bottom: 30px;
        border-radius: 14px;
    }

    .post-featured-image img {
        width: 100%;
        height: auto;
    }

    .post-content img,
    .entry-content img {
        width: auto;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 480px) {
    .custom-logo-link img {
        max-width: 145px;
        max-height: 36px;
    }

    .course-image {
        height: 190px;
    }

    .product-art {
        height: 210px;
    }

    .post-content img,
    .entry-content img {
        border-radius: 8px;
    }

}

/* WooCommerce */

.woocommerce .site-main {
    padding-bottom: 80px;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 20px !important;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: .35s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-7px);
}

.woocommerce ul.products li.product a img {
    border-radius: 12px;
}

.woocommerce ul.products li.product .price {
    color: var(--blue);
    font-weight: 800;
}

.woocommerce a.button,.woocommerce button.button,.woocommerce input.button {
    background: var(--navy);
    color: #fff;
    border-radius: 9px;
    padding: 12px 18px;
}

.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover {
    background: var(--blue);
    color: #fff;
}

.woocommerce div.product div.images img {
    border-radius: 18px;
}

.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register {
    border: 1px solid var(--line);
    border-radius: 18px;
}

.woocommerce-checkout #payment {
    background: var(--soft);
    border-radius: 16px;
}

.woocommerce span.onsale {
    background: var(--blue);
}

/* LearnPress */

.learnpress .learn-press-courses,.learnpress-page .learn-press-courses {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.learn-press-courses .course {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.learn-press-courses .course-item-title {
    font-size: 20px;
}

.learn-press-courses .course-content {
    padding: 22px;
}

.learn-press-courses .course-price {
    color: var(--blue);
    font-weight: 800;
}

.widget-area .widget {
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.widget-area .widget-title {
    color: var(--navy);
    font-size: 16px;
}

.comment-form input,.comment-form textarea,.search-form input {
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 12px;
    width: 100%;
    margin-bottom: 12px;
}

.comment-form .submit,.search-form button {
    background: var(--navy);
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 12px 18px;
}

@keyframes deviceFloat {
    0%,100% {
        transform: rotateY(-12deg) rotateX(4deg) translateY(0);
    }

    50% {
        transform: rotateY(-8deg) rotateX(5deg) translateY(-13px);
    }

}

@keyframes cardFloat {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}

@keyframes orbFloat {
    0%,100% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(-25px,20px);
    }

}

@keyframes blink {
    0%,100% {
        opacity: .3;
    }

    50% {
        opacity: .8;
    }

}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }

}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }

}

@media (max-width:1000px) {
    .main-nav {
        gap: 13px;
        font-size: 12px;
    }

    .nav-cta {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr .8fr;
    }

    .hero-visual {
        transform: scale(.82);
        margin-left: -30px;
    }

    .card-grid.four {
        grid-template-columns: repeat(2,1fr);
    }

    .course-grid,.product-grid,.blog-grid,.woocommerce ul.products,.learnpress .learn-press-courses,.learnpress-page .learn-press-courses {
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width:760px) {
    .container {
        width: calc(100% - 28px);
    }

    .site-header {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 22px 18px;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 40px rgba(7,26,51,.12);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 9px 0;
    }

    .hero {
        height: 680px;
        min-height: 680px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2.5px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-bottom {
        bottom: 20px;
    }

    .hero-progress {
        max-width: 90px;
    }

    .section {
        padding: 80px 0;
    }

    .split,.course-grid,.product-grid,.blog-grid,.woocommerce ul.products,.learnpress .learn-press-courses,.learnpress-page .learn-press-courses {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-grid.four {
        grid-template-columns: 1fr;
    }

    .row-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-box {
        padding: 32px;
        display: block;
    }

    .contact-actions {
        margin-top: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .research-list {
        margin-top: 25px;
    }

    .marquee-track {
        animation-duration: 22s;
    }

}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-slide,.reveal {
        transition: none !important;
    }

    .marquee-track,.hero-orb,.floating-ui,.floating-card,.book-stack,.research-ring {
        animation: none !important;
    }

}

/* INNER PAGE + POST HERO */

.inner-hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    min-height: 365px;
    display: flex;
    align-items: center;
}

.inner-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
    background-size: 48px 48px;
}

.inner-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 45%,rgba(25,114,232,.24),transparent 32%),linear-gradient(90deg,#061a34 0%,rgba(6,26,52,.92) 55%,rgba(6,26,52,.5));
}

.inner-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.inner-hero-glow-a {
    width: 260px;
    height: 260px;
    right: 8%;
    top: -100px;
    background: rgba(53,151,255,.18);
    animation: orbFloat 8s ease-in-out infinite;
}

.inner-hero-glow-b {
    width: 170px;
    height: 170px;
    right: 35%;
    bottom: -90px;
    background: rgba(104,75,255,.14);
    animation: orbFloat 7s ease-in-out infinite reverse;
}

.inner-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 55px;
    align-items: center;
    min-height: 365px;
    padding: 55px 0;
}

.inner-hero-copy {
    max-width: 760px;
}

.inner-hero-eyebrow {
    display: inline-flex;
    color: #82c1ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.inner-hero-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #9eb4cc;
    font-size: 11px;
    margin-bottom: 20px;
}

.inner-hero-breadcrumbs a {
    color: #fff;
    font-weight: 700;
}

.inner-hero-breadcrumbs a:hover {
    color: #78b9ff;
}

.inner-hero h1 {
    font-size: clamp(42px,5.4vw,70px);
    line-height: 1.02;
    letter-spacing: -3px;
    margin: 0 0 18px;
    color: #fff;
}

.inner-hero p {
    font-size: 16px;
    max-width: 650px;
    color: #d1dfef;
    margin: 0;
}

.inner-hero-media {
    display: flex;
    justify-content: flex-end;
}

.inner-hero-image {
    width: min(420px,100%);
    height: 245px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    transform: rotate(2deg);
    background: #0b2b55;
}

.inner-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inner-hero-art {
    height: 280px;
    position: relative;
    display: grid;
    place-items: center;
}

.inner-art-ring {
    position: absolute;
    border: 1px solid rgba(111,184,255,.35);
    border-radius: 50%;
    animation: ringRotate 12s linear infinite;
}

.inner-art-ring.ring-1 {
    width: 270px;
    height: 270px;
}

.inner-art-ring.ring-2 {
    width: 175px;
    height: 175px;
    animation-direction: reverse;
    animation-duration: 8s;
}

.inner-art-core {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle,#58c5ff,#1972e8 65%,#082e62);
    box-shadow: 0 0 70px rgba(52,157,255,.45);
    font-size: 35px;
}

.inner-art-chip {
    position: absolute;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    padding: 8px 13px;
    border-radius: 30px;
    font-style: normal;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
    color: #dcecff;
    animation: cardFloat 4s ease-in-out infinite;
}

.inner-art-chip.chip-1 {
    top: 25px;
    right: 15px;
}

.inner-art-chip.chip-2 {
    bottom: 25px;
    left: 15px;
    animation-delay: 1s;
}

.inner-art-chip.chip-3 {
    top: 48%;
    right: -10px;
    animation-delay: 2s;
}

.post-content {
    max-width: 820px;
    margin: auto;
}

.post-featured-image {
    margin: 0 auto 45px;
    max-width: 980px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.post-content h2,.post-content h3 {
    color: var(--navy);
    line-height: 1.2;
}

.post-content p,.post-content li {
    color: #44566e;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.post-content blockquote {
    border-left: 3px solid var(--blue);
    padding: 10px 25px;
    margin: 30px 0;
    color: #52667f;
    background: var(--soft);
    border-radius: 0 12px 12px 0;
}

.post-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    color: #91a1b5;
    font-size: 11px;
    margin-top: 18px;
}

.post-taxonomy {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.post-taxonomy a {
    background: #eef5fc;
    color: var(--blue);
    padding: 6px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
}

@media (max-width:760px) {
    .inner-hero {
        min-height: 330px;
    }

    .inner-hero-inner {
        grid-template-columns: 1fr;
        min-height: 330px;
        padding: 45px 0;
    }

    .inner-hero-media,.inner-hero-art {
        display: none;
    }

    .inner-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .inner-hero p {
        font-size: 15px;
    }

}

/*
 * ========================================
 *    BLOG INNER HEADER
 * ========================================
 */

.blog-inner-header {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    isolation: isolate;
}

.blog-header-grid {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(
            rgba(255,255,255,.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
    animation: blogGridMove 20s linear infinite;
}

.blog-inner-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle at 75% 45%,
            rgba(25,114,232,.30),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(78,75,210,.18),
            transparent 28%
        );
    pointer-events: none;
}

.blog-inner-header::after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -150px;
    height: 260px;
    background: #fff;
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    z-index: -1;
}

/*
 * ----------------------------------------
 *    HEADER LAYOUT
 * ----------------------------------------
 */

.blog-header-inner {
    position: relative;
    z-index: 5;
    min-height: 470px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
    padding: 70px 0 100px;
}

.blog-header-content {
    max-width: 700px;
}

/*
 * ----------------------------------------
 *    EYEBROW
 * ----------------------------------------
 */

.blog-header-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #82c1ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.5px;
}

.blog-header-eyebrow span {
    display: block;
    width: 27px;
    height: 2px;
    background: #ff9800;
    border-radius: 3px;
}

/*
 * ----------------------------------------
 *    BREADCRUMBS
 * ----------------------------------------
 */

.blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: #8fa8c5;
    font-size: 11px;
}

.blog-breadcrumbs a {
    color: #fff;
    font-weight: 700;
    transition: color .3s;
}

.blog-breadcrumbs a:hover {
    color: #78b9ff;
}

.blog-breadcrumbs strong {
    color: #9eb4cc;
    font-weight: 600;
}

/*
 * ----------------------------------------
 *    TITLE
 * ----------------------------------------
 */

.blog-header-content h1 {
    margin: 0 0 22px;
    max-width: 700px;
    color: #fff;
    font-size: clamp(
        45px,
        6vw,
        72px
    );
    line-height: 1.02;
    letter-spacing: -3.5px;
    font-weight: 900;
}

.blog-header-content h1 span {
    color: #67b4ff;
}

.blog-header-content p {
    max-width: 620px;
    margin: 0 0 30px;
    color: #c9d9eb;
    font-size: 16px;
    line-height: 1.7;
}

/*
 * ----------------------------------------
 *    ACTIONS
 * ----------------------------------------
 */

.blog-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-header-actions .btn {
    min-height: 46px;
}

/*
 * ----------------------------------------
 *    BLOG VISUAL
 * ----------------------------------------
 */

.blog-header-visual {
    position: relative;
    height: 340px;
    display: grid;
    place-items: center;
    perspective: 900px;
}

/*
 * ----------------------------------------
 *    BOOK
 * ----------------------------------------
 */

.blog-book {
    position: relative;
    width: 330px;
    height: 235px;
    transform: rotate(-7deg)
        rotateY(-8deg);
    animation: blogBookFloat
        6s
        ease-in-out
        infinite;
}

.blog-book-page {
    position: absolute;
    width: 275px;
    height: 190px;
    left: 27px;
    top: 25px;
    border-radius: 8px
        15px
        15px
        8px;
    box-shadow: 25px 30px 70px
        rgba(0,0,0,.35);
}

.page-back {
    background: linear-gradient(
            135deg,
            #173d7c,
            #0b5fc2
        );
    transform: rotate(-9deg)
        translate(-20px,-15px);
}

.page-front {
    background: linear-gradient(
            135deg,
            #1972e8,
            #0755b8
        );
    padding: 24px;
    color: #fff;
    transform: rotate(2deg);
}

/*
 * ----------------------------------------
 *    BOOK CONTENT
 * ----------------------------------------
 */

.blog-book-top {
    display: flex;
    gap: 5px;
}

.blog-book-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
}

.blog-book-title {
    margin-top: 28px;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 4px;
}

.blog-book-line {
    width: 75%;
    height: 7px;
    margin-top: 13px;
    border-radius: 5px;
    background: rgba(255,255,255,.35);
}

.blog-book-line.short {
    width: 45%;
}

.blog-book-footer {
    position: absolute;
    left: 24px;
    bottom: 20px;
    color: #9ed2ff;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

/*
 * ----------------------------------------
 *    ORBITS
 * ----------------------------------------
 */

.blog-orbit {
    position: absolute;
    border: 1px solid
        rgba(91,181,255,.30);
    border-radius: 50%;
    animation: blogOrbit
        15s
        linear
        infinite;
}

.orbit-one {
    width: 310px;
    height: 310px;
}

.orbit-two {
    width: 210px;
    height: 210px;
    animation-direction: reverse;
    animation-duration: 10s;
}

/*
 * ----------------------------------------
 *    FLOATING CARDS
 * ----------------------------------------
 */

.blog-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1px solid
        rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px
        rgba(0,0,0,.25);
    animation: blogCardFloat
        4s
        ease-in-out
        infinite;
}

.blog-floating-card strong {
    color: #fff;
    font-size: 14px;
}

.blog-floating-card small {
    color: #9ec5ed;
    font-size: 8px;
    letter-spacing: 1px;
}

.blog-floating-card span {
    color: #ff9c00;
    font-size: 18px;
}

.card-article {
    right: 8px;
    top: 35px;
}

.card-idea {
    left: 0;
    bottom: 45px;
}

.card-learning {
    right: 30px;
    bottom: 10px;
    animation-delay: 1.2s;
}

/*
 * ----------------------------------------
 *    ANIMATIONS
 * ----------------------------------------
 */

@keyframes blogBookFloat {
    0%,
    100% {
        transform: rotate(-7deg)
            rotateY(-8deg)
            translateY(0);
    }

    50% {
        transform: rotate(-5deg)
            rotateY(-5deg)
            translateY(-12px);
    }

}

@keyframes blogCardFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }

}

@keyframes blogOrbit {
    to {
        transform: rotate(360deg);
    }

}

@keyframes blogGridMove {
    to {
        transform: translate(55px,55px);
    }

}

/*
 * ----------------------------------------
 *    TABLET
 * ----------------------------------------
 */

@media (max-width: 1000px) {
    .blog-header-inner {
        grid-template-columns: 1fr .8fr;
        gap: 20px;
    }

    .blog-header-content h1 {
        font-size: clamp(
            42px,
            6vw,
            60px
        );
    }

    .blog-header-visual {
        transform: scale(.85);
    }

}

/*
 * ----------------------------------------
 *    MOBILE
 * ----------------------------------------
 */

@media (max-width: 760px) {
    .blog-inner-header {
        min-height: 390px;
    }

    .blog-header-inner {
        display: block;
        min-height: 390px;
        padding: 55px 0
            85px;
    }

    .blog-header-content {
        max-width: 100%;
    }

    .blog-header-content h1 {
        font-size: 43px;
        letter-spacing: -2.5px;
    }

    .blog-header-content p {
        font-size: 14px;
    }

    .blog-header-visual {
        display: none;
    }

    .blog-inner-header::after {
        bottom: -190px;
        height: 250px;
    }

    .blog-header-actions .btn {
        padding: 11px 16px;
        font-size: 12px;
    }

}

/*
 * ----------------------------------------
 *    SMALL PHONES
 * ----------------------------------------
 */

@media (max-width: 480px) {
    .blog-header-inner {
        padding-top: 45px;
    }

    .blog-header-content h1 {
        font-size: 36px;
        line-height: 1.06;
    }

    .blog-header-content p {
        font-size: 14px;
    }

    .blog-breadcrumbs {
        font-size: 10px;
    }

}

/*
 * ----------------------------------------
 *    ACCESSIBILITY
 * ----------------------------------------
 */

@media (prefers-reduced-motion: reduce) {
    .blog-header-grid,
    .blog-book,
    .blog-orbit,
    .blog-floating-card {
        animation: none !important;
    }

}