/*
Theme Name: Team Tusi
Theme URI: https://wearetusi.com
Author: Leon C. Tyes
Author URI: https://wearetusi.com
Description: A custom WordPress block theme for the Team Tusi campaign website.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: team-tusi
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Domain Path: /languages
*/

/* Main Theme Styles */
:root {
  --color-primary: #1a3a52;
  --color-secondary: #c41e3a;
  --color-accent: #d4af37;
  --color-white: #ffffff;
  --color-light-gray: #f5f5f5;
  --color-dark-gray: #333333;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --container-max: 1200px;
  --container-padding: clamp(1rem, 4vw, 2rem);
  --section-padding: clamp(3rem, 7vw, 5rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--color-dark-gray);
  line-height: 1.6;
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
  font-weight: 600;
}

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Utility Classes */
.container {
  width: min(100% - (var(--container-padding) * 2), var(--container-max));
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
}

.text-center {
  text-align: center;
}

.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.py-lg { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }
.py-3xl { padding-top: var(--spacing-3xl); padding-bottom: var(--spacing-3xl); }

/* Button Styles */
.btn, .wp-block-button__link {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-2xl);
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary, .wp-block-button.is-style-fill .wp-block-button__link {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #a01729;
  color: var(--color-white);
}

.btn-secondary, .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Card Styles */
.card {
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: var(--spacing-2xl);
  text-align: center;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  color: var(--color-primary);
}

/* Section Styles */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  position: relative;
  padding-bottom: var(--spacing-xl);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

.section-title h2 {
  margin-bottom: var(--spacing-md);
}

.section-title p {
  color: var(--color-dark-gray);
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-lg);
}

.hero-content .accent-text {
  color: var(--color-secondary);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
}

.team-member {
  text-align: center;
}

.team-member-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
  background-color: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member-name {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.team-member-title {
  color: var(--color-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Vision Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-3xl);
  text-align: center;
}

.pillar {
  padding: var(--spacing-2xl);
}

.pillar-letter {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--spacing-md);
}

.pillar-title {
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

/* CTA Section */
.cta-section {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-3xl) var(--spacing-lg);
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
}

