/* =============================================================================
   Blog Redesign — matches Figma "Blog / Desktop" (node 20112:21005)
   Relies on variables.css being loaded before this file.
   v1.5.0
   ============================================================================= */

/* ----------------------------------------------------------------------------
   Global resets scoped to blog page
   ---------------------------------------------------------------------------- */
body {
	background: var(--neutral-950);
	margin: 0;
	padding:0;
}


.blog-page-wrap,
.blog-page-wrap * {
    box-sizing: border-box;
}


/* Override WP/Bootstrap link colors inside our layout */
.blog-page-wrap a,
.blog-page-wrap a:hover,
.blog-page-wrap a:visited,
.blog-page-wrap a:focus {
    /*color: inherit;*/
    text-decoration: none;
}

/* Remove WP category list default styles */
.blog-sidebar .cat-item,
.blog-sidebar ul,
.blog-sidebar li {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ----------------------------------------------------------------------------
   Layout helpers
   ---------------------------------------------------------------------------- */
.blog-page-wrap {
    background-color: var(--neutral-950);
    min-height: 100vh;
}

/* Centered container — matches website's max-width */
.blog-container {
    /*max-width: 1440px;*/
    max-width: 1190px;
    margin: 0 auto;
    /*padding: 0 96px;*/
    width: 100%;
}

/* ----------------------------------------------------------------------------
   Hero section
   ---------------------------------------------------------------------------- */
.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 64px;
    background-color: var(--neutral-950);
}

/* Gradient blob — purely decorative */
.blog-hero__gradient {
    position: absolute;
    width: 1810px;
    height: 372px;
    left: 50%;
    top: 250px;
    transform: translateX(-50%) rotate(7deg);
    background:  radial-gradient(120.08% 70.74% at 21.97% 22.31%, #26267D 0%, #1B1B62 17.5%, #421B6F 35.78%, rgba(9, 250, 163, 0.20) 56.94%, #1B1B62 79.1%, #1C0A30 98.4%);
    opacity: 0.7;
    background-blend-mode: color-dodge;
    filter: blur(94px);
    pointer-events: none;
}

.blog-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.blog-hero__title {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 900;
    font-size: 72px;
    line-height: 1;
    color: var(--neutral-0);
    margin: 0;
    letter-spacing: -0.72px;
}

/* Search input */
.blog-hero__search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--neutral-800);
    border: 1px solid var(--neutral-700);
    border-radius: 36px;
    padding: 12px 16px;
    width: 288px;
    position: relative;
    z-index: 1;
}

.blog-hero__search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--neutral-0);
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    width: 100%;
}
.blog-hero__search input:-webkit-autofill,
.blog-hero__search input:-webkit-autofill:hover,
.blog-hero__search input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--neutral-800) inset !important;
    -webkit-text-fill-color: var(--neutral-0) !important;
}

.blog-hero__search input::placeholder {
    color: var(--neutral-400);
}

.blog-hero__search-icon {
    color: var(--neutral-400);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Featured articles grid */
.blog-featured-grid {
    display: flex;
    gap: 40px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

/* Large featured card — left column */
.blog-card-large {
    flex: 0 0 636px;
    background: var(--neutral-900);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px 12px 24px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.blog-card-large:hover {
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.blog-card-large__image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 228 / 132;
    width: 100%;
    position: relative;
}

.blog-card-large__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-large__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 8px;
}

/* Small horizontal cards — right column */
.blog-featured-secondary {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-card-horizontal {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--neutral-900);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    padding: 12px 24px 12px 12px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.blog-card-horizontal:hover {
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.blog-card-horizontal__image {
    flex: 0 0 204px;
    height: 132px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-card-horizontal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-horizontal__body {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* Shared card text styles */
.blog-card-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: fit-content;
    background: var(--neutral-950);
    border-radius: 24px;
    padding: 4px 12px;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: -0.12px;
    color: var(--neutral-100) !important;
    white-space: nowrap;
}

.blog-card-title {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.2px;
    color: var(--neutral-0) !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--neutral-200) !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----------------------------------------------------------------------------
   Main content section  (sidebar + article grid)
   ---------------------------------------------------------------------------- */
.blog-main {
    background-color: var(--neutral-950);
    padding: 64px 0 96px;
}

/* Inner container carries the flex layout */
.blog-main__container {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

/* Sidebar */
.blog-sidebar {
    flex: 0 0 275px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 96px;
}

.blog-sidebar__heading {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.2px;
    color: var(--neutral-200);
    margin: 0 0 24px;
}

.blog-sidebar__categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.blog-category-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--neutral-700);
    background: var(--neutral-900);
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    position: relative;
}

.blog-category-item input[type="radio"]:checked {
    border-color: var(--accent-green-500);
    background: var(--neutral-950);
}

.blog-category-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green-500);
}

.blog-category-item label {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--neutral-200) !important;
    cursor: pointer;
    margin: 0;
    white-space: nowrap;
    /* Override any WP/Bootstrap badge styles */
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: inline !important;
}

/* Article grid */
.blog-grid {
    flex: 1 0 0;
    min-width: 0;
}

.blog-grid__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Standard article card */
.blog-card {
    background: var(--neutral-900);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px 12px 24px;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.blog-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.blog-card__image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    position: relative;
}

.blog-card-category--overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 0 8px;
    flex: 1 0 0;
}

