/* Terranova Insights - additions on top of the NetFusion template */
:root { --ti-teal:#2c525e; --ti-rust:#c0623a; }

/* Logo sizing (logo is a wide wordmark) */
.te-header-menu-area .te-logo img { width: 190px; height: auto; }
.te-menu-sidebar-logo img { width: 170px; height: auto; }
.te-footer-logo img { width: 210px; height: auto; }
.te-header-menu-area .te-logo { height: 110px; }
@media (max-width: 767px) { .te-header-menu-area .te-logo img { width: 150px; } .te-header-menu-area .te-logo { height: 76px; } }

/* Home */
.insight-hero-kicker { color: var(--ti-rust); letter-spacing: .12em; text-transform: uppercase; font-size: 14px; margin-bottom: 10px; }
.insights-home { padding-top: 90px; }
.insights-more { margin-top: 50px; }
.insights-topics { padding: 40px 0 110px; }
.insight-topic { display: block; padding: 30px; border: 1px solid rgba(128,128,128,.25); border-radius: 14px; transition: all .3s; height: 100%; }
.insight-topic h4 { margin-bottom: 8px; }
.insight-topic span { color: var(--ti-rust); font-size: 15px; }
.insight-topic:hover { border-color: var(--ti-rust); transform: translateY(-4px); }
.insights-cta { margin-top: 80px; padding: 50px 24px; border-radius: 18px; border: 1px solid rgba(128,128,128,.25); }
.insights-cta p { margin: 10px 0 24px; }
.insights-cta a:not(.te-theme-btn) { color: var(--ti-rust); }

/* Listing */
.insights-area { padding: 90px 0 110px; }
.insights-toolbar { margin-bottom: 40px; }
.insights-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.insights-filter a { padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(128,128,128,.35); font-size: 15px; transition: all .25s; }
.insights-filter a span { opacity: .6; margin-left: 4px; font-size: 13px; }
.insights-filter a:hover, .insights-filter a.active { background: var(--ti-teal); border-color: var(--ti-teal); color: #fff; }
.insights-search { position: relative; }
.insights-result-note { margin-bottom: 30px; }
.insights-result-note a { color: var(--ti-rust); }
.insights-empty { text-align: center; padding: 70px 0; }
.insights-empty a { color: var(--ti-rust); }

.insight-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-bottom: 60px; padding: 24px; border: 1px solid rgba(128,128,128,.25); border-radius: 18px; }
.insight-featured-img img { width: 100%; height: 100%; max-height: 380px; object-fit: cover; border-radius: 12px; display: block; }
.insight-featured-body h2 { margin: 12px 0 14px; }
.insight-featured-body p { margin-bottom: 24px; }
.insight-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 13px; background: var(--ti-rust); color: #fff; margin-bottom: 14px; }
@media (max-width: 991px) { .insight-featured { grid-template-columns: 1fr; gap: 24px; } }

.insight-card { height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(128,128,128,.25); border-radius: 14px; overflow: hidden; transition: all .3s; }
.insight-card:hover { transform: translateY(-5px); border-color: var(--ti-rust); }
.insight-card-img { display: block; overflow: hidden; }
.insight-card-img img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform .5s; }
.insight-card:hover .insight-card-img img { transform: scale(1.06); }
.insight-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.insight-card-body .te-post-meta { margin-bottom: 10px; }
.insight-card-body .te-post-title { font-size: 21px; line-height: 1.35; margin-bottom: 12px; }
.insight-card-body p { font-size: 15px; margin-bottom: 18px; }
.insight-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 14px; }
.insight-card-foot a { color: var(--ti-rust); }

/* Details */
.insight-title { font-size: 36px; line-height: 1.25; }
@media (max-width: 767px) { .insight-title { font-size: 27px; } }
.insight-lede { font-size: 19px; line-height: 1.7; }
.insight-takeaways { margin: 28px 0 34px; padding: 24px 28px; border-left: 4px solid var(--ti-rust); background: rgba(128,128,128,.08); border-radius: 0 12px 12px 0; }
.insight-takeaways h4 { margin-bottom: 10px; }
.insight-takeaways ul { margin: 0; padding-left: 20px; }
.insight-takeaways li { margin-bottom: 6px; list-style: disc; }
.insight-h { margin: 34px 0 12px; font-size: 26px; }
.insight-related { margin: 60px 0; }
.insight-related > h3 { margin-bottom: 24px; }
.insight-related .insight-card-img img { height: 150px; }
.insight-related .insight-card-body { padding: 18px; }
.insight-related .insight-card-body .te-post-title { font-size: 17px; margin-bottom: 0; }
.insight-side-contact { line-height: 2; }
.insight-side-contact a:hover { color: var(--ti-rust); }
.insight-side-contact { line-height: 2; }
.insight-side-contact a:hover { color: var(--ti-rust); }

/* Hero image: magnetic hover */
.banner-image.magnet { transition: transform .35s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.banner-image.magnet img { transform: scale(1.08); transition: transform .35s cubic-bezier(.2,.8,.2,1); will-change: transform; display: block; width: 100%; }

/* Hero title: white + Terranova colours */
.gradient-title.terranova-title { background: none !important; -webkit-text-fill-color: #fff; color: #fff; }
.gradient-title.terranova-title .tt-accent { background: linear-gradient(90deg, #c0623a 0%, #e0875f 45%, #5f9aab 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* Our clients */
.clients-area { padding: 70px 0 20px; }
.clients-kicker { display: inline-block; color: var(--ti-rust); border: 1px solid var(--ti-rust); border-radius: 6px; padding: 2px 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 18px; }
.clients-title { margin-bottom: 40px; }
.clients-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.client-logo { background: #fff; border-radius: 14px; height: 130px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; transition: transform .3s, box-shadow .3s; }
.client-logo img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.client-logo:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(192,98,58,.35); }
@media (max-width: 991px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
.client-logo.logo-pearl { background: #f0f3fa; }
.client-logo.logo-pearl img, .client-logo.logo-aepc img { mix-blend-mode: normal; }
.client-logo.logo-aepc img { transform: scale(1.3); }
.client-logo { overflow: hidden; }

/* FAQ accordion: smoother reveal */
.accordion-wrapper .te-accordion-list-item { transition: background-color .4s ease, box-shadow .4s ease, transform .3s ease; }
.accordion-wrapper .te-accordion-list-item:hover { transform: translateX(4px); }
.accordion-wrapper .te-accordion-list-item .te-accordion-title { transition: color .3s ease; }
.accordion-wrapper .te-accordion-list-item:has(.te-accordion-head:not(.collapsed)) { background-color: #1a1411; box-shadow: inset 3px 0 0 #c0623a, 0 12px 30px rgba(192,98,58,.12); }
.accordion-wrapper .te-accordion-list-item:has(.te-accordion-head:not(.collapsed)) .te-accordion-title { color: #e0875f; }
.accordion-collapse.collapsing { transition: height .5s cubic-bezier(.4, 0, .2, 1); }
.accordion-wrapper .te-accordion-body { opacity: 0; transform: translateY(-12px); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.accordion-wrapper .te-accordion-list-item:has(.te-accordion-head:not(.collapsed)) .te-accordion-body { opacity: 1; transform: none; transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .accordion-collapse.collapsing, .accordion-wrapper .te-accordion-body, .accordion-wrapper .te-accordion-list-item { transition: none !important; } }
.accordion-wrapper.style-2 .te-accordion-list-item { padding: 0 18px; border-radius: 12px; }

/* One-page navigation */
html { scroll-behavior: smooth; }
#home, #about, #faq, #insights, #contact { scroll-margin-top: 90px; }
