#qodef-page-footer .widget .button, #qodef-page-footer .widget button {
    color: #fff;
    background-color: #a0a616;
    border-color: #a0a616;
}
#qodef-page-footer-bottom-area, #qodef-page-footer-top-area {
    background-color: #fff;
    border-top: #d4d4d4 solid 1px;
}
.widget .wp-block-archives-list li, .widget .wp-block-categories-list li, .widget .wp-block-page-list li, .widget.widget_archive li, .widget.widget_categories li, .widget.widget_meta li, .widget.widget_nav_menu li, .widget.widget_pages li, .widget.widget_recent_entries li {
    color: currentColor;
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
    text-transform: initial;
}
.button, button {
    color: #fff;
    background-color: #a0a616;
    border-color: #a0a616;
}
.ff-default .ff-el-input--label label {
    display: none!important;
    font-weight: 500;
    line-height: inherit;
    margin-bottom: 0;
}
.ff-default .ff-el-form-control {
  border: 1px solid var(--fluentform-border-color);
 border-top: 0!important;
  border-left: 0!important;
  border-right: 0!important;
	border-radius: 0px!important;
}
.fluentform.ff-default.fluentform_wrapper_1.ffs_default_wrap {
    margin: 0px 2vw;
}
.qodef-e {
    margin: 20px;
}
#qodef-page-inner {
    position: relative;
    padding: 40px 0 40px;
}
h4.rank-math-name {
    display: none;
}
@media only screen and (max-width: 600px) {
	#qodef-page-footer-top-area-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
    position: relative;
    --qodef-footer-side-padding: 80px !important;
}
}
#qodef-page-footer-bottom-area-inner {
    padding: 0 0;
}
.qodef-content-grid-1400 .qodef-content-grid {
        width: 100%;
    }
/* (Removed: this used to hide every blog-listing date badge globally, but
 * caused inconsistent rendering between pages — visible on page 2 of
 * /technical-articles/ but not page 1 depending on cache layer. Letting
 * the theme's default olive badge show on every listing keeps both pages
 * aligned.) */
#qodef-page-footer .widget .bottom-footer a  {
    color: #ffffff;
}
#qodef-page-footer .bottom-footer .widget p {
    color: #ffffff;
}
.gallery-caption, .wp-caption, figcaption {
    color: #000;
    display: block;
    font-size: 16px !important;
    line-height: 1em !important;
    margin: .5em 1em 2em;
    max-width: 100%;
    opacity: 1;
    text-align: center;
}
.qodef-page-title .qodef-m-title {
    margin: 0;
    padding: 150px 55px 150px 55px;
}
table tr {
    border: 1px solid #70707000;
}
table td {
    border: 0;
    border-right: 1px solid #70707000;
    padding: 5px 10px;
    text-align: left;
}
table th {
    border-right: 1px solid #00000000;
    padding: 5px 7px;
    text-align: left;
}
.text-primary {
    color: #837c01;
}
.qodef-mobile-header--standard #qodef-page-mobile-header {
    background-color: rgb(255 255 255);
}
span.qodef-e.swiper-slide {
    height: auto;
}
.qodef-clients-list .swiper-slide img {
    width: 100%;
    filter: grayscale(100%);
}
span.qodef-e-logo{
	padding-left:40px;
}
.qodef-interactive-link-showcase.qodef-layout--list .qodef-m-item .qodef-e-icon {
    flex-shrink: 0;
    color: #a0a616;
    opacity: 0;
    transition: opacity .3s ease-out;
}
span.qodef-accordion-mark {
    color: #a0a616;
}
.qodef-shortcode.qodef-m.faq-light.qodef-accordion.clear.qodef-behavior--toggle.qodef-layout--simple.qodef-skin--light.qodef--init a {
    color: #a3a1a2;
}
svg.qodef-svg--slider-arrow-right {
    display: none;
}
svg.qodef-svg--slider-arrow-left {
    display: none;
}
a:hover {
    color: #A0A616!important;
}
.elementor-element.elementor-widget-text-editor a:hover {
    color: #A0A616 !important;
}
.qodef-header-navigation ul li.qodef-menu-item--narrow ul {
    position: absolute;
    top: 100%;
    left: -35px;
    width: 330px;
    margin: 0;
    padding: 11px 0;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease-out;
}
/* Fix slider images cut off on load */
.swiper-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.swiper-wrapper {
  align-items: stretch;
}
/* Remove margin from swiper slides — Swiper doesn't account for CSS margins */
.qodef-swiper-container article.qodef-e.swiper-slide,
.qodef-swiper-container span.qodef-e.swiper-slide {
    margin: 0 !important;
}