.blog-card__body-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Author meta row */
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-card__avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.blog-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.blog-card__meta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-card__author {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.14px;
    color: var(--accent-green-500);
}

.blog-card__date {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.13px;
    color: var(--neutral-400);
}

.blog-card__meta-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card__read {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--neutral-400);
}

.blog-card__read::before {
    content: '·';
    margin-right: 6px;
}

/* Loading state */
.blog-grid--loading {
    opacity: 0.5;
    pointer-events: none;
}

/* No results */
.blog-grid__empty {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    color: var(--neutral-400);
    font-size: 16px;
    padding: 40px 0;
    grid-column: 1 / -1;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.blog-pagination a {
    background: var(--neutral-900);
    border: 1px solid var(--neutral-700);
    color: var(--neutral-200);
}

.blog-pagination a:hover {
    background: var(--neutral-800);
    color: var(--neutral-0);
    text-decoration: none;
}

.blog-pagination .current,
.blog-pagination span.current {
    background: var(--accent-green-500);
    color: var(--neutral-950);
    border: none;
    font-weight: 700;
}

/* ----------------------------------------------------------------------------
   Newsletter section
   ---------------------------------------------------------------------------- */
.blog-newsletter {
    background: var(--neutral-950);
    padding: 64px 0;
}

.blog-newsletter__inner {
    background: var(--neutral-900);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 2px 4px 16px 0 rgba(248, 248, 248, 0.06);
    display: flex;
    gap: 64px;
    align-items: center;
}

/* Gradient blob behind newsletter */
.blog-newsletter__gradient {
    position: absolute;
    width: 600px;
    height: 300px;
    right: -100px;
    top: -100px;
    background: radial-gradient(ellipse 60% 60% at 60% 40%, rgba(9, 250, 163, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.blog-newsletter__text {
    flex: 0 0 auto;
    max-width: 400px;
}

.blog-newsletter__label {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--accent-green-500);
    margin: 0 0 12px;
    letter-spacing: -0.16px;
}

.blog-newsletter__heading {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.32px;
    color: var(--neutral-0);
    margin: 0 0 12px;
}

.blog-newsletter__sub {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--neutral-200);
    margin: 0;
}

.blog-newsletter__form-wrap {
    flex: 1 0 0;
    min-width: 0;
    max-width: 469px;
}
.blog-newsletter__form-wrap span, .blog-newsletter__form-wrap label {
    color: var(--neutral-300);
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 16px;
}
 .blog-newsletter__form-wrap label {
    color: #cd4848;
 }
.blog-newsletter__form-wrap .input{
    margin-top: 10px;
}

/* HubSpot form overrides to match Figma */
.blog-newsletter__form-wrap .hs-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-newsletter__form-wrap .hs-form .hs-form-field {
    margin: 0;
}

.blog-newsletter__form-wrap .hs-form .hs-input {
    background: var(--neutral-800) !important;
    border: 1px solid var(--neutral-700) !important;
    border-radius: 36px !important;
    padding: 12px 16px !important;
    color: var(--neutral-0) !important;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif !important;
    font-size: 16px !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
}

.blog-newsletter__form-wrap .hs-form .hs-input::placeholder {
    color: var(--neutral-400) !important;
}

.blog-newsletter__form-wrap .hs-form .hs-button {
    background: transparent !important;
    border: 2px solid var(--neutral-500) !important;
    border-radius: 56px !important;
    padding: 10px 20px !important;
    color: var(--neutral-0) !important;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
    white-space: nowrap;
}

.blog-newsletter__form-wrap .hs-form .hs-button:hover {
    border-color: var(--neutral-0) !important;
}

/* ----------------------------------------------------------------------------
   CTA — "Signup for free"
   ---------------------------------------------------------------------------- */
.blog-cta {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background-color: var(--neutral-950);
}

.blog-cta__gradient {
    position: absolute;
    width: 1193px;
    height: 513px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(10.58deg) skewX(3.85deg) scaleY(-1);
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(9, 250, 163, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Decorative images */
.blog-cta__deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.blog-cta__deco--gift {
    right: 0;
    bottom: 0;
    width: 280px;
    height: auto;
    opacity: 0.9;
}

.blog-cta__deco--plane {
    left: 0;
    top: 0;
    width: 240px;
    height: auto;
    opacity: 0.9;
}

.gift-box-icon {
    background: url(../images/blog/gift-box.webp) no-repeat;
    width: 102px;
    height: 117px;
    margin-top: 110px;
    margin-left: -72px;
    position: absolute;
}

@media (max-width: 1200px) {
    .gift-box-icon {
        margin-top: -139px;
        margin-left: 26px;
    }
}

@media (max-width: 992px) {
    .gift-box-icon {
        display:none;
    }
}


.paper-plane-icon {
    background: url(../images/blog/paper-plane.webp) no-repeat;
    width: 110px;
    height: 110px;
    margin-top: -43px;
    right: 166px;
    position: absolute;
    transform: rotate(13deg);
}

@media (max-width: 1200px) {
    .paper-plane-icon {
        margin-top: -64px;
        right: 162px;
    }
}

@media (max-width: 992px) {
    .paper-plane-icon {
        display:none;
    }
}

/* Container carries the centered column layout */
.blog-cta__container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.blog-cta__text {
    max-width: 734px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-cta__heading {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 900;
    font-size: 60px;
    line-height: 1.1;
    letter-spacing: -0.6px;
    color: var(--neutral-0);
    margin: 0;
}

.blog-cta__heading em {
    font-style: normal;
    color: var(--accent-green-500);
}

.blog-cta__sub {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.18px;
    color: var(--neutral-200);
    margin: 0;
}

.blog-cta__buttons {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.blog-cta__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--accent-green-500);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 56px;
    padding: 10px 16px 10px 32px;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--neutral-950);
    text-decoration: none;
    box-shadow: 0 0 28px 0 rgba(9, 250, 163, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.blog-cta__btn-primary:hover {
    background: var(--accent-green-300);
    color: var(--neutral-950);
    text-decoration: none;
    box-shadow: 0 0 36px 0 rgba(9, 250, 163, 0.45);
}

.blog-cta__btn-primary .circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

.blog-cta__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 10px 32px;
    border: 2px solid var(--neutral-500);
    border-radius: 56px;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--neutral-0);
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.blog-cta__btn-secondary:hover {
    border-color: var(--neutral-0);
    color: var(--neutral-0);
    text-decoration: none;
}

/* ----------------------------------------------------------------------------
   Footer — dark overlay on existing Elementor footer (ID 3050)
   ---------------------------------------------------------------------------- */


/* Dark background override for the Elementor footer */
.elementor-location-footer,
.elementor-location-footer .elementor-section,
.elementor-location-footer .e-con,
.elementor-location-footer .e-con-inner {
    background-color: var(--neutral-950) !important;
}

.elementor-location-footer {
    position: relative !important;
    overflow: hidden !important;
}

/* Background watermark — via element with .footer-bg class (Elementor widget) */

/* Body/link text — white (#FFFFFF = neutral-0) */
.elementor-location-footer p,
.elementor-location-footer span,
.elementor-location-footer li,
.elementor-location-footer .elementor-widget-text-editor * {
    color: var(--neutral-0, #ffffff) !important;
}

/* Column headings (Products, Pricing, etc.) — neutral-400 (#99A0AE) */
.elementor-location-footer .elementor-heading-title {
    color: var(--neutral-400, #99a0ae) !important;
}

/* Copyright / bottom bar text — neutral-200 (#E1E4EA) */
.elementor-location-footer .text-neutral-200 {
    color: var(--neutral-200, #e1e4ea) !important;
}

/* Nav links — white, green on hover */
.elementor-location-footer a {
    color: var(--neutral-0, #ffffff) !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.elementor-location-footer a:hover {
    color: var(--accent-green-500, #09faa3) !important;
    text-decoration: none !important;
}

/* Social icon buttons — targets both legacy .social-icon and Elementor's .elementor-social-icon */
.elementor-location-footer .social-icon,
.elementor-location-footer .elementor-social-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    border: 1px solid var(--neutral-700, #37455c) !important;
    /*background: var(--neutral-800, #223451) !important;*/
    box-shadow: inset 2px 4px 16px 0 rgba(248, 248, 248, 0.06) !important;
    backdrop-filter: blur(50px) !important;
    color: var(--neutral-0, #ffffff) !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
    margin-right: 8px !important;
    flex-shrink: 0 !important;
}

.elementor-location-footer .social-icon:hover,
.elementor-location-footer .elementor-social-icon:hover {
    border-color: var(--neutral-500, #717784) !important;
    background: var(--neutral-300, #37455c) !important;
    color: var(--neutral-0, #ffffff) !important;
    text-decoration: none !important;
}

.elementor-location-footer  .elementor-widget-social-icons .elementor-grid {
    justify-content: start !important;
}

.elementor-location-footer .elementor-social-icon i,
.elementor-location-footer .social-icon i {
    font-size: 18px !important;
    color: var(--neutral-0, #ffffff) !important;
}

.elementor-location-footer .elementor-social-icon svg {
    width: 18px !important;
    height: 18px !important;
    fill: var(--neutral-0, #ffffff) !important;
}

/* Social icons wrapper — row layout */
.elementor-location-footer .elementor-social-icons-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

/* Logo in Elementor footer */
.elementor-location-footer .elementor-widget-image img {
    max-width: 120px !important;
    height: auto !important;
}

/* Divider */
.elementor-location-footer .divider {
    border-color: var(--neutral-600, #525866) !important;
}

/* ---- Legacy selectors below (kept for .blog-footer-decos positioning ref) ---- */
.blog-footer {
    position: relative;
    background-color: var(--neutral-950);
    overflow: hidden;
    padding: 80px 0 0;
}

/* Background watermark — "reloadly" text image */
.blog-footer__bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding-top: 20%;
    height: 0;
    background: url('../images/blog/footer-bg.webp') center bottom / contain no-repeat;
    opacity: 0.2;
    pointer-events: none;
}

/* Decorative images */
.blog-footer__deco {
    position: absolute;
    pointer-events: none;
    user-select: none;
    bottom: 0;
}

.blog-footer__deco--plane {
    left: 16px;
    width: 200px;
    height: auto;
}

.blog-footer__deco--gift {
    right: 16px;
    width: 220px;
    height: auto;
}

/* Logo */
.blog-footer__logo-link {
    display: inline-block;
    margin-bottom: 40px;
}

.blog-footer__logo {
    width: 120px;
    height: auto;
    display: block;
}

/* Upper row: brand (left) + nav (right) */
.blog-footer__upper {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    padding-bottom: 48px;
}

.blog-footer__brand {
    flex: 0 0 auto;
    width: 240px;
}

/* Social */
.blog-footer__social-label {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.18px;
    color: var(--neutral-0);
    margin: 0 0 16px;
}

.blog-footer__social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.blog-footer__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--neutral-700);
    background: var(--neutral-800);
    box-shadow: inset 2px 4px 16px 0 rgba(248, 248, 248, 0.06);
    backdrop-filter: blur(50px);
    color: var(--neutral-0);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.blog-footer__social-btn:hover {
    border-color: var(--neutral-500);
    background: var(--neutral-700);
    color: var(--neutral-0);
    text-decoration: none;
}

/* Active social icon (X/Twitter in design) */
.blog-footer__social-btn--active {
    border-color: var(--neutral-600);
    background: var(--neutral-700);
}

/* Nav columns */
.blog-footer__nav {
    flex: 1 0 0;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    min-width: 0;
}

.blog-footer__col {
    flex: 1 0 0;
    min-width: 0;
}

.blog-footer__col-heading {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.14px;
    color: var(--neutral-400);
    margin: 0 0 20px;
}

.blog-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-footer__col ul li a {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.14px;
    color: var(--neutral-0);
    text-decoration: none;
    transition: color 0.15s ease;
    display: block;
}

.blog-footer__col ul li a:hover {
    color: var(--accent-green-500);
    text-decoration: none;
}

/* Lower nav row */
.blog-footer__lower {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    padding-bottom: 64px;
}

.blog-footer__lower-spacer {
    flex: 0 0 auto;
    width: 240px;
}

.blog-footer__col-empty {
    flex: 1 0 0;
}

/* Divider + bottom bar */
.blog-footer__bottom-wrap {
    position: relative;
    z-index: 1;
}

.blog-footer__divider {
    width: 100%;
    height: 1px;
    background: var(--neutral-600);
    opacity: 0.3;
    margin-bottom: 0;
}

.blog-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0 280px;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    color: var(--neutral-200);
}

.blog-footer__copyright {
    color: var(--neutral-200);
}

.blog-footer__legal {
    display: flex;
    gap: 64px;
    align-items: center;
}

.blog-footer__legal a {
    color: var(--neutral-200);
    text-decoration: none;
    transition: color 0.15s ease;
}

.blog-footer__legal a:hover {
    color: var(--neutral-0);
    text-decoration: none;
}

/* ----------------------------------------------------------------------------
   Responsive — target .blog-container to reduce horizontal padding
   ---------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .blog-container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .blog-card-large {
        flex: 0 0 480px;
    }
}

@media (max-width: 991px) {
    .blog-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .blog-hero__title {
        font-size: 48px;
    }

    .blog-featured-grid {
        flex-direction: column;
        gap: 24px;
    }

    .blog-card-large {
        flex: unset;
        width: 100%;
    }

    .blog-main__container {
        flex-direction: column;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
        flex: unset;
        width: 100%;
    }

    .blog-grid__list {
        grid-template-columns: 1fr;
    }

    .blog-newsletter__inner {
        flex-direction: column;
        gap: 32px;
    }

    .blog-newsletter__text {
        max-width: 100%;
    }

    .blog-newsletter__form-wrap {
        max-width: 100%;
        width: 100%;
    }

    .blog-cta__heading {
        font-size: 40px;
    }

    .blog-cta__deco {
        display: none;
    }

    .blog-footer__deco--plane {
        width: 120px;
    }

    .blog-footer__deco--gift {
        width: 140px;
    }
}

@media (max-width: 576px) {
    .blog-hero__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .blog-hero__search {
        width: 100%;
    }

    .blog-card-horizontal {
        flex-direction: column;
        padding: 12px;
    }

    .blog-card-horizontal__image {
        flex: unset;
        width: 100%;
        height: 180px;
    }

    .blog-cta__buttons {
        flex-direction: column;
    }

    .blog-cta__btn-secondary {
        height: auto;
    }
}


/* =============================================================================
   Article / Single Post — matches Figma node 20112:20895
   ============================================================================= */

.article-wrap {
    background-color: var(--neutral-950) !important;
    min-height: 100vh;
}

.article-wrap *,
.article-wrap *::before,
.article-wrap *::after {
    box-sizing: border-box;
}

/* Override Elementor's --e-global-color-primary (#6EC1E4 teal) on all headings */
.article-wrap h1,
.article-wrap h2,
.article-wrap h3,
.article-wrap h4,
.article-wrap h5,
.article-wrap h6,
.article-wrap .article-title,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #ffffff !important;
    font-family: 'Tosh B', 'Tosh_B', sans-serif !important;
}

.article-related__heading {
    color: #ffffff !important;
}

/* Body text */
.article-wrap p,
.article-wrap li,
.article-wrap span:not(.article-category-pill):not(.article-meta__dot) {
    color: var(--neutral-200, #e1e4ea);
}

/* Override Elementor link colour globally inside article */
.article-wrap a:not(.article-category-pill):not(.article-back__link):not(.article-meta__author):not(.article-share-btn):not(.blog-cta__btn-primary):not(.blog-cta__btn-secondary) {
    color: var(--accent-green-500, #09faa3);
}

/* Container — narrower than blog listing (max 1200px with generous side padding) */
.article-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 80px !important;
    width: 100% !important;
    float: none !important;
}

/* Stop Bootstrap from floating children of our grids */
.article-hero__grid > *,
.article-body__grid > * {
    float: none !important;
    width: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ----------------------------------------------------------------------------
   Back to blog
   ---------------------------------------------------------------------------- */
.article-back {
    padding: 32px 0 0;
    background: var(--neutral-950);
}

.article-back__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-400);
    text-decoration: none;
    transition: color 0.15s ease;
}

.article-back__link:hover {
    color: var(--neutral-0);
    text-decoration: none;
}

.article-back__link svg {
    flex-shrink: 0;
}

/* ----------------------------------------------------------------------------
   Hero — two-column: title left, image right
   ---------------------------------------------------------------------------- */
.article-hero {
    padding: 40px 0 56px;
    background: var(--neutral-950);
}

.article-hero__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 64px !important;
    align-items: center !important;
    float: none !important;
}

.article-hero__left,
.article-hero__right,
.article-sidebar,
.article-content {
    float: none !important;
    width: auto !important;
}

.article-hero__left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Category pill */
.article-category-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border: 1px solid var(--neutral-700);
    border-radius: 24px;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-300);
    text-decoration: none;
    margin-bottom: 20px;
    width: fit-content;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.article-category-pill:hover {
    border-color: var(--accent-green-500);
    color: var(--accent-green-500);
    text-decoration: none;
}

/* Title */
.article-title {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--neutral-0);
    margin: 0 0 20px;
}

/* Excerpt */
.article-excerpt {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-300);
    margin: 0 0 28px;
}

/* Meta row: avatar + name + dot + date + dot + read time */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 14px;
}

.article-meta__author {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.article-meta__author:hover {
    opacity: 0.8;
    text-decoration: none;
}

.article-meta__avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.article-meta__author-name {
    font-weight: 600;
    color: var(--accent-green-500);
}

.article-meta__dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--neutral-600);
    flex-shrink: 0;
}

.article-meta__date,
.article-meta__read {
    color: var(--neutral-400);
}

/* Featured image */
.article-hero__right {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.article-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* ----------------------------------------------------------------------------
   Body — two-column: sidebar left, content right
   ---------------------------------------------------------------------------- */
.article-body {
    background: var(--neutral-950);
    padding-bottom: 80px;
}

.article-body__grid {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 64px !important;
    align-items: flex-start !important;
    float: none !important;
}

/* ----------------------------------------------------------------------------
   Sidebar — sticky TOC + share
   ---------------------------------------------------------------------------- */
.article-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* TOC wrapper */
.article-toc {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-toc__heading {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

/* Override Easy TOC plugin styles to match dark theme */
#ez-toc-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
}

#ez-toc-container .ez-toc-title-container,
#ez-toc-container .ez-toc-title {
    display: none !important;
}

#ez-toc-container nav,
#ez-toc-container ul.ez-toc-list {
    padding: 0 !important;
    margin: 0 !important;
}

#ez-toc-container ul.ez-toc-list {
    list-style: none !important;
    border-left: 2px solid var(--neutral-700) !important;
    padding-left: 0 !important;
}

#ez-toc-container ul.ez-toc-list li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-left: 2px solid transparent;
    margin-left: -2px !important;
    transition: border-color 0.15s ease;
}

#ez-toc-container ul.ez-toc-list li.active,
#ez-toc-container ul.ez-toc-list li:hover {
    border-left-color: var(--accent-green-500) !important;
}

#ez-toc-container ul.ez-toc-list a {
    display: block !important;
    padding: 6px 14px !important;
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    color: var(--neutral-400) !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

#ez-toc-container ul.ez-toc-list a:hover,
#ez-toc-container ul.ez-toc-list li.active a {
    color: var(--neutral-0) !important;
    text-decoration: none !important;
}

/* Nested lists */
#ez-toc-container ul.ez-toc-list ul {
    border-left: none !important;
    padding-left: 12px !important;
}

/* Counter overrides */
#ez-toc-container.counter-hierarchy ul.ez-toc-list,
#ez-toc-container.counter-flat ul.ez-toc-list,
#ez-toc-container.counter-numeric ul.ez-toc-list {
    counter-reset: none !important;
}

