/* Search-friendly supporting copy for resource landing pages. */
html body .ikui-seo-intro {
    max-width: 960px;
    margin: 0 0 28px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid #e1ddd3;
    border-left: 4px solid #d85f07;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(135deg, #faf8f3 0%, #f3f1e9 100%);
    color: #34453f;
}

html body .ikui-seo-intro h2 {
    margin: 0 0 10px !important;
    color: #18352e !important;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem) !important;
    line-height: 1.2 !important;
}

html body .ikui-seo-intro p {
    margin: 0 !important;
    color: #4e5b56 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
}

html body .ikui-seo-intro p + p {
    margin-top: 8px !important;
}

html body .ikui-seo-intro a {
    color: #9d4200 !important;
    font-weight: 700;
    text-underline-offset: 3px;
}

/* The home page has one server-rendered hero slide. WP Rocket can delay the
 * slider helper, so keep that slide and its H1 visible before JavaScript runs. */
html body.home #panel-66-0-0-0 .sow-slider-base {
    display: block !important;
}

/* SiteOrigin normally calculates these heights in JavaScript. WP Rocket
 * delays that script until the first interaction, so give the single hero
 * slide its final size in CSS and avoid a blank first viewport. */
html body.home #panel-66-0-0-0 .sow-slider-base,
html body.home #panel-66-0-0-0 .sow-slider-images,
html body.home #panel-66-0-0-0 .sow-slider-images > li:first-child {
    min-height: 500px !important;
}

html body.home #panel-66-0-0-0 .sow-slider-images > li:first-child {
    visibility: visible !important;
    background-color: #f7f7f5 !important;
    background-image: url("/wp-content/uploads/2026/08/hero-1.jpg") !important;
}

@media (max-width: 780px) {
    html body .ikui-seo-intro {
        padding: 20px 18px;
    }

    html body.home #panel-66-0-0-0 .sow-slider-base,
    html body.home #panel-66-0-0-0 .sow-slider-images,
    html body.home #panel-66-0-0-0 .sow-slider-images > li:first-child {
        min-height: 400px !important;
    }

    html body.home #panel-66-0-0-0 .sow-slide-nav,
    html body.home #panel-66-0-0-0 .sow-slider-pagination {
        display: none !important;
    }
}

/* UIkit changes this service grid to one column below its 640px breakpoint.
 * Keep two cards per row on phones and tighten only the card spacing so the
 * existing copy and calls to action remain readable at 320px. */
