/* Towerwall site changes, kept out of the compiled Sass (css/theme.min.css)
   so a rebuild of theme.css can't drop them. See TOWERWALL-CHANGES.md. */

/* ---- Header: Contact Us button (replaced the search icon, 2026-11-09) ----
   The theme sized the nav to leave room for the 15px search icon only; let it
   shrink so the wider button stays on the same row. */
header.header-section { flex-wrap: nowrap; }
.header-section > .navbar { flex: 1 1 auto; width: auto; max-width: none; min-width: 0; }
.header-section .tw-header-cta { flex: 0 0 auto; margin: 25px 0 0 16px; position: relative; z-index: 22; }
@media (max-width: 1199.98px) { .header-section .tw-header-cta { margin-top: 8px; } }
/* Menu items were 15px each side; 11px frees the room the button needs. */
@media (min-width: 1200px) {
  .header-section .navbar #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item { padding: 0 11px !important; }
}
/* Laptop widths: the 280px home logo already pushed "Company" onto a second row
   at 1280px; a 210px logo keeps the menu and button on one row. */
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .page-template-homepage .header-section .home-logo .whitelogo,
  .page-template-homepage .header-section .home-logo .blacklogo { width: 210px !important; }
  .header-section .navbar .navbar-brand { width: 230px !important; flex: 0 0 auto; }
  .header-section .navbar #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item { padding: 0 8px !important; }
}
.tw-btn-green {
  display: inline-block; background: #70AE54; color: #fff !important;
  font-size: 15px; line-height: 1; padding: 13px 24px; border-radius: 4px;
  text-decoration: none !important; white-space: nowrap; transition: background .2s ease;
}
.tw-btn-green:hover, .tw-btn-green:focus-visible { background: #5e9845; }
.tw-btn-green:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
@media (max-width: 991.98px) { .tw-btn-green { padding: 10px 16px; font-size: 14px; } }
/* Phones, inner pages: the theme's 200px logo ran under the menu toggle once the
   button replaced the 15px search icon (homepage uses its own, smaller logo). */
@media (max-width: 575.98px) {
  body:not(.page-template-homepage) .header-section .navbar .custom-logo-link,
  body:not(.page-template-homepage) .header-section .navbar .custom-logo-link img { width: min(150px, calc(100vw - 240px)); }
}

/* ---- Homepage hero (replaced the slider, 2026-11-09) ----
   The theme's hero styles do the rest; these are the new pieces only. */
.home-banner .hero-banner .hero-banner-content h1 .tw-hl { color: #70AE54; white-space: nowrap; }
.home-banner .hero-banner .hero-banner-content .tw-proof {
  margin: 34px 0 0; padding-top: 24px; border-top: 1px solid rgba(112, 174, 84, .45);
  text-transform: uppercase; letter-spacing: .12em;
}
.home-banner .hero-banner .hero-banner-content .tw-proof span { margin: 0 10px; }
/* The photo is landscape (3:2); crop it to the portrait frame the slides used (894x1333). */
.home-banner .hero-banner-img .hero-banner-img-bg img.tw-hero-photo {
  aspect-ratio: 894 / 1333; object-fit: cover; object-position: 72% 50%;
}

/* ---- Campaign landing page: AI Risk Visibility Evaluation (2026-11-16) ----
   page-templates/campaign-ai-risk-evaluation.php, at /aisecuritytrial. Uses the
   Feature Landing Solution page's classes; these are the new pieces only. */
/* Banner: dark gradient lit with the site's accent colors (the homepage photo
   frame's mint #A5FFDE to lavender #B2A2FF, plus brand green), and the same
   angled bottom as the homepage hero: a 70px V with its point 31.4% across. */
.tw-lp .tw-lp-banner {
  --tw-lp-v: 70px;
  background-color: #141417;
  background-image:
    radial-gradient(55% 75% at 86% 22%, rgba(165, 255, 222, .26), transparent 70%),
    radial-gradient(50% 65% at 68% 100%, rgba(178, 162, 255, .34), transparent 70%),
    radial-gradient(45% 60% at 0% 0%, rgba(112, 174, 84, .30), transparent 70%),
    linear-gradient(160deg, #121215 0%, #18181d 55%, #1c1830 100%);
  padding-bottom: calc(var(--tw-lp-v) + 50px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tw-lp-v)), 31.4% 100%, 0 calc(100% - var(--tw-lp-v)));
}
@media (max-width: 767.98px) { .tw-lp .tw-lp-banner { --tw-lp-v: 36px; padding-bottom: calc(var(--tw-lp-v) + 48px); } }
.tw-lp .tw-lp-eyebrow { color: #70AE54; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.tw-lp .tw-lp-eyebrow .tw-lp-sep, .tw-lp .tw-lp-step span { margin: 0 8px; }
/* Phones: put the last item on its own line instead of wrapping onto a bullet. */
@media (max-width: 575.98px) {
  .tw-lp .tw-lp-eyebrow { letter-spacing: .08em; }
  .tw-lp .tw-lp-eyebrow .tw-lp-sep-last { display: none; }
  .tw-lp .tw-lp-eyebrow .tw-lp-eb-last { display: block; margin-top: 8px; }
  .tw-lp .tw-lp-cobrand { justify-content: flex-start; margin-top: 40px; gap: 14px; }
  .tw-lp .tw-lp-cobrand .tw-lp-logo-towerwall, .tw-lp .tw-lp-cobrand .tw-lp-logo-trendai { width: min(140px, calc(50vw - 40px)); }
}
.tw-lp .tw-lp-cta { margin-top: 28px; }
.tw-lp-cobrand { display: flex; align-items: center; justify-content: center; gap: 24px; }
.tw-lp-cobrand img { height: auto; }
.tw-lp-cobrand .tw-lp-logo-towerwall { width: 190px; }
.tw-lp-cobrand .tw-lp-logo-trendai { width: 190px; }
.tw-lp-cobrand .tw-lp-x { color: #70AE54; font-size: 28px; line-height: 1; }
.tw-lp .tw-lp-step { color: #4F8A37; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.tw-lp .tw-lp-final { text-align: center; }
.tw-lp .tw-lp-banner .tw-lp-cta, .tw-lp .tw-lp-final-panel .tw-lp-cta { font-size: 16px; padding: 16px 30px; }
/* The theme widens .down-box containers to 93% at 1440-1799px (other
   containers are 85%), which pulls the counter band out of line with the rest
   of this page. */
@media (min-width: 1440px) and (max-width: 1799px) { .tw-lp .tw-lp-stats .container { max-width: 85%; } }
.tw-lp .tw-lp-final { padding-top: 40px; padding-bottom: 90px; }
.tw-lp .tw-lp-final p { margin-bottom: 0; }
/* Sections below the banner: cards with icons, numbered steps, gradient stats
   and a closing panel, so each section reads as one unit. Colors are the
   banner's: brand green, mint #A5FFDE and lavender #B2A2FF. #4F8A37 is the
   green darkened for small text on light backgrounds. */
.tw-lp { --tw-green: #70AE54; --tw-green-dk: #4F8A37; --tw-mint: #A5FFDE; --tw-lav: #B2A2FF; --tw-ink: #141417; --tw-tint: #F5F7F4; --tw-line: #E3E8E0; }
.tw-lp .tw-lp-h2 { margin-bottom: 40px; }
.tw-lp .tw-lp-h2::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 16px; background: var(--tw-green); }
.tw-lp .tw-lp-label { color: var(--tw-green-dk); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.tw-lp .tw-lp-get .row > [class*="col-"], .tw-lp .tw-lp-about .row > [class*="col-"] { display: flex; margin-bottom: 24px; }
.tw-lp .tw-lp-card p:last-child, .tw-lp .tw-lp-stepcard p:last-child, .tw-lp .tw-lp-about-card p:last-child { margin-bottom: 0; }
/* What you get: white cards with a mint-to-lavender top edge and a line icon. */
.tw-lp .tw-lp-card {
  position: relative; flex: 1; padding: 36px 30px 30px; background: #fff;
  border: 1px solid var(--tw-line); border-radius: 8px; overflow: hidden;
  box-shadow: 0 12px 30px -20px rgba(20, 20, 23, .3); transition: transform .2s ease, box-shadow .2s ease;
}
.tw-lp .tw-lp-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--tw-mint), var(--tw-lav)); }
.tw-lp .tw-lp-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(20, 20, 23, .4); }
@media (prefers-reduced-motion: reduce) { .tw-lp .tw-lp-card, .tw-lp .tw-lp-card:hover { transition: none; transform: none; } }
.tw-lp .tw-lp-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px;
  margin-bottom: 22px; border-radius: 12px; color: var(--tw-green-dk);
  background: linear-gradient(135deg, rgba(165, 255, 222, .5), rgba(178, 162, 255, .45));
}
.tw-lp .tw-lp-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* How it works: tinted band; numbered steps joined by a dashed line on wide screens. */
.tw-lp .tw-lp-steps { background: var(--tw-tint); }
.tw-lp .tw-lp-stepcard { position: relative; padding: 0 0 8px; }
.tw-lp .tw-lp-num {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 24px; border-radius: 50%;
  background: var(--tw-green); color: #fff; font-family: "TT Hoves W03 Regular", interstate, sans-serif; font-size: 20px; line-height: 1;
  box-shadow: 0 0 0 6px var(--tw-tint), 0 0 0 7px rgba(112, 174, 84, .35);
}
@media (min-width: 992px) {
  .tw-lp .tw-lp-steps .col-lg-4:not(:last-child) .tw-lp-stepcard::after {
    content: ""; position: absolute; top: 23px; left: 70px; right: -8px; border-top: 2px dashed rgba(112, 174, 84, .5);
  }
}
@media (max-width: 991.98px) { .tw-lp .tw-lp-stepcard { padding-bottom: 32px; } }
/* At a glance: the banner's glow, gradient numbers and dividers. */
.tw-lp .tw-lp-stats {
  background-color: var(--tw-ink);
  background-image:
    radial-gradient(40% 140% at 100% 50%, rgba(178, 162, 255, .2), transparent 70%),
    radial-gradient(35% 140% at 0% 50%, rgba(112, 174, 84, .18), transparent 70%);
}
.tw-lp .tw-lp-stats .counter-text p {
  display: inline-block; color: var(--tw-mint);
  background: linear-gradient(90deg, var(--tw-mint), var(--tw-lav)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
@media (min-width: 992px) { .tw-lp .tw-lp-stats .col-lg-3 + .col-lg-3 .counter-text { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 28px; } }
/* About: tinted cards with a green edge. */
.tw-lp .tw-lp-about-card { flex: 1; padding: 30px 32px; background: var(--tw-tint); border-left: 4px solid var(--tw-green); border-radius: 0 8px 8px 0; }
/* Closing call to action: a panel in the mint-to-lavender gradient. */
.tw-lp .tw-lp-final-panel {
  max-width: 920px; margin: 0 auto; padding: 56px 32px; border-radius: 12px; color: var(--tw-ink);
  background: linear-gradient(120deg, rgba(165, 255, 222, .6), rgba(178, 162, 255, .6));
}
.tw-lp .tw-lp-final-panel h2 { margin-bottom: 12px; }
.tw-lp .tw-lp-final-panel a:not(.tw-btn-green) { color: var(--tw-ink); text-decoration: underline; }
@media (max-width: 575.98px) { .tw-lp .tw-lp-final { padding-top: 0; } .tw-lp .tw-lp-final-panel { padding: 40px 20px; } }
/* "(optional)" note on the weekly reviews (Jocelyn, 2026-11-16): smaller, italic; on its own line in the stats band. */
.tw-lp .tw-lp-optional { font-family: interstate, sans-serif; font-size: .6em; font-style: italic; font-weight: 400; white-space: nowrap; }
.tw-lp .tw-lp-stats .tw-lp-optional { display: block; font-size: .9em; margin-top: 2px; opacity: .8; }