#ez-toc-container.counter-hierarchy ul.ez-toc-list li::before,
#ez-toc-container.counter-flat ul.ez-toc-list li::before,
#ez-toc-container.counter-numeric ul.ez-toc-list li::before {
    content: none !important;
}

/* Hide toggle button */
#ez-toc-container label.cssicon,
#ez-toc-container .ez-toc-toggle,
#ez-toc-container input[type="checkbox"] {
    display: none !important;
}

/* Share section */
.article-sidebar__share {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-sidebar__share-label {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
}

.article-sidebar__share-btns {
    display: flex;
    gap: 8px;
}

/* Share icon buttons */
.article-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--neutral-700);
    background: var(--neutral-800);
    color: var(--neutral-0);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.article-share-btn:hover {
    border-color: var(--neutral-500);
    background: var(--neutral-700);
    color: var(--neutral-0);
    text-decoration: none;
}

/* ----------------------------------------------------------------------------
   Article content typography
   ---------------------------------------------------------------------------- */
.article-content {
    min-width: 0;
    color: var(--neutral-200);
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-size: 17px;
    line-height: 1.75;
}

.article-content p {
    color: var(--neutral-200);
    margin: 0 0 24px;
}

.article-content h2 {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 900;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.28px;
    color: var(--neutral-0);
    margin: 48px 0 16px;
}

