/*
Theme Name: Kadence Child (SOWELLE)
Template: kadence
Version: 1.5.7
Description: SOWELLE customizations on top of Kadence — header language switcher, i18n glue.
Author: SOWELLE
Text Domain: kadence-child
*/

:root {
    --fs-display: clamp(2rem, 4vw, 2.75rem);      /* 32–44 px  hero / big titles   */
    --fs-h1:      clamp(1.5rem, 3vw, 2rem);        /* 24–32 px  page-level titles   */
    --fs-h2:      clamp(1.25rem, 2.5vw, 1.5rem);   /* 20–24 px  section headings    */
    --fs-h3:      1.125rem;                         /*     18 px  sub-headings        */
    --fs-body:    1rem;                             /*     16 px  body / UI text      */
    --fs-small:   0.875rem;                         /*     14 px  secondary / links   */
    --fs-caption: 0.75rem;                          /*     12 px  labels / legal      */
}


/* ---------- Language Switcher ------------------------------------------ */

.sowelle-lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-inline-start: 8px;
    font-family: inherit;
    font-size: var(--fs-small);
    line-height: 1;
}

.sowelle-lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: transparent;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sowelle-lang-trigger:hover,
.sowelle-lang-trigger:focus-visible {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.26);
    outline: none;
}

.sowelle-lang-trigger__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    opacity: 0.75;
}

.sowelle-lang-trigger__label {
    font-size: var(--fs-small);
    max-width: 12ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sowelle-lang-trigger__caret {
    width: 10px;
    height: 10px;
    opacity: 0.55;
    transition: transform 0.15s ease;
}

.sowelle-lang-switcher[data-open="true"] .sowelle-lang-trigger__caret {
    transform: rotate(180deg);
}

.sowelle-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    width: 480px;
    max-width: calc(100vw - 32px);
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow:
        0 24px 48px -16px rgba(15, 23, 42, 0.18),
        0 8px 16px -8px rgba(15, 23, 42, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
    z-index: 999;
}

.sowelle-lang-switcher[data-open="true"] .sowelle-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.sowelle-lang-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sowelle-lang-list li { margin: 0; }

.sowelle-lang-list a {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    font-size: var(--fs-small);
    line-height: 1.25;
    font-weight: 500;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.sowelle-lang-list a:hover,
.sowelle-lang-list a:focus-visible {
    background: rgba(0, 0, 0, 0.05);
    outline: none;
}

.sowelle-lang-list li[aria-current="true"] a {
    background: rgba(0, 0, 0, 0.06);
    font-weight: 600;
}

.sowelle-lang-list .sowelle-lang-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Keep RTL language names (Arabic/Hebrew) left-aligned in the grid cell.
 * The text itself is bidi-isolated so characters render right-to-left internally,
 * but the flex cell stays LTR so the item aligns with the other languages. */
.sowelle-lang-list a[lang="ar"] .sowelle-lang-name,
.sowelle-lang-list a[lang="he"] .sowelle-lang-name {
    unicode-bidi: isolate;
    text-align: start;
}

/* ---------- Mobile --------------------------------------------------- */
@media (max-width: 767px) {
    .sowelle-lang-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        inset-inline-end: 0;
        width: 100%;
        max-width: none;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
        border-radius: 14px 14px 0 0;
        border-bottom: 0;
        transform: translateY(8px);
    }

    .sowelle-lang-switcher[data-open="true"] .sowelle-lang-dropdown {
        transform: translateY(0);
    }

    .sowelle-lang-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sowelle-lang-trigger {
        padding: 8px 12px;
    }
    .sowelle-lang-trigger__label {
        max-width: 8ch;
    }
}

/* ---------- Backdrop on mobile when open ----------------------------- */
.sowelle-lang-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.15s ease;
}

@media (max-width: 767px) {
    body.sowelle-lang-open .sowelle-lang-backdrop {
        display: block;
        opacity: 1;
    }
}

/* ---------- Hide site title text (logo already conveys the brand) ---- */
.site-branding .site-title,
.site-branding .site-title a {
    display: none !important;
}