/* Make portfolio slides square using aspect-ratio */
.qodef-portfolio-list.qodef-swiper-container .swiper-slide .qodef-e-media-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.qodef-portfolio-list.qodef-swiper-container .swiper-slide .qodef-e-media-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}/* Reusable hover zoom animation class */
.qodef-hover-zoom {
    overflow: hidden;
    display: inline-block;
}

.qodef-hover-zoom img {
    transform: scale(1.1);
    transition: transform 1s cubic-bezier(.33, .02, 0, .93);
    display: block;
    width: 100%;
}

.qodef-hover-zoom:hover img {
    transform: scale(1.1) translateX(4%);
}
/* Keep dropdowns open via :hover/:focus-within regardless of the JS state */
.qodef-main-menu li.menu-item-has-children:hover > .qodef-drop-down-second,
.qodef-main-menu li.menu-item-has-children:focus-within > .qodef-drop-down-second,
.qodef-drop-down-second li.menu-item-has-children:hover > ul.sub-menu,
.qodef-drop-down-second li.menu-item-has-children:focus-within > ul.sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  pointer-events: auto !important;
}

/* Bridge the cursor gap between "Our Team" and its left-opening flyout */
.qodef-drop-down-second ul.sub-menu.qodef-drop-down--right {
  padding-right: 24px !important;
  margin-right: -24px !important;
  transition: opacity .15s ease-out !important;  /* faster fade so it appears before user crosses the gap */
}
/* ===========================================================
   Fluent Forms submit button — matches site-wide filled button
   (.qodef-button.qodef-layout--filled) on Stone Initiatives
   =========================================================== */

.fluentform .ff-btn-submit,
.fluentform button.ff-btn.ff-btn-submit {
    /* Typography */
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0;

    /* Layout */
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0;
    padding: 19px 44px;
    border-radius: 0;
    border: 0 solid transparent;
    outline: 0;
    box-shadow: none;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;

    /* Colours */
    color: #fff;
    background-color: #A0A616;   /* base olive-green */

    transition: color 0.3s ease-out,
                background-color 0.3s ease-out,
                border-color 0.3s ease-out;
}

/* Vertical-reveal hover layer */
.fluentform .ff-btn-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #837C01;   /* darker olive — reveals on hover */
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.33, 0.02, 0, 0.93);
    z-index: -1;
}

/* Hover / focus state */
.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus {
    color: #fff;
    background-color: #A0A616;
    border-color: transparent;
    box-shadow: none;
    outline: 0;
}

.fluentform .ff-btn-submit:hover::before,
.fluentform .ff-btn-submit:focus::before {
    transform: scaleY(1);
}
/* Align the arrow icons flush-right on the 3 right-column buttons
   so they form a clean vertical line */
