/* Posts */
.ca-ec-posts-wrap{ width:100%; --ca-ec-gap:16px; --ca-ec-cols-d:3; --ca-ec-cols-t:2; --ca-ec-cols-m:1; }
.ca-ec-posts-filter{ margin:0 0 2rem 0; }
.ca-ec-posts-filter ul{ list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; align-items:center; gap:.25rem; }
.ca-ec-posts-filter.align-left ul{ justify-content:flex-start; }
.ca-ec-posts-filter.align-center ul{ justify-content:center; }
.ca-ec-posts-filter.align-right ul{ justify-content:flex-end; }
.ca-ec-posts-filter li{ cursor:pointer; opacity:.75; transition:opacity .2s ease, transform .2s ease; font-weight:500; }
.ca-ec-posts-filter li:not(:last-child)::after{ content: " / "; margin: 0 .5rem; opacity:.6; }
.ca-ec-posts-filter li:hover{ opacity:1; transform: translateY(-1px); }
.ca-ec-posts-filter li.active{ opacity:1; text-decoration:underline; }

/* Grid layout */
.ca-ec-posts-grid{ display:grid; grid-template-columns: repeat(var(--ca-ec-cols, var(--ca-ec-cols-d)), 1fr); gap: var(--ca-ec-gap); }
@media (max-width: 1024px){ .ca-ec-posts-grid{ grid-template-columns: repeat(var(--ca-ec-cols, var(--ca-ec-cols-t)), 1fr); } }
@media (max-width: 767px){ .ca-ec-posts-grid{ grid-template-columns: repeat(var(--ca-ec-cols, var(--ca-ec-cols-m)), 1fr); } }

/* Masonry variant (CSS-only) */
.ca-ec-posts-wrap.layout-masonry .ca-ec-posts-grid{ column-count: var(--ca-ec-cols, var(--ca-ec-cols-d)); column-gap: var(--ca-ec-gap); display:block; }
@media (max-width: 1024px){ .ca-ec-posts-wrap.layout-masonry .ca-ec-posts-grid{ column-count: var(--ca-ec-cols, var(--ca-ec-cols-t)); } }
@media (max-width: 767px){ .ca-ec-posts-wrap.layout-masonry .ca-ec-posts-grid{ column-count: var(--ca-ec-cols, var(--ca-ec-cols-m)); } }

/* Card */
.ca-ec-posts-card{ display:block; position:relative; overflow:hidden; border-radius:8px; text-decoration:none; }
.ca-ec-posts-wrap.layout-masonry .ca-ec-posts-card{ break-inside:avoid; display:block; margin:0 0 var(--ca-ec-gap); }

.ca-ec-posts-image{
    display:block; width:100%; padding-bottom:70%; background-size:cover;
    background-position:center; transform: scale(1.095) translateX(0%);
    transition: transform 1s cubic-bezier(0.33, 0.02, 0, 0.93);
}