.article-content h3 {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: var(--neutral-0);
    margin: 36px 0 12px;
}

.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--neutral-0);
    margin: 28px 0 10px;
}

.article-content a {
    color: var(--accent-green-500);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    color: var(--accent-green-300);
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    height: auto;
    margin: 24px 0;
    display: block;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin: 0 0 24px;
}

.article-content li {
    margin-bottom: 8px;
    color: var(--neutral-200);
}

.article-content blockquote {
    border-left: 3px solid var(--accent-green-500);
    margin: 32px 0;
    padding: 16px 24px;
    background: var(--neutral-900);
    border-radius: 0 12px 12px 0;
}

.article-content blockquote p {
    margin: 0;
    color: var(--neutral-100);
    font-style: italic;
}

.article-content pre {
    background: var(--neutral-900);
    border: 1px solid var(--neutral-700);
    border-radius: 12px;
    padding: 20px 24px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    color: var(--neutral-100);
}

.article-content code {
    background: var(--neutral-800);
    border: 1px solid var(--neutral-700);
    border-radius: 4px;
    padding: 2px 6px;
    color: var(--accent-green-500);
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.article-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.article-content hr {
    border: none;
    border-top: 1px solid var(--neutral-700);
    margin: 40px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.article-content th {
    background: var(--neutral-800);
    color: var(--neutral-0);
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid var(--neutral-700);
}

.article-content td {
    padding: 10px 14px;
    border: 1px solid var(--neutral-700);
    color: var(--neutral-200);
}

.article-content tr:nth-child(even) td {
    background: var(--neutral-900);
}

/* ----------------------------------------------------------------------------
   Author box
   ---------------------------------------------------------------------------- */
.article-author-section {
    background: var(--neutral-950);
    border-top: 1px solid var(--neutral-800);
    padding: 32px 0 40px;
}

.article-author-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-author-card__avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

.article-author-card__name {
    font-family: 'Aeonik Fono', 'Aeonik_Fono', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--neutral-0);
    text-decoration: none;
    transition: color 0.15s ease;
}

.article-author-card__name:hover {
    color: var(--accent-green-500);
    text-decoration: none;
}

.article-author-card__socials {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* ----------------------------------------------------------------------------
   Related posts
   ---------------------------------------------------------------------------- */
.article-related {
    background: var(--neutral-950);
    border-top: 1px solid var(--neutral-800);
    padding: 64px 0 80px;
}

.article-related__heading {
    font-family: 'Tosh B', 'Tosh_B', sans-serif;
    font-weight: 900;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.4px;
    color: var(--neutral-0);
    margin: 0 0 40px;
    text-align: center;
}

.article-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Active TOC item — highlight via JS scroll spy */
#ez-toc-container ul.ez-toc-list li.ez-toc-active > a {
    color: var(--neutral-0) !important;
    font-weight: 600 !important;
}

#ez-toc-container ul.ez-toc-list li.ez-toc-active {
    border-left-color: var(--accent-green-500) !important;
}

