
/*
 * GraceProvoked.org - JA Nexora / T4 custom CSS
 * Consolidated through G60
 * Simple theme-aware header divider
 *
 * Keep G55 JavaScript in Custom Code separately.
 */


/* ============================================
   1. HEADER AND DESKTOP NAVIGATION
   ============================================ */

/* Single subtle line; preserve native theme colors */
.nexora-header {
    border-bottom: 1px solid color-mix(
        in srgb, currentColor 22%, transparent
    ) !important;

    box-shadow: none !important;
    /* No background override: T4 controls light/dark */
}

@media (min-width: 1200px) {

    .nexora-header .container.header-inner {
        width: calc(100% - 64px) !important;
        max-width: 1280px !important;
        margin-inline: auto !important;
        padding-inline: 0 !important;
        box-sizing: border-box;
        gap: 12px;
    }

    .nexora-header .primary-nav {
        min-width: 0;
        flex: 1 1 auto;
        margin-left: 24px !important;
    }

    .nexora-header .primary-nav .navbar-nav.level0 {
        gap: 4px !important;
    }

    .nexora-header .primary-nav
    .navbar-nav.level0 > li > a {
        padding-inline: 6px !important;
        font-size: 14px;
        white-space: nowrap;
    }

    .nexora-header .header-actions {
        flex-shrink: 0;
    }
}


/* ============================================
   2. DESKTOP DROPDOWN MENUS
   Auto-sizing and compact spacing
   ============================================ */

@media (min-width: 1200px) {

    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu) {
        width: max-content !important;
        min-width: 240px !important;
        max-width: min(520px, calc(100vw - 32px)) !important;
        box-sizing: border-box;
        padding: 5px !important;
    }

    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu)
    .dropdown-menu-inner,
    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu) ul,
    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu) li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu) li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between;
        gap: 12px;
        padding: 6px 10px !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        min-height: 0 !important;
        white-space: normal !important;
        overflow-wrap: break-word;
    }
}


/* ============================================
   3. RIGHT-FACING DESKTOP SUBMENU ARROWS
   ============================================ */

@media (min-width: 1200px) {

    /* Hide the original T4 caret */
    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu)
    a.dropdown-toggle .item-caret,
    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu)
    a.dropdown-toggle .item-caret::before,
    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu)
    a.dropdown-toggle .item-caret::after {
        display: none !important;
        content: none !important;
    }

    /* Right-facing chevron */
    .nexora-header .primary-nav
    .dropdown-menu:not(.mega-dropdown-menu)
    a.dropdown-toggle::after {
        content: "\203A" !important;
        display: inline-block !important;
        flex: 0 0 auto !important;
        align-self: center !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
        font-family: Arial, sans-serif !important;
        font-size: 23px !important;
        font-weight: normal !important;
        line-height: 1 !important;
        color: currentColor !important;
    }
}


/* ============================================
   4. ARTICLE WIDTH AND BREADCRUMBS
   ============================================ */

@media (min-width: 1100px) {

    body.view-article .nx-single .nx-single-body {
        width: calc(100% - 64px) !important;
        max-width: 1280px !important;
        margin-inline: auto !important;
        box-sizing: border-box;
    }

    body.view-article .nx-single .nx-single-prose {
        width: 100% !important;
        max-width: none !important;
    }

    body.view-article .nx-single-bc {
        width: 100% !important;
        max-width: none !important;
    }

    body.view-article .nx-single-bc__inner {
        width: calc(100% - 64px) !important;
        max-width: 1280px !important;
        margin-inline: auto !important;
        padding-inline: 0 !important;
        box-sizing: border-box;
    }
}


/* ============================================
   5. HIDE VISIBLE ARTICLE TITLES
   Keep the H1 in the document
   ============================================ */

body.view-article .nx-single-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* Remove unused masthead space */
body.view-article .nx-single-mast,
body.view-article .nx-single-mast__inner {
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


/* ============================================
   6. COMPACT ARTICLE TEXT SPACING
   ============================================ */

body.view-article .nx-single-prose.article-body {
    line-height: 1.3 !important;
}

body.view-article .nx-single-prose.article-body p {
    margin-top: 0 !important;
    margin-bottom: 3px !important;
    line-height: 1.3 !important;
}

body.view-article .nx-single-prose.article-body h2,
body.view-article .nx-single-prose.article-body h3,
body.view-article .nx-single-prose.article-body h4,
body.view-article .nx-single-prose.article-body h5 {
    margin-top: 12px !important;
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
}


/* ============================================
   7. JLEX COMMENT FORMATTING
   ============================================ */

body.view-article .nx-single #jlexcomment {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 1100px;
    margin: 32px auto 0;
    padding: 0 24px;
}