.ca-ec-posts-overlay{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:14px 16px; background-color: rgba(0,0,0,.55); opacity:0; transition: opacity .25s ease; }
.ca-ec-posts-overlay h3{ margin:0; font-size:1rem; color:#fff; opacity: 0; transform: translateY(30px); transition: 0.66s cubic-bezier(0.33, 0.02, 0, 0.93) 0.14s;}
.ca-ec-posts-card:hover .ca-ec-posts-overlay,
.ca-ec-posts-card:focus-visible .ca-ec-posts-overlay{ opacity:1; }
.ca-ec-posts-card:hover .ca-ec-posts-overlay h3{
    opacity: 1;
    transform: translateY(0px);
    transition: 0.66s cubic-bezier(0.33, 0.02, 0, 0.93) 0.14s;
}
.ca-ec-posts-card:hover .ca-ec-posts-image{
    transform: scale(1.095) translateX(4%);
    transition: transform 1s cubic-bezier(0.33, 0.02, 0, 0.93);
}




.ca-ec-posts-card.hidden{ display:none !important; }

/* Masonry/Grid Logic */
.ca-ec-posts-wrap.layout-masonry .ca-ec-posts-card .ca-ec-posts-image{ padding-bottom: 0; height: auto; }
.ca-ec-posts-wrap.layout-masonry .ca-ec-posts-card.is-landscape .ca-ec-posts-image{ height: 300px; }
.ca-ec-posts-wrap.layout-masonry .ca-ec-posts-card.is-portrait .ca-ec-posts-image{ height: 600px; }
.ca-ec-posts-wrap.layout-masonry .ca-ec-posts-card:not(.is-portrait):not(.is-landscape) .ca-ec-posts-image{ height: 300px; }

/* Load more */
.ca-ec-posts-load{ display:flex; justify-content:center; margin-top:1rem; }
.ca-ec-posts-loadmore{ cursor:pointer; padding:.6rem 1rem; border:1px solid rgba(0,0,0,.15); border-radius:8px; background:#fff; }

/* Table */
.ca-ec-table{ --ca-ec-row-gap: 0px; display:flex; flex-direction:column; gap: var(--ca-ec-row-gap); }
.ca-ec-table .ca-ec-table-head{ display:grid; grid-template-columns: 1fr; font-weight:600; margin-bottom:.25rem; }
.ca-ec-table.layout-two .ca-ec-table-head{ grid-template-columns: 30% 70%; }
.ca-ec-table .ca-ec-th{ padding:.5rem .75rem; }
.ca-ec-table .ca-ec-table-row{ display:grid; grid-template-columns: 1fr; align-items:start; background:#fff; }
.ca-ec-table.layout-two .ca-ec-table-row{ grid-template-columns: 30% 70%; }
.ca-ec-table .ca-ec-table-title{ padding: .75rem .9rem; font-weight:600; }
.ca-ec-table .ca-ec-table-content{ padding: .75rem .9rem; }

/* Accordion */
.ca-ec-accordion {
    --ca-ec-acc-gap: 12px;
    display: flex;
    flex-direction: column;
    gap: var(--ca-ec-acc-gap);
}
.ca-ec-acc-item {
    background: #fff;
    overflow: hidden;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}
.ca-ec-acc-item-title {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1.25rem;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: #fff;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    outline: none !important;
    box-shadow: none !important;
}
.ca-ec-acc-title-icon {
    font-weight: bold;
    color: #2888ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ca-ec-acc-item-title:focus {
    outline: none !important;
    box-shadow: none !important;
    background-color: #fff;
    color: #333;
}
.ca-ec-acc-item-title:focus .ca-ec-acc-title-icon {
    color: #2888ee;
}
.ca-ec-acc-item.is-open .ca-ec-acc-item-title:focus {
    background-color: #2888ee;
    color: #fff;
}
.ca-ec-acc-item.is-open .ca-ec-acc-item-title:focus .ca-ec-acc-title-icon {
    color: #fff;
}
.ca-ec-acc-item.is-open .ca-ec-acc-item-title,
.ca-ec-acc-item-title:hover {
    background-color: #2888ee;
    color: #fff;
}
.ca-ec-acc-item.is-open .ca-ec-acc-title-icon,
.ca-ec-acc-item-title:hover .ca-ec-acc-title-icon {
    color: #fff;
}
.ca-ec-acc-item-content {
    display: none;
    padding: 1.25rem;
    background-color: #fff;
    color: #444;
    border-top: 1px solid #eee;
}

/* Accordion closed/opened state icon visibility */
.ca-ec-acc-icon-opened {
    display: none;
}
.ca-ec-acc-item.is-open .ca-ec-acc-icon-closed {
    display: none;
}
.ca-ec-acc-item.is-open .ca-ec-acc-icon-opened {
    display: inline-flex;
}


/* Cards */
.ca-ec-cards{
  position:relative;
  width:100%;
  height:550px;
  border:1px solid #222;
  overflow:hidden;
}
.ca-ec-cards .ca-ec-cards-content{
  position:absolute; inset:0;
  display:flex; width:100%; height:100%;
  z-index:1; cursor:pointer;
}
.ca-ec-card{
  position:relative;
  display:block; text-decoration:none;
  width:calc(100% / var(--cards));
  height:100%;
  user-select:none; overflow:hidden;
  background-size:cover;
  background-repeat:no-repeat;
  transition:width .4s cubic-bezier(1,0,0,1);
}
.ca-ec-card.active{ width:200%; left:0; }

.ca-ec-card::before{
  content:""; position:absolute; inset:0;
  background: rgba(44, 62, 80, .76);
  transition: background .4s ease;
  z-index:0;
}
.ca-ec-card.active::before{ background: rgba(44, 62, 80, .20); }

.ca-ec-card-title{
  position:absolute; bottom:20px; left:20px;
  margin:0; padding:0; color:#fff;
  font-size:20px; line-height:1.3em;
  writing-mode: vertical-lr;
  text-transform: uppercase;
  transition: all .4s ease;
  z-index:2;
}
.ca-ec-card.active .ca-ec-card-title{
  writing-mode:unset; transform:rotate(0deg);
  left:35px; bottom:0;
}



/* Gallery */
.ca-ec-gallery-wrap {
    width: 100%;
    margin-bottom: 20px;
    --ca-ec-gap: 16px;
    --ca-ec-cols: 3;
}

/* Header (Tabs + Search) */
.ca-ec-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ca-ec-gallery-header.has-both {
    flex-direction: var(--ca-ec-gal-head-dir, row);
    align-items: var(--ca-ec-gal-head-ai, center);
}
.ca-ec-gallery-header.has-both .ca-ec-gallery-tabs,
.ca-ec-gallery-header.has-both .ca-ec-gallery-search-wrap {
    flex-basis: var(--ca-ec-gal-head-basis, auto);
}
.ca-ec-gallery-header {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    width: 100%;
}

/* Tabs / Filter */
.ca-ec-gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.ca-ec-gallery-tabs.align-left { justify-content: flex-start; }
.ca-ec-gallery-tabs.align-center { justify-content: center; }
.ca-ec-gallery-tabs.align-right { justify-content: flex-end; }

.ca-ec-gallery-tab {
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 0;
    background-color: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ca-ec-gallery-wrap button.ca-ec-gallery-tab:focus {
    outline: none;
    box-shadow: none;
    background-color: #fff;
    color: #333;
    border-color: #ccc;
}
.ca-ec-gallery-wrap button.ca-ec-gallery-tab.active,
.ca-ec-gallery-wrap button.ca-ec-gallery-tab:hover,
.ca-ec-gallery-wrap button.ca-ec-gallery-tab.active:focus,
.ca-ec-gallery-wrap button.ca-ec-gallery-tab:hover:focus,
.ca-ec-gallery-wrap button.ca-ec-gallery-tab:focus:hover {
    background-color: #2888ee;
    color: #fff;
    border-color: #2888ee;
}

/* Search Input */
.ca-ec-gallery-search-wrap {
    position: relative;
    max-width: 100%;
    display: flex;
    flex: 0 0 auto;
}
.ca-ec-gallery-search-input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    color: #333;
}
.ca-ec-gallery-search-input:focus {
    border-color: #2888ee;
    box-shadow: 0 0 0 3px rgba(40, 136, 238, 0.15);
}

/* Grid & Masonry Layout */
.ca-ec-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--ca-ec-cols, 3), 1fr);
    gap: var(--ca-ec-gap);
}

