/* Elementor-editable Insights directory. Scoped so article templates remain unchanged. */
.tma-insights-page{
  --insights-navy:#001b44;
  --insights-ink:#123b54;
  --insights-muted:#526b79;
  --insights-gold:#c9aa78;
  --insights-ivory:#f7f5f0;
  --insights-mist:#edf3ef;
  --insights-line:rgba(0,27,68,.2);
  width:100%;
  max-width:none;
  overflow-x:clip;
  background:var(--insights-ivory);
  color:var(--insights-ink);
}
.tma-insights-page *,
.tma-insights-page *::before,
.tma-insights-page *::after{box-sizing:border-box}
.tma-insights-page img{display:block;max-width:100%}
.tma-insights-page .tma-insights-section{position:relative;width:100%}

/* Keep independent Elementor sections edge-to-edge. */
.tma-insights-elementor>.elementor,
.tma-insights-elementor .elementor-section,
.tma-insights-elementor .elementor-container,
.tma-insights-elementor .elementor-column,
.tma-insights-elementor .elementor-widget-wrap,
.tma-insights-elementor .elementor-widget,
.tma-insights-elementor .elementor-widget-container{width:100%;max-width:none!important;margin:0!important}
.tma-insights-elementor .elementor-column-gap-default>.elementor-column>.elementor-element-populated,
.tma-insights-elementor .elementor-column-gap-no>.elementor-column>.elementor-element-populated{padding:0!important}