.elementor-element-6005071 .elementor-widget-button .elementor-button {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.elementor-element-6005071 .elementor-widget-button .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.elementor-element-6005071 .elementor-widget-button .elementor-button-text {
    flex: 1;
    text-align: left;
}

.elementor-element-6005071 .elementor-widget-button .elementor-button-icon {
    flex-shrink: 0;
    margin-left: auto;
}
/* Convert fullscreen search to a compact dropdown panel */
.qodef-fullscreen-search-holder {
    /* Position it as a panel anchored to the top-right of the viewport */
    top: 90px !important;          /* sit just below the header — adjust to match */
    right: 40px !important;
    left: auto !important;
    bottom: auto !important;
    width: 480px !important;
    height: auto !important;
    max-width: calc(100vw - 40px);

    /* Panel styling */
    background-color: #fff !important;
    padding: 28px 32px !important;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Override the theme's fade transform if it scales from centre */
    transform: none !important;
}

/* Form layout */
.qodef-fullscreen-search-holder .qodef-m-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.qodef-fullscreen-search-holder .qodef-m-form-field {
    flex: 1;
    font-size: 18px !important;
    line-height: 1.4 !important;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #ccc !important;
    background: transparent !important;
    text-align: left !important;
    width: auto !important;
}

.qodef-fullscreen-search-holder .qodef-m-form-line {
    display: none !important;     /* theme's full-width line — replaced by the input's own border-bottom */
}

.qodef-fullscreen-search-holder .qodef-m-form-submit {
    flex-shrink: 0;
}

.qodef-fullscreen-search-holder .qodef-svg--submit-arrow {
    width: 28px;
    height: auto;
}

/* Suggestion text — hide or shrink, your call */
.qodef-fullscreen-search-holder .qodef-m-search-suggestion {
    display: none !important;
    /* or keep with: font-size: 13px; margin-top: 12px; */
}

/* Close icon — position inside the panel */
.qodef-fullscreen-search-holder .qodef-m-close,
.qodef-fullscreen-search-holder .qodef-search-close {
    top: 12px !important;
    right: 12px !important;
    position: absolute !important;
}
.qodef-fullscreen-search-holder .qodef-m-form-submit {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    right: 0;
    bottom: -20px;
    width: auto;
    padding: 0;
    margin: 0;
    color: #a0a616;
    background: 0 0;
    border: 0;
    outline: 0;
    opacity: 0;
    cursor: pointer;
}
/* =====================================================
   Stone Initiatives — compact dropdown search
   Replaces theme's fullscreen takeover
   ===================================================== */

/* 1. Pin the header above the search panel */
#qodef-page-header {
    position: sticky !important;
    top: 0;
    z-index: 998 !important;
    background-color: #fff;     /* so menu text doesn't sit on the panel behind */
}

/* Same fix for the mobile header, which the theme explicitly hides on open */
.qodef-fullscreen-search--opened #qodef-page-mobile-header,
.qodef-fullscreen-search--opened #qodef-page-mobile-header .qodef-m-icon,
.qodef-fullscreen-search--opened .qodef-mobile-header-logo-link {
    visibility: visible !important;
}

#qodef-page-mobile-header {
    z-index: 1000 !important;
}

/* 2. Reshape the search holder into a compact dropdown panel */
.qodef-fullscreen-search-holder {
    /* Anchor under the header, top-right */
    top: 90px !important;            /* tweak to match your header height */
    right: 40px !important;
    left: auto !important;
    bottom: auto !important;
    width: 480px !important;
    height: auto !important;
    max-width: calc(100vw - 40px);

    /* Panel styling */
    background-color: #fff !important;
    padding: 28px 32px !important;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Sits below the header */
    z-index: 999 !important;
    transform: none !important;
}

/* 3. Inner layout — single row: input + arrow button */
.qodef-fullscreen-search-holder .qodef-m-inner {
    width: 100% !important;
}

.qodef-fullscreen-search-holder .qodef-m-form {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100% !important;
}

.qodef-fullscreen-search-holder .qodef-m-form-field {
    flex: 1;
    font-size: 18px !important;
    line-height: 1.4 !important;
    padding: 8px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #ccc !important;
    background: transparent !important;
    text-align: left !important;
    width: auto !important;
    height: auto !important;
}

/* Hide the theme's animated underline — input has its own border now */
.qodef-fullscreen-search-holder .qodef-m-form-line {
    display: none !important;
}

/* Submit button (arrow) — bring it inline, no absolute positioning */
.qodef-fullscreen-search-holder .qodef-m-form-submit {
    position: static !important;
    opacity: 1 !important;
    bottom: auto !important;
    flex-shrink: 0;
    height: auto !important;
    padding: 4px !important;
}

.qodef-fullscreen-search-holder .qodef-m-form-submit svg {
    width: 28px;
    height: auto;
}

/* Hide the "type your search" suggestion strapline */
.qodef-fullscreen-search-holder .qodef-m-search-suggestion {
    display: none !important;
}

/* 4. Close (X) icon — reposition inside the panel */
.qodef-fullscreen-search-holder .qodef-m-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    font-size: 18px !important;
}
/* Override the theme hiding the header when search is open */
.qodef-fullscreen-search--opened #qodef-page-header,
.qodef-fullscreen-search--opened #qodef-page-mobile-header,
.qodef-fullscreen-search--opened #qodef-page-header .qodef-m-icon,
.qodef-fullscreen-search--opened #qodef-page-mobile-header .qodef-m-icon {
    visibility: visible !important;
}
/* =====================================================
   Stone Initiatives — search results page (/?s=)
   Boxed layout, no banner
   ===================================================== */