.ca-ec-gallery-wrap.layout-masonry .ca-ec-gallery-grid {
    display: block;
    column-count: var(--ca-ec-cols, 3);
    column-gap: var(--ca-ec-gap);
}

.ca-ec-gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #f7f7f7;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ca-ec-gallery-wrap.layout-masonry .ca-ec-gallery-item {
    break-inside: avoid;
    margin-bottom: var(--ca-ec-gap);
    display: block;
    height: auto;
}

.ca-ec-gallery-item.hidden-item {
    display: none !important;
}

/* Image wrapper (fixed ratios for Grid layout) */
.ca-ec-gallery-image-wrap {
    position: relative;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    display: block;
}

.ca-ec-gallery-wrap:not(.layout-masonry) .ca-ec-gallery-image-wrap {
    height: 0;
    padding-bottom: 70%;
}

.ca-ec-gallery-wrap.layout-masonry .ca-ec-gallery-image-wrap {
    padding-bottom: 0 !important;
    height: auto;
}

/* Image styling */
.ca-ec-gallery-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: opacity 0.6s ease-in-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.ca-ec-gallery-wrap.layout-masonry .ca-ec-gallery-img {
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.ca-ec-gallery-wrap.is-js .ca-ec-gallery-img {
    opacity: 0;
}
.ca-ec-gallery-wrap.is-js .ca-ec-gallery-img.loaded {
    opacity: 1;
}

/* Hover Zoom Effect */
.ca-ec-gallery-wrap:not(.no-interaction) .ca-ec-gallery-item:hover .ca-ec-gallery-img.loaded {
    transform: scale(1.06);
}

/* Link Wrapper */
.ca-ec-gallery-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    width: 100%;
    flex-grow: 1;
}