/* All Insights subtexts sit horizontally above their section titles. */
.tma-insights-page .tma-side-kicker{
  position:static!important;
  inset:auto!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:13px!important;
  margin:0 0 22px!important;
  padding:0!important;
  writing-mode:horizontal-tb!important;
  transform:none!important;
  white-space:normal!important;
  font:700 10px/1.3 Arial,Helvetica,sans-serif!important;
  text-transform:uppercase;
  letter-spacing:2px!important;
  color:var(--section-text,#876f4b)!important;
}
.tma-insights-page .tma-side-kicker::before{
  width:38px!important;
  height:1px!important;
  flex:0 0 38px!important;
  background:var(--section-accent,var(--insights-gold))!important;
}

/* Reference-led directory header and controls. */
.insights-directory-hero{
  padding:88px max(6vw,calc((100vw - 1240px)/2)) 54px;
  background:var(--section-bg,var(--insights-mist));
}
.insights-directory-heading{max-width:900px}
.insights-directory-heading h1{
  max-width:850px;
  margin:0;
  font:500 clamp(54px,6vw,82px)/.95 Arial,Helvetica,sans-serif;
  letter-spacing:-4px;
  color:var(--section-text,var(--insights-navy));
}
.insights-directory-heading h1 em{font:400 .82em/1 Georgia,serif;letter-spacing:-2px;color:var(--section-accent,var(--insights-gold))}
.insights-directory-heading>span{
  display:block;
  max-width:720px;
  margin-top:27px;
  font:400 15px/1.7 Arial,Helvetica,sans-serif;
  color:var(--section-muted,var(--insights-muted));
}
.insights-filter-form{
  margin-top:48px;
  padding-top:30px;
  border-top:1px solid var(--section-line,var(--insights-line));
  display:grid;
  grid-template-columns:minmax(220px,1.25fr) minmax(160px,.8fr) minmax(125px,.55fr) minmax(160px,.8fr) minmax(145px,.65fr);
  gap:18px 20px;
  align-items:end;
}
.insights-filter-form label{display:flex;flex-direction:column;gap:10px;min-width:0}
.insights-filter-form label>span:first-child{
  font:700 12px/1.25 Arial,Helvetica,sans-serif;
  color:var(--section-text,var(--insights-navy));
}
.insights-input-wrap{position:relative;display:block}
.insights-filter-form input,
.insights-filter-form select{
  appearance:none;
  width:100%;
  height:50px;
  margin:0;
  border:1px solid #174d6a;
  border-radius:2px;
  background:#fff;
  padding:0 45px 0 14px;
  font:400 13px/1 Arial,Helvetica,sans-serif;
  color:var(--insights-navy);
  outline:none;
}
.insights-filter-form select{
  background-color:#fff;
  background-image:linear-gradient(45deg,transparent 50%,#174d6a 50%),linear-gradient(135deg,#174d6a 50%,transparent 50%);
  background-position:calc(100% - 17px) 21px,calc(100% - 12px) 21px;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
}
.insights-filter-form input:focus,
.insights-filter-form select:focus{border-color:var(--section-accent,var(--insights-gold));box-shadow:0 0 0 2px rgba(201,170,120,.2)}
.insights-input-wrap button{
  position:absolute;
  right:0;
  top:0;
  width:48px;
  height:50px;
  border:0;
  background:transparent;
  color:#174d6a;
  display:grid;
  place-items:center;
  cursor:pointer;
}
.insights-input-wrap svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.insights-filter-reset{
  grid-column:1/-1;
  width:max-content;
  padding-bottom:5px;
  border-bottom:1px solid var(--section-accent,var(--insights-gold));
  font:700 9px/1.3 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:var(--section-text,var(--insights-navy));
}

/* Editorial post directory. */
.insights-directory-results{
  padding:64px max(6vw,calc((100vw - 1240px)/2)) 110px;
  background:var(--section-bg,var(--insights-ivory));
}
.insights-results-count{
  margin-bottom:22px;
  padding-bottom:12px;
  border-bottom:1px solid var(--section-line,var(--insights-line));
  font:700 9px/1.3 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:var(--section-muted,#78848c);
}
.insights-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.insights-directory-card{
  min-width:0;
  background:#fff;
  border:1px solid rgba(0,27,68,.13);
  display:flex;
  flex-direction:column;
}
.insights-directory-card.is-featured{
  grid-column:1/-1;
  min-height:480px;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);
}
.insights-card-image{display:block;height:270px;overflow:hidden;background:#d8dedb}
.insights-directory-card.is-featured .insights-card-image{height:100%;min-height:480px}
.tma-insights-page .insights-card-image img,
.elementor-widget-tma_insights_grid .insights-card-image img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  object-position:center!important;
  filter:saturate(.76);
  transition:transform .55s ease;
}
.insights-card-image:hover img{transform:scale(1.025)}
.insights-card-copy{padding:27px 25px 25px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.insights-directory-card.is-featured .insights-card-copy{padding:48px 40px;justify-content:center}
.insights-card-copy small{
  font:700 8px/1.4 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:1.1px;
  color:#8a744f;
}
.insights-card-copy .insights-card-author{margin-top:8px;color:#657681;letter-spacing:.8px}
.insights-card-copy small i{display:inline-block;width:17px;height:1px;margin:0 7px 3px;background:var(--insights-gold)}
.insights-card-copy h3{
  margin:17px 0 15px;
  font:400 27px/1.08 Georgia,serif;
  color:var(--insights-navy);
}
.insights-directory-card.is-featured h3{font-size:clamp(36px,3.5vw,48px)}
.insights-card-copy p{margin:0 0 25px;font:400 12px/1.7 Arial,Helvetica,sans-serif;color:var(--insights-muted)}
.insights-card-read{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  min-width:150px;
  gap:25px;
  margin-top:auto;
  padding:10px 0 8px;
  border-bottom:1px solid var(--insights-gold);
  font:700 9px/1.3 Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--insights-navy);
}
.insights-card-read span{color:var(--insights-gold);font-size:13px}
.insights-card-read:hover{color:#8a744f}
.insights-pagination{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:54px;padding-top:22px;border-top:1px solid var(--section-line,var(--insights-line))}
.insights-pagination a,.insights-pagination span{width:36px;min-width:36px;height:36px;padding:0;display:grid;place-items:center;border:1px solid var(--section-line,var(--insights-line));border-radius:50%;font:700 11px Arial;color:var(--section-text,var(--insights-navy))}
.insights-pagination span[aria-current="page"]{background:var(--section-text,var(--insights-navy));border-color:var(--section-text,var(--insights-navy));color:var(--section-bg,#fff)}
.insights-pagination .pagination-arrow{font:400 23px/1 Arial;padding-bottom:2px}
.insights-pagination .is-disabled{opacity:.3}
.insights-empty-state{padding:70px 30px;text-align:center;border:1px solid var(--insights-line);background:#fff}
.insights-empty-state h3{margin:0 0 15px;font:400 36px Georgia,serif;color:var(--insights-navy)}
.insights-empty-state p{max-width:560px;margin:0 auto 25px;font:400 13px/1.7 Arial;color:var(--insights-muted)}
.insights-empty-state a{display:inline-block;padding-bottom:7px;border-bottom:1px solid var(--insights-gold);font:700 9px Arial;text-transform:uppercase;letter-spacing:1px}

/* Independent newsletter section. */
.insights-directory-newsletter{
  padding:92px max(6vw,calc((100vw - 1240px)/2));
  background:var(--section-bg,var(--insights-navy));
  color:#fff;
  overflow:hidden;
}
.insights-directory-newsletter::after{content:"INSIGHTS";position:absolute;right:-25px;bottom:-28px;font:700 clamp(90px,15vw,190px)/.8 Arial;color:rgba(255,255,255,.028);letter-spacing:-10px}
.insights-directory-newsletter>.tma-side-kicker{color:var(--section-muted,rgba(255,255,255,.7))!important}
.insights-directory-newsletter>div{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:75px;align-items:end}
.insights-directory-newsletter h2{margin:0;font:400 clamp(46px,5.3vw,68px)/.98 Georgia,serif;letter-spacing:-2.7px;color:var(--section-text,#fff)}
.insights-directory-newsletter h2 em{font-style:normal;color:var(--section-accent,var(--insights-gold))}
.insights-directory-newsletter>div>p{margin:0 0 24px;font:400 13px/1.72 Arial;color:var(--section-muted,rgba(255,255,255,.7))}
.insights-directory-newsletter>div>a{display:inline-flex;align-items:center;justify-content:space-between;min-width:185px;gap:30px;padding:12px 0 9px;border-bottom:1px solid var(--section-accent,var(--insights-gold));font:700 9px Arial;text-transform:uppercase;letter-spacing:1.2px;color:var(--section-text,#fff)}
.insights-directory-newsletter>div>a span{color:var(--section-accent,var(--insights-gold));font-size:14px}

@media(max-width:980px){
  .insights-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .insights-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .insights-directory-newsletter>div{gap:40px}
}
@media(max-width:700px){
  .insights-directory-hero{padding:72px 6vw 45px}
  .insights-directory-heading h1{font-size:50px;letter-spacing:-2.5px}
  .insights-directory-heading>span{font-size:13px}
  .insights-filter-form{grid-template-columns:1fr;gap:17px;margin-top:38px;padding-top:24px}
  .insights-directory-results{padding:76px 6vw 85px}
  .insights-directory-grid{grid-template-columns:1fr}
  .insights-directory-card.is-featured{grid-column:auto;display:flex;min-height:0}
  .insights-directory-card.is-featured .insights-card-image{height:310px;min-height:0}
  .insights-directory-card.is-featured .insights-card-copy{padding:30px 26px}
  .insights-directory-card.is-featured h3{font-size:34px}
  .insights-directory-newsletter{padding:76px 6vw}
  .insights-directory-newsletter>div{grid-template-columns:1fr;gap:26px}
  .insights-directory-newsletter h2{font-size:46px;letter-spacing:-1.7px}
}
@media(max-width:430px){
  .insights-directory-heading h1{font-size:43px}
  .insights-card-image,.insights-directory-card.is-featured .insights-card-image{height:270px}
  .insights-card-copy h3{font-size:25px}
}