.cta-buttons {
  margin-top: var(--spacing-2xl);
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg-color, var(--color-primary));
  color: var(--footer-text-color, var(--color-white));
  padding: var(--spacing-3xl) var(--spacing-lg) var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
  color: var(--footer-text-color, var(--color-white));
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: var(--footer-link-color, #ccc);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--footer-link-hover-color, var(--color-accent));
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* Wave Divider */
.wave-divider {
  position: relative;
  height: 60px;
  background: transparent;
  overflow: hidden;
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-lg);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Header & Navigation */
.site-header {
  width: 100%;
  background: var(--header-bg-color, var(--color-white));
  border-bottom: 1px solid #e9e9e9;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-md) 0;
}
.site-branding { display: flex; align-items: center; gap: var(--spacing-md); }
.site-branding img { display: block; width: 48px; height: 48px; }
.site-branding a { color: var(--header-text-color, var(--color-primary)); }
.site-branding h1 { color: var(--header-text-color, var(--color-primary)); }

.site-navigation { display: flex; align-items: center; gap: var(--spacing-lg); }
.site-navigation .nav-list { display: flex; gap: var(--spacing-lg); list-style: none; margin: 0; padding: 0; }
.site-navigation .nav-list a { color: var(--nav-link-color, var(--color-dark-gray)); padding: 0.5rem 0.25rem; display: inline-block; }
.site-navigation .nav-list a:hover { color: var(--nav-hover-color, var(--color-primary)); }

.mobile-menu-toggle { display: none; background: transparent; border: none; font-size: 1.25rem; cursor: pointer; color: var(--header-text-color, var(--color-primary)); }

/* Mobile navigation overlay */
.mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--mobile-menu-bg-color, var(--color-white)); box-shadow: 0 6px 24px rgba(0,0,0,0.12); padding: var(--spacing-lg); z-index: 9999; }
.mobile-nav .nav-list { display: flex; flex-direction: column; gap: var(--spacing-md); }
.mobile-nav .nav-list a { color: var(--nav-link-color, var(--color-dark-gray)); padding: 10px; border-bottom: 1px solid #f0f0f0; }
.mobile-nav.is-open { display: block; }

/* Section spacing and shared content width */
.wp-block-group { padding-left: 0; padding-right: 0; }
.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.hero {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}
.card { padding: var(--spacing-2xl); }
.template-container {
  width: min(100% - (var(--container-padding) * 2), var(--container-max));
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
.template-container > .wp-block-group__inner-container {
  width: 100%;
}
.alignwide {
  max-width: var(--container-max);
}

/* Elementor compatibility: ensure Elementor content widths inherit theme container */
.elementor-section .template-container, .elementor-widget .template-container { width: 100%; box-sizing: border-box; }

/* Form Styles */
form { display: flex; flex-direction: column; gap: var(--spacing-md); max-width: 600px; margin: var(--spacing-2xl) auto; }
label { color: var(--color-primary); font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; padding: var(--spacing-md); border: 1px solid #ddd; border-radius: 4px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; }
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1); }
textarea { resize: vertical; min-height: 120px; }
button[type="submit"] { padding: var(--spacing-md) var(--spacing-2xl); background-color: var(--color-secondary); color: var(--color-white); border: none; border-radius: 4px; font-weight: 600; cursor: pointer; transition: background-color 0.3s ease; }
button[type="submit"]:hover { background-color: #a01729; }
button[type="submit"]:active { transform: scale(0.98); }
.form-success { background-color: #d4edda; color: #155724; padding: var(--spacing-md); border-radius: 4px; margin-bottom: var(--spacing-md); border-left: 4px solid #28a745; }
.form-error { background-color: #f8d7da; color: #721c24; padding: var(--spacing-md); border-radius: 4px; margin-bottom: var(--spacing-md); border-left: 4px solid #f5c6cb; }
.honeypot { display: none; }

/* Updates query cards */
.updates-list {
  display: grid;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}
.update-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: var(--spacing-xl);
}
.update-card .wp-block-post-date {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}
.wp-block-query-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-2xl);
}

/* Section title with underline */
.section-heading { text-align: center; margin-bottom: var(--spacing-2xl); position: relative; padding-bottom: var(--spacing-lg); }
.section-heading h2 { margin-bottom: var(--spacing-md); }
.section-heading::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--color-accent); }

@media (max-width: 980px) {
  .site-navigation .nav-list { display: none; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .site-header .container { position: relative; }
}

@media (min-width: 981px) {
  .mobile-nav { display: none !important; }
}

/* Tablet & Mobile spacing adjustments */
@media (max-width: 768px) {
  form { max-width: 100%; }
  .cta-buttons { flex-direction: column; }
  .wp-block-columns { flex-direction: column; }
}

/* Final campaign layout polish */
body {
  color: #071b45;
  background: #fff;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wp-block-post-content {
  width: 100%;
}

.wp-block-post-content:empty {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e9edf3;
  box-shadow: 0 2px 12px rgba(7, 27, 69, 0.05);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #071b45;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand:hover {
  color: #071b45;
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(150deg, transparent 0 44%, #fff 45% 48%, transparent 49%),
    linear-gradient(180deg, #071b45 0 44%, #bf0d24 44% 64%, #fff 64% 78%, #bf0d24 78%);
  border-radius: 6px 16px 6px 16px;
  font-family: Georgia, serif;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 4px 10px rgba(7, 27, 69, 0.16);
}

.brand-logo {
  margin: 0;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: auto;
  max-width: 220px;
  height: 74px;
  object-fit: contain;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.custom-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 74px;
  object-fit: contain;
}

.site-brand:has(.custom-logo) .fallback-brand-mark {
  display: none;
}

.site-brand:has(.custom-logo) .brand-copy {
  display: none;
}

.footer-logo .brand-logo img {
  height: 64px;
  max-width: 200px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 800;
  color: #071b45;
}

.brand-tagline {
  margin-top: 0.35rem;
  color: #071b45;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-navigation {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.5vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a,
.mobile-nav a {
  color: #071b45;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.primary-nav a:hover,
.mobile-nav a:hover {
  color: #bf0d24;
  text-decoration: none;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.25rem;
  height: 3px;
  background: #bf0d24;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav li:first-child a::after {
  transform: scaleX(1);
}

.header-cta,
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  color: #fff;
  background: #bf0d24;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(191, 13, 36, 0.2);
}

.header-cta:hover,
.mobile-cta:hover {
  color: #fff;
  background: #9e0b1e;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  color: #071b45;
  background: #fff;
  border: 1px solid #d7dde8;
  border-radius: 4px;
  font-weight: 800;
}

.mobile-menu-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  display: inline-block;
  margin-right: 0.5rem;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
  vertical-align: middle;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: var(--container-padding);
  right: var(--container-padding);
  background: #fff;
  border: 1px solid #e2e7f0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 18px 36px rgba(7, 27, 69, 0.18);
  padding: 0.75rem;
}

.mobile-nav .nav-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.mobile-nav a {
  display: flex;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #eef2f7;
}

.mobile-nav li:last-child a {
  border-bottom: 0;
}

.mobile-nav.is-open {
  display: block;
}

.hero-section {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  background: #edf2f7;
  border-bottom: 1px solid #d7dde8;
}

.hero-background {
  position: absolute;
  inset: 0;
  display: block;
}

.image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  color: rgba(7, 27, 69, 0.55);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.25)),
    repeating-linear-gradient(135deg, rgba(7,27,69,0.08) 0 12px, rgba(191,13,36,0.08) 12px 24px);
  border: 1px dashed rgba(7, 27, 69, 0.25);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-composite-placeholder {
  width: 100%;
  height: 100%;
  border: 0;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.64) 0%, rgba(255,255,255,0.9) 46%, rgba(255,255,255,0.32) 100%),
    linear-gradient(180deg, transparent 0 60%, rgba(7,27,69,0.16) 61%),
    repeating-linear-gradient(180deg, rgba(191,13,36,0.9) 0 24px, rgba(255,255,255,0.9) 24px 48px),
    linear-gradient(165deg, #e4edf6 0%, #fff3df 45%, #c3d3e6 100%);
  background-blend-mode: normal, normal, multiply, normal;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: 9rem;
}