.ca-ec-gallery-wrap.no-lightbox .ca-ec-gallery-link {
    cursor: default;
}

.ca-ec-gallery-wrap:not(.layout-masonry) .ca-ec-gallery-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.ca-ec-gallery-wrap.layout-masonry .ca-ec-gallery-image-wrap img {
    position: static;
}

/* Hover Overlay */
.ca-ec-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
    pointer-events: none;
}

.ca-ec-gallery-item:hover .ca-ec-gallery-overlay {
    opacity: 1;
}

.ca-ec-gallery-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transform: translateY(15px);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.ca-ec-gallery-item:hover .ca-ec-gallery-title {
    transform: translateY(0);
}

/* No Interaction Class */
.ca-ec-gallery-wrap.no-interaction .ca-ec-gallery-link {
    cursor: default;
}
.ca-ec-gallery-wrap.no-interaction .ca-ec-gallery-overlay {
    display: none !important;
}

/* Pagination & Buttons */
.ca-ec-gallery-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 8px;
    flex-wrap: wrap;
}

.ca-ec-gallery-btn {
    cursor: pointer;
    padding: 10px 24px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}
.ca-ec-gallery-wrap button.ca-ec-gallery-btn:focus {
    outline: none;
    box-shadow: none;
    background: #fff;
    color: #333;
    border-color: #ccc;
}
.ca-ec-gallery-wrap button.ca-ec-gallery-btn:hover,
.ca-ec-gallery-wrap button.ca-ec-gallery-btn:hover:focus,
.ca-ec-gallery-wrap button.ca-ec-gallery-btn:focus:hover {
    background: #2888ee;
    color: #fff;
    border-color: #2888ee;
}

.ca-ec-gallery-numbers {
    display: flex;
    gap: 6px;
}

.ca-ec-gallery-pagi-link {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}
.ca-ec-gallery-wrap a.ca-ec-gallery-pagi-link:focus {
    outline: none;
    box-shadow: none;
    background: #fff;
    color: #333;
    border-color: #ccc;
}
.ca-ec-gallery-wrap a.ca-ec-gallery-pagi-link:hover,
.ca-ec-gallery-wrap a.ca-ec-gallery-pagi-link.active,
.ca-ec-gallery-wrap a.ca-ec-gallery-pagi-link:hover:focus,
.ca-ec-gallery-wrap a.ca-ec-gallery-pagi-link.active:focus,
.ca-ec-gallery-wrap a.ca-ec-gallery-pagi-link:focus:hover {
    background: #2888ee;
    color: #fff;
    border-color: #2888ee;
}