/* ---- Remove the green page-title banner ---- */
body.search-results .qodef-page-title,
body.search-no-results .qodef-page-title {
    display: none !important;
}

/* ---- Page background ---- */
body.search-results,
body.search-no-results {
    background-color: #f4f3ee;
}

/* ---- Boxed content container — the ACTUAL results wrapper ---- */
body.search-results #qodef-page-content,
body.search-no-results #qodef-page-content {
    max-width: 900px !important;
    margin: 60px auto !important;
    padding: 60px 40px !important;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

/* Reset the inner grid wrapper that adds negative margins */
body.search-results #qodef-page-content .qodef-grid-inner,
body.search-no-results #qodef-page-content .qodef-grid-inner {
    margin: 0 !important;
    padding: 0 !important;
}

body.search-results #qodef-page-content .qodef-grid-item,
body.search-no-results #qodef-page-content .qodef-grid-item {
    padding: 0 !important;
    width: 100% !important;
}

/* ---- Page heading injected at the top of the box ---- */
body.search-results #qodef-page-content::before,
body.search-no-results #qodef-page-content::before {
    content: "Search Results";
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* ---- "New search" form block ---- */
body.search-results .qodef-search-form {
    margin: 0 0 40px;
    padding: 20px 24px;
    background-color: #f6f5f0;
    border-radius: 4px;
}

body.search-results .qodef-search-form-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

body.search-results .qodef-search-form-field {
    flex: 1;
    font-size: 18px !important;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #ccc !important;
    background: transparent !important;
    height: auto !important;
    line-height: 1.4 !important;
}

body.search-results .qodef-search-form-field:focus {
    outline: 0;
    border-bottom-color: #A0A616 !important;
}

body.search-results .qodef-search-form-button {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent !important;
    border: 0;
    cursor: pointer;
    color: #A0A616;
}

body.search-results .qodef-search-form-button .qodef-svg--search {
    width: 22px;
    height: 22px;
}

/* "New search:" label */
body.search-results .qodef-search h2,
body.search-results #qodef-page-content > h2,
body.search-results .qodef-grid-inner > h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #777;
    font-weight: 500;
    margin: 0 0 12px;
}

/* "If you are not happy..." helper text */
body.search-results .qodef-search > p {
    font-size: 14px;
    color: #777;
    margin: -20px 0 40px;
    padding: 0 24px;
}

/* ---- Result items ---- */
body.search-results .qodef-search-item {
    display: flex !important;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #eee;
    margin: 0;
    width: 100%;
}

body.search-results .qodef-search-item:first-of-type {
    border-top: 1px solid #eee;
}

body.search-results .qodef-search-item .qodef-e-inner {
    display: flex;
    gap: 24px;
    width: 100%;
    align-items: flex-start;
}

/* Thumbnail (when present) */
body.search-results .qodef-search-item .qodef-e-media,
body.search-results .qodef-search-item .qodef-e-image {
    flex-shrink: 0;
    width: 140px;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
}

body.search-results .qodef-search-item .qodef-e-media img,
body.search-results .qodef-search-item .qodef-e-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text content */
body.search-results .qodef-search-item .qodef-e-content {
    flex: 1;
    min-width: 0;
}

/* Title */
body.search-results .qodef-search-item .qodef-e-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin: 0 0 8px !important;
    font-weight: 500;
}

body.search-results .qodef-search-item .qodef-e-title-link {
    color: #1a1a1a !important;
    text-decoration: none;
    transition: color 0.25s ease-out;
}

body.search-results .qodef-search-item .qodef-e-title-link:hover {
    color: #837C01 !important;
}

/* Excerpt */
body.search-results .qodef-search-item .qodef-e-excerpt {
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.search-results .qodef-search-item .qodef-e-excerpt a {
    color: inherit;
    text-decoration: none;
}

/* ---- Pagination ---- */
body.search-results .qodef-pagination,
body.search-results .navigation.pagination {
    margin: 40px 0 0;
    text-align: center;
}

body.search-results .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 15px;
    color: #1a1a1a;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 4px;
    text-decoration: none;
    transition: all 0.25s ease-out;
}

body.search-results .page-numbers:hover,
body.search-results .page-numbers.current {
    background-color: #A0A616;
    border-color: #A0A616;
    color: #fff;
}

body.search-results .page-numbers.dots {
    border-color: transparent;
}

