/* EquiTrust Legal Practitioners — reference-matched navy / gold identity */
:root{--et-navy:#071b36;--et-navy-2:#102b4b;--et-navy-3:#183b60;--et-gold:#d39a24;--et-gold-bright:#f0bb45;--et-gold-soft:#f4dfb0;--et-ink:#102139;--et-paper:#f7f6f2}
.header-style-two .header-top{min-height:0!important;height:0!important;overflow:hidden!important;padding:0!important}
.header-style-two .header-lower{position:relative;min-height:92px!important;height:92px!important;background:radial-gradient(circle at 8% 50%,rgba(211,154,36,.16),transparent 22%),radial-gradient(circle at 92% 50%,rgba(16,43,75,.08),transparent 20%),linear-gradient(105deg,#fff 0%,#f8f7f3 48%,#fff 100%)!important;border-bottom:1px solid rgba(211,154,36,.34);box-shadow:0 7px 22px rgba(7,27,54,.09)}
.header-style-two .header-lower:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,transparent,var(--et-gold) 16%,#f0d28b 50%,var(--et-gold) 84%,transparent);pointer-events:none}
.header-style-two .header-lower .main-box{min-height:92px!important;height:92px!important;padding:0 34px 0 20px!important;align-items:center!important;position:relative;z-index:1}
.header-style-two .header-lower .logo-box{height:92px!important;min-height:92px!important;min-width:116px!important;width:116px;margin:0 28px 0 0!important;padding:5px 12px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:radial-gradient(circle,rgba(255,255,255,.98) 38%,rgba(244,236,217,.68) 72%,transparent 73%)}
.header-style-two .header-lower .logo-box .logo,.header-style-two .header-lower .logo-box .logo a{display:flex;align-items:center;justify-content:center}
.header-style-two .header-lower .logo-box img{display:block;width:82px!important;height:82px!important;max-width:none!important;max-height:none!important;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(7,27,54,.18))}
.header-style-two .header-lower .nav-outer,.header-style-two .header-lower .main-menu,.header-style-two .header-lower .main-menu .navigation{min-height:92px}
.header-style-two .header-lower .main-menu .navigation{display:flex;align-items:center}
.header-style-two .header-lower .main-menu .navigation>li{margin:0 21px 0 0!important}
.header-style-two .header-lower .main-menu .navigation>li:last-child{margin-right:0!important}
.header-style-two .header-lower .main-menu .navigation>li>a{padding:34px 0!important;font-size:15px!important;line-height:23px!important;font-weight:700!important;letter-spacing:.035em;color:#102139!important}
.header-style-two .header-lower .main-menu .navigation>li.current>a,.header-style-two .header-lower .main-menu .navigation>li:hover>a{color:#b77e18!important}
.header-style-two .header-lower .mobile-nav-toggler{color:var(--et-navy)!important;font-size:28px}
.header-style-two .sticky-header .logo img{width:66px;height:66px;max-width:none;max-height:none;object-fit:contain}
.header-style-two .sticky-header{background:linear-gradient(105deg,#fff,#f8f7f3)!important;border-bottom:2px solid rgba(211,154,36,.55)}
.header-style-two .mobile-menu .upper-box .nav-logo img{max-height:72px;width:auto}
@media(max-width:1199.98px){.header-style-two .header-lower .main-box{padding-right:22px!important}.header-style-two .header-lower .logo-box{margin-right:16px!important;min-width:100px!important;width:100px}.header-style-two .header-lower .main-menu .navigation>li{margin-right:14px!important}}
@media(max-width:991.98px){.header-style-two .header-lower,.header-style-two .header-lower .main-box{min-height:82px!important;height:82px!important}.header-style-two .header-lower .logo-box{height:82px!important;min-height:82px!important;width:90px;min-width:90px!important;margin:0 8px 0 0!important;padding:4px!important}.header-style-two .header-lower .logo-box img{width:74px!important;height:74px!important}.header-style-two .header-lower .main-box{padding:0 18px 0 8px!important}.header-style-two .header-lower .mobile-nav-toggler{padding:20px 8px!important}}
.et-reference-gallery{position:relative;padding:38px 0 54px;background:radial-gradient(ellipse at 12% 16%,rgba(211,154,36,.06),transparent 28%),linear-gradient(180deg,#fff 0%,#fbfaf7 100%);isolation:isolate}
.et-reference-gallery:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:64%;background:radial-gradient(circle at 8% 38%,rgba(211,154,36,.10) 0 1px,transparent 2px),radial-gradient(circle at 88% 30%,rgba(16,43,75,.07) 0 1px,transparent 2px);background-size:22px 22px,28px 28px;opacity:.35}
.et-reference-gallery .auto-container{max-width:1600px}
.et-reference-heading{display:flex;align-items:center;justify-content:center;gap:16px;margin:0 0 28px;text-align:center}
.et-reference-heading:before,.et-reference-heading:after{content:"";display:block;flex:1 1 90px;max-width:120px;height:2px;background:linear-gradient(90deg,transparent,var(--et-gold))}
.et-reference-heading:after{background:linear-gradient(90deg,var(--et-gold),transparent)}
.et-reference-heading h2{margin:0;color:var(--et-navy);font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,2.55vw,40px);line-height:1.14;font-weight:700}
.et-reference-grid{display:grid;gap:14px;align-items:stretch}
.et-service-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.et-portfolio-grid-reference{grid-template-columns:repeat(5,minmax(0,1fr))}
.et-reference-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:100%;overflow:hidden;color:#fff!important;text-decoration:none!important;border:1px solid rgba(211,154,36,.42);border-radius:9px;background:var(--et-navy);box-shadow:0 12px 28px rgba(7,27,54,.15);isolation:isolate;transition:transform .22s ease,box-shadow .22s ease}
.et-reference-card:hover,.et-reference-card:focus-visible{color:#fff!important;transform:translateY(-5px);box-shadow:0 20px 34px rgba(7,27,54,.22),0 0 0 2px rgba(211,154,36,.55);outline:none}
.et-reference-card:focus-visible{outline:3px solid var(--et-gold);outline-offset:4px}
.et-reference-card-image{position:relative;display:block;height:clamp(150px,14vw,205px);overflow:hidden;background:#d9e0e9}
.et-reference-card-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .4s ease}
.et-reference-card:hover .et-reference-card-image img{transform:scale(1.055)}
.et-reference-card-image:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(180deg,transparent,rgba(7,27,54,.26));pointer-events:none}
.et-reference-card-body{position:relative;display:flex;flex:1 1 auto;flex-direction:column;align-items:center;min-height:190px;padding:34px 14px 17px;text-align:center;background:radial-gradient(ellipse at 50% 0%,rgba(211,154,36,.15),transparent 38%),linear-gradient(160deg,#0b2443 0%,#06182f 100%);border-top:3px solid var(--et-gold)}
.et-reference-card-body:before{content:"";position:absolute;top:-11px;left:-8%;right:-8%;height:18px;border-top:2px solid rgba(245,202,105,.85);border-radius:50% 50% 0 0/100% 100% 0 0;background:#0b2443}
.et-reference-card-icon{position:absolute;z-index:2;top:-34px;left:50%;display:flex;align-items:center;justify-content:center;width:58px;height:58px;transform:translateX(-50%);border:2px solid #f7d98c;border-radius:50%;color:#fff!important;background:linear-gradient(145deg,#d8a02e,#a97515);box-shadow:0 5px 15px rgba(0,0,0,.22);font-size:23px}
.et-reference-card-title{display:block;margin:0 0 9px;color:#fff!important;font-family:Georgia,"Times New Roman",serif;font-size:clamp(17px,1.27vw,21px);line-height:1.16;font-weight:700}
.et-reference-card-summary{display:block;margin:0 0 15px;color:rgba(255,255,255,.91);font-size:13px;line-height:1.48;font-weight:400}
.et-reference-card-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:132px;margin-top:auto;padding:9px 17px;border:1px solid rgba(255,255,255,.25);border-radius:24px;color:#071b36!important;background:linear-gradient(100deg,#e8b23f,#f4c95f);font-size:12px;line-height:1.2;font-weight:800;text-decoration:none!important;box-shadow:0 4px 10px rgba(0,0,0,.14)}
.et-reference-card-action i{transition:transform .2s ease}
.et-reference-card:hover .et-reference-card-action i{transform:translateX(4px)}
.et-reference-card-portfolio .et-reference-card-image{height:clamp(155px,13vw,190px)}
.et-reference-card-portfolio .et-reference-card-body{min-height:205px;padding-top:28px}
.et-reference-card-portfolio .et-reference-card-icon{width:48px;height:48px;top:-28px;font-size:19px}
.et-reference-gallery-portfolio{padding-top:20px;padding-bottom:74px;background:linear-gradient(180deg,#fbfaf7 0%,#f0f3f7 100%)}
.et-reference-gallery-portfolio .et-reference-heading{margin-bottom:26px}
.et-reference-card-portfolio .et-reference-card-title{font-size:clamp(16px,1.18vw,19px)}
.et-reference-card-portfolio .et-reference-card-summary{font-size:12.5px}
.et-reference-disclaimer{margin:26px auto 0;max-width:1000px;color:#687487;font-size:12px;line-height:1.6;text-align:center}
.et-portfolio-detail-hero{padding:66px 0 58px;color:#fff;background:linear-gradient(100deg,rgba(7,27,54,.90),rgba(7,27,54,.55)),linear-gradient(135deg,#0b2443,#172f4d);border-bottom:4px solid var(--et-gold)}
.et-portfolio-detail-hero h1{color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,4vw,48px);font-weight:700}
.et-portfolio-detail-image{display:block;width:100%;max-height:540px;object-fit:cover;border:1px solid rgba(211,154,36,.35);border-radius:10px;box-shadow:0 18px 42px rgba(7,27,54,.16)}
.et-portfolio-detail-content{padding:54px 0 68px;color:#334155;font-size:16px;line-height:1.85}
.et-portfolio-detail-content h2,.et-portfolio-detail-content h3{color:var(--et-navy);font-family:Georgia,serif}
.et-portfolio-detail-nav a{color:var(--et-navy);font-weight:700;text-decoration:none}
.et-portfolio-detail-nav a:hover{color:#a8791b}
@media(max-width:1199.98px){.et-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.et-portfolio-grid-reference{grid-template-columns:repeat(3,minmax(0,1fr))}.et-reference-card-image{height:190px}}
@media(max-width:767.98px){.et-reference-gallery{padding:30px 0 42px}.et-reference-gallery-portfolio{padding-top:10px}.et-reference-grid{gap:13px}.et-service-grid,.et-portfolio-grid-reference{grid-template-columns:repeat(2,minmax(0,1fr))}.et-reference-card-image,.et-reference-card-portfolio .et-reference-card-image{height:165px}.et-reference-card-body{min-height:195px;padding:32px 11px 15px}.et-reference-card-portfolio .et-reference-card-body{min-height:212px}.et-reference-card-title{font-size:17px}.et-reference-card-summary{font-size:12px;line-height:1.42}.et-reference-card-action{min-width:118px;padding:8px 12px;font-size:11px}}
@media(max-width:479.98px){.et-reference-grid{grid-template-columns:1fr}.et-reference-heading{gap:8px}.et-reference-heading:before,.et-reference-heading:after{max-width:42px}.et-reference-card-image,.et-reference-card-portfolio .et-reference-card-image{height:220px}.et-reference-card-body,.et-reference-card-portfolio .et-reference-card-body{min-height:185px}}

/* EquiTrust November 2026 public-site interaction and layout refinements */
:root{--et-navy:#071b36;--et-navy-2:#0d294b;--et-gold:#d39a24;--et-gold-light:#f1c45a;--et-ivory:#fbfaf7}
/* Header: compact background band; preserve logo and menu type size. */
.header-style-two .header-top{background:#071b36!important}
.header-style-two .header-lower{height:96px!important;min-height:96px!important;background:linear-gradient(105deg,rgba(255,255,255,.98),rgba(250,248,242,.97))!important;border-bottom:2px solid rgba(211,154,36,.85);box-shadow:0 7px 22px rgba(7,27,54,.08)}
.header-style-two .header-lower .main-box{display:grid!important;grid-template-columns:128px minmax(0,1fr) auto;gap:16px;align-items:center;height:96px!important;min-height:96px!important;padding:0 clamp(16px,3vw,48px)!important;margin:0 auto;width:100%;max-width:1920px}
.header-style-two .header-lower .logo-box{display:flex!important;align-items:center;justify-content:flex-start;width:118px!important;min-width:118px!important;height:90px!important;min-height:90px!important;margin:0!important;padding:0!important;background:radial-gradient(ellipse at 48% 50%,rgba(255,255,255,1) 0 42%,rgba(243,232,204,.68) 67%,transparent 72%)}
.header-style-two .header-lower .logo-box .logo,.header-style-two .header-lower .logo-box .logo a{display:flex;align-items:center;justify-content:center}
.header-style-two .header-lower .logo-box img{display:block;width:100px!important;height:82px!important;max-width:none!important;max-height:none!important;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(7,27,54,.22))}
.header-style-two .header-lower .nav-outer{display:flex!important;align-items:center;justify-content:center!important;width:100%!important;min-width:0;min-height:96px!important}
.header-style-two .header-lower .main-menu{display:block!important;width:100%}
.header-style-two .header-lower .main-menu .navigation{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap;gap:0;margin:0 auto;padding:0;min-height:96px!important;width:max-content;max-width:100%}
.header-style-two .header-lower .main-menu .navigation>li{position:relative;margin:0!important;padding:0 clamp(10px,1.15vw,19px)!important;border-left:1px solid rgba(211,154,36,.42)}
.header-style-two .header-lower .main-menu .navigation>li:first-child{border-left:0}
.header-style-two .header-lower .main-menu .navigation>li>a{display:flex;align-items:center;min-height:96px;padding:0!important;white-space:nowrap;font-size:15px!important;line-height:1.35!important;font-weight:700!important;letter-spacing:.025em;color:#102139!important}
.header-style-two .header-lower .main-menu .navigation>li.current>a,.header-style-two .header-lower .main-menu .navigation>li:hover>a{color:#a87411!important}
.header-style-two .header-lower .main-menu .navigation>li.dropdown>a:after{margin-left:7px}
.et-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;white-space:nowrap}
.et-language-switcher{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(7,27,54,.11);border-radius:8px;background:#fff;color:#0b2443}
.et-language-switcher i{color:#a97919;font-size:14px}
.et-language-switcher form{margin:0}
.et-language-switcher select{width:auto;max-width:112px;height:30px;padding:2px 22px 2px 4px;border:0;background:transparent;color:#102139;font-size:13px;box-shadow:none;outline:0}
.header-style-two .header-lower .outer-box{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0;padding:0}
.header-style-two .header-lower .outer-box .search-btn{display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0!important;border:1px solid rgba(211,154,36,.38)!important;border-radius:50%;background:#fff!important;color:#102139!important;line-height:1}
.header-style-two .header-lower .outer-box .search-btn:hover{background:#f4c85b!important;color:#071b36!important}
.header-style-two .header-lower .mobile-nav-toggler{display:none;color:#102139!important;font-size:26px}
.header-style-two .sticky-header{background:linear-gradient(105deg,#fff,#faf8f2)!important;border-bottom:2px solid rgba(211,154,36,.7);box-shadow:0 8px 24px rgba(7,27,54,.1)}
.header-style-two .sticky-header .inner-container{min-height:76px}
.header-style-two .sticky-header .logo img{width:78px;height:68px;object-fit:contain}
.header-style-two .mobile-menu .upper-box .nav-logo img{max-height:72px;width:auto}
@media(max-width:1399.98px){.header-style-two .header-lower .main-box{grid-template-columns:112px minmax(0,1fr) auto;gap:8px;padding:0 20px!important}.header-style-two .header-lower .logo-box{width:108px!important;min-width:108px!important}.header-style-two .header-lower .logo-box img{width:94px!important;height:80px!important}.header-style-two .header-lower .main-menu .navigation>li{padding:0 12px!important}.header-style-two .header-lower .main-menu .navigation>li>a{font-size:14px!important}}
@media(max-width:1099.98px){.header-style-two .header-lower .main-box{grid-template-columns:100px minmax(0,1fr) auto;gap:5px;padding:0 14px!important}.header-style-two .header-lower .main-menu .navigation>li{padding:0 8px!important}.header-style-two .header-lower .main-menu .navigation>li>a{font-size:13px!important}.et-language-switcher{padding:7px}.et-language-switcher select{max-width:84px}}
@media(max-width:991.98px){.header-style-two .header-lower,.header-style-two .header-lower .main-box{height:82px!important;min-height:82px!important}.header-style-two .header-lower .main-box{display:grid!important;grid-template-columns:96px 1fr auto;padding:0 16px!important}.header-style-two .header-lower .logo-box{height:80px!important;min-height:80px!important;width:92px!important;min-width:92px!important}.header-style-two .header-lower .logo-box img{width:86px!important;height:74px!important}.header-style-two .header-lower .nav-outer{display:none!important}.header-style-two .header-lower .mobile-nav-toggler{display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;padding:0!important}.et-language-switcher{display:none!important}.header-style-two .header-lower .outer-box .search-btn{width:40px;height:40px}}
@media(max-width:575.98px){.header-style-two .header-lower .main-box{padding:0 10px!important;grid-template-columns:86px 1fr auto}.header-style-two .header-lower .logo-box{width:84px!important;min-width:84px!important}.header-style-two .header-lower .logo-box img{width:80px!important;height:70px!important}.header-style-two .header-lower .outer-box{gap:3px}.header-style-two .header-lower .outer-box .search-btn{width:36px;height:36px}.header-style-two .header-lower .mobile-nav-toggler{width:38px;height:40px}}

/* Right-to-left layout keeps the same visual hierarchy. */
[dir="rtl"] .header-style-two .header-lower .main-menu .navigation>li{border-left:0;border-right:1px solid rgba(211,154,36,.42)}
[dir="rtl"] .header-style-two .header-lower .main-menu .navigation>li:first-child{border-right:0}

/* Featured services and portfolios: image-led navy/gold cards. */
.et-reference-gallery{padding-top:32px;padding-bottom:42px}
.et-reference-card-frame{position:relative;min-width:0;min-height:100%;isolation:isolate}
.et-reference-card-frame>.et-reference-card{height:100%;min-height:100%}
.et-card-share{position:absolute;z-index:8;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(7,27,54,.88);color:#f3c35a;font-size:14px;box-shadow:0 4px 12px rgba(0,0,0,.22);transition:transform .2s ease,background .2s ease}
.et-card-share:hover,.et-card-share:focus{background:#f0bf50;color:#071b36;transform:translateY(-2px);outline:2px solid #fff;outline-offset:2px}
.et-portfolio-intro{max-width:850px;margin:-10px auto 26px;text-align:center;color:#5a6575;line-height:1.65}
.et-reference-card-image img{object-position:center 48%}
.et-reference-card-body{background:radial-gradient(ellipse at 50% 0%,rgba(240,190,76,.21),transparent 42%),linear-gradient(160deg,#0b2443 0%,#06182f 100%)}
.et-reference-gallery-services{background:radial-gradient(ellipse at 12% 18%,rgba(211,154,36,.13),transparent 32%),radial-gradient(ellipse at 88% 76%,rgba(7,27,54,.09),transparent 35%),linear-gradient(180deg,#fff 0%,#f5f6f8 100%)}
.et-reference-gallery-portfolio{background:radial-gradient(ellipse at 20% 10%,rgba(211,154,36,.12),transparent 30%),linear-gradient(180deg,#fbfaf7,#edf1f6)}

/* Ticker: only headings move; detail text appears on hover or tap. */
.et-quick-ticker{position:relative;z-index:1200;display:flex;align-items:center;min-height:44px;overflow:visible;background:linear-gradient(100deg,#06172d,#0d2a4b 60%,#081d37);border-bottom:2px solid #d39a24;box-shadow:0 4px 12px rgba(7,27,54,.12);color:#fff}
.et-quick-ticker-label{position:relative;z-index:3;display:flex;align-items:center;gap:9px;align-self:stretch;flex:0 0 auto;padding:0 18px;background:linear-gradient(110deg,#d49b26,#efc55a);color:#071b36;font-size:11px;font-weight:900;letter-spacing:.13em;white-space:nowrap}
.et-live-dot{width:8px;height:8px;border-radius:50%;background:#0e5634;box-shadow:0 0 0 4px rgba(10,80,48,.14);animation:etPulse 1.8s infinite}
.et-quick-ticker-window{position:relative;flex:1 1 auto;min-width:0;clip-path:inset(-14px 0 -300px 0)}
.et-quick-ticker-track{display:flex;align-items:center;width:max-content;min-height:42px;animation:etTickerScroll 44s linear infinite;will-change:transform}
.et-quick-ticker:hover .et-quick-ticker-track,.et-quick-ticker:focus-within .et-quick-ticker-track{animation-play-state:paused}
.et-quick-ticker-item{position:relative;display:flex;align-items:center;min-height:42px}
.et-quick-ticker-trigger{display:inline-flex;align-items:center;gap:11px;min-height:42px;padding:0 24px;border:0;border-right:1px solid rgba(241,196,90,.38);background:transparent;color:#fff;font-size:13px;font-weight:700;letter-spacing:.01em;white-space:nowrap}
.et-quick-ticker-trigger:hover,.et-quick-ticker-trigger:focus{color:#f6cf6b;outline:0}
.et-ticker-separator{color:#efbd4c;font-size:9px}
.et-quick-ticker-trigger>i{font-size:9px;color:#d6ab55;opacity:.6}
.et-quick-ticker-popover{position:absolute;z-index:1400;top:calc(100% + 9px);left:10px;width:min(330px,calc(100vw - 36px));padding:17px 18px;border:1px solid rgba(211,154,36,.55);border-radius:11px;background:#fff;color:#26364a;box-shadow:0 18px 38px rgba(7,27,54,.23);opacity:0;visibility:hidden;transform:translateY(-7px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;white-space:normal}
.et-quick-ticker-popover:before{content:"";position:absolute;top:-7px;left:22px;width:13px;height:13px;background:#fff;border-left:1px solid rgba(211,154,36,.55);border-top:1px solid rgba(211,154,36,.55);transform:rotate(45deg)}
.et-quick-ticker-popover strong{display:block;margin-bottom:7px;color:#0b2443;font:700 17px/1.25 Georgia,serif}
.et-quick-ticker-popover p{margin:0 0 12px;color:#536173;font-size:13px;line-height:1.6}
.et-quick-ticker-popover button{border:0;border-radius:20px;padding:7px 12px;background:#0b2443;color:#f2c65e;font-size:12px;font-weight:700}
.et-quick-ticker-item:hover .et-quick-ticker-popover,.et-quick-ticker-item:focus-within .et-quick-ticker-popover,.et-quick-ticker-item.is-open .et-quick-ticker-popover{opacity:1;visibility:visible;transform:translateY(0)}
@keyframes etTickerScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes etPulse{0%,100%{box-shadow:0 0 0 3px rgba(10,80,48,.15)}50%{box-shadow:0 0 0 6px rgba(10,80,48,.04)}}
@media(prefers-reduced-motion:reduce){.et-quick-ticker-track{animation:none}.et-live-dot{animation:none}}
@media(max-width:767.98px){.et-quick-ticker{min-height:42px}.et-quick-ticker-label{padding:0 11px;font-size:10px}.et-quick-ticker-trigger{gap:8px;padding:0 17px;font-size:12px}.et-quick-ticker-popover{position:fixed;top:130px;left:12px;right:12px;width:auto}.et-quick-ticker-popover:before{display:none}}

/* Fixed badge is intentionally compact and never blocks the content column. */
.et-brand-side-badge{position:fixed;z-index:900;left:14px;top:50%;display:flex;align-items:center;gap:9px;max-width:196px;padding:8px 11px 8px 8px;border:1px solid rgba(211,154,36,.6);border-radius:0 12px 12px 0;background:linear-gradient(105deg,rgba(255,255,255,.97),rgba(246,242,231,.96));box-shadow:0 10px 28px rgba(7,27,54,.13);transform:translateY(-50%);pointer-events:none}
.et-brand-side-mark{display:flex;align-items:center;justify-content:center;flex:0 0 35px;width:35px;height:35px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(7,27,54,.12)}
.et-brand-side-mark img{display:block;width:32px;height:32px;object-fit:contain}
.et-brand-side-copy{display:flex;flex-direction:column;min-width:0;gap:2px}
.et-brand-side-copy strong{color:#0b2443;font:700 11px/1.18 Georgia,serif}
.et-brand-side-copy small{color:#6c7582;font-size:9px;line-height:1.25}
@media(max-width:767.98px){.et-brand-side-badge{left:6px;max-width:42px;padding:5px;border-radius:0 10px 10px 0}.et-brand-side-mark{width:30px;height:30px;flex-basis:30px}.et-brand-side-mark img{width:28px;height:28px}.et-brand-side-copy{display:none}}

/* Expandable contact cluster bottom-left; independent of Tawk at bottom-right. */
.et-contact-launcher{position:fixed;z-index:1100;left:18px;bottom:22px;display:flex;align-items:flex-end;gap:10px}
.et-contact-launcher-toggle,.et-floating-share{display:flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.9);border-radius:50%;box-shadow:0 8px 22px rgba(7,27,54,.23);transition:transform .22s ease,background .22s ease}
.et-contact-launcher-toggle{width:58px;height:58px;background:linear-gradient(145deg,#d7a02f,#f3c65a);color:#071b36;font-size:23px}
.et-contact-launcher-toggle:hover,.et-floating-share:hover{transform:translateY(-3px) scale(1.03)}
.et-launcher-close{display:none}
.et-contact-launcher.is-open .et-launcher-open{display:none}
.et-contact-launcher.is-open .et-launcher-close{display:inline-block}
.et-floating-share{width:42px;height:42px;margin-bottom:7px;background:#0b2443;color:#f2c45a;font-size:15px}
.et-contact-launcher-panel{position:absolute;left:0;bottom:70px;display:flex;flex-direction:column;gap:7px;width:242px;padding:14px;border:1px solid rgba(211,154,36,.5);border-radius:15px;background:linear-gradient(160deg,#fff,#f7f5ef);box-shadow:0 18px 42px rgba(7,27,54,.2);opacity:0;visibility:hidden;transform:translateY(14px) scale(.97);transform-origin:bottom left;transition:opacity .22s ease,transform .22s ease,visibility .22s ease}
.et-contact-launcher.is-open .et-contact-launcher-panel{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.et-contact-panel-heading{display:flex;flex-direction:column;gap:3px;padding:2px 3px 9px;border-bottom:1px solid rgba(211,154,36,.3)}
.et-contact-panel-heading strong{color:#0b2443;font:700 16px/1.2 Georgia,serif}
.et-contact-panel-heading small{color:#667386;font-size:11px}
.et-contact-channel{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:8px;color:#17263a;text-decoration:none!important;font-size:13px;font-weight:700;transition:background .15s ease,transform .15s ease}
.et-contact-channel i{display:flex;align-items:center;justify-content:center;width:23px;font-size:18px;color:#b17d19}
.et-contact-channel:hover{background:#f1e8d1;color:#071b36;transform:translateX(3px)}
.et-contact-whatsapp i{color:#188b56}.et-contact-facebook i{color:#2166c2}.et-contact-instagram i{color:#ae3d78}.et-contact-twitter i{color:#152b44}.et-contact-tiktok i{color:#111}.et-contact-email i{color:#b17d19}
.et-contact-empty{margin:5px;color:#697586;font-size:12px;line-height:1.5}
.et-inline-share{display:flex;align-items:center;gap:11px;margin:22px 0;padding:13px 15px;border:1px solid rgba(211,154,36,.28);border-radius:9px;background:linear-gradient(90deg,#fbfaf7,#fff)}
.et-inline-share-label{display:flex;align-items:center;gap:8px;color:#0b2443;font-weight:700;font-size:13px}
.et-inline-share-label i{color:#b17d19}
.et-inline-share button{display:inline-flex;align-items:center;gap:7px;padding:8px 15px;border:0;border-radius:22px;background:#0b2443;color:#f3c65e;font-size:12px;font-weight:800}
.et-share-toast{position:fixed;z-index:2000;left:50%;bottom:28px;padding:11px 18px;border-radius:24px;background:#071b36;color:#fff;font-size:13px;box-shadow:0 8px 25px rgba(0,0,0,.2);opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:opacity .2s ease,transform .2s ease}
.et-share-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:767.98px){.et-contact-launcher{left:12px;bottom:14px;gap:7px}.et-contact-launcher-toggle{width:52px;height:52px;font-size:21px}.et-floating-share{width:38px;height:38px;margin-bottom:6px}.et-contact-launcher-panel{width:min(238px,calc(100vw - 24px));bottom:64px}.et-inline-share{flex-wrap:wrap}}

/* Homepage testimonials restored from authentic administrator-entered records. */
.et-home-testimonials{position:relative;padding:58px 0 64px;background:radial-gradient(ellipse at 12% 0,rgba(211,154,36,.13),transparent 35%),linear-gradient(180deg,#f7f8fa,#fff)}.et-testimonials-heading{text-align:center;max-width:840px;margin:0 auto 28px}.et-testimonials-heading>span{display:block;margin-bottom:8px;color:#ad7c1d;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.et-testimonials-heading h2{color:#071b36;font:700 clamp(28px,3vw,40px)/1.15 Georgia,serif}.et-testimonials-heading p{color:#657184;font-size:14px;line-height:1.6}.et-testimonials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.et-testimonial-card{padding:23px 22px;border:1px solid rgba(211,154,36,.28);border-radius:12px;background:#fff;box-shadow:0 12px 28px rgba(7,27,54,.08)}.et-testimonial-stars{margin-bottom:13px;color:#d69d2e;font-size:12px;letter-spacing:2px}.et-testimonial-card blockquote{min-height:105px;margin:0 0 18px;color:#26374c;font:italic 16px/1.65 Georgia,serif}.et-testimonial-author{display:flex;align-items:center;gap:11px;border-top:1px solid #edf0f4;padding-top:14px}.et-testimonial-author img{width:46px;height:46px;object-fit:cover;border-radius:50%;border:2px solid #e6bd60}.et-testimonial-author span{display:flex;flex-direction:column;gap:3px}.et-testimonial-author strong{color:#0b2443;font-size:13px}.et-testimonial-author small{color:#788293;font-size:11px}.et-testimonials-link{color:#9c6f16;font-size:13px;font-weight:800;text-decoration:none}.et-testimonials-link:hover{color:#071b36}@media(max-width:991.98px){.et-testimonials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575.98px){.et-testimonials-grid{grid-template-columns:1fr}.et-testimonial-card blockquote{min-height:0}}


/* Final, reference-locked header geometry: moderate background height, prominent unchanged logo/text. */
.header-style-two .header-lower{height:96px!important;min-height:96px!important;background:radial-gradient(ellipse at 9% 50%,rgba(211,154,36,.16),transparent 22%),radial-gradient(ellipse at 90% 48%,rgba(16,43,75,.09),transparent 23%),linear-gradient(108deg,#fff 0%,#faf8f2 48%,#fff 100%)!important;border-bottom:2px solid rgba(211,154,36,.72)!important;box-shadow:0 7px 22px rgba(7,27,54,.09)!important}
.header-style-two .header-lower .main-box{display:grid!important;grid-template-columns:124px minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important;width:100%;max-width:1920px;margin:0 auto;padding:0 clamp(16px,2.8vw,42px)!important;height:96px!important;min-height:96px!important}
.header-style-two .header-lower .logo-box{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:116px!important;min-width:116px!important;height:92px!important;min-height:92px!important;margin:0!important;padding:0!important;background:radial-gradient(ellipse at 48% 50%,rgba(255,255,255,1) 0 43%,rgba(243,232,204,.7) 68%,transparent 73%)!important}
.header-style-two .header-lower .logo-box img{display:block!important;width:90px!important;height:86px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;filter:drop-shadow(0 3px 4px rgba(7,27,54,.23))}
.header-style-two .header-lower .nav-outer{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;height:96px!important;min-height:96px!important}
.header-style-two .header-lower .main-menu{display:block!important;width:100%!important}
.header-style-two .header-lower .main-menu .navigation{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:0!important;width:max-content;max-width:100%;margin:0 auto!important;padding:0!important;height:96px!important;min-height:96px!important}
.header-style-two .header-lower .main-menu .navigation>li{position:relative!important;margin:0!important;padding:0 clamp(10px,1.05vw,17px)!important;border-left:1px solid rgba(179,128,28,.43)!important}
.header-style-two .header-lower .main-menu .navigation>li:first-child{border-left:0!important}
.header-style-two .header-lower .main-menu .navigation>li>a{display:flex!important;align-items:center!important;min-height:96px!important;padding:0!important;white-space:nowrap!important;font-size:15px!important;line-height:1.35!important;font-weight:750!important;letter-spacing:.025em!important;color:#102139!important}
.header-style-two .header-lower .main-menu .navigation>li.current>a,.header-style-two .header-lower .main-menu .navigation>li:hover>a{color:#a87411!important}
.header-style-two .header-lower .et-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;white-space:nowrap!important}
.header-style-two .header-lower .et-language-switcher{display:flex!important;align-items:center!important;gap:7px!important;padding:7px 9px!important;border:1px solid rgba(7,27,54,.12)!important;border-radius:9px!important;background:rgba(255,255,255,.92)!important}
.header-style-two .header-lower .et-language-switcher select{max-width:105px!important;height:29px!important;font-size:13px!important}
.header-style-two .header-lower .outer-box{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:0!important;padding:0!important}
.header-style-two .header-lower .outer-box .search-btn{width:42px!important;height:42px!important;border:1px solid rgba(211,154,36,.52)!important;border-radius:50%!important;background:#fff!important;color:#102139!important}
.header-style-two .header-lower .outer-box .search-btn:hover{background:#efbd4c!important;color:#071b36!important}
.header-style-two .header-lower .mobile-nav-toggler{display:none!important}
.header-style-two .sticky-header{background:linear-gradient(105deg,#fff,#faf8f2)!important;border-bottom:2px solid rgba(211,154,36,.7)!important}
.header-style-two .sticky-header .logo img{width:78px!important;height:70px!important;object-fit:contain!important}
/* Cards retain medium-large photographs and the same navy/gold panel construction. */
.et-reference-card-image{height:clamp(180px,15vw,220px)!important}
.et-reference-card-portfolio .et-reference-card-image{height:clamp(180px,14vw,210px)!important}
.et-reference-card-title{font-size:clamp(16px,1.15vw,20px)!important;line-height:1.18!important}
.et-reference-card-summary{font-size:13px!important;line-height:1.48!important}
@media(max-width:1199.98px){.header-style-two .header-lower .main-box{grid-template-columns:112px minmax(0,1fr) auto!important;gap:9px!important;padding:0 18px!important}.header-style-two .header-lower .logo-box{width:106px!important;min-width:106px!important}.header-style-two .header-lower .logo-box img{width:88px!important;height:82px!important}.header-style-two .header-lower .main-menu .navigation>li{padding:0 9px!important}.header-style-two .header-lower .main-menu .navigation>li>a{font-size:15px!important}.header-style-two .header-lower .et-header-actions{gap:6px!important}}
@media(max-width:1099.98px){.header-style-two .header-lower,.header-style-two .header-lower .main-box{height:88px!important;min-height:88px!important}.header-style-two .header-lower .main-box{grid-template-columns:112px 1fr auto!important;padding:0 16px!important}.header-style-two .header-lower .nav-outer{display:none!important}.header-style-two .header-lower .logo-box{height:86px!important;min-height:86px!important}.header-style-two .header-lower .logo-box img{width:88px!important;height:82px!important}.header-style-two .header-lower .mobile-nav-toggler{display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;color:#102139!important;font-size:26px!important}.header-style-two .header-lower .et-header-actions{grid-column:3;gap:8px!important}.header-style-two .header-lower .et-language-switcher{display:flex!important}.header-style-two .header-lower .et-language-switcher select{max-width:88px!important}}
@media(max-width:767.98px){.header-style-two .header-lower,.header-style-two .header-lower .main-box{height:82px!important;min-height:82px!important}.header-style-two .header-lower .main-box{grid-template-columns:92px 1fr auto!important;padding:0 12px!important}.header-style-two .header-lower .logo-box{width:88px!important;min-width:88px!important;height:80px!important;min-height:80px!important}.header-style-two .header-lower .logo-box img{width:82px!important;height:76px!important}.header-style-two .header-lower .et-language-switcher{display:none!important}.header-style-two .header-lower .outer-box .search-btn{width:38px!important;height:38px!important}}
@media(max-width:575.98px){.header-style-two .header-lower .main-box{grid-template-columns:82px 1fr auto!important;padding:0 9px!important}.header-style-two .header-lower .logo-box{width:80px!important;min-width:80px!important}.header-style-two .header-lower .logo-box img{width:76px!important;height:72px!important}.header-style-two .header-lower .outer-box{gap:4px!important}}

/* Accessible desktop share chooser used when the browser has no native share sheet. */
.et-share-menu{position:fixed;z-index:2200;left:50%;top:50%;width:min(420px,calc(100vw - 28px));padding:20px;border:1px solid rgba(211,154,36,.55);border-radius:16px;background:linear-gradient(155deg,#fff,#f5f2e9);box-shadow:0 22px 65px rgba(4,20,39,.28);transform:translate(-50%,-50%);color:#102139}
.et-share-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid rgba(211,154,36,.32)}
.et-share-menu-heading strong{color:#071b36;font:700 19px/1.2 Georgia,serif}
.et-share-menu-close{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:50%;background:#eaeef2;color:#0b2443;font-size:22px;line-height:1}
.et-share-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.et-share-menu-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:76px;padding:10px 6px;border:1px solid rgba(7,27,54,.1);border-radius:10px;background:#fff;color:#162a43;text-decoration:none!important;font-size:11px;font-weight:800;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.et-share-menu-grid a i{font-size:21px;color:#b27d18}
.et-share-menu-grid a:hover{transform:translateY(-3px);border-color:#d39a24;box-shadow:0 7px 18px rgba(7,27,54,.1)}
.et-share-menu-copy{display:block;width:100%;margin-top:13px;padding:10px 14px;border:0;border-radius:9px;background:#0b2443;color:#f2c45a;font-size:13px;font-weight:800}



/* =========================================================
   EQUITRUST HEADER + QUICK UPDATES POSITIONING FIX
   Step 1 — November 2026
   ========================================================= */

/* Keep the ticker in normal document flow */
.et-quick-ticker {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    z-index: 1005 !important;
    clear: both !important;
}

/* The header must follow the ticker, not overlap it */
.main-header.header-style-two {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    z-index: 1000 !important;
}

/* Keep the header background compact */
.header-style-two .header-lower {
    position: relative !important;
    height: 96px !important;
    min-height: 96px !important;
    margin: 0 !important;
}

/* Three-column navigation:
   Logo LEFT | Menu CENTER | Language and Search RIGHT */
.header-style-two .header-lower .main-box {
    display: grid !important;
    grid-template-columns: 125px minmax(0, 1fr) auto !important;
    align-items: center !important;
    width: 100% !important;
    height: 96px !important;
    min-height: 96px !important;
    padding: 0 30px !important;
    gap: 15px !important;
}

/* Logo: preserve its prominent size */
.header-style-two .header-lower .logo-box {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 120px !important;
    min-width: 120px !important;
    height: 92px !important;
    min-height: 92px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-style-two .header-lower .logo-box img {
    display: block !important;
    width: 90px !important;
    height: 86px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    filter: drop-shadow(0 3px 5px rgba(7, 27, 54, .20));
}

/* Centre the menu */
.header-style-two .header-lower .nav-outer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.header-style-two .header-lower .main-menu {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.header-style-two .header-lower .main-menu .navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-height: 96px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: clamp(20px, 2.2vw, 36px) !important;
}

/* Remove the unwanted vertical borders around menu links */
.header-style-two .header-lower .main-menu .navigation > li {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Clean, readable menu labels */
.header-style-two .header-lower .main-menu .navigation > li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 96px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
    color: #102139 !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    letter-spacing: .025em !important;
    transition: color .2s ease !important;
}

/* Gold hover and active state, without boxes or divider lines */
.header-style-two .header-lower .main-menu .navigation > li > a:hover,
.header-style-two .header-lower .main-menu .navigation > li.current > a {
    color: #b27b16 !important;
}

/* Subtle underline only for the active menu item */
.header-style-two .header-lower .main-menu .navigation > li.current > a:after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 29px !important;
    height: 2px !important;
    border: 0 !important;
    background: #d39a24 !important;
}

/* Language and search remain on the RIGHT */
.header-style-two .header-lower .et-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* Remove any unwanted menu separators inherited from the theme */
.header-style-two .header-lower .main-menu .navigation > li:before,
.header-style-two .header-lower .main-menu .navigation > li:after {
    border: 0 !important;
    box-shadow: none !important;
}

/* Keep ticker detail popups above the header */
.et-quick-ticker-popover {
    z-index: 1100 !important;
}

/* Laptop and tablet */
@media (max-width: 1199.98px) {
    .header-style-two .header-lower .main-box {
        grid-template-columns: 110px minmax(0, 1fr) auto !important;
        padding: 0 18px !important;
        gap: 8px !important;
    }

    .header-style-two .header-lower .main-menu .navigation {
        gap: 16px !important;
    }

    .header-style-two .header-lower .main-menu .navigation > li > a {
        font-size: 14px !important;
    }
}

/* Mobile navigation */
@media (max-width: 1099.98px) {
    .header-style-two .header-lower,
    .header-style-two .header-lower .main-box {
        height: 82px !important;
        min-height: 82px !important;
    }

    .header-style-two .header-lower .main-box {
        display: flex !important;
        justify-content: space-between !important;
        padding: 0 16px !important;
    }

    .header-style-two .header-lower .nav-outer {
        display: none !important;
    }

    .header-style-two .header-lower .logo-box {
        height: 80px !important;
        min-height: 80px !important;
    }

    .header-style-two .header-lower .logo-box img {
        width: 78px !important;
        height: 74px !important;
    }

    .header-style-two .header-lower .mobile-nav-toggler {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        color: #102139 !important;
        font-size: 26px !important;
    }
}



/* Remove the thin underline beneath menu links */
.header-style-two .header-lower .main-menu .navigation > li.current > a:after,
.header-style-two .header-lower .main-menu .navigation > li.current > a:before,
.header-style-two .header-lower .main-menu .navigation > li > a:after,
.header-style-two .header-lower .main-menu .navigation > li > a:before {
    display: none !important;
    content: none !important;
    border: none !important;
    box-shadow: none !important;
}



/* =====================================================
   EQUITRUST STEP 2: COMPACT LEGAL SERVICE CARDS
   Applies to homepage and Our Services page only.
   Portfolio cards remain unchanged.
   ===================================================== */

/* Reduce the outer service section spacing */
.et-reference-gallery-services {
    padding-top: 25px !important;
    padding-bottom: 34px !important;
}

/* Reduce heading spacing */
.et-reference-gallery-services .et-reference-heading {
    margin-bottom: 19px !important;
}

.et-reference-gallery-services .et-reference-heading h2 {
    font-size: clamp(25px, 2.2vw, 32px) !important;
    line-height: 1.15 !important;
}

/* Tighter spacing between cards */
.et-reference-gallery-services .et-service-grid {
    gap: 12px !important;
    align-items: stretch !important;
}

/* Keep each service card compact */
.et-reference-gallery-services .et-reference-card-service {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(7, 27, 54, .13) !important;
}

/* Medium-sized service photographs */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-image {
    display: block !important;
    flex: 0 0 155px !important;
    width: 100% !important;
    height: 155px !important;
    min-height: 155px !important;
    max-height: 155px !important;
    overflow: hidden !important;
}

.et-reference-gallery-services
.et-reference-card-service .et-reference-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .35s ease !important;
}

.et-reference-gallery-services
.et-reference-card-service:hover .et-reference-card-image img {
    transform: scale(1.045) !important;
}

/* Shorter navy-and-gold information panel */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-body {
    display: flex !important;
    flex: 0 0 184px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 184px !important;
    min-height: 184px !important;
    max-height: 184px !important;
    box-sizing: border-box !important;
    padding: 27px 10px 10px !important;
    border-top: 2px solid #d39a24 !important;
    overflow: hidden !important;
}

/* Smaller but prominent gold icon */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-icon {
    top: -24px !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 18px !important;
    border-width: 2px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2) !important;
}

/* Compact service titles */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: 39px !important;
    margin: 0 0 5px !important;
    font-size: clamp(14px, 1.05vw, 17px) !important;
    line-height: 1.14 !important;
    font-weight: 700 !important;
}

/* Limit descriptions to four neat lines */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-summary {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    overflow: hidden !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    color: rgba(255, 255, 255, .91) !important;
    font-size: 11.5px !important;
    line-height: 1.34 !important;
    font-weight: 400 !important;
}

/* Smaller, sharper Read More button */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    min-width: 112px !important;
    min-height: 29px !important;
    margin-top: auto !important;
    padding: 7px 13px !important;
    border-radius: 20px !important;
    font-size: 10.5px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
}

/* Tablet */
@media (max-width: 1199.98px) {
    .et-reference-gallery-services
    .et-reference-card-service .et-reference-card-image {
        flex-basis: 160px !important;
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }

    .et-reference-gallery-services
    .et-reference-card-service .et-reference-card-body {
        flex-basis: 180px !important;
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }

    .et-reference-gallery-services
    .et-reference-card-service .et-reference-card-title {
        font-size: 16px !important;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .et-reference-gallery-services {
        padding-top: 22px !important;
        padding-bottom: 28px !important;
    }

    .et-reference-gallery-services .et-service-grid {
        gap: 12px !important;
    }

    .et-reference-gallery-services
    .et-reference-card-service .et-reference-card-image {
        flex-basis: 150px !important;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }

    .et-reference-gallery-services
    .et-reference-card-service .et-reference-card-body {
        flex-basis: 178px !important;
        height: 178px !important;
        min-height: 178px !important;
        max-height: 178px !important;
        padding: 26px 9px 10px !important;
    }
}

/* Very small phones */
@media (max-width: 479.98px) {
    .et-reference-gallery-services
    .et-reference-card-service .et-reference-card-image {
        flex-basis: 175px !important;
        height: 175px !important;
        min-height: 175px !important;
        max-height: 175px !important;
    }

    .et-reference-gallery-services
    .et-reference-card-service .et-reference-card-body {
        flex-basis: 170px !important;
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
    }
}



/* =====================================================
   EQUITRUST STEP 2 FIX: ICON AND TITLE VISIBILITY
   ===================================================== */

/* Allow the icon to sit completely inside the navy panel */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-body {
    position: relative !important;
    overflow: visible !important;
    padding-top: 35px !important;
}

/* Position the complete circular icon above the title */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-icon {
    position: absolute !important;
    top: -23px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #d39a24 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .22) !important;
}

/* Keep the complete service title visible */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-title {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 0 0 7px !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    white-space: normal !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

/* Prevent the description from colliding with the button */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-summary {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 8px !important;
}

/* Keep button visible */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-action {
    position: relative !important;
    z-index: 2 !important;
    margin-top: auto !important;
}

/* Slightly increase panel height to accommodate the title */
.et-reference-gallery-services
.et-reference-card-service .et-reference-card-body {
    height: 195px !important;
    min-height: 195px !important;
    max-height: 195px !important;
    flex-basis: 195px !important;
}

/* Mobile adjustment */
@media (max-width: 767.98px) {
    .et-reference-gallery-services
    .et-reference-card-service .et-reference-card-body {
        height: 190px !important;
        min-height: 190px !important;
        max-height: 190px !important;
        flex-basis: 190px !important;
        padding-top: 34px !important;
    }
}



/* =====================================================
   STEP 3A: SPACE BETWEEN SERVICES AND GET TO KNOW US
   ===================================================== */

.et-reference-gallery-services {
    padding-top: 28px !important;
    padding-bottom: 85px !important;
    margin-bottom: 0 !important;
}

/* Keep the next section visually separated */
.et-reference-gallery-services + section {
    margin-top: 0 !important;
    padding-top: 55px !important;
}

@media (max-width: 767.98px) {
    .et-reference-gallery-services {
        padding-bottom: 55px !important;
    }

    .et-reference-gallery-services + section {
        padding-top: 35px !important;
    }
}



/* =====================================================
   STEP 3B: RESTORE CONTACT SECTION IMAGE
   ===================================================== */

.contact-section {
    position: relative !important;
    overflow: hidden !important;
}

.contact-section .image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    z-index: 0 !important;
}

.contact-section .image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.contact-section .container,
.contact-section .auto-container {
    position: relative !important;
    z-index: 2 !important;
}

.contact-section .contact-form {
    position: relative !important;
    z-index: 3 !important;
}


/* ============================================================
   EQUITRUST: COMPACT PORTFOLIO CARDS
   Append this file's contents to the bottom of
   public/dist-front/css/equitrust-brand-refresh.css
   ============================================================ */

.et-reference-gallery-portfolio {
    padding-top: 24px !important;
    padding-bottom: 42px !important;
}

.et-reference-gallery-portfolio .et-reference-heading {
    margin-bottom: 15px !important;
}

.et-reference-gallery-portfolio .et-portfolio-intro {
    max-width: 850px;
    margin: 0 auto 18px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.et-reference-gallery-portfolio .et-portfolio-grid-reference {
    gap: 14px !important;
    align-items: stretch !important;
}

.et-reference-gallery-portfolio .et-reference-card-frame {
    position: relative !important;
    min-width: 0 !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio {
    display: flex !important;
    flex-direction: column !important;
    height: 326px !important;
    min-height: 326px !important;
    overflow: visible !important;
    border-radius: 9px !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-image {
    display: block !important;
    flex: 0 0 156px !important;
    width: 100% !important;
    height: 156px !important;
    min-height: 156px !important;
    max-height: 156px !important;
    overflow: hidden !important;
    border-radius: 9px 9px 0 0 !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform .35s ease !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio:hover .et-reference-card-image img {
    transform: scale(1.035) !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-body {
    position: relative !important;
    display: flex !important;
    flex: 0 0 170px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 170px !important;
    min-height: 170px !important;
    max-height: 170px !important;
    padding: 29px 10px 9px !important;
    overflow: visible !important;
    border-top: 2px solid #d39a24 !important;
    border-radius: 0 0 9px 9px !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-icon {
    position: absolute !important;
    top: -22px !important;
    left: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 43px !important;
    height: 43px !important;
    min-width: 43px !important;
    min-height: 43px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    background: #d39a24 !important;
    color: #071b36 !important;
    font-size: 17px !important;
    z-index: 3 !important;
    box-shadow: 0 3px 9px rgba(0,0,0,.2) !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-title {
    display: -webkit-box !important;
    width: 100% !important;
    max-height: 36px !important;
    min-height: 0 !important;
    margin: 0 0 4px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    color: #fff !important;
    font-size: clamp(14px, 1vw, 16px) !important;
    font-weight: 750 !important;
    line-height: 1.12 !important;
    text-align: center !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-summary {
    display: -webkit-box !important;
    width: 100% !important;
    max-height: 42px !important;
    margin: 0 0 5px !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    color: rgba(255,255,255,.9) !important;
    font-size: 11px !important;
    line-height: 1.28 !important;
    text-align: center !important;
}

.et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 105px !important;
    min-height: 26px !important;
    margin: auto 0 0 !important;
    padding: 6px 11px !important;
    border-radius: 18px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
}

.et-reference-gallery-portfolio .et-card-share {
    right: 8px !important;
    top: 8px !important;
    z-index: 6 !important;
}

.et-reference-gallery-portfolio .et-reference-disclaimer {
    margin-top: 16px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

@media (max-width: 1199.98px) {
    .et-reference-gallery-portfolio .et-reference-card-portfolio {
        height: 330px !important;
        min-height: 330px !important;
    }

    .et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-image {
        flex-basis: 158px !important;
        height: 158px !important;
        min-height: 158px !important;
        max-height: 158px !important;
    }

    .et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-body {
        flex-basis: 172px !important;
        height: 172px !important;
        min-height: 172px !important;
        max-height: 172px !important;
    }
}

@media (max-width: 767.98px) {
    .et-reference-gallery-portfolio {
        padding-top: 20px !important;
        padding-bottom: 32px !important;
    }

    .et-reference-gallery-portfolio .et-portfolio-grid-reference {
        gap: 12px !important;
    }

    .et-reference-gallery-portfolio .et-reference-card-portfolio {
        height: 320px !important;
        min-height: 320px !important;
    }

    .et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-image {
        flex-basis: 150px !important;
        height: 150px !important;
        min-height: 150px !important;
        max-height: 150px !important;
    }

    .et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-body {
        flex-basis: 170px !important;
        height: 170px !important;
        min-height: 170px !important;
        max-height: 170px !important;
    }
}

@media (max-width: 479.98px) {
    .et-reference-gallery-portfolio .et-reference-card-portfolio {
        height: 340px !important;
        min-height: 340px !important;
    }

    .et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-image {
        flex-basis: 180px !important;
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }

    .et-reference-gallery-portfolio .et-reference-card-portfolio .et-reference-card-body {
        flex-basis: 160px !important;
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }
}


/*
  EQUITRUST LP — PORTFOLIO / FUN FACTS SPACING + COMPACT FUN FACTS
  IMPORTANT: Replace the contents of the previous spacing-fix CSS with this file.
  Do not append the old spacing rules again.
*/

/* Portfolio: finish the section cleanly without creating an oversized gap. */
section.et-reference-gallery.et-reference-gallery-portfolio {
    display: flow-root;
    position: relative;
    clear: both;
    margin: 0 !important;
    padding: 28px 0 42px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
}

section.et-reference-gallery-portfolio .et-reference-grid {
    margin-bottom: 0 !important;
}

/* Fun Facts: compact vertical footprint and a deliberate gap after Portfolio. */
section.fun-fact-section-new-3 {
    display: flow-root;
    position: relative;
    clear: both;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 42px 0 44px !important;
}

section.fun-fact-section-new-3 > .auto-container {
    height: auto !important;
    min-height: 0 !important;
}

section.fun-fact-section-new-3 .outer-box {
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

section.fun-fact-section-new-3 .outer-box > .row {
    align-items: center;
    row-gap: 18px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

section.fun-fact-section-new-3 .title-column,
section.fun-fact-section-new-3 .column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

section.fun-fact-section-new-3 .inner-column {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

section.fun-fact-section-new-3 .sec-title {
    margin-bottom: 0 !important;
}

section.fun-fact-section-new-3 .sec-title .sub-title {
    display: block;
    margin-bottom: 7px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

section.fun-fact-section-new-3 .sec-title h2 {
    margin: 0 0 10px !important;
    font-size: clamp(24px, 2.4vw, 34px) !important;
    line-height: 1.16 !important;
}

section.fun-fact-section-new-3 .sec-title .text {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

section.fun-fact-section-new-3 .fact-counter {
    margin: 0 !important;
    padding: 0 !important;
}

section.fun-fact-section-new-3 .fact-counter > .row {
    align-items: stretch;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

section.fun-fact-section-new-3 .counter-block-new-3 {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

section.fun-fact-section-new-3 .counter-block-new-3 .inner {
    height: 100%;
    min-height: 0 !important;
    padding: 10px 6px !important;
}

section.fun-fact-section-new-3 .counter-block-new-3 .content {
    padding: 0 !important;
}

section.fun-fact-section-new-3 .counter-block-new-3 .icon {
    margin-bottom: 7px !important;
    font-size: 25px !important;
    line-height: 1.1 !important;
}

section.fun-fact-section-new-3 .counter-block-new-3 .count-box {
    margin: 0 0 5px !important;
    line-height: 1 !important;
}

section.fun-fact-section-new-3 .counter-block-new-3 .count-text {
    font-size: clamp(25px, 2.4vw, 34px) !important;
    line-height: 1 !important;
}

section.fun-fact-section-new-3 .counter-block-new-3 .counter-title {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

/* Smaller screens: retain breathing room without a tall block. */
@media (max-width: 991.98px) {
    section.et-reference-gallery.et-reference-gallery-portfolio {
        padding-bottom: 34px !important;
    }

    section.fun-fact-section-new-3 {
        padding: 34px 0 36px !important;
    }
}

@media (max-width: 767.98px) {
    section.et-reference-gallery.et-reference-gallery-portfolio {
        padding-top: 22px !important;
        padding-bottom: 28px !important;
    }

    section.fun-fact-section-new-3 {
        padding: 28px 0 30px !important;
    }

    section.fun-fact-section-new-3 .sec-title h2 {
        font-size: 25px !important;
    }

    section.fun-fact-section-new-3 .sec-title .text {
        font-size: 13px !important;
    }

    section.fun-fact-section-new-3 .counter-block-new-3 .inner {
        padding: 8px 4px !important;
    }
}