.hero-copy {
  width: min(100%, 720px);
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.02;
}

.hero-copy h1 span {
  color: #bf0d24;
}

.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.25rem auto 1rem;
  color: #c99543;
}

.star-divider span {
  width: min(90px, 22vw);
  height: 1px;
  background: #c99543;
}

.star-divider strong {
  font-size: 1.7rem;
  line-height: 1;
}

.hero-copy p {
  max-width: 600px;
  margin: 0 auto 1.35rem;
  color: #071b45;
  font-size: 1.08rem;
  font-weight: 600;
}

.hero-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  min-height: 128px;
  background:
    radial-gradient(circle at 50% -10%, transparent 0 100px, #071b45 101px),
    linear-gradient(165deg, #071b45 0 58%, #bf0d24 58% 72%, #c99543 72% 76%, #071b45 76%);
}

.seal-placeholder {
  position: absolute;
  left: 50%;
  top: -44px;
  width: 98px;
  height: 98px;
  min-height: 0;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  border: 4px solid #c99543;
  color: #071b45;
  font-size: 0.62rem;
  text-align: center;
  padding: 0.5rem;
}

.section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 0;
}

.section-heading::before,
.section-heading::after {
  content: "";
  display: inline-block;
  width: min(90px, 18vw);
  height: 1px;
  margin: 0 1rem 0.4rem;
  background: #c99543;
  position: static;
  transform: none;
}

.section-heading h2 {
  display: inline-block;
  margin: 0;
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  text-transform: uppercase;
}

.section-heading.compact p {
  margin: 0.35rem 0 0;
  color: #071b45;
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.feature-card,
.candidate-card,
.update-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7, 27, 69, 0.09);
}