/* ---------- Products page — deep-blue page hero header --------------- */
.page-hero-section .entry-hero-container-inner {
    background: #1B3A5F !important;
}
.page-hero-section .hero-section-overlay {
    background: transparent !important;
}
.page-hero-section .entry-title,
.page-hero-section .entry-header .page-title {
    color: #ffffff !important;
}

/* ---------- Products sidebar — active item: deep-blue bg + white text  */
.swl-sidebar__link--active,
.swl-sidebar__link--active:hover {
    color: #ffffff !important;
    background: #1B3A5F !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 10px;
}
.swl-sidebar__item--active .swl-sidebar__link:not(.swl-sidebar__link--active) {
    /* parent label when a series sub-item is selected — subtle highlight */
    color: #1B3A5F;
    font-weight: 600;
}

/* ---------- Vertically center inside Kadence header ------------------ */
.site-header-section-right .sowelle-lang-switcher,
.site-header-section-right-center .sowelle-lang-switcher {
    align-self: center;
}

/* ---------- Primary nav — even spacing -------------------------------- */
/* Kadence generates inline <style> with calc(1.2em/2) padding that      */
/* overrides stylesheet rules, so !important is required here.            */
.main-navigation .primary-menu-container > ul {
    gap: 0 !important;          /* kill any inherited gap; spacing via padding only */
}
.main-navigation .primary-menu-container > ul > li.menu-item > a {
    padding-left:  1.0em !important;
    padding-right: 1.0em !important;
    padding-top:    0.6em !important;
    padding-bottom: 0.6em !important;
    font-weight: 400 !important;    /* prevent current-item bold from widening the item */
}

/* Remove Kadence underline nav indicator (hover + active) entirely */
.header-navigation .header-menu-container.primary-menu-container > ul > li > a::after {
    display: none !important;
}

/* ==========================================================================
   News / Blog Typography — DM Serif Display (headings) + Work Sans (body)
   ========================================================================== */

/* ── Single post & blog archive body text ── */
.single-post .entry-content,
.single-post .entry-summary,
.blog .entry-content,
.archive .entry-content,
.blog .entry-summary,
.single-post .post-content {
    font-family: 'Work Sans', sans-serif;
    font-size: var(--fs-body);
    line-height: 1.75;
    color: #1a1a1a;
}

.single-post .entry-content p,
.blog .entry-content p {
    margin-bottom: 1.35em;
}

/* ── Post titles: H1 on single, H2 on archive cards ── */
.single-post .entry-title,
.single-post h1.entry-title,
.blog .entry-title,
.blog .entry-title a,
.archive .entry-title,
.archive .entry-title a,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.18;
    color: #111;
}

/* H1 single post title sizing */
.single-post .entry-title {
    font-size: var(--fs-display);
    margin-bottom: 0.5em;
}