/* Hero */
.ca-ec-hero {
    display: flex;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}
.ca-ec-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.ca-ec-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}
.ca-ec-hero-video-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* 16:9 ratio */
    height: 56.25vw; /* 16:9 ratio */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}
.ca-ec-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.ca-ec-hero-col {
    width: var(--ca-ec-hero-col-w, 100%);
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}
.ca-ec-hero-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #2888ee;
    margin-bottom: -5px;
}
.ca-ec-hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    margin: 0;
    color: #fff;
}
.ca-ec-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    color: #cbd5e1;
}
.ca-ec-hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #94a3b8;
}
.ca-ec-hero-desc p {
    margin: 0 0 1em 0;
}
.ca-ec-hero-desc p:last-child {
    margin-bottom: 0;
}
.ca-ec-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.ca-ec-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: 2px solid transparent;
}
.ca-ec-hero-btn:focus {
    outline: none !important;
}

/* Hero button variants */
.ca-ec-hero-btn.btn-primary {
    background-color: #2888ee;
    color: #fff;
    border-color: #2888ee;
}
.ca-ec-hero-btn.btn-primary:hover,
.ca-ec-hero-btn.btn-primary:focus {
    background-color: #1b6ec2;
    border-color: #1b6ec2;
    color: #fff;
}
.ca-ec-hero-btn.btn-primary:not([class*="elementor-animation-"]):hover,
.ca-ec-hero-btn.btn-primary:not([class*="elementor-animation-"]):focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 136, 238, 0.3);
}
.ca-ec-hero-btn.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}
.ca-ec-hero-btn.btn-secondary:hover,
.ca-ec-hero-btn.btn-secondary:focus {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}
.ca-ec-hero-btn.btn-secondary:not([class*="elementor-animation-"]):hover,
.ca-ec-hero-btn.btn-secondary:not([class*="elementor-animation-"]):focus {
    transform: translateY(-2px);
}

/* Pre-Footer */
.ca-ec-pre-footer-wrap {
    width: 100%;
    box-sizing: border-box;
}
.ca-ec-pre-footer-wrap.mode-boxed {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.ca-ec-pre-footer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}
.ca-ec-pre-footer-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.ca-ec-pre-footer-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    width: 100%;
}
.ca-ec-pre-footer.style-centered .ca-ec-pre-footer-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
}
.ca-ec-pre-footer.style-split .ca-ec-pre-footer-container {
    flex-direction: row;
    justify-content: space-between;
}
.ca-ec-pre-footer-content-left {
    flex: 1 1 450px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
}
.ca-ec-pre-footer-content-right {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    box-sizing: border-box;
}
.ca-ec-pre-footer.style-centered .ca-ec-pre-footer-content-right {
    align-items: center;
}
.ca-ec-pre-footer.style-split .ca-ec-pre-footer-container {
    flex-direction: var(--ca-ec-pf-dir, row);
    text-align: var(--ca-ec-pf-ta, start);
}
.ca-ec-pre-footer.style-split .ca-ec-pre-footer-content-left {
    flex-basis: var(--ca-ec-pf-basis-l, 450px);
    align-items: var(--ca-ec-pf-ai-l, stretch);
    width: var(--ca-ec-pf-w, auto);
}
.ca-ec-pre-footer.style-split .ca-ec-pre-footer-content-right {
    flex-basis: var(--ca-ec-pf-basis-r, 350px);
    align-items: var(--ca-ec-pf-ai-r, flex-start);
    width: var(--ca-ec-pf-w, auto);
}
.ca-ec-pre-footer.style-split .ca-ec-pre-footer-ctas {
    justify-content: var(--ca-ec-pf-jc, flex-start);
}
.ca-ec-pre-footer-eyebrow {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2888ee;
    margin: 0;
}
.ca-ec-pre-footer-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin: 0;
}
.ca-ec-pre-footer-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}
.ca-ec-pre-footer-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.ca-ec-pre-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: 2px solid transparent;
}
.ca-ec-pre-footer-btn:focus {
    outline: none !important;
}