.feature-card {
  min-height: 230px;
  padding: 2rem 1.25rem;
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: #fff;
  background: #071b45;
  border-radius: 16px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.feature-icon.red {
  background: #bf0d24;
}

.feature-card h3,
.candidate-card h3,
.pillar h3 {
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: 1.05rem;
}

.feature-card p {
  max-width: 230px;
  margin: 0 auto;
  color: #071b45;
  font-weight: 600;
}

.team-section {
  padding-top: 0;
}

.candidate-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.candidate-card {
  display: grid;
  justify-items: center;
  min-height: 250px;
  padding: 1rem 0.8rem 1.15rem;
  text-align: center;
}

.candidate-photo {
  width: 112px;
  height: 112px;
  min-height: 0;
  margin-bottom: 1.1rem;
  border: 2px solid #071b45;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, #071b45 0 20%, transparent 21%),
    radial-gradient(ellipse at 50% 85%, #071b45 0 35%, transparent 36%),
    #fff;
  color: transparent;
}

.candidate-card h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.05;
  text-transform: none;
}

.candidate-card p {
  margin: 0;
  color: #bf0d24;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pillars-section {
  border-bottom: 1px solid #d9dfeb;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  margin-top: 0;
}

.pillar {
  padding: 0.5rem 1rem;
  text-align: center;
}

.pillar-letter {
  margin: 0;
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7vw, 5.2rem);
  line-height: 0.95;
}

.pillar-letter.red {
  color: #bf0d24;
}

.pillar h3 {
  margin: 0.3rem 0 0.3rem;
  font-size: 1.1rem;
}

.pillar p {
  margin: 0 auto;
  max-width: 190px;
  color: #071b45;
  font-size: 0.92rem;
  font-weight: 700;
}

.pillar-divider {
  color: #c99543;
  font-size: 1.5rem;
}

.vision-band {
  background: linear-gradient(90deg, #fff 0 52%, #eef3f8 52%);
  border-bottom: 1px solid #d9dfeb;
}

.vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.vision-copy h2 {
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  text-transform: uppercase;
}

.vision-copy p {
  max-width: 650px;
  color: #071b45;
  font-weight: 600;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: #071b45;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #c99543;
  border-radius: 50%;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.38rem;
  top: 0.43rem;
  width: 0.32rem;
  height: 0.55rem;
  border-right: 2px solid #c99543;
  border-bottom: 2px solid #c99543;
  transform: rotate(45deg);
}

.vision-image {
  min-height: 290px;
  border: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.65), rgba(255,255,255,0)),
    linear-gradient(135deg, #dce7f2, #fff3df 45%, #bf0d24 120%);
}

.movement-cta {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.96), rgba(7,27,69,0.92)),
    #071b45;
}

.movement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.movement-cta h2 {
  margin-bottom: 0.35rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  text-transform: uppercase;
}

.movement-cta p {
  margin: 0;
  color: #fff;
}

.movement-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-light {
  color: #071b45;
  background: #fff;
  border: 1px solid #fff;
}

.btn-light:hover {
  color: #071b45;
  background: #f4f6fa;
}

.site-footer {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.98), rgba(7,27,69,0.92)),
    #071b45;
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.footer-brand p,
.footer-section p,
.footer-section li,
.footer-section a {
  color: rgba(255,255,255,0.88);
}

.footer-section h3 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.35rem;
}

.footer-section a:hover {
  color: #fff;
}

.footer-logo .brand-name,
.footer-logo .brand-tagline {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 0.65rem;
}

.social-icons a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #071b45;
  background: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-newsletter form {
  max-width: none;
  margin: 0;
  gap: 0.75rem;
}

.footer-newsletter input {
  background: #fff;
}

.footer-newsletter button {
  width: 100%;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding: 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: rgba(255,255,255,0.86);
  font-size: 0.85rem;
}

.page-hero {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.96), rgba(7,27,69,0.86)),
    #071b45;
}

.page-hero h1 {
  margin-bottom: 0.65rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 1.08rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.content-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7, 27, 69, 0.07);
}