/* H2 section headings inside article body */
.single-post .entry-content h2 {
    font-size: var(--fs-h2);
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.single-post .entry-content h3 {
    font-size: var(--fs-h3);
    margin-top: 1.75em;
    margin-bottom: 0.5em;
}

/* ── Archive / blog listing card titles ── */
.blog .entry-title a,
.archive .entry-title a {
    font-size: var(--fs-h2);
    text-decoration: none;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Article meta (date, category) ── */
.single-post .entry-meta,
.blog .entry-meta,
.archive .entry-meta {
    font-family: 'Work Sans', sans-serif;
    font-size: var(--fs-caption);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 1.25em;
}

/* ── Excerpt on archive cards ── */
.blog .entry-summary p,
.archive .entry-summary p {
    font-family: 'Work Sans', sans-serif;
    font-size: var(--fs-small);
    color: #444;
    line-height: 1.6;
}

/* ── Featured image inside article ── */
.single-post .post-thumbnail img,
.single-post .wp-post-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 2em;
}

/* ── Inline figure / image caption ── */
.single-post .entry-content figure.wp-block-image {
    margin: 2em 0;
}

.single-post .entry-content figure.wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.single-post .entry-content .wp-element-caption,
.single-post .entry-content figcaption {
    font-family: 'Work Sans', sans-serif;
    font-size: var(--fs-caption);
    color: #777;
    text-align: center;
    margin-top: 0.5em;
    font-style: italic;
}

/* ── Strong / callout text ── */
.single-post .entry-content strong {
    font-weight: 600;
    color: #111;
}

/* ── Responsive: single-column reading width ── */
@media (min-width: 768px) {
    .single-post .entry-content {
        max-width: 720px;
    }
}

/* ==========================================================================
   News Page Layout — Sidebar + Content Grid
   ========================================================================== */

/* Override Kadence's inner container to be full-width for our layout */
.blog .content-container,
.single .content-container,
.blog .site,
.single .site {
    max-width: none !important;
    padding: 0 !important;
}

/* Remove Kadence's hero section on blog index since we control layout */
.blog .entry-hero,
.blog .entry-hero-section {
    display: none;
}

/* ── Two-column page layout ── */
.swl-news-page {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    align-items: start;
    font-family: 'Work Sans', -apple-system, sans-serif;
}

/* ── Sidebar ── */
.swl-news-sidebar {
    position: sticky;
    top: 100px;
    padding-right: 28px;
    border-right: 1px solid #eee;
}

.swl-news-sidebar__heading {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: var(--fs-body);
    font-weight: 400;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 16px;
}

.swl-news-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.swl-news-sidebar__item { margin: 0; }

.swl-news-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #444;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-size: var(--fs-small);
    font-weight: 400;
    line-height: 1.3;
    transition: background .12s ease, color .12s ease;
}

.swl-news-sidebar__link:hover {
    background: rgba(0,0,0,.04);
    color: #111;
    text-decoration: none;
}

.swl-news-sidebar__item--active .swl-news-sidebar__link,
.swl-news-sidebar__link--active {
    background: #1B3A5F;
    color: #fff !important;
    font-weight: 500;
}

.swl-news-sidebar__item--active .swl-news-sidebar__link:hover,
.swl-news-sidebar__link--active:hover {
    background: #163150;
    color: #fff !important;
}

.swl-news-sidebar__count {
    font-size: var(--fs-caption);
    background: rgba(0,0,0,.08);
    color: inherit;
    border-radius: 99px;
    padding: 1px 7px;
    flex-shrink: 0;
}

.swl-news-sidebar__item--active .swl-news-sidebar__count,
.swl-news-sidebar__link--active .swl-news-sidebar__count {
    background: rgba(255,255,255,.2);
}

/* ── Main content area ── */
.swl-news-main {
    padding-left: 40px;
    min-width: 0;
}

.swl-news-main__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: var(--fs-h1);
    font-weight: 400;
    color: #111;
    margin: 0 0 32px;
    line-height: 1.2;
}

/* ── Article Grid (3 columns) ── */
.swl-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── Article Card ── */
.swl-news-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s ease, transform .18s ease;
}