/* Pre-footer button variants */
.ca-ec-pre-footer-btn.btn-primary {
    background-color: #2888ee;
    color: #fff;
    border-color: #2888ee;
}
.ca-ec-pre-footer-btn.btn-primary:hover,
.ca-ec-pre-footer-btn.btn-primary:focus {
    background-color: #1b6ec2;
    border-color: #1b6ec2;
    color: #fff;
}
.ca-ec-pre-footer-btn.btn-primary:not([class*="elementor-animation-"]):hover,
.ca-ec-pre-footer-btn.btn-primary:not([class*="elementor-animation-"]):focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 136, 238, 0.3);
}
.ca-ec-pre-footer-btn.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}
.ca-ec-pre-footer-btn.btn-secondary:hover,
.ca-ec-pre-footer-btn.btn-secondary:focus {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}
.ca-ec-pre-footer-btn.btn-secondary:not([class*="elementor-animation-"]):hover,
.ca-ec-pre-footer-btn.btn-secondary:not([class*="elementor-animation-"]):focus {
    transform: translateY(-2px);
}

/* Responsive adjustments for Hero & Pre-Footer */
@media (max-width: 1024px) {
    .ca-ec-hero-title {
        font-size: 2.5rem;
    }
    .ca-ec-pre-footer-title {
        font-size: 1.8rem;
    }
}
/* Phone defaults as fallback until Elementor has rebuilt the page CSS; the controls outrank them */
@media (max-width: 767px) {
    .ca-ec-hero-col {
        width: 100%;
        text-align: center;
    }
    .ca-ec-hero-ctas {
        justify-content: center;
    }
    .ca-ec-pre-footer.style-split {
        --ca-ec-pf-dir: column; --ca-ec-pf-ta: center; --ca-ec-pf-ai-l: center; --ca-ec-pf-ai-r: center;
        --ca-ec-pf-basis-l: 100%; --ca-ec-pf-basis-r: 100%; --ca-ec-pf-w: 100%; --ca-ec-pf-jc: center;
    }
    .ca-ec-gallery-header.has-both {
        --ca-ec-gal-head-dir: column; --ca-ec-gal-head-ai: stretch; --ca-ec-gal-head-basis: 100%;
    }
}
@media (max-width: 767px) {
    .ca-ec-hero-container {
        padding: 50px 20px;
    }
    .ca-ec-hero-title {
        font-size: 2rem;
    }
    .ca-ec-pre-footer.style-centered .ca-ec-pre-footer-content-left,
    .ca-ec-pre-footer.style-centered .ca-ec-pre-footer-content-right {
        flex: 1 1 100%;
        width: 100%;
        align-items: center;
    }
    .ca-ec-pre-footer.style-centered .ca-ec-pre-footer-ctas {
        justify-content: center;
    }
}

/* CTA-Tile */
.ca-ec-cta-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 350px;
    box-sizing: border-box;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #e2e8f0;
    background-color: var(--ca-ec-cta-bg);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-decoration: none !important;
}
.ca-ec-cta-tile.enable-float:not([class*="elementor-animation-"]):hover {
    transform: translateY(-6px);
}
.ca-ec-cta-tile-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}
.ca-ec-cta-tile.enable-zoom:hover .ca-ec-cta-tile-bg {
    transform: scale(1.08);
}
.ca-ec-cta-tile-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.ca-ec-cta-tile-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
}