.candidate-profile-photo {
  min-height: 360px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 32%, #071b45 0 14%, transparent 15%),
    radial-gradient(ellipse at 50% 76%, #071b45 0 28%, transparent 29%),
    linear-gradient(135deg, #fff, #eef3f8);
}

@media (max-width: 1180px) {
  .site-header .header-inner {
    padding: 0;
  }

  .primary-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .header-inner {
    position: relative;
  }

  .mobile-nav.is-open {
    display: block !important;
  }
}

@media (max-width: 1024px) {
  .feature-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .candidate-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pillar-divider {
    display: none;
  }

  .vision-layout {
    grid-template-columns: 1fr;
  }

  .vision-band {
    background: #fff;
  }
}

@media (max-width: 760px) {
  :root {
    --container-padding: 1rem;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-tagline {
    font-size: 0.55rem;
  }

  .header-cta {
    display: none;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding-top: 3rem;
    padding-bottom: 8rem;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .feature-grid,
  .candidate-strip,
  .check-list,
  .footer-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movement-inner,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .movement-actions {
    width: 100%;
  }

  .movement-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Professional campaign refinement */
:root {
  --color-ink: #071b45;
  --color-muted: #42536d;
  --color-line: #e4e8ef;
  --shadow-soft: 0 10px 28px rgba(7, 27, 69, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.brand-name {
  letter-spacing: 0;
}

p {
  color: var(--color-muted);
}

.btn,
.wp-block-button__link,
button[type="submit"] {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 6px;
  font-size: 0.96rem;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.btn:hover,
.wp-block-button__link:hover {
  text-decoration: none;
}

.btn-primary,
.wp-block-button.is-style-fill .wp-block-button__link,
button[type="submit"] {
  box-shadow: 0 10px 20px rgba(191, 13, 36, 0.18);
}

.btn-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
  border-width: 1px;
}

.site-header {
  backdrop-filter: saturate(140%) blur(8px);
}

.header-inner {
  min-height: 82px;
}

.primary-nav a {
  white-space: nowrap;
}

.hero-section {
  min-height: clamp(540px, 72vh, 720px);
}

.hero-copy {
  padding-inline: 0.5rem;
}

.hero-copy h1 {
  text-wrap: balance;
}

.hero-copy p,
.page-hero p {
  line-height: 1.75;
}

.image-placeholder {
  color: transparent;
  text-shadow: none;
}

.hero-composite-placeholder {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.28)),
    linear-gradient(180deg, transparent 0 60%, rgba(7,27,69,0.16) 61%),
    repeating-linear-gradient(180deg, rgba(191,13,36,0.82) 0 24px, rgba(255,255,255,0.85) 24px 48px),
    linear-gradient(165deg, #e7eef7 0%, #fff6e8 48%, #c7d8ea 100%);
}

.seal-placeholder::before {
  content: "TT";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.section-heading h2,
.page-hero h1 {
  text-wrap: balance;
}

.feature-card,
.candidate-card,
.content-card,
.update-card {
  border-color: var(--color-line);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.content-card {
  text-align: left;
}

.feature-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card p,
.content-card p {
  max-width: none;
  color: var(--color-muted);
  line-height: 1.7;
}

.content-card h2,
.feature-card h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
}

.candidate-card {
  align-content: start;
}

.candidate-profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.candidate-profile-copy {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.contact-section form {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  min-height: 48px;
  border-color: #d8deea;
  border-radius: 6px;
}

.updates-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.update-card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.update-card .wp-block-post-title {
  margin-top: 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.footer-newsletter button {
  min-height: 48px;
}

@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .updates-list,
  .candidate-profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .btn,
  .wp-block-button__link,
  button[type="submit"] {
    width: 100%;
  }

  .feature-card,
  .content-card {
    text-align: center;
    align-items: center;
  }

  .page-hero {
    padding-top: 2.5rem;
  }
}

/* Campaign content sections */
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.65rem;
  color: #071b45;
  background: #f7e7b8;
  border: 1px solid rgba(201, 149, 67, 0.45);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 680px;
  margin: -1rem auto 2rem;
  color: #42536d;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.7;
  text-align: center;
}

.election-info-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.election-info-layout {
  display: grid;
  grid-template-columns: 0.65fr minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 27, 69, 0.1);
}

.election-info-copy h2,
.voting-info-layout h2,
.events-layout h2 {
  margin-bottom: 0.65rem;
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  text-transform: uppercase;
}

.election-info-copy p,
.voting-info-layout p,
.events-layout p {
  margin-bottom: 0;
  line-height: 1.7;
}

.election-info-card {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem;
  color: #fff;
  background: #071b45;
  border-left: 5px solid #c99543;
  border-radius: 8px;
}

.election-info-card strong {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 1rem;
}

.election-info-card strong:last-child {
  margin-bottom: 0;
}

.info-label {
  color: rgba(255,255,255,0.72);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-preview-section {
  background: #f7f9fc;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.platform-card,
.voices-grid blockquote,
.events-list article {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 27, 69, 0.08);
}

.platform-card {
  min-height: 245px;
  padding: 1.5rem;
}

.platform-card span,
.events-list span {
  color: #bf0d24;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card h3,
.events-list h3 {
  margin-top: 0.65rem;
  margin-bottom: 0.6rem;
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  text-transform: uppercase;
}

.platform-card p,
.events-list p {
  margin-bottom: 0;
  line-height: 1.7;
}

.voting-info-band {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.97), rgba(7,27,69,0.9)),
    #071b45;
}

.voting-info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.voting-info-layout h2,
.voting-info-layout p {
  color: #fff;
}

.voter-checklist {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.voter-checklist li {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  color: #071b45;
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
}

.voter-checklist li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.08rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid #c99543;
  border-radius: 50%;
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.voices-grid blockquote {
  margin: 0;
  padding: 1.5rem;
}

.voices-grid p {
  margin-bottom: 1rem;
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.55;
}

.voices-grid cite {
  color: #bf0d24;
  font-style: normal;
  font-weight: 900;
}

.events-section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background: #f7f9fc;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.events-layout .btn {
  margin-top: 0.65rem;
}

.events-list {
  display: grid;
  gap: 1rem;
}

.events-list article {
  padding: 1.25rem;
}

.events-list h3 {
  margin-top: 0.35rem;
  text-transform: none;
}

@media (max-width: 1024px) {
  .election-info-layout,
  .platform-grid,
  .voices-grid,
  .events-layout,
  .voting-info-layout {
    grid-template-columns: 1fr;
  }

  .election-info-layout {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .section-intro {
    margin-top: -0.35rem;
    text-align: left;
  }

  .election-info-card,
  .platform-card,
  .voices-grid blockquote,
  .events-list article {
    padding: 1.15rem;
  }
}

/* Elementor-first classic theme sections */
.site-main {
  min-height: 50vh;
}

.page-content-wrap > .elementor,
.front-page-content > .elementor {
  width: 100%;
}

.tt-hero-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(540px, 72vh, 720px);
  display: flex;
  align-items: center;
  color: #071b45;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.64) 0%, rgba(255,255,255,0.94) 46%, rgba(255,255,255,0.38) 100%),
    linear-gradient(180deg, transparent 0 60%, rgba(7,27,69,0.16) 61%),
    repeating-linear-gradient(180deg, rgba(191,13,36,0.8) 0 24px, rgba(255,255,255,0.88) 24px 48px),
    linear-gradient(165deg, #e4edf6 0%, #fff3df 45%, #c3d3e6 100%);
}

.tt-hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 118px;
  background:
    radial-gradient(circle at 50% -18%, transparent 0 92px, #071b45 93px),
    linear-gradient(165deg, #071b45 0 58%, #bf0d24 58% 72%, #c99543 72% 76%, #071b45 76%);
  pointer-events: none;
}

.tt-hero-section .elementor-container {
  position: relative;
  z-index: 2;
}

.tt-hero-section .elementor-heading-title {
  max-width: 760px;
  margin: 0 auto;
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.02;
  text-align: center;
}

.tt-hero-section .elementor-widget-text-editor {
  max-width: 650px;
  margin: 1rem auto 1.35rem;
  color: #071b45;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.75;
  text-align: center;
}

.tt-hero-section .elementor-button,
.tt-cta-section .elementor-button {
  min-height: 50px;
  padding: 0.9rem 1.4rem;
  background: #bf0d24;
  border-radius: 6px;
  font-weight: 900;
}

.tt-election-info,
.tt-card-grid,
.tt-platform-grid,
.tt-team-grid,
.tt-cta-section,
.tt-page-hero {
  padding: clamp(3rem, 6vw, 5rem) var(--container-padding);
}

.tt-election-info .elementor-container,
.tt-card-grid .elementor-container,
.tt-platform-grid .elementor-container,
.tt-team-grid .elementor-container,
.tt-cta-section .elementor-container,
.tt-page-hero .elementor-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.tt-election-info .elementor-column,
.tt-card-grid .elementor-column,
.tt-platform-grid .elementor-column {
  padding: 0.75rem;
}

.tt-election-info .elementor-widget-wrap,
.tt-card-grid .elementor-widget-wrap,
.tt-platform-grid .elementor-widget-wrap {
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 27, 69, 0.08);
}

.tt-card-grid,
.tt-team-grid {
  background: #fff;
}

.tt-platform-grid {
  background: #f7f9fc;
}

.tt-election-info {
  background: #fff;
}

.tt-page-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.96), rgba(7,27,69,0.86)),
    #071b45;
}

.tt-page-hero .elementor-heading-title,
.tt-page-hero .elementor-widget-text-editor,
.tt-cta-section .elementor-heading-title,
.tt-cta-section .elementor-widget-text-editor {
  color: #fff;
}

.tt-page-hero .elementor-heading-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
}

.tt-cta-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.97), rgba(7,27,69,0.9)),
    #071b45;
}

