/*
Theme Name: Lumière
Description: Beauty salon and spa theme: services and treatments, an online booking request, a team, a price list and a shop for salon products, built with Elementor and the Inoforest Core and Lumiere Core plugins.
Author: Inoforest
Version: 1.0.9
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumiere
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================================
   Design tokens
   Kirki (via the functionality plugin) may override --primary-color and
   --secondary-color on :root; the fallbacks below keep the theme cohesive
   on its own.
   ========================================================================= */
:root {
    --primary-color: #007cba;
    --secondary-color: #666666;

    --cp-primary: var(--primary-color, #007cba);
    --cp-primary-hover: #006ba3;
    --cp-primary-dark: #005a8c;

    --cp-text: #1f2933;
    --cp-text-muted: #5a6573;
    --cp-heading: #14202b;

    --cp-bg: #ffffff;
    --cp-bg-subtle: #f6f8fa;
    --cp-bg-accent: #f0f7fc;

    --cp-border: #e6eaef;
    --cp-border-strong: #d0d7de;

    --cp-radius: 12px;
    --cp-radius-sm: 8px;
    --cp-shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.05);
    --cp-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);

    --cp-container: 1200px;
    --cp-content: 760px;

    --cp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Reset and base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--cp-font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--cp-text);
    background: var(--cp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--cp-heading);
    line-height: 1.25;
    font-weight: 700;
}

a {
    color: var(--cp-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--cp-primary-dark);
}

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

/* Icons without a size of their own (Elementor's saved copy of a page, shown while Elementor is off) stay the size of
   the text instead of filling the column. Only without Elementor (no .elementor-default on <body>), and with zero
   specificity, so any widget's own icon rule wins. */
:where(body:not(.elementor-default) .entry-content) svg:where(:not([width])) {
    width: 1em;
    height: 1em;
}

.container {
    max-width: var(--cp-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Accessibility helpers */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    word-wrap: normal !important;
}

/* Logical properties keep the hidden link on the side a page cannot scroll to, in right-to-left languages too. */
.skip-link {
    position: absolute;
    inset-inline-start: -9999px;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: var(--cp-primary);
    color: #fff;
    border-end-end-radius: var(--cp-radius-sm);
}

.skip-link:focus {
    inset-inline-start: 0;
    color: #fff;
}

:where(.page-template-elementor_header_footer .elementor) :is(a, button, [tabindex]):focus-visible,
.home.page-template-elementor_header_footer .elementor :is(a, button, [tabindex]):focus-visible,
:is(.site-header--builder, .site-footer--builder) :is(a, button, [tabindex]):focus-visible {
    outline: 2px solid var(--inoforest-color-primary, #9c5466);
    outline-offset: 3px;
}

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

    .home.page-template-elementor_header_footer .elementor-invisible {
        visibility: visible;
    }

    .home.page-template-elementor_header_footer .elementor .animated {
        animation-duration: 0.01ms;
    }
}

/* Right-to-left languages: arrows and chevrons that mean "forward" or "back" point the other way. The scale property
   leaves the icons' own transform (hover nudges) working. */
[dir="rtl"] :is(
    .e-fas-arrow-right, .e-fas-arrow-left, .e-fas-long-arrow-alt-right, .e-fas-long-arrow-alt-left,
    .e-fas-chevron-right, .e-fas-chevron-left, .e-fas-angle-right, .e-fas-angle-left,
    .e-fas-caret-right, .e-fas-caret-left, .e-fas-arrow-circle-right, .e-fas-arrow-circle-left,
    .fa-arrow-right, .fa-arrow-left, .fa-chevron-right, .fa-chevron-left, .fa-angle-right, .fa-angle-left
) {
    scale: -1 1;
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
    background: var(--cp-bg);
    border-bottom: 1px solid var(--cp-border);
    box-shadow: var(--cp-shadow-sm);
    position: relative;
    z-index: 100;
}

/* An Elementor header template brings its own design: neither the wrapper nor a row in the template that uses the
   class site-header (as the HTML design does) gets the theme's background, line or shadow. The template's own
   settings still apply (Elementor's selectors are more specific). */
.site-header--builder,
.site-header--builder .site-header {
    background: none;
    border-bottom: 0;
    box-shadow: none;
}

/* Centred header container, selected in Elementor's Layout controls. */
.elementor .lumiere-layout-centred-header > .e-con-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    min-height: 104px;
}

.elementor .lumiere-layout-centred-header.inoforest-mfx-sticky--effects > .e-con-inner {
    min-height: 80px;
}

.elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box .elementor-icon-box-wrapper {
    flex-direction: column;
    gap: 6px;
}

.elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box .elementor-icon-box-title {
    font-size: 1.95rem;
    letter-spacing: .02em;
}

.elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box .elementor-icon-box-icon i {
    font-size: 22px;
}