/* ----------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .article-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-hero__right {
        aspect-ratio: 16 / 9;
        order: -1;
    }

    .article-body__grid {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .article-toc {
        flex: 1 1 300px;
    }

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

@media (max-width: 768px) {
    .article-container {
        padding: 0 24px;
    }

    .article-hero {
        padding: 24px 0 40px;
    }

    .article-related__grid {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        flex-direction: column;
    }
}

/* ----------------------------------------------------------------------------
   Footer bar — copyright + privacy links + watermark background
   ---------------------------------------------------------------------------- */
.blog-footer-bar {
    background-color: var(--neutral-950);
    padding: 0 96px;
}

.blog-footer-bar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 0;
}

.blog-footer-bar__copy {
    font-size: 16px;
    color: var(--neutral-400);
    font-family: Aeonik Fono;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -.16px;
}

.blog-footer-bar__links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-footer-bar__link {
    font-size: 16px;
    color: var(--neutral-400);
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: Aeonik Fono;
}

.blog-footer-bar__link:hover {
    color: var(--neutral-0);
}

/* Background image div — uses padding-top to preserve image aspect ratio */
.blog-footer-bar__bg {
    background: url('../images/blog/footer-bg.webp');
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 20%;
    height: 0;
}

@media (max-width: 768px) {
    .blog-footer-bar {
        padding: 0 24px;
    }

    .blog-footer-bar__row {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}


.headerMenu li a {
    color: var(--neutral-100) !important;
}

.elementor-3322 .elementor-element.elementor-element-a9d02b9 img {
    height: auto !important;
}


/* ------ HEADER -------*/
.headerMenu .sub-menu {
    min-width: 200px !important;
    background: #132747e6 !important;
    border-radius: 8px;
    padding: 20px 0 !important;
    transition: all .5s ease;
    box-shadow: 0 10px 30px #ffffff1a;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    margin-left: -46px;

}
.headerMenu .sub-menu li {
    margin-bottom: 40px;
}
.headerMenu .sub-menu li:last-child {
    margin-bottom: 0px;
}
.headerMenu .sub-menu li a {
    display: inline;
    transition: all 0.3s;
}
.headerMenu .sub-menu li a:hover {
    text-decoration: underline;
    transition: all 0.3s;
}
.headerMenu .sub-menu:before {
    width: 0px;
    height: 0px;
    border-bottom: solid 10px rgba(81,79,141,.6);
    border-left: solid 10px transparent;
    border-right: solid 10px transparent;
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%);
}
.elementor-nav-menu--layout-horizontal .elementor-nav-menu>li ul {
    top: 35px !important;
}
.headerMenu li a {
    color: #EBEEF1 !important;
}
.headerMenu .elementor-menu-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    align-items: center;
    justify-content: center;
    color: #EBEEF1 !important;
    margin-left: auto;
}
.headerMenu .elementor-menu-toggle i,
.headerMenu .elementor-menu-toggle svg {
    color: #EBEEF1 !important;
    fill: #EBEEF1 !important;
    font-size: 24px !important;
}
.headerMenu .elementor-nav-menu--dropdown {
    background: #132747e6 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}
.headerMenu .elementor-nav-menu--dropdown li a {
    color: #EBEEF1 !important;
    padding: 12px 20px !important;
}
@media only screen and (max-width: 1024px) {
    .elementor-element-fe52fb5.columnHeader .elementor-nav-menu--main {
        display: none !important;
    }
    .elementor-element-1fcc1c4.columnHeader {
        display: none !important;
    }
    .headerMenu .elementor-menu-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 9998 !important;
    }
}
@media only screen and (max-width: 767px) {
    .sectionHeader .elementor-inner-section > .elementor-container {
        padding: 0 16px !important;
    }
    .elementor-element-1fcc1c4.columnHeader {
        display: none !important;
    }
    .headerMenu .elementor-menu-toggle {
        display: flex !important;
    }
}