/* ---- Mobile tweaks ---- */
@media (max-width: 600px) {
    body.search-results #qodef-page-content,
    body.search-no-results #qodef-page-content {
        margin: 20px auto !important;
        padding: 30px 20px !important;
    }
    body.search-results #qodef-page-content::before,
    body.search-no-results #qodef-page-content::before {
        font-size: 26px;
    }
    body.search-results .qodef-search-item,
    body.search-results .qodef-search-item .qodef-e-inner {
        flex-direction: column;
        gap: 12px;
    }
    body.search-results .qodef-search-item .qodef-e-media,
    body.search-results .qodef-search-item .qodef-e-image {
        width: 100%;
        height: 180px;
    }
    body.search-results .qodef-search-item .qodef-e-excerpt {
        -webkit-line-clamp: 3;
    }
}
body.search-results #qodef-page-content,
body.search-no-results #qodef-page-content {
    display: block !important;        /* override theme's inline-block */
    max-width: 1200px !important;
    margin: 60px auto !important;
    padding: 60px 40px !important;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}
#qodef-single-post-navigation .qodef-m-nav-icon {
    position: relative;
    top: -2px;
    color: #a0a616;
    width: 13px;
    height: auto;
}
/* =====================================================
   Stone Initiatives — single blog post layout
   Match the original Archicon theme demo
   ===================================================== */

/* ---- Constrain the single-post article to a centred column ---- */
body.single-post article.qodef-blog-item {
    display: block !important;
    max-width: 1200px;
    margin: 60px auto 92px !important;
    padding: 0;
}

body.single-post article.qodef-blog-item .qodef-e-inner {
    display: block !important;
    width: 100%;
}

/* ---- Featured image: constrained, with date badge overlaid ---- */
body.single-post .qodef-e-media-holder {
    position: relative;
    margin: 0 0 40px;
}

body.single-post .qodef-e-media,
body.single-post .qodef-e-media-image {
    width: 100%;
    overflow: hidden;
}

body.single-post .qodef-e-media-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Date badge: restore the demo's top-left overlay ---- */
body.single-post .qodef-e-info-date {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 20px;
    left: 20px;
    z-index: 2;
    width: 64px;
    height: 64px;
    padding: 8px !important;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease-out;
}

body.single-post .qodef-e-info-date:hover {
    background-color: #837C01;
    color: #fff;
}

body.single-post .qodef-e-info-date h2 {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    color: #fff !important;
}

body.single-post .qodef-e-info-date .qodef-e-date-separator {
    display: block;
    width: 24px;
    height: 1px;
    background-color: #fff;
    margin: 4px 0;
}

body.single-post .qodef-e-info-date span {
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

/* ---- Content column ---- */
body.single-post .qodef-e-content {
    display: block !important;
    width: 100%;
    padding: 0 !important;
    margin: 0;
}

/* Top info row (categories + author) — sits above the title */
body.single-post .qodef-e-top-holder {
    margin: 0 0 16px;
}

body.single-post .qodef-e-info,
body.single-post .qodef-e-info-categories,
body.single-post .qodef-e-info-author {
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: #837C01;
}

body.single-post .qodef-e-info a {
    color: inherit;
    text-decoration: none;
}

body.single-post .qodef-e-info a:hover {
    color: #A0A616;
}

/* ---- Title ---- */
body.single-post .qodef-e-title.entry-title,
body.single-post h1.qodef-e-title {
    font-size: 48px !important;
    line-height: 1.15 !important;
    font-weight: 500;
    color: #1a1a1a !important;
    margin: 0 0 32px !important;
    letter-spacing: -0.01em;
}

/* ---- Body text ---- */
body.single-post .qodef-e-text,
body.single-post .qodef-blog-item-content,
body.single-post .qodef-e-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    margin: 0 0 24px;
}

/* ---- Blockquotes ---- */
body.single-post .qodef-e-content blockquote {
    margin: 40px 0;
    padding: 8px 0 8px 28px;
    border-left: 2px solid #837C01;
    font-size: 22px;
    line-height: 1.45;
    font-style: italic;
    color: #1a1a1a;
}

/* ---- Inline images in the content ---- */
body.single-post .qodef-e-content figure,
body.single-post .qodef-e-content img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
}