.elementor .lumiere-layout-centred-header > .e-con-inner > .e-con .elementor-widget-icon .elementor-icon {
    border: 1px solid var(--inoforest-color-border, #eee4de);
}

.elementor .lumiere-layout-centred-header:not(.inoforest-mfx-sticky--effects) > .e-con-inner > .e-con .elementor-widget-icon .elementor-icon {
    border-color: rgb(255 255 255 / 30%);
}

.elementor .lumiere-layout-centred-header:not(.inoforest-mfx-sticky--effects) > .e-con-inner > .e-con .elementor-widget-icon .elementor-icon:hover {
    border-color: transparent;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box {
        grid-area: 1 / 1;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .e-con {
        grid-area: 1 / 2;
        /* Leave the menu's 44px target and 8px gap outside the actions container. */
        margin-inline-end: 52px;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-inoforest-mobile-menu {
        position: static;
        transform: none;
        grid-area: 1 / 2;
        justify-self: end;
    }
}

@media (max-width: 991px) {
    .elementor .lumiere-layout-centred-header > .e-con-inner {
        min-height: 84px;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-inoforest-mobile-menu {
        position: static;
        transform: none;
        grid-area: 1 / 1;
        justify-self: start;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box {
        grid-area: 1 / 2;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .e-con {
        grid-area: 1 / 3;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box .elementor-icon-box-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    .elementor .lumiere-layout-centred-header > .e-con-inner {
        min-height: 72px;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box .elementor-icon-box-wrapper {
        gap: 2px;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box .elementor-icon-box-title {
        font-size: 1.35rem;
    }

    .elementor .lumiere-layout-centred-header > .e-con-inner > .elementor-widget-icon-box .elementor-icon-box-icon i {
        font-size: 16px;
    }
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-branding .custom-logo-link img {
    display: block;
    max-height: 56px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: var(--cp-heading);
}

.site-title a:hover {
    color: var(--cp-primary);
}

.site-description {
    color: var(--cp-text-muted);
    font-size: 0.9375rem;
    margin: 0.15rem 0 0;
}

/* =========================================================================
   Primary navigation
   ========================================================================= */
.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cp-text);
    border-radius: var(--cp-radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--cp-primary);
    background: var(--cp-bg-accent);
}

/* Sub-menus */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 220px;
    padding: 0.4rem;
    background: var(--cp-bg);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    box-shadow: var(--cp-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 200;
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation ul ul a {
    padding: 0.5rem 0.75rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cp-text);
    background: var(--cp-bg-subtle);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    cursor: pointer;
}

.menu-toggle:hover {
    border-color: var(--cp-primary);
    color: var(--cp-primary);
}

/* Header cart icon */
.header-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--cp-text);
}

.header-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    margin-left: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--cp-primary);
    border-radius: 999px;
}

/* =========================================================================
   Main content layout
   ========================================================================= */
.site-main {
    padding: 2.5rem 0;
    /* Full-width blocks (alignfull) span 100vw; clip the scrollbar's width instead of scrolling sideways. */
    overflow-x: clip;
}

.site-main > .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--cp-border);
}

.page-title {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    margin: 0;
}

.archive-description {
    margin-top: 0.75rem;
    color: var(--cp-text-muted);
}

/* Post / article cards in listings */
.site-main article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cp-border);
}

.site-main article:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/* A sticky post at the top of the blog: a tinted card with the primary colour along its edge. */
.site-main article.sticky {
    padding: 1.5rem;
    border: 1px solid var(--cp-border);
    border-left: 3px solid var(--cp-primary);
    border-radius: var(--cp-radius-sm);
    background: var(--cp-bg-accent);
}

.entry-header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.entry-title a {
    color: var(--cp-heading);
}

.entry-title a:hover {
    color: var(--cp-primary);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    color: var(--cp-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.entry-meta a {
    color: var(--cp-text-muted);
}

.entry-meta a:hover {
    color: var(--cp-primary);
}

.post-thumbnail {
    display: block;
    margin: 1rem 0 1.25rem;
    border-radius: var(--cp-radius);
    overflow: hidden;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

a.post-thumbnail:hover img {
    transform: scale(1.03);
}

.entry-content,
.entry-summary {
    margin-bottom: 1.25rem;
}

/* Block content inside .entry-content is styled by assets/css/blocks.css (front end and block editor alike). */
.entry-summary p {
    margin: 0 0 1.15em;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--cp-primary);
}

.read-more::after {
    content: "\2192";
    transition: transform 0.2s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

.entry-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--cp-text-muted);
}

.entry-footer a {
    color: var(--cp-text-muted);
}

.entry-footer a:hover {
    color: var(--cp-primary);
}

/* No results */
.no-results {
    padding: 2.5rem;
    text-align: center;
    background: var(--cp-bg-subtle);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
}

.no-results .page-content > * + * {
    margin-top: 1rem;
}

/* =========================================================================
   Buttons & form controls (base)
   ========================================================================= */
button,
input[type="submit"],
.wp-block-button__link {
    font-family: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--cp-text);
    background: var(--cp-bg-subtle);
    border: 1px solid var(--cp-border-strong);
    border-radius: var(--cp-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--cp-primary);
    background: var(--cp-bg);
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.18);
}

/* =========================================================================
   Pagination
   ========================================================================= */
.posts-navigation,
.post-navigation,
.pagination {
    margin-top: 2.5rem;
}

.posts-navigation .nav-links,
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.posts-navigation a,
.pagination a,
.page-numbers {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    color: var(--cp-primary);
    background: var(--cp-bg);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.posts-navigation a:hover,
.pagination a:hover,
.page-numbers:hover,
.page-numbers.current {
    color: #fff;
    background: var(--cp-primary);
    border-color: var(--cp-primary);
}

/* =========================================================================
   Sidebar / widgets
   ========================================================================= */
.widget-area {
    display: grid;
    gap: 1.5rem;
}

.widget {
    padding: 1.25rem 1.35rem;
    background: var(--cp-bg);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow-sm);
}

.widget-title {
    font-size: 1.05rem;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--cp-primary);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--cp-border);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--cp-text);
}

.widget a:hover {
    color: var(--cp-primary);
}

/* =========================================================================
   Default search form (used in widgets, no-results, etc.)
   ========================================================================= */