/* ======================================================
   HEADER RESPONSIVE FIXES
   ====================================================== */

/* 1. Hamburger button — ensure visible at tablet (≤1024px) via direct element targeting */
@media only screen and (max-width: 1024px) {
    .elementor-3380 .elementor-element.elementor-element-3a2e3c2 .elementor-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        color: #EBEEF1 !important;
    }
    .elementor-3380 .elementor-element.elementor-element-3a2e3c2 .elementor-menu-toggle svg,
    .elementor-3380 .elementor-element.elementor-element-3a2e3c2 .elementor-menu-toggle i {
        color: #EBEEF1 !important;
        fill: #EBEEF1 !important;
        font-size: 24px !important;
    }
}

/* 2. Open menu — full-width fixed overlay (prevents layout shift at all mobile/tablet sizes) */
@media only screen and (max-width: 1024px) {
    /* Keep the header bar above the overlay */
    .elementor-3380 .elementor-element.elementor-element-ea6707d {
        position: relative !important;
        z-index: 9999 !important;
    }
    /* Logo and hamburger/X sit above the overlay within the header stacking context */
    .elementor-3380 .elementor-element.elementor-element-bd883c5 {
        position: relative !important;
        z-index: 9998 !important;
    }
    .elementor-3380 .elementor-element.elementor-element-3a2e3c2 .elementor-menu-toggle {
        position: relative !important;
        z-index: 9998 !important;
    }
    /* Dropdown: full-screen fixed overlay
       (the dropdown container has no --dropdown class; target via adjacent sibling) */
    .elementor-3380 .elementor-element.elementor-element-3a2e3c2 .elementor-menu-toggle + .elementor-nav-menu__container,
    .headerMenu .elementor-menu-toggle + .elementor-nav-menu__container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        z-index: 9997 !important;
        background: #01112e !important;
        border-top: none !important;
        padding: 80px 32px 48px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .elementor-3380 .elementor-element.elementor-element-3a2e3c2 .elementor-menu-toggle + .elementor-nav-menu__container .elementor-nav-menu {
        flex-direction: column !important;
        width: 100% !important;
    }
    .elementor-3380 .elementor-element.elementor-element-3a2e3c2 .elementor-menu-toggle + .elementor-nav-menu__container .elementor-item {
        display: block !important;
        width: 100% !important;
        padding: 14px 0 !important;
        font-size: 20px !important;
        line-height: 1.3 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .elementor-3380 .elementor-element.elementor-element-3a2e3c2 .elementor-menu-toggle + .elementor-nav-menu__container .elementor-item:last-child {
        border-bottom: none !important;
    }
}

/* 3. Mobile (<768px) — keep logo + hamburger in one row, prevent Elementor column stacking */
@media only screen and (max-width: 767px) {
    /* Prevent the inner section columns from wrapping to separate rows */
    .elementor-3380 .elementor-element.elementor-element-87418ef > .elementor-container {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    /* Logo column: shrink to fit its content */
    .elementor-3380 .elementor-element.elementor-element-bd883c5 {
        width: auto !important;
        flex: 0 0 auto !important;
    }
    /* Nav column: fill remaining space so hamburger aligns right */
    .elementor-3380 .elementor-element.elementor-element-fe52fb5 {
        width: auto !important;
        flex: 1 1 auto !important;
    }
    /* Buttons column already hidden by .columnHeader rule above */
}

/*.sectionHeader {
 position: absolute;
 width: 100%;
 top: 0;

}

.sfm-navicon-button:after {
    display: none !important;
}


.sfm-rollback .sfm-navicon-button .sf_label_icon {
    color: #fff !important;
}

.sfm-navicon-button  {
    background-color: transparent !important;
}

.sfm-rollback {
    display: block !important;
}

@media only screen and (min-width:992px) {
    .sfm-rollback {
        display:none !important;
    }
}

@media only screen and (max-width:992px) {
 .sectionHeader {
     position: fixed;
     top: 0;
     width:100% !important;
     left: 0;

 }
   .sfm-rollback {
      right: -70px !important;
      top: -5px !important;
    }

}*/