@media (max-width: 639px) {
    html body.home #pg-66-2 [class*="uk-child-width-1-4"] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-left: 0 !important;
    }

    html body.home #pg-66-2 [class*="uk-child-width-1-4"] > * {
        width: auto !important;
        min-width: 0;
        margin-top: 0 !important;
        padding-left: 0 !important;
    }

    html body.home #pg-66-2 [class*="uk-child-width-1-4"] .uk-card {
        display: flex;
        min-width: 0;
        height: 100%;
        flex-direction: column;
    }

    html body.home #pg-66-2 [class*="uk-child-width-1-4"] .uk-card-media-top {
        aspect-ratio: 320 / 213;
        overflow: hidden;
    }

    html body.home #pg-66-2 [class*="uk-child-width-1-4"] .uk-card-media-top img {
        width: 100%;
        min-width: 0;
        height: 100%;
        object-fit: cover;
    }

    html body.home #pg-66-2 [class*="uk-child-width-1-4"] .uk-card-body {
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 14px 12px !important;
    }

    html body.home #pg-66-2 [class*="uk-child-width-1-4"] .uk-card-title {
        margin-bottom: 10px;
        font-size: 1.125rem !important;
        line-height: 1.18 !important;
        overflow-wrap: anywhere;
    }

    html body.home #pg-66-2 [class*="uk-child-width-1-4"] .uk-card-body p {
        margin-bottom: 14px;
        font-size: 0.99rem !important;
        line-height: 1.4;
    }

    html body.home #pg-66-2 [class*="uk-child-width-1-4"] .tw-button {
        margin-top: auto;
        padding: 0 6px;
        white-space: nowrap;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-container.panel-row-style > .panel-grid-cell {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-container.panel-row-style > .panel-grid-cell > .widget_custom_html {
        display: flex;
        min-width: 0;
        margin-bottom: 0 !important;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-container.panel-row-style > .panel-grid-cell > .widget_custom_html > .textwidget {
        display: flex;
        width: 100%;
        min-width: 0;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-container.panel-row-style > .panel-grid-cell > .widget_custom_html .uk-card {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 100%;
        margin: 0 !important;
        flex-direction: column;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-container.panel-row-style > .panel-grid-cell > .widget_custom_html .uk-card > div {
        width: 100% !important;
        min-width: 0;
        padding-left: 0 !important;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-container.panel-row-style > .panel-grid-cell > .widget_custom_html .uk-card > div:first-child {
        flex: none;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-container.panel-row-style > .panel-grid-cell > .widget_custom_html .uk-card > div:last-child {
        display: flex;
        flex: 1;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-card-media-left {
        height: auto;
        aspect-ratio: 320 / 213;
        overflow: hidden;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-card-media-left .tribe-events-event-image,
    html body.home #pg-66-3 .insert-page-167 .uk-card-media-left a {
        display: block;
        height: 100%;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-card-media-left img {
        width: 100%;
        min-width: 0;
        height: 100%;
        object-fit: cover;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-card-body.tw-padding-custom {
        display: flex;
        width: 100%;
        flex: 1;
        flex-direction: column;
        padding: 14px 12px !important;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-card-title {
        margin: 0 0 10px !important;
        font-size: 1.125rem !important;
        line-height: 1.18 !important;
        overflow-wrap: anywhere;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-card-body > .uk-grid {
        display: flex;
        flex: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 0 !important;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-card-body > .uk-grid > * {
        width: 100% !important;
        min-width: 0;
        padding-left: 0 !important;
    }

    html body.home #pg-66-3 .insert-page-167 .tw-font-size-13 {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 14px !important;
        font-size: 0.99rem !important;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
    }

    html body.home #pg-66-3 .insert-page-167 .uk-card-body > .uk-grid > .uk-margin-remove {
        margin-top: auto !important;
    }

    html body.home #pg-66-3 .insert-page-167 .tw-button {
        padding: 0 6px;
        white-space: nowrap;
    }

    /* The standalone news page uses the same cards through a nested
     * SiteOrigin layout, so arrange its four entries as a two-column grid. */
    html body.page-id-167 .parent-category-content .uk-container.panel-row-style > .panel-grid-cell {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    html body.page-id-167 .parent-category-content .uk-container.panel-row-style > .panel-grid-cell > .widget_custom_html {
        display: flex;
        min-width: 0;
        margin-bottom: 0 !important;
    }

    html body.page-id-167 .parent-category-content .widget_custom_html > .textwidget {
        display: flex;
        width: 100%;
        min-width: 0;
    }

    html body.page-id-167 .parent-category-content .widget_custom_html .uk-card {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 100%;
        margin: 0 !important;
        flex-direction: column;
    }

    html body.page-id-167 .parent-category-content .widget_custom_html .uk-card > div {
        width: 100% !important;
        min-width: 0;
        padding-left: 0 !important;
    }

    html body.page-id-167 .parent-category-content .widget_custom_html .uk-card > div:first-child {
        flex: none;
    }

    html body.page-id-167 .parent-category-content .widget_custom_html .uk-card > div:last-child {
        display: flex;
        flex: 1;
    }

    html body.page-id-167 .parent-category-content .uk-card-media-left {
        height: auto;
        aspect-ratio: 320 / 213;
        overflow: hidden;
    }

    html body.page-id-167 .parent-category-content .uk-card-media-left .tribe-events-event-image,
    html body.page-id-167 .parent-category-content .uk-card-media-left a {
        display: block;
        height: 100%;
    }

    html body.page-id-167 .parent-category-content .uk-card-media-left img {
        width: 100%;
        min-width: 0;
        height: 100%;
        object-fit: cover;
    }

    html body.page-id-167 .parent-category-content .uk-card-body.tw-padding-custom {
        display: flex;
        width: 100%;
        flex: 1;
        flex-direction: column;
        padding: 14px 12px !important;
    }

    html body.page-id-167 .parent-category-content .uk-card-title {
        margin: 0 0 10px !important;
        font-size: 1.125rem !important;
        line-height: 1.18 !important;
        overflow-wrap: anywhere;
    }

    html body.page-id-167 .parent-category-content .uk-card-body > .uk-grid {
        display: flex;
        flex: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 0 !important;
    }

    html body.page-id-167 .parent-category-content .uk-card-body > .uk-grid > * {
        width: 100% !important;
        min-width: 0;
        padding-left: 0 !important;
    }

    html body.page-id-167 .parent-category-content .tw-font-size-13 {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 14px !important;
        font-size: 0.99rem !important;
        line-height: 1.4;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
    }

    html body.page-id-167 .parent-category-content .uk-card-body > .uk-grid > .uk-margin-remove {
        margin-top: auto !important;
    }

    html body.page-id-167 .parent-category-content .tw-button {
        padding: 0 6px;
        white-space: nowrap;
    }
}

@media (max-width: 340px) {
    html body.home #panel-66-0-0-0 .sow-slider-base,
    html body.home #panel-66-0-0-0 .sow-slider-images,
    html body.home #panel-66-0-0-0 .sow-slider-images > li:first-child {
        min-height: 420px !important;
    }

    html body.home #panel-66-0-0-0 .sow-slider-image-wrapper {
        height: 420px !important;
    }
}