body.single-post .qodef-e-content figcaption {
    font-size: 13px;
    color: #777;
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

/* ---- Headings within the post body ---- */
body.single-post .qodef-e-content h2,
body.single-post .qodef-e-content h3,
body.single-post .qodef-e-content h4 {
    margin: 48px 0 20px;
    line-height: 1.25;
    color: #1a1a1a;
}

body.single-post .qodef-e-content h2 { font-size: 32px; font-weight: 500; }
body.single-post .qodef-e-content h3 { font-size: 24px; font-weight: 500; }
body.single-post .qodef-e-content h4 { font-size: 20px; font-weight: 500; }

/* ---- Mobile ---- */
@media (max-width: 1000px) {
    body.single-post article.qodef-blog-item {
        max-width: 100%;
        margin: 30px 20px 60px !important;
    }
    body.single-post .qodef-e-title.entry-title,
    body.single-post h1.qodef-e-title {
        font-size: 32px !important;
    }
    body.single-post .qodef-e-content blockquote {
        font-size: 18px;
        margin: 30px 0;
    }
    body.single-post .qodef-e-content h2 { font-size: 26px; }
    body.single-post .qodef-e-content h3 { font-size: 20px; }
}
/* =====================================================
   FIX: Single-column Qodef sliders only
   The theme adds CSS margins on slides that don't match
   Swiper's spaceBetween, causing partial-slide cutoff on
   single-column sliders (e.g. testimonials).
   
   We leave multi-column sliders alone — they need the
   visible gap between cards.
   ===================================================== */

.qodef-swiper-container.qodef-col-num--1 .swiper-slide {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.qodef-page-title.qodef-title--standard-with-breadcrumbs {
    height: auto !important;
    min-height: 180px;
    padding-top: 40px;
    padding-bottom: 8px;
}

.qodef-page-title.qodef-title--standard-with-breadcrumbs .qodef-m-title {
    padding: 0 !important;
    margin: 0 0 6px 0 !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    color: #000 !important;
}
.qodef-page-title.qodef-title--standard-with-breadcrumbs {
    height: auto !important;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 8px;
    border-bottom: #d4d4d4 solid 1px;
}
#qodef-page-outer {
    margin-top: 0px;
}
.qodef-page-title .qodef-m-content {
    width: 100% !important;
    max-width: 1140px !important;  /* <-- Replace with whatever your e-con-inner is */
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;
    padding-bottom: 8px !important;
    justify-content: flex-end !important;
}
/* =====================================================
   Stone Initiatives — Archive pages (author/category/tag)
   Boxed layout, matching search results style
   ===================================================== */

/* ---- Remove the page-title banner ---- */
body.archive .qodef-page-title {
    display: none !important;
}

/* ---- Page background tint ---- */
body.archive {
    background-color: #f4f3ee;
}

/* ---- Boxed content container ---- */
body.archive #qodef-page-content {
    display: block !important;
    max-width: 1200px !important;
    margin: 60px auto !important;
    padding: 60px 40px !important;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

/* Reset the inner grid wrapper */
body.archive #qodef-page-content .qodef-grid-inner {
    margin: 0 !important;
    padding: 0 !important;
}

body.archive #qodef-page-content .qodef-grid-item {
    padding: 0 !important;
    width: 100% !important;
}

/* ---- Page heading via ::before ---- */
body.archive #qodef-page-content::before {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* Heading text varies by archive type */
body.author.archive #qodef-page-content::before {
    content: "Posts by Author";
}
body.category.archive #qodef-page-content::before {
    content: "Posts in Category";
}
body.tag.archive #qodef-page-content::before {
    content: "Posts Tagged";
}
body.date.archive #qodef-page-content::before {
    content: "Posts by Date";
}

/* ---- Blog list items ---- */
body.archive .qodef-blog.qodef--list .qodef-blog-item {
    display: flex !important;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid #eee;
    margin: 0 !important;
    width: 100%;
}

body.archive .qodef-blog.qodef--list .qodef-blog-item:first-of-type {
    border-top: 1px solid #eee;
}

body.archive .qodef-blog-item .qodef-e-inner {
    display: flex;
    gap: 24px;
    width: 100%;
    align-items: flex-start;
}

/* Thumbnail */
body.archive .qodef-blog-item .qodef-e-media {
    flex-shrink: 0;
    width: 180px;
    height: 130px;
    overflow: hidden;
    border-radius: 4px;
}