.search-form {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.search-form label {
    flex: 1 1 auto;
    min-width: 0;
}

.search-form .search-submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.6rem 0.95rem;
    color: #fff;
    background: var(--cp-primary);
    border: none;
    border-radius: var(--cp-radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-form .search-submit:hover {
    background: var(--cp-primary-hover);
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    margin-top: 3rem;
    padding: 2.5rem 0;
    background: #14202b;
    color: #c7d0d9;
}

/* An Elementor footer template brings its own design: the wrapper adds nothing. On the theme's own templates
   (archives, search, posts, plain pages) it leaves 120px above the footer, so a band that overlaps upwards
   (e.g. the Newsletter widget, -95px) never covers content. Elementor Full Width pages and Inoforest Core single, archive and error templates supply their own section padding. */
.site-footer--builder {
    margin-top: 0;
    padding: 120px 0 0;
    color: inherit;
    background: none;
}

.page-template-elementor_header_footer .site-footer--builder,
body:has(#inoforest-custom-single, #inoforest-custom-archive) .site-footer--builder,
.error404:has(#primary > .elementor) .site-footer--builder {
    padding-top: 0;
}

.site-footer--builder .elementor-social-icon:hover {
    opacity: 1;
}

/* Template containers keep the Visit, Newsletter and Hours sections editable. */
.elementor .e-con.lumiere-layout-newsletter-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 50px;
    padding-block: 60px;
}

.elementor .lumiere-layout-newsletter-footer > .e-con .elementor-widget-heading .elementor-heading-title {
    margin-block-end: 22px;
}

.elementor .lumiere-layout-newsletter-footer > .e-con .elementor-widget-icon-list .elementor-icon-list-text strong {
    color: #fff;
}

.elementor .lumiere-layout-newsletter-footer > .e-con .inoforest-newsletter__text p {
    color: rgb(255 255 255 / 80%);
}

@media (min-width: 768px) and (max-width: 991px) {
    .elementor .e-con.lumiere-layout-newsletter-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elementor .lumiere-layout-newsletter-footer > .e-con:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

@media (max-width: 767px) {
    .elementor .e-con.lumiere-layout-newsletter-footer {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
        padding-block: 44px;
        text-align: center;
    }
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer:not(.site-footer--builder, .site-footer--builder .site-footer) a {
    color: #fff;
}

.site-footer:not(.site-footer--builder, .site-footer--builder .site-footer) a:hover {
    color: var(--cp-primary);
    text-decoration: underline;
}

.site-footer .widget {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    color: inherit;
}

.site-footer .widget-title {
    color: #fff;
}

.site-info {
    font-size: 0.9rem;
    color: #9aa7b2;
}

/* Default 404: scope under .lumiere-404 only (Theme Builder / Elementor error template does not output this block). */
.lumiere-404 {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 3rem;
    text-align: center;
}

.lumiere-404__hero {
    padding: 2.5rem 1.25rem 2rem;
    margin-bottom: 0.5rem;
    border-radius: 16px;
    background: linear-gradient(160deg, #f0f7fc 0%, #f8f9fa 45%, #fff 100%);
    border: 1px solid rgba(0, 124, 186, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.lumiere-404__code {
    font-size: clamp(4.5rem, 18vw, 7.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    margin: 0 0 0.75rem;
    background: linear-gradient(135deg, #007cba 0%, #005a8c 50%, #0a3d5c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
}

.lumiere-404__header .page-title {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.lumiere-404__lead {
    font-size: 1.05rem;
    color: #555;
    max-width: 34em;
    margin: 0 auto 1.5rem;
    line-height: 1.65;
}

.lumiere-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.lumiere-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.lumiere-404__btn--primary {
    background: #007cba;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 124, 186, 0.35);
}

.lumiere-404__btn--primary:hover {
    background: #006ba3;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
    transform: translateY(-1px);
}

.lumiere-404__search-wrap {
    margin: 2rem auto 2.5rem;
    max-width: 480px;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.lumiere-404__search-wrap .search-form {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: stretch;
}

.lumiere-404__search-wrap .search-form label {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
}

.lumiere-404__search-wrap .search-field {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-size: 1rem;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fafbfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lumiere-404__search-wrap .search-field:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
    background: #fff;
}

.lumiere-404__search-wrap .search-submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.65rem 1rem;
    color: #fff;
    background: #333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lumiere-404__search-wrap .search-submit:hover {
    background: #1a1a1a;
}

.lumiere-404__widgets {
    text-align: start;
    display: grid;
    gap: 1.75rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .lumiere-404__widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }

    .lumiere-404__widgets .widget_tag_cloud {
        grid-column: 1 / -1;
    }
}

.lumiere-404__widgets .widget {
    margin: 0;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.lumiere-404__widgets .widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #007cba;
}

.lumiere-404__widgets ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lumiere-404__widgets ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.lumiere-404__widgets ul li:last-child {
    border-bottom: none;
}

.lumiere-404__widgets a {
    color: #007cba;
    text-decoration: none;
}

.lumiere-404__widgets a:hover {
    text-decoration: underline;
}

.lumiere-404__widgets .post-date,
.lumiere-404__widgets .widget_categories li {
    color: #555;
    font-size: 0.9375rem;
}

.lumiere-404__widgets select {
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.9375rem;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fafbfc;
}

.lumiere-404__widgets .tagcloud a {
    display: inline-block;
    margin: 0.2rem 0.35rem 0.2rem 0;
    padding: 0.25rem 0.5rem;
    background: #f0f7fc;
    border-radius: 6px;
    font-size: 0.875rem !important;
}

.lumiere-404__widgets .tagcloud a:hover {
    background: #007cba;
    color: #fff !important;
    text-decoration: none;
}

/* Default single post (Theme Builder / Elementor single template does not output .lumiere-single). */
.lumiere-single {
    /* Full width up to the reading width: as a flex item with auto margins it would otherwise size to its content,
       and wide content (a classic caption's inline width) pushed it past the screen on phones. */
    width: 100%;
    max-width: var(--lumiere-content-width, 860px);
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.lumiere-single .entry-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8ecef;
}

.lumiere-single .entry-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 0.85rem;
}

.lumiere-single .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    font-size: 0.9375rem;
    color: #555;
    margin: 0;
}

.lumiere-single .entry-meta a {
    color: #007cba;
    text-decoration: none;
}

.lumiere-single .entry-meta a:hover {
    text-decoration: underline;
}

.lumiere-single .posted-on,
.lumiere-single .byline {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.lumiere-single .post-thumbnail {
    margin: 0 0 1.75rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecef;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.lumiere-single .post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* The post content itself (.entry-content), with the password form and page links WordPress prints there, is styled
   by assets/css/blocks.css. */

.lumiere-single .entry-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    padding: 1.25rem 0 0;
    margin-bottom: 2rem;
    border-top: 1px solid #e8ecef;
    font-size: 0.9375rem;
    color: #555;
}

.lumiere-single .entry-footer a {
    color: #007cba;
    text-decoration: none;
}

.lumiere-single .entry-footer a:hover {
    text-decoration: underline;
}

.lumiere-single .entry-footer .cat-links,
.lumiere-single .entry-footer .tags-links,
.lumiere-single .entry-footer .edit-link {
    display: inline-block;
}

.lumiere-single .post-navigation {
    margin: 2.5rem 0 0;
    padding: 0;
    border: none;
}

.lumiere-single .post-navigation .nav-links {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr 1fr;
}

.lumiere-single .post-navigation .nav-previous,
.lumiere-single .post-navigation .nav-next {
    margin: 0;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lumiere-single .post-navigation .nav-previous:hover,
.lumiere-single .post-navigation .nav-next:hover {
    border-color: rgba(0, 124, 186, 0.35);
    box-shadow: 0 4px 18px rgba(0, 124, 186, 0.12);
}

.lumiere-single .post-navigation a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.lumiere-single .post-navigation .nav-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
    margin-bottom: 0.35rem;
}

.lumiere-single .post-navigation .nav-title {
    font-weight: 600;
    color: #007cba;
}

.lumiere-single .post-navigation .nav-next {
    text-align: end;
}

.lumiere-single .comments-area {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e8ecef;
}

.lumiere-single .comments-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.25rem;
}

.lumiere-single .comment-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.lumiere-single .comment-list .children {
    list-style: none;
    margin: 0.75rem 0 0 1rem;
    padding: 0;
}

.lumiere-single .comment-body {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Replies by the post's author: the primary colour along their edge. */
.lumiere-single .bypostauthor > .comment-body {
    padding-left: 1rem;
    border-left: 3px solid var(--cp-primary);
}

.lumiere-single .comment-meta {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.lumiere-single .comment-meta a {
    color: #007cba;
    text-decoration: none;
}

.lumiere-single .comment-meta a:hover {
    text-decoration: underline;
}

.lumiere-single .reply a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #007cba;
    text-decoration: none;
}

.lumiere-single .reply a:hover {
    text-decoration: underline;
}

.lumiere-single .comments-area .comment-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #444;
}

.lumiere-single .comments-area .comment-form input[type="text"],
.lumiere-single .comments-area .comment-form input[type="email"],
.lumiere-single .comments-area .comment-form input[type="url"],
.lumiere-single .comments-area .comment-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fafbfc;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lumiere-single .comments-area .comment-form input:focus,
.lumiere-single .comments-area .comment-form textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.2);
    background: #fff;
}

.lumiere-single .comments-area .comment-form .form-submit input {
    width: auto;
    padding: 0.65rem 1.35rem;
    font-weight: 600;
    color: #fff;
    background: #007cba;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 0;
    box-shadow: 0 4px 14px rgba(0, 124, 186, 0.3);
}

.lumiere-single .comments-area .comment-form .form-submit input:hover {
    background: #006ba3;
}

.lumiere-single .comments-area .no-comments {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    /* The button sits beside the logo; the open menu drops below the header, across its width. */
    .site-header .container {
        position: relative;
    }

    /* wp_nav_menu() and the page-list fallback both wrap the list in a <div>. */
    .main-navigation > div > ul,
    .main-navigation > ul {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        z-index: 300;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 70vh;
        overflow-y: auto;
        padding: 0.4rem;
        background: var(--cp-bg);
        border: 1px solid var(--cp-border);
        border-radius: var(--cp-radius-sm);
        box-shadow: var(--cp-shadow);
    }

    .main-navigation.toggled > div > ul,
    .main-navigation.toggled > ul {
        display: flex;
    }

    .main-navigation ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 0.75rem;
        min-width: 0;
    }

    .container {
        padding: 0 16px; /* the design's 16px phone gutter */
    }

    .lumiere-404__hero {
        padding: 1.75rem 1rem 1.5rem;
    }

    .lumiere-404__search-wrap .search-form {
        flex-direction: column;
    }

    .lumiere-404__search-wrap .search-submit {
        width: 100%;
    }

    .lumiere-single .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }

    .lumiere-single .post-navigation .nav-next {
        text-align: start;
    }
}

/* =========================================================================
   Blog sidebar: WordPress widgets shown by Elementor's Sidebar widget
   (the Lumiere blog and single post templates, html/blog.html).
   Scoped to .elementor-widget-sidebar so other widget areas keep the styles
   above. Covers the block widgets an owner adds in Appearance → Widgets
   (heading + search / categories / latest posts / tag cloud) and their
   classic equivalents.
   ========================================================================= */
.elementor-widget-sidebar {
    --lums-primary: var(--inoforest-color-primary, #0b7a75);
    --lums-accent: var(--inoforest-color-accent, #ff6a3d);
    --lums-heading: var(--inoforest-color-heading, #0d1b2a);
    --lums-text: var(--inoforest-color-text, #5a6a79);
    --lums-muted: #8b99a6;
    --lums-border: var(--inoforest-color-border, #e5ebef);
    --lums-soft: #f4f8f8;
}

.elementor-widget-sidebar .widget {
    margin: 0;
    padding: 30px;
    background: var(--inoforest-color-background, #fff);
    border: 1px solid var(--lums-border);
    border-radius: 24px;
    box-shadow: none;
}

.elementor-widget-sidebar .widget + .widget {
    margin-top: 30px;
}

.elementor-widget-sidebar .widget .wp-block-group,
.elementor-widget-sidebar .widget .wp-block-group__inner-container > :first-child {
    margin-top: 0;
}

/* Classic themes wrap a group's blocks in .wp-block-group__inner-container; the next rules allow for both. */
.elementor-widget-sidebar .widget .wp-block-group__inner-container > * + *,
.elementor-widget-sidebar .widget .wp-block-group > * + * {
    margin-block-start: 0;
}

.elementor-widget-sidebar .widget-title,
.elementor-widget-sidebar .widget .wp-block-heading:first-child {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 14px;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--lums-heading);
    border-bottom: 1px solid var(--lums-border);
}

.elementor-widget-sidebar .widget-title::after,
.elementor-widget-sidebar .widget .wp-block-heading:first-child::after {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50px;
    height: 2px;
    content: "";
    background: var(--lums-accent);
}

.elementor-widget-sidebar .widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.elementor-widget-sidebar .widget ul li {
    padding: 0;
    border: 0;
}

/* Search (block and classic) */
.elementor-widget-sidebar .wp-block-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.elementor-widget-sidebar .wp-block-search__inside-wrapper,
.elementor-widget-sidebar .search-form {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
}

.elementor-widget-sidebar .wp-block-search__input,
.elementor-widget-sidebar .search-form .search-field {
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 60px 0 20px;
    font: inherit;
    color: var(--lums-heading);
    background: var(--lums-soft);
    border: 1px solid transparent;
    border-radius: 999px;
    outline: 0;
    transition: border-color 0.35s, background-color 0.35s;
}

.elementor-widget-sidebar .wp-block-search__input:focus,
.elementor-widget-sidebar .search-form .search-field:focus {
    background: var(--inoforest-color-background, #fff);
    border-color: var(--lums-primary);
}

.elementor-widget-sidebar .wp-block-search__button,
.elementor-widget-sidebar .search-form .search-submit {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: var(--lums-primary);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.35s;
}

.elementor-widget-sidebar .wp-block-search__button:hover,
.elementor-widget-sidebar .wp-block-search__button:focus-visible,
.elementor-widget-sidebar .search-form .search-submit:hover {
    background: var(--lums-accent);
}

.elementor-widget-sidebar .wp-block-search__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Categories: name left, count right */
.elementor-widget-sidebar .widget .wp-block-categories-list li,
.elementor-widget-sidebar .widget.widget_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    color: var(--lums-muted);
    font-weight: 500;
    border-bottom: 1px dashed var(--lums-border);
}

.elementor-widget-sidebar .widget .wp-block-categories-list li:last-child,
.elementor-widget-sidebar .widget.widget_categories li:last-child {
    border-bottom: 0;
}

.elementor-widget-sidebar .wp-block-categories-list a,
.elementor-widget-sidebar .widget_categories a {
    font-weight: 600;
    color: var(--lums-heading);
    transition: color 0.35s, padding 0.35s;
}

.elementor-widget-sidebar .wp-block-categories-list a:hover,
.elementor-widget-sidebar .widget_categories a:hover {
    padding-left: 6px;
    color: var(--lums-primary);
}

/* Latest posts: photo, then date above the title */
.elementor-widget-sidebar .widget .wp-block-latest-posts__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "photo date" "photo title";
    align-content: center;
    column-gap: 16px;
    margin: 0 0 20px;
}

.elementor-widget-sidebar .widget .wp-block-latest-posts__list li:last-child {
    margin-bottom: 0;
}

.elementor-widget-sidebar .wp-block-latest-posts__featured-image {
    grid-area: photo;
    align-self: center;
    float: none;
    margin: 0;
}

.elementor-widget-sidebar .wp-block-latest-posts__featured-image img {
    display: block;
    width: 84px;
    height: 84px;
    max-width: none;
    object-fit: cover;
    border-radius: 16px;
}

.elementor-widget-sidebar .wp-block-latest-posts__post-date {
    grid-area: date;
    align-self: end;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.825rem;
    color: var(--lums-muted);
}

.elementor-widget-sidebar .wp-block-latest-posts__post-date::before {
    width: 14px;
    height: 14px;
    content: "";
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 1v2h6V1h2v2h4a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h4V1h2zm11 9H4v9h16v-9zM7 5H4v3h16V5h-3v1h-2V5H9v1H7V5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 1v2h6V1h2v2h4a1 1 0 011 1v16a1 1 0 01-1 1H3a1 1 0 01-1-1V4a1 1 0 011-1h4V1h2zm11 9H4v9h16v-9zM7 5H4v3h16V5h-3v1h-2V5H9v1H7V5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.elementor-widget-sidebar .wp-block-latest-posts__post-title {
    grid-area: title;
    align-self: start;
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--lums-heading);
}

.elementor-widget-sidebar .wp-block-latest-posts__post-title:hover {
    color: var(--lums-primary);
}

/* Tag cloud: pills */
.elementor-widget-sidebar .wp-block-tag-cloud,
.elementor-widget-sidebar .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.elementor-widget-sidebar .wp-block-tag-cloud a,
.elementor-widget-sidebar .tagcloud a {
    margin: 0;
    padding: 7px 16px;
    font-size: 0.85rem !important; /* The block prints an inline font size per tag. */
    font-weight: 600;
    line-height: 1.5;
    color: var(--lums-heading);
    background: var(--lums-soft);
    border-radius: 999px;
    transition: color 0.35s, background-color 0.35s;
}

.elementor-widget-sidebar .wp-block-tag-cloud a:hover,
.elementor-widget-sidebar .tagcloud a:hover {
    color: #fff;
    background: var(--lums-primary);
}

@media (max-width: 767px) {
    .elementor-widget-sidebar .widget {
        padding: 24px;
    }
}

.journal-sidebar .widget .wp-block-heading:first-child::after {
    content: none;
}

.journal-sidebar .wp-block-search__input {
    padding: 1px 24px;
    padding-inline-end: 60px;
    font-size: inherit;
    border-color: var(--lums-border);
}

.journal-sidebar .wp-block-search__input:focus {
    border-color: var(--lums-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--lums-primary) 16%, transparent);
}

.journal-sidebar .wp-block-search__button {
    inset: auto;
    inset-block-start: 6px;
    inset-inline-end: 6px;
    min-width: 0;
    line-height: 1;
}

.journal-sidebar .wp-block-search__button:is(:hover, :focus-visible) {
    background: var(--inoforest-custom-primary-dark, #84404f);
}

.journal-sidebar .wp-block-search__button svg {
    width: 18px;
    height: 18px;
}

.journal-sidebar .widget .journal-categories li {
    display: block;
    padding: 0;
}

.journal-sidebar .journal-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 10px;
}

.journal-sidebar .journal-categories a:is(:hover, :focus-visible) {
    padding-left: 0;
    padding-inline-start: 6px;
    color: var(--lums-primary);
}

.journal-sidebar .journal-category-count {
    min-width: 30px;
    padding: 2px 9px;
    font-size: 0.75rem;
    text-align: center;
    color: var(--inoforest-custom-muted, #6e6461);
    background: var(--inoforest-color-surface, #f9f3ee);
    border-radius: 999px;
}

.journal-sidebar .wp-block-latest-posts__post-title:focus-visible {
    color: var(--lums-primary);
}

.journal-sidebar .wp-block-tag-cloud a {
    background: var(--inoforest-color-surface, #f9f3ee);
}

.journal-sidebar .wp-block-tag-cloud a:is(:hover, :focus-visible) {
    color: #fff;
    background: var(--lums-primary);
}

.journal-sidebar .journal-promo .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid #fff;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--lums-heading);
    background: #fff;
    transition: background-color 0.35s, border-color 0.35s;
}

.journal-sidebar .journal-promo .wp-block-button__link::after {
    content: "\ea6c" / "";
    font-family: "remixicon";
    font-size: 1.1em;
    font-weight: 400;
}

.journal-sidebar:dir(rtl) .journal-promo .wp-block-button__link::after {
    scale: -1 1;
}

.journal-sidebar .journal-promo .wp-block-button__link:is(:hover, :focus-visible) {
    color: var(--lums-heading);
    background: var(--inoforest-custom-primary-light, #f8eceb);
    border-color: var(--inoforest-custom-primary-light, #f8eceb);
}

@media (prefers-reduced-motion: no-preference) {
    .journal-sidebar .wp-block-latest-posts__featured-image img,
    .journal-sidebar .journal-promo .wp-block-button__link::after {
        transition: transform 0.35s;
    }

    .journal-sidebar .wp-block-latest-posts li:is(:hover, :focus-within) img {
        transform: scale(1.05) rotate(-2deg);
    }

    .journal-sidebar .journal-promo .wp-block-button__link:is(:hover, :focus-visible)::after {
        transform: translateX(3px);
    }

    .journal-sidebar:dir(rtl) .journal-promo .wp-block-button__link:is(:hover, :focus-visible)::after {
        transform: translateX(-3px);
    }
}

.journal-post-grid .inoforest-post-grid .inoforest-post-grid__more {
    letter-spacing: 0.02em;
    background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
    transition: background-size 0.35s;
}

.journal-post-grid .inoforest-post-grid .inoforest-post-grid__more:is(:hover, :focus-visible) {
    background-size: 100% 1px;
}

@media (prefers-reduced-motion: reduce) {
    .journal-post-grid .inoforest-post-grid .inoforest-post-grid__more {
        transition: none;
    }
}

/* =========================================================================
   Pages (page.php): banner, reading column, last-updated date
   Pages not built with Elementor (policies, terms, WooCommerce pages), as in the Lumiere design's
   terms.html: a dark photo banner with a curved edge, then the block content in an 860 px column. The last section
   keeps 95 px extra at the bottom for the footer's newsletter band, which overlaps it.
   ========================================================================= */
.lumiere-page {
    --lump-primary: var(--inoforest-color-primary, #0b7a75);
    --lump-accent: var(--inoforest-color-accent, #ff6a3d);
    --lump-heading: var(--inoforest-color-heading, #0d1b2a);
    --lump-dark: var(--inoforest-color-dark, #0d1b2a);
    --lump-soft: var(--inoforest-color-surface, #f4f8f8);
    --lump-gutter: 24px;
    --lump-section: 110px;
    padding: 0;
}

.lumiere-page .container {
    max-width: calc(1240px + var(--lump-gutter) * 2);
    padding-inline: var(--lump-gutter);
}

.lumiere-page-banner {
    position: relative;
    padding: 110px 0 90px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background: var(--lump-dark);
}

.lumiere-page-banner__bg {
    position: absolute;
    inset: 0;
}

.lumiere-page-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lumiere-page-banner__bg::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.55), rgba(13, 27, 42, 0.75));
}

/* The curved bottom edge, in the colour of the content area's top. */
.lumiere-page-banner::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;
    height: 40px;
    content: "";
    background: var(--lump-soft);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.lumiere-page-banner__inner {
    position: relative;
    z-index: 2;
}

.lumiere-page .lumiere-page-banner__title {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

.lumiere-page-banner__text {
    max-width: 620px;
    margin: -4px auto 22px;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.lumiere-breadcrumb__list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 10px 22px;
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1.75;
    list-style: none;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
}

.lumiere-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.lumiere-breadcrumb__item + .lumiere-breadcrumb__item::before {
    content: "\203A";
    font-size: 1.2em;
    line-height: 1;
    color: var(--lump-accent);
}

.lumiere-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.lumiere-breadcrumb a:hover,
.lumiere-breadcrumb a:focus-visible,
.lumiere-breadcrumb [aria-current] {
    color: var(--lump-accent);
}

.lumiere-page__section {
    padding: var(--lump-section) 0 calc(var(--lump-section) + 95px);
}

.lumiere-page .lumiere-page-article {
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    border: 0;
}

.lumiere-page-article__updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    padding: 7px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.75;
    background: var(--lump-soft);
    border-radius: 999px;
}

.lumiere-page-article__updated-icon {
    flex: none;
    color: var(--lump-primary);
}

.lumiere-page-article .entry-footer {
    margin-top: 2rem;
    font-size: 0.875rem;
}

@media (max-width: 1199px) {
    .lumiere-page {
        --lump-section: 90px;
    }
}

@media (max-width: 991px) {
    .lumiere-page {
        --lump-section: 80px;
    }
}

@media (max-width: 767px) {
    .lumiere-page {
        --lump-gutter: 16px;
        --lump-section: 70px;
    }

    .lumiere-page-banner {
        padding: 90px 0 70px;
    }

    .lumiere-page-banner__text {
        font-size: 0.9375rem;
    }
}

/* =========================================================================
   Lumière: Inoforest Core overlays outside the header template
   The Header Search overlay is moved to the end of <body> when it opens, so a template's Custom CSS cannot reach its
   type; its colours still come from the widget (html/assets/css/style.css, section 07 → .search-overlay).
   ========================================================================= */
.cp-hsearch__overlay.cp-hsearch__overlay--pill .cp-hsearch__label {
    margin-bottom: 22px;
    font-family: var(--inoforest-font-heading-family, "Fraunces", Georgia, serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.cp-hsearch__overlay .cp-hsearch__panel ~ .cp-hsearch__close,
.cp-hsearch__overlay button.cp-hsearch__close {
    font-size: 26px;
    background: #fff;
    opacity: 1;
}

.cp-hsearch__overlay button.cp-hsearch__close:hover {
    color: #fff;
}

/* Lumière: body text one step smaller on phones (html/assets/css/style.css ≤767: body { font-size: 0.9375rem }).
   The Design System has one body size, and design-system.css sets body from --inoforest-font-body-size. */
@media (max-width: 767px) {
    html:root {
        --inoforest-font-body-size: 0.9375rem;
    }
}

/* Editable Elementor Studio media and Recognition layout presets. */
.elementor .lumiere-layout-studio-hero-media,
.elementor .lumiere-layout-founder-photo {
    position: relative;
}

.lumiere-layout-studio-hero-media > .elementor-widget-image,
.lumiere-layout-founder-photo > .elementor-widget-image {
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
}

.lumiere-layout-studio-hero-media .elementor-widget-image img,
.lumiere-layout-founder-photo .elementor-widget-image img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.lumiere-layout-studio-hero-media .elementor-widget-image img {
    height: clamp(320px, 42vw, 560px);
}

.elementor .e-con.lumiere-layout-studio-hero-badge {
    position: absolute;
    inset-block-start: -70px;
    inset-inline-end: 70px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 140px;
    height: 140px;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--inoforest-color-primary, #9c5466);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--inoforest-color-heading, #2e2626) 12%, transparent);
    transition: rotate 1.2s cubic-bezier(.22,.61,.36,1);
}

.lumiere-layout-studio-hero-media:hover > .lumiere-layout-studio-hero-badge {
    rotate: 120deg;
}

.lumiere-layout-studio-hero-badge > .elementor-widget-text-path {
    position: absolute;
    inset: 10px;
    width: auto;
}

.lumiere-layout-studio-hero-badge > .elementor-widget-icon {
    width: auto;
}

.lumiere-layout-studio-hero-badge .elementor-icon {
    display: block;
    font-size: 34px;
    color: inherit;
}

.lumiere-layout-founder-photo {
    --lumiere-frame-shift: 22px;
}

[dir="rtl"] .lumiere-layout-founder-photo {
    --lumiere-frame-shift: -22px;
}

.lumiere-layout-founder-photo > .elementor-widget-image {
    position: relative;
    z-index: 1;
}

.lumiere-layout-founder-photo img {
    aspect-ratio: 4 / 5;
    transition: scale 1.6s cubic-bezier(.22,.61,.36,1);
}

.lumiere-layout-founder-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    translate: var(--lumiere-frame-shift) 22px;
    border: 1px solid var(--inoforest-color-primary, #9c5466);
    border-radius: 28px;
    pointer-events: none;
    transition: translate 1.2s cubic-bezier(.22,.61,.36,1) .3s;
}

.lumiere-layout-founder-photo:hover::after {
    translate: calc(var(--lumiere-frame-shift) / 2) 11px;
}

.lumiere-layout-founder-photo:hover img {
    scale: 1.04;
}

.elementor .e-con.lumiere-layout-award-row {
    isolation: isolate;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) minmax(0, .8fr) 40px;
    align-items: center;
    gap: 24px;
    padding: 30px 24px;
    border-block-end: 1px solid var(--inoforest-color-border, #eee4de);
}

.lumiere-layout-award-row::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 16px;
    background: var(--inoforest-color-surface, #f9f3ee);
    scale: 0 1;
    transform-origin: left center;
    pointer-events: none;
    transition: scale .6s cubic-bezier(.22,.61,.36,1);
}

[dir="rtl"] .lumiere-layout-award-row::after {
    transform-origin: right center;
}

.lumiere-layout-award-row:is(:hover, :focus-within)::after {
    scale: 1 1;
}

.lumiere-layout-award-row > .elementor-widget-icon .elementor-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--inoforest-color-primary, #9c5466);
    transition: background-color .35s, color .35s, rotate .6s cubic-bezier(.22,.61,.36,1);
}

.lumiere-layout-award-row > .elementor-widget-icon .elementor-icon-wrapper {
    display: flex;
    justify-content: center;
}

.lumiere-layout-award-row:is(:hover, :focus-within) > .elementor-widget-icon .elementor-icon {
    color: #fff;
    background-color: var(--inoforest-color-primary, #9c5466);
    rotate: 360deg;
}

@media (max-width: 991px) {
    .elementor .e-con.lumiere-layout-award-row {
        grid-template-columns: 70px minmax(0, 1fr) 40px;
    }

    .lumiere-layout-award-row > .elementor-widget-text-editor {
        grid-area: 2 / 2;
        margin-block-start: -18px;
    }

    .lumiere-layout-award-row > .elementor-widget-icon {
        grid-area: 1 / 3 / span 2;
    }
}

@media (max-width: 767px) {
    .elementor .e-con.lumiere-layout-studio-hero-badge {
        inset-block-start: -50px;
        inset-inline-end: 20px;
        width: 100px;
        height: 100px;
    }

    .lumiere-layout-studio-hero-badge > .elementor-widget-text-path {
        inset: 8px;
    }

    .lumiere-layout-studio-hero-badge .elementor-icon {
        font-size: 24px;
    }

    .elementor .lumiere-layout-founder-photo {
        width: calc(100% - 22px);
        margin-inline-end: 22px;
    }

    .elementor .e-con.lumiere-layout-award-row {
        grid-template-columns: 56px minmax(0, 1fr) 40px;
        gap: 6px 16px;
        padding: 22px 12px;
    }

    .lumiere-layout-award-row > .elementor-widget-text-editor {
        margin-block-start: 0;
    }

    .elementor .e-con.lumiere-layout-award-row .elementor-widget-heading h3 {
        font-size: 1.15rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lumiereTitleRise .elementor-heading-title > span {
        overflow: hidden;
    }

    .lumiereTitleRise .elementor-heading-title > span > span {
        display: inline-block;
        animation: lumiere-title-rise 1.1s cubic-bezier(.22,.61,.36,1) both;
    }

    .lumiereTitleRise .elementor-heading-title > span:nth-child(2) > span {
        animation-delay: .12s;
    }

    .lumierePhotoOpen > .elementor-widget-container {
        animation: lumiere-photo-open 1.5s cubic-bezier(.22,.61,.36,1) both;
    }

    .lumierePhotoOpen img {
        animation: lumiere-photo-scale 1.8s cubic-bezier(.22,.61,.36,1) both;
    }

    .lumiereBadgeAppear {
        animation: lumiere-badge-appear .9s cubic-bezier(.34,1.56,.64,1) both;
    }

    .lumiereSignature .elementor-heading-title {
        width: fit-content;
        animation: lumiere-signature 1.6s cubic-bezier(.22,.61,.36,1) both;
    }

    [dir="rtl"] .lumiereSignature .elementor-heading-title {
        animation-name: lumiere-signature-rtl;
    }

    .lumiereCopyRise {
        animation: lumiere-copy-rise .85s cubic-bezier(.22,.61,.36,1) both;
    }
}

@keyframes lumiere-title-rise { from { translate: 0 105%; } }
@keyframes lumiere-photo-open {
    from { clip-path: inset(0 26% round 999px); }
    to { clip-path: inset(0 round 28px); }
}
@keyframes lumiere-photo-scale { from { scale: 1.2; } }
@keyframes lumiere-badge-appear { from { opacity: 0; scale: .5; } }
@keyframes lumiere-signature { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes lumiere-signature-rtl { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes lumiere-copy-rise { from { opacity: 0; translate: 0 24px; } }

@media (prefers-reduced-motion: reduce) {
    .lumiere-layout-studio-hero-badge,
    .lumiere-layout-founder-photo img,
    .lumiere-layout-founder-photo::after,
    .lumiere-layout-award-row::after,
    .lumiere-layout-award-row > .elementor-widget-icon .elementor-icon {
        transition: none;
    }
}