.tt-cta-section .elementor-container {
  text-align: center;
}

.tt-team-grid .elementor-widget-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 27, 69, 0.08);
}

.tt-contact-form {
  padding: clamp(2.5rem, 5vw, 4rem) var(--container-padding);
  background: #f7f9fc;
}

.tt-contact-form .elementor-container {
  max-width: 760px;
  margin: 0 auto;
}

.tt-contact-form .elementor-widget-wrap {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 27, 69, 0.08);
}

@media (max-width: 767px) {
  .tt-hero-section {
    min-height: 560px;
    padding-bottom: 6rem;
  }

  .tt-election-info .elementor-column,
  .tt-card-grid .elementor-column,
  .tt-platform-grid .elementor-column {
    padding: 0.5rem 0;
  }

  .tt-hero-section .elementor-button,
  .tt-cta-section .elementor-button {
    width: 100%;
  }
}

/* Screenshot-matched Elementor homepage */
.tt-home-hero {
  position: relative;
  min-height: clamp(520px, 62vw, 650px);
  padding: clamp(2rem, 5vw, 3.5rem) var(--container-padding) 8.5rem;
  overflow: hidden;
  border-bottom: 1px solid #d7dde8;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.36) 0%, rgba(255,255,255,0.88) 38%, rgba(255,255,255,0.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.08) 0 62%, rgba(7,27,69,0.18) 63%),
    repeating-linear-gradient(180deg, rgba(191,13,36,0.78) 0 28px, rgba(255,255,255,0.88) 28px 56px),
    linear-gradient(120deg, #071b45 0 24%, #f6efe5 42%, #dce7f2 61%, #9ab4cf 100%);
  background-blend-mode: normal, normal, multiply, normal;
}

.tt-home-hero::before {
  content: "Upload combined hero image here";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start center;
  padding-top: 1rem;
  color: rgba(7,27,69,0.35);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.tt-home-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: clamp(110px, 13vw, 150px);
  background:
    radial-gradient(circle at 50% -22px, transparent 0 72px, #071b45 73px),
    linear-gradient(170deg, #071b45 0 46%, #bf0d24 47% 64%, #c99543 64% 68%, #071b45 69%);
  border-top: 6px solid #c99543;
  transform: skewY(-3deg);
  transform-origin: left bottom;
}

.tt-home-hero .elementor-container {
  position: relative;
  z-index: 2;
}

.tt-home-hero .elementor-widget-wrap {
  max-width: 690px;
  margin: 0 auto;
  text-align: center;
}

.tt-hero-copy {
  text-align: center;
}

.tt-hero-copy h1 {
  margin: 0;
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.03;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}

.tt-hero-copy h1 span {
  color: #bf0d24;
}

.tt-hero-copy p {
  max-width: 560px;
  margin: 0 auto 1rem;
  color: #071b45;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.tt-hero-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  color: #fff;
  background: #071b45;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(7,27,69,0.18);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.tt-hero-button:hover {
  color: #fff;
  text-decoration: none;
}

.tt-home-hero .elementor-heading-title {
  color: #071b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.03;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}

.tt-home-hero .elementor-heading-title br + * {
  color: #bf0d24;
}

.tt-home-hero .elementor-widget-heading::after,
.tt-home-hero .star-divider {
  content: "*";
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: min(280px, 70%);
  margin: 0.85rem auto 0.75rem;
  color: #c99543;
  font-size: 1.6rem;
  line-height: 1;
}

.tt-home-hero .star-divider span {
  flex: 1;
  height: 1px;
  background: #c99543;
}

.tt-home-hero .star-divider strong {
  color: #c99543;
  font-size: 1.45rem;
  line-height: 1;
}

.tt-home-hero .elementor-widget-text-editor {
  max-width: 560px;
  margin: 0 auto 1rem;
  color: #071b45;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.tt-home-hero .elementor-button {
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  background: #071b45;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(7,27,69,0.18);
  font-size: 0.9rem;
  font-weight: 800;
}

.tt-home-why,
.tt-home-team,
.tt-home-pillars {
  padding: clamp(2rem, 4vw, 3rem) var(--container-padding);
  background: #fff;
}

.tt-home-why .elementor-container,
.tt-home-team .elementor-container,
.tt-home-pillars .elementor-container,
.tt-home-vision .elementor-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.tt-home-why .elementor-widget-wrap,
.tt-home-team .elementor-widget-wrap,
.tt-home-pillars .elementor-widget-wrap,
.tt-home-vision .elementor-widget-wrap {
  padding: 0;
}

.tt-home-why .section-heading,
.tt-home-team .section-heading,
.tt-home-pillars .section-heading {
  margin-bottom: 1.35rem;
}

.tt-home-why .section-heading h2,
.tt-home-team .section-heading h2,
.tt-home-pillars .section-heading h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.tt-home-why .feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tt-home-why .feature-card {
  min-height: 230px;
  align-items: center;
  padding: 1.6rem 1.15rem;
  text-align: center;
}

.tt-home-why .feature-icon {
  background: transparent;
  color: #071b45;
  font-size: 2.6rem;
}

.tt-home-why .feature-icon.red {
  background: transparent;
  color: #bf0d24;
}

.tt-home-team {
  padding-top: 0;
}

.tt-home-team .candidate-strip {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.tt-home-team .candidate-card {
  min-height: 250px;
  box-shadow: 0 8px 20px rgba(7,27,69,0.08);
}

.tt-home-team .candidate-photo {
  width: 110px;
  height: 110px;
}

.tt-home-pillars {
  border-top: 1px solid #eef1f5;
  border-bottom: 1px solid #d9dfeb;
}

.tt-home-pillars .pillars {
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
}

.tt-home-vision {
  padding: 0 var(--container-padding);
  background: linear-gradient(90deg, #fff 0 52%, #eef3f8 52%);
}

.tt-home-vision .vision-layout {
  max-width: var(--container-max);
  margin: 0 auto;
}

.tt-home-cta {
  padding: 0 var(--container-padding);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,27,69,0.97), rgba(7,27,69,0.92)),
    #071b45;
}

.tt-home-cta .elementor-container {
  max-width: var(--container-max);
  min-height: 118px;
  align-items: center;
  margin: 0 auto;
}

.tt-home-cta .elementor-column:first-child {
  width: 62%;
}

.tt-home-cta .elementor-column:last-child {
  width: 38%;
}

.tt-home-cta .elementor-heading-title,
.tt-home-cta .elementor-widget-text-editor {
  color: #fff;
}

.tt-home-cta .elementor-heading-title {
  margin-bottom: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  text-transform: uppercase;
}

.tt-home-cta .elementor-widget-text-editor {
  margin-bottom: 0;
}

.tt-home-cta .elementor-widget-button {
  display: inline-block;
  margin-right: 0.65rem;
}

.tt-home-cta .elementor-button {
  min-width: 170px;
  min-height: 56px;
  padding: 0.95rem 1.25rem;
  background: #bf0d24;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-weight: 900;
  text-transform: uppercase;
}

.tt-home-cta .elementor-widget-button:last-child .elementor-button {
  color: #071b45;
  background: #fff;
}

@media (max-width: 1024px) {
  .tt-home-why .feature-grid,
  .tt-home-team .candidate-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tt-home-pillars .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tt-home-pillars .pillar-divider {
    display: none;
  }

  .tt-home-vision {
    background: #fff;
  }
}

@media (max-width: 760px) {
  .tt-home-hero {
    min-height: 560px;
    padding-bottom: 7rem;
  }

  .tt-home-why .feature-grid,
  .tt-home-team .candidate-strip,
  .tt-home-vision .vision-layout {
    grid-template-columns: 1fr;
  }

  .tt-home-cta .elementor-container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .tt-home-cta .elementor-column:first-child,
  .tt-home-cta .elementor-column:last-child {
    width: 100%;
  }

  .tt-home-cta .elementor-widget-button,
  .tt-home-cta .elementor-button {
    width: 100%;
  }
}