body.archive .qodef-blog-item .qodef-e-media-image,
body.archive .qodef-blog-item .qodef-e-media a {
    display: block;
    width: 100%;
    height: 100%;
}

body.archive .qodef-blog-item .qodef-e-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text content column */
body.archive .qodef-blog-item .qodef-e-content {
    flex: 1;
    min-width: 0;
}

/* Top info row (category, date, author) */
body.archive .qodef-blog-item .qodef-e-top-holder {
    margin: 0 0 8px;
}

body.archive .qodef-blog-item .qodef-e-info {
    font-size: 13px;
    color: #777;
    letter-spacing: 0.02em;
}

body.archive .qodef-blog-item .qodef-e-info a {
    color: #837C01;
    text-decoration: none;
}

body.archive .qodef-blog-item .qodef-e-info a:hover {
    color: #1a1a1a;
}

body.archive .qodef-blog-item .qodef-info-separator-end {
    margin: 0 8px;
    color: #ccc;
}

/* Title */
body.archive .qodef-blog-item .qodef-e-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin: 0 0 10px !important;
    font-weight: 500;
}

body.archive .qodef-blog-item .qodef-e-title a {
    color: #1a1a1a !important;
    text-decoration: none;
    transition: color 0.25s ease-out;
}

body.archive .qodef-blog-item .qodef-e-title a:hover {
    color: #837C01 !important;
}

/* Excerpt */
body.archive .qodef-blog-item .qodef-e-text {
    font-size: 15px !important;
    line-height: 1.55 !important;
    color: #555;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.archive .qodef-blog-item .qodef-e-text p {
    margin: 0;
}

/* Bottom holder — read more link */
body.archive .qodef-blog-item .qodef-e-bottom-holder {
    margin: 0;
}

body.archive .qodef-blog-item .qodef-e-read-more {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

body.archive .qodef-blog-item .qodef-e-read-more a {
    color: #837C01 !important;
    text-decoration: none;
    transition: color 0.25s ease-out;
}

body.archive .qodef-blog-item .qodef-e-read-more a:hover {
    color: #1a1a1a !important;
}

/* ---- Pagination ---- */
body.archive .qodef-pagination,
body.archive .navigation.pagination {
    margin: 40px 0 0 !important;
    text-align: center;
}

body.archive .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 15px;
    color: #1a1a1a;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 4px;
    text-decoration: none;
    transition: all 0.25s ease-out;
}

body.archive .page-numbers:hover,
body.archive .page-numbers.current {
    background-color: #A0A616;
    border-color: #A0A616;
    color: #fff;
}

body.archive .page-numbers.dots {
    border-color: transparent;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    body.archive #qodef-page-content {
        margin: 20px auto !important;
        padding: 30px 20px !important;
    }

    body.archive #qodef-page-content::before {
        font-size: 26px;
    }

    body.archive .qodef-blog-item,
    body.archive .qodef-blog-item .qodef-e-inner {
        flex-direction: column !important;
        gap: 12px !important;
    }

    body.archive .qodef-blog-item .qodef-e-media {
        width: 100%;
        height: 200px;
    }

    body.archive .qodef-blog-item .qodef-e-text {
        -webkit-line-clamp: 3;
    }
}
/* =====================================================
   Technical Articles header — final styling
   - Grey line moved to TOP (bottom of menu bar)
   - H1 + breadcrumbs left-justified, aligned with article images
   ===================================================== */

/* Remove existing bottom border, add it as TOP border instead */
.qodef-page-title.qodef-title--standard-with-breadcrumbs {
    border-bottom: 0 !important;
    border-top: 1px solid #d4d4d4 !important;
    height: auto !important;
    min-height: auto !important;
    padding-top: 30px !important;
    padding-bottom: 20px !important;
    background-color: transparent !important;
}

/* Left-justify the H1 and breadcrumbs, align with article image container */
.qodef-page-title.qodef-title--standard-with-breadcrumbs .qodef-m-content {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
}

/* H1 itself */
.qodef-page-title.qodef-title--standard-with-breadcrumbs .qodef-m-title {
    padding: 0 !important;
    margin: 0 0 6px 0 !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    color: #000 !important;
    text-align: left !important;
}

/* Breadcrumbs */
.qodef-page-title.qodef-title--standard-with-breadcrumbs .qodef-breadcrumbs {
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any top padding on page-inner so the line sits flush with the header */
#qodef-page-inner {
    padding-top: 0 !important;
}