/* Alignments: the align-* class sets the defaults, the responsive control overrides them */
.ca-ec-cta-tile.align-left { --ca-ec-cta-ai: flex-start; --ca-ec-cta-ta: left; }
.ca-ec-cta-tile.align-center { --ca-ec-cta-ai: center; --ca-ec-cta-ta: center; }
.ca-ec-cta-tile.align-right { --ca-ec-cta-ai: flex-end; --ca-ec-cta-ta: right; }
.ca-ec-cta-tile .ca-ec-cta-tile-container {
    align-items: var(--ca-ec-cta-ai, flex-start);
    text-align: var(--ca-ec-cta-ta, left);
}
.ca-ec-cta-tile .ca-ec-cta-tile-icon-wrap,
.ca-ec-cta-tile .ca-ec-cta-tile-badge-wrap,
.ca-ec-cta-tile .ca-ec-cta-tile-cta {
    justify-content: var(--ca-ec-cta-ai, flex-start);
}

/* Numbering */
.ca-ec-cta-tile-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(71, 85, 105, 0.15);
    user-select: none;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Icon */
.ca-ec-cta-tile-icon-wrap {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
}
.ca-ec-cta-tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #475569;
    fill: #475569;
    width: 42px;
    height: 42px;
    transition: color 0.3s ease, fill 0.3s ease;
}
.ca-ec-cta-tile-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Badge */
.ca-ec-cta-tile-badge-wrap {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}
.ca-ec-cta-tile-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2563eb;
    background-color: #eff6ff;
    border-radius: 4px;
    line-height: 1;
}

/* Eyebrow */
.ca-ec-cta-tile-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2888ee;
    margin-bottom: 8px;
    display: block;
}

/* Title */
.ca-ec-cta-tile-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

/* Description */
.ca-ec-cta-tile-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 25px;
}

/* Button & Link Wrapper */
.ca-ec-cta-tile-cta {
    display: flex;
    width: 100%;
    margin-top: auto;
}
.ca-ec-cta-tile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    border: 2px solid transparent;
    line-height: 1.2;
}

/* Button variants */
.ca-ec-cta-tile-btn.btn-primary {
    background-color: #2888ee;
    color: #fff;
    border-color: #2888ee;
}
.ca-ec-cta-tile-btn.btn-primary:hover,
.ca-ec-cta-tile-btn.btn-primary:focus {
    background-color: #1b6ec2;
    border-color: #1b6ec2;
    color: #fff;
}
.ca-ec-cta-tile-btn.btn-secondary {
    background-color: transparent;
    color: #2888ee;
    border-color: #2888ee;
}
.ca-ec-cta-tile-btn.btn-secondary:hover,
.ca-ec-cta-tile-btn.btn-secondary:focus {
    background-color: #2888ee;
    border-color: #2888ee;
    color: #fff;
}
.ca-ec-cta-tile-btn.btn-text {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: #2888ee;
    text-decoration: underline !important;
    box-shadow: none !important;
}
.ca-ec-cta-tile-btn.btn-text:hover,
.ca-ec-cta-tile-btn.btn-text:focus {
    color: #1b6ec2;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: underline !important;
}

/* Visible keyboard focus */
.ca-ec-acc-item-title:focus-visible,
.ca-ec-posts-filter li:focus-visible,
.ca-ec-posts-loadmore:focus-visible,
.ca-ec-gallery-wrap button.ca-ec-gallery-tab:focus-visible,
.ca-ec-gallery-search-input:focus-visible,
.ca-ec-gallery-wrap button.ca-ec-gallery-btn:focus-visible,
.ca-ec-gallery-wrap a.ca-ec-gallery-pagi-link:focus-visible,
.ca-ec-hero-btn:focus-visible,
.ca-ec-pre-footer-btn:focus-visible,
.ca-ec-cta-tile-btn:focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: 2px;
}
.ca-ec-posts-card:focus-visible,
.ca-ec-card:focus-visible,
.ca-ec-gallery-link:focus-visible,
.ca-ec-cta-tile:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: -3px;
    box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .6);
}