/* Hide misplaced comment-count shortcut */
body.view-article a.jcm-count-cm {
    display: none !important;
}

@media (max-width: 600px) {
    body.view-article .nx-single #jlexcomment {
        width: calc(100% - 16px);
        padding: 0 8px;
    }
}


/* ============================================
   8. MOBILE MENU
   G58 + G58B consolidated
   ============================================ */

@media (max-width: 1199px) {

    /* Keep menu within screen */
    .t4-offcanvas,
    .t4-offcanvas .t4-off-canvas-body {
        max-width: 100vw !important;
        box-sizing: border-box;
    }

    /* Vertical scrolling */
    .t4-offcanvas .t4-off-canvas-body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    /* Prevent horizontal overflow */
    .t4-offcanvas .t4-off-canvas-body .navbar-nav,
    .t4-offcanvas .t4-off-canvas-body li {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Compact menu links */
    .t4-offcanvas .t4-off-canvas-body li > a,
    .t4-offcanvas .t4-off-canvas-body .nav-link,
    .t4-offcanvas .t4-off-canvas-body .dropdown-item,
    .t4-offcanvas .t4-off-canvas-body
    .navbar-nav > li > a {
        width: 100%;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        font-size: 14px !important;
        line-height: 1.25 !important;
        padding: 6px 10px !important;
        min-height: 0 !important;
        height: auto !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        text-overflow: clip !important;
    }

    /* Allow long title spans to wrap */
    .t4-offcanvas .t4-off-canvas-body
    li > a > span:not(.item-caret) {
        min-width: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    /* Compact lists */
    .t4-offcanvas .t4-off-canvas-body li,
    .t4-offcanvas .t4-off-canvas-body ul {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}


/* ============================================
   9. TEXTURED OUTER BACKGROUND
   Centered site width: 1380px
   ============================================ */

@media (min-width: 1500px) {

    /* Light-mode crosshatch */
    body {
        background-color: #eaecf0 !important;
        background-image:
            repeating-linear-gradient(
                45deg,
                rgba(54, 65, 83, 0.045) 0,
                rgba(54, 65, 83, 0.045) 1px,
                transparent 1px,
                transparent 6px
            ),
            repeating-linear-gradient(
                -45deg,
                rgba(54, 65, 83, 0.035) 0,
                rgba(54, 65, 83, 0.035) 1px,
                transparent 1px,
                transparent 6px
            ) !important;
        background-attachment: fixed;
    }

    /* Centered website */
    body > .t4-wrapper {
        box-sizing: border-box;
        width: calc(100% - 48px);
        max-width: 1380px;
        min-height: 100vh;
        margin-inline: auto;
        background-color: var(--body-bg-color, #fff);
        box-shadow: 0 0 20px rgba(22, 33, 49, 0.09);
    }

    /* Dark-mode crosshatch */
    html[data-bs-theme="dark"] body,
    html[data-theme="dark"] body {
        background-color: #202635 !important;
        background-image:
            repeating-linear-gradient(
                45deg,
                rgba(255, 255, 255, 0.035) 0,
                rgba(255, 255, 255, 0.035) 1px,
                transparent 1px,
                transparent 6px
            ),
            repeating-linear-gradient(
                -45deg,
                rgba(255, 255, 255, 0.025) 0,
                rgba(255, 255, 255, 0.025) 1px,
                transparent 1px,
                transparent 6px
            ) !important;
    }
}

/* END - GRACEPROVOKED CUSTOM CSS */


/* ============================================
   G64: HEADER LOGO IMAGE SIZE ONLY
   All existing CSS above is preserved exactly.
   Works best with the tightly trimmed wordmark.
   ============================================ */

/* Desktop: similar width to original text branding */
.nexora-header img.logo-img,
.nexora-header img.logo-img-sm,
.nexora-header .nexora-brand img {
    width: 225px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 42px !important;
    object-fit: contain;
}

/* Smaller desktop and tablet */
@media (max-width: 1199px) {
    .nexora-header img.logo-img,
    .nexora-header img.logo-img-sm,
    .nexora-header .nexora-brand img {
        width: 200px !important;
        max-height: 36px !important;
    }
}

/* Mobile header */
@media (max-width: 575px) {
    .nexora-header img.logo-img,
    .nexora-header img.logo-img-sm,
    .nexora-header .nexora-brand img {
        width: 180px !important;
        max-height: 34px !important;
    }
}

/* Mobile slide-out navigation brand */
.t4-offcanvas.nexora-offcanvas .oc-brand img.logo-img,
.t4-offcanvas.nexora-offcanvas .oc-brand img {
    width: 200px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain;
}
/* G64A: Move desktop logo down a few pixels */
/* Desktop logo alignment */
@media (min-width: 1200px) {
  .nexora-header img.logo-img,
  .nexora-header img.logo-img-sm,
  .nexora-header .nexora-brand img {
    position: relative !important;
    top: 2px !important;
  }
}

/* Firefox desktop logo alignment */
@supports (-moz-appearance: none) {
  @media (min-width: 1200px) {
    .nexora-header img.logo-img,
    .nexora-header img.logo-img-sm,
    .nexora-header .nexora-brand img {
      top: 9px !important;
    }
  }
}
/* G65G: Match slideshow width to articles and header */

@media (min-width: 1100px) {
    .gp-slider[data-gp-slider] {
        width: min(1280px, calc(100vw - 64px)) !important;
        max-width: none !important;

        position: relative;
        left: 50%;
        transform: translateX(-50%);

        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/* G67: Move homepage banner closer to header */
@media (min-width: 1100px) {
    .gp-slider[data-gp-slider] {
        margin-top: -3px !important;
    }
}
/* ============================================================================
   GraceProvoked.org G68 — COMPACT MOBILE HOMEPAGE SLIDESHOW (recommended)

   Append to the BOTTOM of the current JA Nexora Custom CSS field.
   Mobile only (720px and narrower).  Does not alter G67 margin-top: -3px,
   desktop width, Joomla slide parameters, or G65H6 autoplay / Pause behavior.

   The original 1300x408 photos become small, proportional strips. The original
   complete introductory text moves below each image and is not truncated.
   The slide stage grows naturally with the text instead of forcing 565px.
   Remove exactly this block to roll back. Do not overwrite previous CSS.
   ============================================================================ */
@media (max-width: 720px) {
  .gp-slider[data-gp-slider] {
    width: calc(100% - 24px) !important;
    max-width: 100% !important;
    margin: 12px auto 16px !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__stage {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 8px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  /* Overlay all slides in one grid cell so the stage takes the height of
     the longest introduction. This prevents the page jumping every 7 seconds. */
  .gp-slider[data-gp-slider] .gp-slider__slide {
    display: flex !important;
    flex-direction: column !important;
    grid-area: 1 / 1 !important;
    position: relative !important;
    inset: auto !important;
    min-width: 0 !important;
    height: auto !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: none !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__slide.is-active {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__slide > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1300 / 408 !important;
    object-fit: cover !important;
    object-position: center !important;
    flex-shrink: 0 !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__slide::before {
    display: none !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__copy {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 18px 20px 45px !important;
    background: #17202a !important;
    color: #fff !important;
    text-shadow: none !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__copy h2 {
    font-size: clamp(20px, 5.5vw, 25px) !important;
    line-height: 1.18 !important;
    margin-bottom: 9px !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__copy p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    overflow-wrap: break-word !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__nav {
    top: clamp(45px, 15.7vw, 110px) !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 42px !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__indicators {
    bottom: 12px !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__footer {
    margin: 10px 12px 0 !important;
    font-size: 12px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}
/* ========================================================================
   GraceProvoked.org G69 — MOBILE TITLE-ONLY PHOTO OVERLAY
   REQUIRES: G68 Option A compact mobile CSS (already applied on Hook).

   APPEND this complete block to the BOTTOM of existing JA Nexora Custom CSS.
   Do not replace or remove existing rules. Screens <= 720px only.

   - Keep G68 short, proportional photographs at original 1300:408 ratio.
   - Place a modest-size title over each photograph, centered.
   - Hide only the visible intro paragraph and Read More pill ON MOBILE.
   - The entire photo remains a link to the existing Read More destination.
   - Arrow controls, slide dots, autoplay and Pause stay operational.
   - No desktop/menu/article styling changes; no Javascript changes.
   - Rollback: remove this entire G69 block only.
   ======================================================================== */
@media (max-width: 720px) {
  .gp-slider[data-gp-slider] .gp-slider__copy {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 8px 49px 21px !important;
    background: linear-gradient(90deg,
      rgba(5, 11, 23, .47), rgba(5, 11, 23, .42)) !important;
    color: #fff !important;
    text-align: center !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .8) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__copy h2 {
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(15px, 4.25vw, 19px) !important;
    line-height: 1.17 !important;
    letter-spacing: -.01em !important;
    margin: 0 !important;
    text-align: center !important;
    text-wrap: balance;
    position: relative !important;
    z-index: 1 !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__copy p {
    display: none !important;
  }
  /* Retain article navigation: the invisible existing Read More link covers
     the banner photo. Keyboard focus still shows a visible focus outline. */
  .gp-slider[data-gp-slider] .gp-slider__read,
  .gp-slider[data-gp-slider] .gp-slider__read:hover,
  .gp-slider[data-gp-slider] .gp-slider__read:focus-visible {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 2 !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__read span {
    display: none !important;
  }
  .gp-slider[data-gp-slider] .gp-slider__read:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: -4px !important;
  }
  /* Keep navigation above the banner-wide article link. */
  .gp-slider[data-gp-slider] .gp-slider__nav,
  .gp-slider[data-gp-slider] .gp-slider__indicators {
    z-index: 4 !important;
  }
}
/* G70: Taller mobile slideshow and centered arrows */

@media (max-width: 720px) {

  .gp-slider[data-gp-slider] .gp-slider__slide > img {
    aspect-ratio: 2.7 / 1 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .gp-slider[data-gp-slider] .gp-slider__nav {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

}
/* G71: Hide homepage Categories box only */
body.item-102 .nx-featured .nx-feat-side .nx-feat-catcard,
body.itemid-102 .nx-featured .nx-feat-side .nx-feat-catcard {
    display: none !important;
}
/* G78: Narrower desktop search field */
@media (min-width: 1200px) {
    .nexora-header .gp-g72-search__form {
        width: clamp(120px, 9.5vw, 160px) !important;
    }
}
/* G79: Match homepage article width to regular articles */
@media (min-width: 1100px) {
    body.item-102 .gp-g72-featured[data-gp-g72-home="1"] {
        width: min(1280px, calc(100vw - 64px)) !important;
        max-width: none !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/* G80: Automatic dark-mode logo */
html[data-bs-theme="dark"] .nexora-header img.logo-img,
html[data-theme="dark"] .nexora-header img.logo-img,
html[data-bs-theme="dark"] .t4-offcanvas.nexora-offcanvas img.logo-img,
html[data-theme="dark"] .t4-offcanvas.nexora-offcanvas img.logo-img {
    content: url("/images/gplogo5-dark.png") !important;
}
/* G81: Dark-mode logo for desktop and mobile */
html[data-bs-theme="dark"] .nexora-header .nexora-brand img,
html[data-theme="dark"] .nexora-header .nexora-brand img,
html[data-bs-theme="dark"] .t4-offcanvas.nexora-offcanvas .oc-brand img,
html[data-theme="dark"] .t4-offcanvas.nexora-offcanvas .oc-brand img {
    content: url("/images/gplogo5-dark-transparent.png") !important;
}
/* G83: Footer copyright */
.nexora-footer .gp-g83-copyright {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: inherit;
    opacity: 0.78;
}
/* G84: Center copyright in footer */
.nexora-footer .footer-legal:has(.gp-g83-copyright) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.nexora-footer .footer-legal .gp-g83-copyright {
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
}
/* G92: Remove gray dots from Popular and Recent Articles */
body:not(.nx-404-body) .gp-g82-highlights .gp-g82-module li::before {
    content: none !important;
    display: none !important;
}

body:not(.nx-404-body) .gp-g82-highlights .gp-g82-module li {
    padding-left: 0 !important;
}
/* G93: Keep Popular and Recent article links visible on hover */
/* Light mode only — dark mode remains unchanged */

html:not([data-bs-theme="dark"]):not([data-theme="dark"])
body:not(.nx-404-body)
.gp-g82-highlights .gp-g82-module a:hover,

html:not([data-bs-theme="dark"]):not([data-theme="dark"])
body:not(.nx-404-body)
.gp-g82-highlights .gp-g82-module a:focus-visible {
    color: #005eb8 !important;
}
/* G100D - Align Next Article with article right edge */
@media (min-width: 1200px) {
    .gp-g100c-next-nav {
        display: flex !important;
        justify-content: flex-end !important;
        box-sizing: border-box !important;

        width: calc(100% - 48px) !important;
        max-width: 1280px !important;
        min-width: 0 !important;

        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .gp-g100c-next-link {
        flex: 0 0 auto !important;
    }
}
/* G102C - Match Category Blog width to single articles */
@media (min-width: 1200px) {

    .gp-g102-traditional {
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;

        width: min(1332px, calc(100vw - 48px)) !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .gp-g102-traditional .gp-g102-container {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* G103 - Restore visible titles on individual articles */

body.view-article .nx-single-mast {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
}

body.view-article .nx-single-mast__inner {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
}

body.view-article .nx-single-title {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: normal !important;

    font-size: clamp(26px, 2.4vw, 36px) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    margin: 0 0 16px !important;
}
/* G103A - Match article title alignment to article body */

body.view-article .nx-single-mast {
    margin-top: 10px !important;
    text-align: left !important;
}

body.view-article .nx-single-mast__inner {
    width: calc(100% - 48px) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

body.view-article .nx-single-title {
    width: 100% !important;
    font-size: clamp(21px, 1.75vw, 26px) !important;
    line-height: 1.3 !important;
    text-align: left !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}
/* G103B - Lower article title without moving article body */
body.view-article .nx-single-title {
    transform: translateY(12px) !important;
}
/* G108 - Restore blockquote styling in traditional Category Blogs */

.gp-g102-traditional blockquote {
    border: 0 !important;
    border-left: 3px solid #2563eb !important;
    border-radius: 10px 0 0 10px !important;

    padding: 24px 32px !important;
    margin: 32px 0 !important;

    background: transparent !important;
    font-style: italic !important;
    font-weight: 600 !important;
    line-height: 1.65 !important;
}

.gp-g102-traditional blockquote p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* G112 - Consistent mobile breadcrumbs for articles and Category Blogs */
@media (max-width: 767.98px) {

    /* Use natural text wrapping instead of separate flex items */
    body.view-article .nx-single-bc__inner,
    body.view-category .gp-g111-blog-bc .nx-single-bc__inner {
        display: block !important;
        font-family: Inter, sans-serif !important;
        font-size: 12px !important;
        line-height: 1.7 !important;
        text-align: left !important;
    }

    /* Restore all breadcrumb links on individual articles */
    body.view-article .nx-single-bc__inner a,
    body.view-category .gp-g111-blog-bc .nx-single-bc__inner a {
        display: inline-block !important;
        max-width: 100% !important;
        margin-right: 7px !important;
        font-family: Inter, sans-serif !important;
        font-size: 12px !important;
        line-height: 1.6 !important;
        font-weight: 400 !important;
        color: var(--color-text-dim, #8993aa) !important;
        text-decoration: none !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }

    /* Replace independent SVG separators with attached chevrons */
    body.view-article .nx-single-bc__inner svg,
    body.view-category .gp-g111-blog-bc .nx-single-bc__inner svg {
        display: none !important;
    }

    body.view-article .nx-single-bc__inner a::after,
    body.view-category .gp-g111-blog-bc .nx-single-bc__inner a::after {
        content: "\00a0›" !important;
        color: #9aa5ba !important;
        white-space: nowrap !important;
    }

    /* Remove the old mobile slash separator */
    body.view-article .nx-single-bc__inner a:last-of-type::before {
        content: none !important;
    }

    /* Display the current page using consistent styling */
    body.view-article .nx-single-bc__cur,
    body.view-category .gp-g111-blog-bc .nx-single-bc__cur {
        display: inline !important;
        font-family: Inter, sans-serif !important;
        font-size: 12px !important;
        line-height: 1.6 !important;
        font-weight: 500 !important;
        color: var(--color-text, #303a53) !important;
        overflow-wrap: anywhere !important;
    }
}
/* G113 - Larger invisible touch targets for mobile submenu arrows */
@media (max-width: 991.98px) {

    #off-canvas-left-push .nav-item.deeper > span.sub-menu-toggle.btn-toggle {
        box-sizing: content-box !important;

        /* Expand the clickable area leftward and vertically */
        padding: 15px 0 15px 39px !important;

        /* Compensate to preserve the original menu spacing */
        margin: -15px 0 -15px -39px !important;

        z-index: 5;
        cursor: pointer;
    }

}
/* G115 - Align Category Blog breadcrumbs with single articles */
@media (min-width: 992px) {
    .gp-g102-traditional .gp-g111-blog-bc {
        margin-top: -55px !important;
    }
}