.swl-news-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.swl-news-card__img-link {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.swl-news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.swl-news-card:hover .swl-news-card__img {
    transform: scale(1.03);
}

.swl-news-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.swl-news-card__cat {
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
}
.swl-news-card__cat:hover { color: #111; }

.swl-news-card__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
    color: #111;
    flex: 1;
}

.swl-news-card__title a {
    color: inherit;
    text-decoration: none;
}
.swl-news-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.swl-news-card__excerpt {
    font-size: var(--fs-small);
    color: #555;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.swl-news-card__meta {
    font-size: var(--fs-caption);
    color: #999;
    margin-top: 4px;
}

/* ── Pagination ── */
.swl-news-pagination {
    margin-top: 48px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.swl-news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: var(--fs-small);
    color: #444;
    text-decoration: none;
    transition: background .12s, border-color .12s;
}
.swl-news-pagination .page-numbers:hover { background: #f5f5f5; border-color: #bbb; }
.swl-news-pagination .page-numbers.current { background: #111; border-color: #111; color: #fff; }

.swl-news-empty {
    color: #666;
    font-style: italic;
    margin-top: 16px;
}

/* ── Single post layout tweaks ── */
.swl-news-breadcrumb {
    font-size: var(--fs-small);
    color: #888;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.swl-news-breadcrumb a { color: #555; text-decoration: none; }
.swl-news-breadcrumb a:hover { text-decoration: underline; }

.swl-single-post__cat-badge {
    display: inline-block;
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    margin-bottom: 12px;
}
.swl-single-post__cat-badge:hover { color: #111; }

.swl-single-post__title {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: var(--fs-display) !important;
    font-weight: 400 !important;
    line-height: 1.18 !important;
    color: #111 !important;
    margin: 0 0 16px !important;
}

.swl-single-post__meta {
    font-size: var(--fs-caption);
    color: #888;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.swl-single-post__meta-sep { opacity: .4; }

.swl-single-post__hero {
    margin-bottom: 32px;
    border-radius: 8px;
    overflow: hidden;
}
.swl-single-post__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.swl-single-post__content {
    font-family: 'Work Sans', sans-serif !important;
    font-size: var(--fs-body) !important;
    line-height: 1.75 !important;
    color: #1a1a1a !important;
    max-width: 680px;
}

.swl-single-post__content h2 {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: var(--fs-h2) !important;
    font-weight: 400 !important;
    margin-top: 2.2em !important;
    margin-bottom: .6em !important;
    color: #111 !important;
}

.swl-single-post__content h3 {
    font-family: 'DM Serif Display', Georgia, serif !important;
    font-size: var(--fs-h3) !important;
    font-weight: 400 !important;
    margin-top: 1.8em !important;
    color: #111 !important;
}

.swl-single-post__content p { margin-bottom: 1.4em !important; }
.swl-single-post__content strong { font-weight: 600 !important; color: #111 !important; }

/* FAQ section styling (SEO/GEO featured snippet) */
.swl-single-post__content .faq-section,
.swl-single-post__content section.faq-section {
    background: #f8f9fa;
    border-left: 4px solid #111;
    padding: 28px 32px;
    margin-top: 3em;
    border-radius: 0 8px 8px 0;
}
.swl-single-post__content .faq-section h2,
.swl-single-post__content .faq-section h3 {
    color: #111 !important;
    margin-top: 1.2em !important;
}
.swl-single-post__content .faq-section h2:first-child,
.swl-single-post__content .faq-section h3:first-child { margin-top: 0 !important; }
.swl-single-post__content .faq-section p { color: #444 !important; }

.swl-single-post__back {
    display: inline-block;
    margin-top: 48px;
    font-size: var(--fs-small);
    color: #555;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 16px;
    transition: background .12s, border-color .12s;
}
.swl-single-post__back:hover {
    background: #f5f5f5;
    border-color: #bbb;
    color: #111;
    text-decoration: none;
}

/* ── Responsive ── */

/* Tablet + mobile: sidebar collapses to horizontal pill tags, news grid 2-col */
@media (max-width: 900px) {
    .swl-news-page {
        grid-template-columns: 1fr;
        padding: 24px 20px 60px;
    }
    .swl-news-sidebar {
        position: static;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 28px;
    }
    .swl-news-sidebar__list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .swl-news-sidebar__heading { margin-bottom: 10px; }
    .swl-news-sidebar__link {
        padding: 8px 14px;
        min-height: 40px;
        border: 1px solid #e0e0e0;
        border-radius: 999px;
    }
    .swl-news-sidebar__item--active .swl-news-sidebar__link,
    .swl-news-sidebar__link--active {
        border-color: #1B3A5F;
    }
    .swl-news-main { padding-left: 0; }
    .swl-news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* Mobile: news grid single column */
@media (max-width: 600px) {
    .swl-news-page { padding: 24px 16px 60px; }
    .swl-news-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   SOWELLE FOOTER
   ═══════════════════════════════════════════════════════ */
.swl-footer {
    background: #111;
    color: #ccc;
    font-family: 'Work Sans', -apple-system, sans-serif;
    margin-top: 0;
}

.swl-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px 48px;
}

/* Brand column — logo on white pill so original colours show */
.swl-footer__logo {
    display: inline-block;
}
.swl-footer__logo img {
    max-height: 48px;
    width: auto;
    display: block;
    background: #fff;
    border-radius: 8px;
    padding: 8px 14px;
}
.swl-footer__logo-text {
    font-size: var(--fs-h3);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: .08em;
}
.swl-footer__tagline {
    font-size: var(--fs-caption);
    color: #888;
    line-height: 1.6;
    margin: 14px 0 20px;
    max-width: 280px;
}
.swl-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.swl-footer__contact-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: var(--fs-caption);
    color: #aaa;
}
.swl-footer__contact-list li svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #666;
}
.swl-footer__contact-list a {
    color: #aaa;
    text-decoration: none;
    transition: color .14s;
}
.swl-footer__contact-list a:hover { color: #fff; }

/* Link columns */
.swl-footer__heading {
    font-family: 'Work Sans', sans-serif;
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 16px;
}
.swl-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.swl-footer__links a {
    font-size: var(--fs-small);
    color: #888;
    text-decoration: none;
    transition: color .14s;
}
.swl-footer__links a:hover { color: #fff; }

/* Trust badges */
.swl-footer__trust {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.swl-footer__badge {
    font-size: var(--fs-caption);
    color: #666;
}

/* Bottom bar */
.swl-footer__bottom {
    border-top: 1px solid #222;
}
.swl-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.swl-footer__copy {
    font-size: var(--fs-caption);
    color: #555;
    margin: 0;
}
.swl-footer__sep {
    margin: 0 6px;
    color: #444;
}
.swl-footer__legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}
.swl-footer__legal a {
    font-size: var(--fs-caption);
    color: #555;
    text-decoration: none;
    transition: color .14s;
}
.swl-footer__legal a:hover { color: #aaa; }

/* Responsive */
@media (max-width: 960px) {
    .swl-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding: 48px 24px 40px;
    }
    .swl-footer__col--brand {
        grid-column: 1 / -1;
    }
    .swl-footer__tagline { max-width: 100%; }
}
@media (max-width: 600px) {
    .swl-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 20px 32px;
    }
    .swl-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
    }
}

/* ── Emoji sizing fix — targets actual rendered emoji img tags ── */
/* WP emoji in Elementor have no class="emoji", only role="img" draggable="false" */
img[src*="s.w.org/images/core/emoji"],
img[role="img"][src*="emoji"],
img.emoji,
img.wp-smiley {
    height: 1em !important;
    width: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
    min-width: unset !important;
    min-height: unset !important;
    display: inline !important;
    vertical-align: -0.15em !important;
    margin: 0 0.1em 0 0.15em !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* ── Inline SVG icons in page content — prevent full-width expansion ── */
.elementor-widget-text-editor svg,
.elementor-text-editor svg,
.entry-content svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* ================================================================
   Typography enforcement (2026-07-08)
   Headings: DM Serif Display — body / UI / forms: Work Sans
   (Google Fonts already enqueued globally in functions.php)
   ================================================================ */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    font-family: 'DM Serif Display', Georgia, serif !important;
}
body, p, li, blockquote,
button, input, select, textarea, label,
.elementor-button, .wpforms-container * {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* keep heading font on any heading nested inside form containers */
.wpforms-container h1, .wpforms-container h2, .wpforms-container h3 {
    font-family: 'DM Serif Display', Georgia, serif !important;
}

/* ================================================================
   Heading color: Elementor's stock light blue (#6EC1E4) was never
   on-brand. Override the global var with SOWELLE navy on all inner
   pages. Homepage excluded — its hero uses light-on-dark styling.
   ================================================================ */
body:not(.home) {
    --e-global-color-primary: #1a3a6b;
}
