/*
Theme Name: Winton Modern
Theme URI: https://wintoninternational.com
Author: Winton International
Description: Modern, responsive theme for Winton International. Built with Tailwind CDN + Alpine.js.
Version: 1.2.20
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: winton-modern
*/

:root {
  --wi-blue-900: #14286f;
  --wi-blue-800: #1a3380;
  --wi-blue-700: #2f4aac;
  --wi-blue-600: #3d5bc4;
  --wi-blue-500: #5f78d6;
  --wi-blue-400: #7b95e8;
  --wi-nav-900: #3e3e44;
  --wi-nav-800: #4a4a52;
  --wi-nav-700: #55555e;
  --wi-surface: #f4f5f8;
  --wi-page: #d2d4da;
  --wi-ink: #111827;
  --wi-red: #df1f2e;
  --wi-white: #ffffff;
  --wi-radius-sm: 12px;
  --wi-radius-md: 18px;
  --wi-radius-lg: 28px;
  --wi-radius-xl: 36px;
  --wi-shadow-1: 0 8px 32px rgba(8, 14, 30, 0.08);
  --wi-shadow-2: 0 16px 48px rgba(6, 10, 22, 0.12);
  --wi-shadow-3: 0 24px 64px rgba(6, 10, 22, 0.16);
  --wi-transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --wi-transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --wi-display-font: "Cormorant Garamond", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--wi-ink);
  background:
    radial-gradient(1200px 800px at 90% -5%, rgba(95, 120, 214, 0.08), transparent 60%),
    radial-gradient(1000px 600px at 10% 20%, rgba(47, 74, 172, 0.06), transparent 50%),
    linear-gradient(180deg, #e8eaef 0%, var(--wi-page) 100%);
  margin: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[x-cloak] {
  display: none !important;
}

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

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-in {
  animation: fadeIn 0.4s var(--wi-transition) forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s var(--wi-transition) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.4s var(--wi-transition) forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.4s var(--wi-transition) forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Typography */
@font-face {
  font-family: "Park Avenue";
  src: url("assets/fonts/ParkAvenue.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.wi-script {
  font-family: "Park Avenue", "Brush Script MT", cursive;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #fff 0%, #e8edff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.wi-title-serif {
  font-family: var(--wi-display-font);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}

/* Header */
.wi-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, rgba(47, 74, 172, 0.97) 0%, rgba(20, 40, 111, 0.98) 48%, rgba(26, 51, 128, 0.97) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(20, 40, 111, 0.22);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.wi-site-header.is-scrolled {
  box-shadow: 0 14px 34px rgba(10, 20, 60, 0.28);
}

.wi-header-shell {
  position: relative;
  z-index: 1;
}

.wi-header-row {
  position: relative;
}

.wi-brand {
  min-width: 0;
}

.wi-brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.wi-brand-logo {
  display: block;
  width: auto;
  max-height: 72px;
  transition: transform 0.35s ease;
}

.wi-brand-wordmark {
  display: inline-block;
  font-size: clamp(2.45rem, 4.8vw, 3.45rem);
  line-height: 0.9;
  transition: transform 0.3s ease;
}

.wi-brand-link:hover .wi-brand-logo,
.wi-brand-link:hover .wi-brand-wordmark {
  transform: scale(1.03);
}

.wi-header-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  min-width: 0;
}

.wi-search-wrap {
  width: min(100%, 17rem);
}

.wi-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wi-hamburger:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.wi-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wi-mobile-quickcall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wi-mobile-quickcall:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.wi-mobile-top {
  min-height: 52px;
}

.wi-mobile-panel {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wi-mobile-menu {
  position: relative;
  z-index: 1;
  background: rgba(42, 55, 85, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.wi-mobile-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.wi-mobile-phone:hover {
  color: #fff;
}

.wi-header-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border: 3px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.wi-header-badge:hover {
  transform: translateY(-1px) scale(1.02);
}

.wi-header-badge img {
  filter: contrast(1.08) saturate(1.12) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.wi-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.wi-phone:hover {
  color: #fff;
}

.wi-phone svg {
  flex-shrink: 0;
}

/* Navigation */
.wi-main-nav {
  background: rgba(42, 55, 85, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.wi-mobile-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.wi-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.wi-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.wi-menu li {
  margin: 0;
  position: relative;
}

.wi-menu li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
}

.wi-menu a {
  position: relative;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.wi-menu a::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 1.4rem;
  right: 1.4rem;
  height: 2px;
  background: var(--wi-blue-400);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.wi-menu a:hover,
.wi-menu a:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.wi-menu a:hover::after,
.wi-menu a:focus::after {
  transform: scaleX(1);
}

.wi-menu .current-menu-item a,
.wi-menu .current_page_item a {
  color: #fff;
  background: rgba(95, 120, 214, 0.16);
}

.wi-menu .current-menu-item a::after,
.wi-menu .current_page_item a::after {
  transform: scaleX(1);
}

/* Submenu Styles */
.wi-menu li ul.sub-menu,
.wi-menu li ul.children {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(42, 55, 85, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--wi-blue-400);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  padding: 0.45rem 0;
  z-index: 100;
  list-style: none;
}

.wi-menu li:hover > ul.sub-menu,
.wi-menu li:hover > ul.children,
.wi-menu li:focus-within > ul.sub-menu,
.wi-menu li:focus-within > ul.children {
  display: block;
}

.wi-menu li ul.sub-menu li,
.wi-menu li ul.children li {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.wi-menu li ul.sub-menu li::after,
.wi-menu li ul.children li::after {
  display: none;
}

.wi-menu li ul.sub-menu a,
.wi-menu li ul.children a {
  display: block;
  padding: 0.75rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: none;
  letter-spacing: 0.02em;
  border: none;
  background: transparent;
  border-radius: 0;
}

.wi-menu li ul.sub-menu a::after,
.wi-menu li ul.children a::after {
  display: none;
}

.wi-menu li ul.sub-menu a:hover,
.wi-menu li ul.children a:hover,
.wi-menu li ul.sub-menu a:focus,
.wi-menu li ul.children a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.wi-menu li ul.sub-menu .current-menu-item a,
.wi-menu li ul.children .current_page_item a {
  background: rgba(95, 120, 214, 0.2);
  color: #fff;
}

.wi-mobile-search {
  margin-top: 0.8rem;
}

.wi-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.5rem;
}

.wi-mobile-menu-list li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wi-mobile-menu-list li:last-child {
  border-bottom: none;
}

.wi-mobile-menu-list > li > a {
  display: block;
  padding: 0.95rem 3rem 0.95rem 0;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.wi-mobile-menu-list > li > a:hover,
.wi-mobile-menu-list > li > a:focus {
  color: #fff;
  padding-left: 0.35rem;
}

.wi-mobile-menu-list .current-menu-item > a,
.wi-mobile-menu-list .current_page_item > a,
.wi-mobile-menu-list .current-menu-ancestor > a,
.wi-mobile-menu-list .current_page_ancestor > a {
  color: var(--wi-blue-400);
}

.wi-mobile-submenu-toggle {
  position: absolute;
  top: 0.72rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wi-mobile-submenu-toggle:hover,
.wi-mobile-submenu-toggle:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.wi-mobile-submenu-toggle svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.25s ease;
}

.wi-mobile-submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.wi-mobile-menu-list .sub-menu,
.wi-mobile-menu-list .children {
  list-style: none;
  margin: 0 0 0.6rem 0.75rem;
  padding: 0 0 0 1rem;
  border-left: 2px solid rgba(123, 149, 232, 0.35);
}

.wi-mobile-menu-list .sub-menu[hidden],
.wi-mobile-menu-list .children[hidden] {
  display: none !important;
}

.wi-mobile-menu-list .sub-menu li,
.wi-mobile-menu-list .children li {
  margin: 0;
}

.wi-mobile-menu-list .sub-menu a,
.wi-mobile-menu-list .children a {
  display: block;
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.wi-mobile-menu-list .sub-menu a:hover,
.wi-mobile-menu-list .children a:hover,
.wi-mobile-menu-list .sub-menu a:focus,
.wi-mobile-menu-list .children a:focus {
  color: #fff;
}

/* Hero Section */
.wi-hero-shell {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.wi-hero-image {
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.wi-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20, 40, 111, 0.1) 100%);
  pointer-events: none;
}

.wi-hero-image img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.wi-hero-image:hover img {
  transform: scale(1.03);
}

/* Main Panel */
.wi-intro-panel {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.wi-main-panel {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: var(--wi-shadow-2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.wi-main-panel:hover {
  box-shadow: var(--wi-shadow-3);
}

/* Page specific panels - unified, clean design */
.wi-content-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 2rem 2.5rem;
}

.wi-content-panel header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f1f5f9;
}

.wi-content-panel h1 {
  color: #0f172a;
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0;
}

.wi-subpage-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wi-subpage-link:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.wi-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.wi-article-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wi-main-panel h1,
.wi-main-panel h2,
.wi-main-panel h3 {
  font-family: var(--wi-display-font);
  color: var(--wi-blue-900);
  font-weight: 600;
}

.wi-main-panel h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.wi-main-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.wi-prose {
  line-height: 1.8;
  color: #374151;
}

.wi-prose p {
  margin-bottom: 1.25rem;
}

.wi-prose a {
  color: var(--wi-blue-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.wi-prose a:hover {
  color: var(--wi-blue-900);
  border-bottom-color: var(--wi-blue-700);
}

/* Page Template */
.wi-page-shell {
  position: relative;
  isolation: isolate;
}

.wi-page-shell::before,
.wi-page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.wi-page-shell::before {
  background:
    radial-gradient(620px 320px at 12% 12%, rgba(123, 149, 232, 0.16), transparent 65%),
    radial-gradient(760px 360px at 88% 0%, rgba(61, 91, 196, 0.14), transparent 68%);
  opacity: 0.95;
}

.wi-page-shell::after {
  inset: 2.5rem 0 auto;
  height: 420px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 118px
    );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 86%);
}

.wi-page-intro {
  position: relative;
  overflow: hidden;
  min-height: clamp(14rem, 26vw, 19rem);
  margin-bottom: 1.1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--wi-shadow-3);
  background: linear-gradient(135deg, rgba(18, 34, 98, 0.96) 0%, rgba(10, 18, 51, 0.98) 100%);
}

.wi-page-intro:not(.has-media) {
  min-height: auto;
  background:
    radial-gradient(720px 220px at 100% 0%, rgba(61, 91, 196, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 248, 252, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--wi-shadow-2);
}

.wi-page-intro:not(.has-media)::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--wi-blue-500) 0%, var(--wi-blue-900) 100%);
}

.wi-page-intro:not(.has-media)::after {
  content: "";
  position: absolute;
  right: -4.5rem;
  bottom: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(61, 91, 196, 0.18) 0%, rgba(61, 91, 196, 0) 72%);
  pointer-events: none;
}

.wi-page-intro:not(.has-media) .wi-page-intro-overlay {
  display: none;
}

.wi-page-intro:not(.has-media) .wi-page-intro-copy {
  max-width: 48rem;
  padding: clamp(1.5rem, 2.5vw, 2.1rem) clamp(1.6rem, 2.8vw, 2.7rem);
}

.wi-page-intro:not(.has-media) .wi-page-kicker {
  color: var(--wi-blue-700);
}

.wi-page-intro:not(.has-media) .wi-page-title {
  color: var(--wi-blue-900);
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 1.02;
  text-shadow: none;
}

.wi-page-intro:not(.has-media) .wi-page-excerpt {
  color: #475569;
}

.wi-page-intro-media {
  position: absolute;
  inset: 0;
}

.wi-page-intro-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wi-page-intro-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 36, 0.9) 0%, rgba(10, 18, 50, 0.76) 38%, rgba(12, 21, 58, 0.28) 70%, rgba(12, 21, 58, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 10, 24, 0.08) 0%, rgba(6, 10, 24, 0.42) 100%);
  z-index: 1;
}

.wi-page-intro-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  padding: clamp(1.8rem, 3.5vw, 2.9rem);
}

.wi-page-intro-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.wi-page-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wi-page-parent-link {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 40, 111, 0.12);
  background: rgba(20, 40, 111, 0.04);
  color: var(--wi-blue-900);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wi-page-parent-link:hover {
  transform: translateX(-1px);
  border-color: rgba(20, 40, 111, 0.18);
  background: rgba(20, 40, 111, 0.08);
}

.wi-page-parent-link svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
}

.wi-page-title {
  margin: 0;
  color: var(--wi-blue-900);
  font-size: clamp(2.65rem, 5.1vw, 4.25rem);
  letter-spacing: 0;
  line-height: 0.94;
  text-shadow: none;
  text-wrap: balance;
}

.wi-page-excerpt {
  margin: 1rem 0 0;
  max-width: 41rem;
  color: #475569;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.72;
}

.wi-page-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.wi-page-layout:not(.has-sidebar) {
  width: min(100%, 61rem);
  margin-inline: auto;
}

.wi-page-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 251, 255, 0.92) 100%);
  box-shadow:
    0 26px 60px rgba(10, 18, 44, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.wi-page-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 32px 72px rgba(10, 18, 44, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.wi-page-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(95, 120, 214, 1) 0%, rgba(20, 40, 111, 0.78) 34%, rgba(95, 120, 214, 0) 100%);
}

.wi-page-card-media {
  position: relative;
  min-height: clamp(13rem, 25vw, 18.5rem);
  border-bottom: 1px solid rgba(20, 40, 111, 0.08);
  overflow: hidden;
}

.wi-page-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 36%, rgba(7, 14, 42, 0.14) 100%),
    radial-gradient(600px 180px at 100% 0%, rgba(61, 91, 196, 0.2), transparent 58%);
  pointer-events: none;
}

.wi-page-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wi-page-card-inner {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.8rem);
}

.wi-page-card-header {
  max-width: 48rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.55rem;
  border-bottom: 1px solid rgba(219, 226, 236, 0.9);
}

.wi-page-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.wi-page-body {
  display: grid;
  gap: 1.18rem;
  font-size: 1.05rem;
  line-height: 1.92;
  text-align: left;
  color: #334155;
}

.wi-page-body > :first-child {
  margin-top: 0;
}

.wi-page-body > :last-child {
  margin-bottom: 0;
}

.wi-page-body > :where(p, ul, ol, blockquote, h2, h3, h4, hr, table) {
  max-width: 48rem;
}

.wi-page-body > :where(p, li) {
  text-wrap: pretty;
}

.wi-page-body > p:first-of-type {
  color: #1e293b;
  font-size: clamp(1.12rem, 1.75vw, 1.24rem);
  line-height: 1.88;
}

.wi-page-body p {
  margin: 0;
}

.wi-page-body a {
  color: var(--wi-blue-700);
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(90deg, rgba(61, 91, 196, 0.24), rgba(61, 91, 196, 0.24));
  background-repeat: no-repeat;
  background-size: 100% 0.42em;
  background-position: 0 92%;
  transition: color 0.2s ease, background-size 0.2s ease, background-position 0.2s ease;
}

.wi-page-body a:hover {
  color: var(--wi-blue-900);
  background-size: 100% 0.75em;
  background-position: 0 100%;
}

.wi-page-body h2,
.wi-page-body h3,
.wi-page-body h4 {
  margin: 2.55rem 0 0.95rem;
  font-family: var(--wi-display-font);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--wi-blue-900);
  line-height: 1.04;
  scroll-margin-top: 8.25rem;
  text-wrap: balance;
}

.wi-page-body h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.wi-page-body h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
}

.wi-page-body h4 {
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.12;
}

.wi-page-body ul,
.wi-page-body ol {
  display: grid;
  gap: 0.95rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.wi-page-body li {
  position: relative;
  margin: 0;
  line-height: 1.82;
}

.wi-page-body ol {
  counter-reset: wi-page-list;
}

.wi-page-body ol > li {
  min-height: 2.4rem;
  padding-left: 3.15rem;
}

.wi-page-body ol > li::before {
  content: counter(wi-page-list, decimal-leading-zero);
  counter-increment: wi-page-list;
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wi-blue-600) 0%, var(--wi-blue-900) 100%);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 24px rgba(20, 40, 111, 0.18);
}

.wi-page-body ul > li {
  padding-left: 1.4rem;
}

.wi-page-body ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wi-blue-500) 0%, var(--wi-blue-900) 100%);
  box-shadow: 0 0 0 4px rgba(61, 91, 196, 0.1);
}

.wi-page-body li > ul,
.wi-page-body li > ol {
  margin-top: 0.85rem;
}

.wi-page-body strong {
  color: #0f172a;
  font-weight: 700;
}

.wi-page-body blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.35rem 1.45rem 1.35rem 1.6rem;
  border: 1px solid rgba(61, 91, 196, 0.12);
  border-left: 4px solid var(--wi-blue-600);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(61, 91, 196, 0.08) 0%, rgba(61, 91, 196, 0.03) 100%);
  color: #1e293b;
}

.wi-page-body blockquote::before {
  content: "“";
  position: absolute;
  left: 1rem;
  top: 0.2rem;
  color: rgba(61, 91, 196, 0.22);
  font-family: var(--wi-display-font);
  font-size: 4rem;
  line-height: 1;
}

.wi-page-body blockquote > * {
  position: relative;
  z-index: 1;
}

.wi-page-body img {
  border-radius: 20px;
  box-shadow: var(--wi-shadow-1);
}

.wi-page-body figure {
  margin: 1.8rem 0;
}

.wi-page-body figcaption {
  margin-top: 0.75rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
}

.wi-page-body hr {
  margin: 2.2rem 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.wi-page-body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--wi-shadow-1);
}

.wi-page-body th,
.wi-page-body td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.84);
  text-align: left;
}

.wi-page-body th {
  color: var(--wi-blue-900);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(20, 40, 111, 0.05);
}

.wi-page-body tr:last-child td {
  border-bottom: 0;
}

.wi-page-pagination {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid #dbe2ec;
}

.wi-page-pagination-label {
  margin: 0 0 0.8rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wi-page-pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.wi-page-pagination-links > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 40, 111, 0.1);
  background: rgba(20, 40, 111, 0.05);
  color: var(--wi-blue-900);
  font-size: 0.9rem;
  font-weight: 600;
}

.wi-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 7.35rem;
}

.wi-page-sidebar-card {
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 254, 0.9) 100%);
  box-shadow:
    0 18px 36px rgba(8, 14, 30, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.wi-page-sidebar-title {
  margin: 0;
  font-family: var(--wi-display-font);
  color: var(--wi-blue-900);
  font-size: 1.34rem;
  line-height: 1.06;
}

.wi-page-sidebar-heading {
  margin-bottom: 0.95rem;
}

.wi-page-sidebar-intro {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.wi-page-outline-nav {
  display: grid;
  gap: 0.45rem;
}

.wi-page-outline-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.82rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 40, 111, 0.08);
  background: rgba(20, 40, 111, 0.03);
  color: #243b6b;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wi-page-outline-link::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-top: 0.52rem;
  border-radius: 999px;
  flex: none;
  background: linear-gradient(135deg, var(--wi-blue-500) 0%, var(--wi-blue-900) 100%);
  box-shadow: 0 0 0 4px rgba(61, 91, 196, 0.08);
}

.wi-page-outline-link:hover {
  transform: translateX(2px);
  border-color: rgba(20, 40, 111, 0.14);
  background: rgba(20, 40, 111, 0.06);
  color: var(--wi-blue-900);
}

.wi-page-outline-link.level-3 {
  padding-left: 1.3rem;
}

.wi-page-outline-link.level-4 {
  padding-left: 1.7rem;
  font-size: 0.88rem;
}

.wi-page-section-root {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(20, 40, 111, 0.1);
  background: linear-gradient(135deg, rgba(20, 40, 111, 0.06) 0%, rgba(61, 91, 196, 0.03) 100%);
  color: var(--wi-blue-900);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.wi-page-section-root:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 40, 111, 0.16);
  background: linear-gradient(135deg, rgba(20, 40, 111, 0.08) 0%, rgba(61, 91, 196, 0.05) 100%);
}

.wi-page-section-root-label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wi-page-section-root-title {
  font-family: var(--wi-display-font);
  font-size: 1.22rem;
  line-height: 1.08;
}

.wi-page-subnav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wi-page-subnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 40, 111, 0.08);
  background: rgba(20, 40, 111, 0.05);
  color: #243b6b;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.wi-page-subnav-link:hover {
  transform: translateX(2px);
  border-color: rgba(20, 40, 111, 0.14);
  background: rgba(20, 40, 111, 0.08);
}

.wi-page-subnav-link.is-current {
  border-color: transparent;
  background: linear-gradient(135deg, var(--wi-blue-700) 0%, var(--wi-blue-900) 100%);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(20, 40, 111, 0.18);
}

.wi-page-subnav-link svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.wi-page-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wi-page-widget li + li {
  margin-top: 0.6rem;
}

.wi-page-widget a {
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wi-page-widget a:hover {
  color: var(--wi-blue-700);
}

/* Cards Grid */
.wi-home-grid {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.wi-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.wi-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: all 0.3s ease;
  isolation: isolate;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
}

.wi-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.wi-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  pointer-events: none;
  transition: all 0.3s ease;
}

.wi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 40, 111, 0.1) 0%,
    rgba(20, 40, 111, 0.5) 60%,
    rgba(20, 40, 111, 0.8) 100%
  );
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.wi-card:hover::after {
  opacity: 0.7;
}

.wi-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.wi-card:hover img {
  transform: scale(1.05);
}

.wi-card-title {
  position: absolute;
  inset: auto 20px 20px 20px;
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  z-index: 3;
}

.wi-card:hover .wi-card-title {
  transform: translateY(-2px);
}

/* Forms */
.wi-form input,
.wi-form textarea,
.wi-form select {
  border-radius: 8px;
  border: 1px solid rgba(47, 74, 172, 0.2);
  padding: 0.75rem 1rem;
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.9rem;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.wi-form input::placeholder,
.wi-form textarea::placeholder {
  color: #94a3b8;
}

.wi-form input:focus,
.wi-form textarea:focus,
.wi-form select:focus {
  outline: none;
  border-color: var(--wi-blue-400);
  box-shadow: 
    0 0 0 3px rgba(95, 120, 214, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.wi-search-shell {
  max-width: 100%;
}

.wi-search-input {
  height: 3rem;
  padding-left: 1rem;
  padding-right: 3.1rem;
  border-radius: 999px !important;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 18px rgba(8, 12, 28, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.wi-search-input:focus {
  border-color: rgba(95, 120, 214, 0.45);
}

.wi-search-btn {
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: linear-gradient(135deg, var(--wi-blue-600) 0%, var(--wi-blue-800) 100%);
  color: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(20, 40, 111, 0.28);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wi-search-btn svg {
  display: block;
  flex: none;
}

.wi-search-btn:hover {
  background: linear-gradient(135deg, var(--wi-blue-700) 0%, var(--wi-blue-900) 100%);
  box-shadow: 0 10px 22px rgba(20, 40, 111, 0.34);
}

.wi-search-btn:active {
  transform: scale(0.98);
}

/* Tagline & Follow Section */
/* Modern social buttons */
.wi-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  transition: all 0.2s ease;
}

.wi-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wi-social-instagram {
  background: #E4405F;
}

.wi-social-instagram:hover {
  background: #D6325A;
}

.wi-social-youtube {
  background: #FF0000;
}

.wi-social-youtube:hover {
  background: #CC0000;
}

.wi-social-facebook {
  background: #1877F2;
}

.wi-social-facebook:hover {
  background: #166fe5;
}

.wi-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  transition: all 0.2s ease;
}

.wi-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wi-social li:nth-child(1) a {
  background: #E4405F;
}

.wi-social li:nth-child(1) a:hover {
  background: #D6325A;
}

.wi-social li:nth-child(2) a {
  background: #FF0000;
}

.wi-social li:nth-child(2) a:hover {
  background: #CC0000;
}

.wi-social li:nth-child(3) a {
  background: #1877F2;
}

.wi-social li:nth-child(3) a:hover {
  background: #166fe5;
}

/* Footer */
.wi-footer {
  background: linear-gradient(135deg, #0f1116 0%, #15171d 50%, #1a1c23 100%);
  color: #e5e7eb;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.wi-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.wi-footer a {
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.wi-footer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--wi-blue-400);
  transition: width 0.3s ease;
}

.wi-footer a:hover {
  color: var(--wi-blue-400);
}

.wi-footer a:hover::after {
  width: 100%;
}

/* Article Cards */
article.wi-main-panel {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

article.wi-main-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--wi-shadow-3);
}

article.wi-main-panel h2 a {
  color: var(--wi-blue-900);
  text-decoration: none;
  transition: color 0.3s ease;
}

article.wi-main-panel h2 a:hover {
  color: var(--wi-blue-700);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Responsive */
@media (min-width: 1024px) {
  .wi-header-row {
    align-items: center;
  }

  .wi-page-layout.has-sidebar {
    grid-template-columns: minmax(0, 1fr) 20.5rem;
  }

  .wi-home-hero-box {
    min-height: 29rem;
  }

  .wi-home-content-panel {
    margin-top: 1.2rem;
  }

  .wi-home-section-intro {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 2rem;
    align-items: start;
  }
}

@media (max-width: 1024px) {
  .wi-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wi-blocks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (max-width: 768px) {
  .wi-mobile-top .wi-brand {
    flex: 0 1 auto;
    max-width: min(54vw, 14rem);
  }

  .wi-mobile-top .wi-brand-link {
    max-width: 100%;
  }

  .wi-brand-logo {
    max-height: 42px;
  }

  .wi-brand-wordmark {
    font-size: clamp(2rem, 8vw, 2.35rem);
  }

  .wi-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .wi-intro-panel {
    margin-top: 1rem;
  }
  
  .wi-home-grid {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .wi-follow-inner {
    padding: 1.25rem;
  }
  
  .wi-home-hero-shell {
    padding-top: 1rem;
  }

  .wi-home-hero-box {
    min-height: 23.5rem;
    border-radius: 24px;
  }

  .wi-home-hero-content {
    padding: 1.25rem;
  }

  .wi-home-hero-copy {
    max-width: 100%;
  }

  .wi-page-intro {
    min-height: 12.5rem;
    border-radius: 24px;
  }

  .wi-page-intro-meta {
    margin-bottom: 0.75rem;
  }

  .wi-page-parent-link {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .wi-page-card-media {
    min-height: 10.5rem;
  }

  .wi-page-card-inner {
    padding: 1.35rem;
  }

  .wi-page-card-header {
    margin-bottom: 1.2rem;
    padding-bottom: 1.1rem;
  }

  .wi-page-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 0.96;
  }

  .wi-page-body {
    font-size: 1rem;
    line-height: 1.84;
  }

  .wi-page-body ol > li {
    padding-left: 2.8rem;
  }

  .wi-page-body ol > li::before {
    width: 2rem;
    height: 2rem;
    font-size: 0.72rem;
  }

  .wi-page-card,
  .wi-page-sidebar-card {
    border-radius: 22px;
  }

  .wi-page-sidebar {
    position: static;
  }
  
  .wi-card {
    aspect-ratio: 16/10;
  }
  
  .wi-main-panel {
    padding: 1.5rem;
  }

  .wi-homepage-blocks {
    padding: 1.4rem 1rem 2.75rem;
  }

  .wi-blocks-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .wi-block-card {
    min-height: 240px;
    aspect-ratio: 16 / 11;
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .wi-mobile-top .wi-brand {
    max-width: min(50vw, 11.5rem);
  }

  .wi-script {
    font-size: 1.9rem;
  }

  .wi-mobile-actions {
    gap: 0.55rem;
  }

  .wi-mobile-quickcall {
    width: 40px;
    height: 40px;
  }

  .wi-hamburger {
    height: 40px;
    width: 40px;
  }

  .wi-home-display {
    font-size: 2.3rem;
  }

  .wi-home-summary {
    font-size: 0.98rem;
  }

  .wi-section-kicker {
    font-size: 0.68rem;
  }

  .wi-block-title-text {
    font-size: 1.2rem;
  }
  
  .wi-card-title {
    font-size: 1rem;
    inset: auto 16px 16px 16px;
  }
}

/* Homepage Hero */
.wi-home-hero-shell {
  padding: clamp(0.95rem, 2vw, 1.7rem) 0 1.35rem;
}

.wi-home-hero-box {
  position: relative;
  min-height: clamp(21.5rem, 40vw, 31rem);
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--wi-shadow-3);
  background: linear-gradient(135deg, rgba(18, 34, 98, 0.96) 0%, rgba(10, 18, 51, 0.98) 100%);
}

.wi-home-hero-media {
  position: absolute;
  inset: 0;
}

.wi-home-kicker {
  margin: 0 0 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.wi-home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 36, 0.84) 0%, rgba(10, 18, 50, 0.76) 34%, rgba(12, 21, 58, 0.38) 62%, rgba(10, 18, 44, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 10, 24, 0.12) 0%, rgba(6, 10, 24, 0.48) 100%);
  z-index: 1;
}

.wi-home-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  min-height: inherit;
  padding: clamp(1.45rem, 3vw, 2.45rem);
}

.wi-home-hero-copy {
  max-width: 38rem;
}

.wi-home-display {
  margin: 0;
  color: #fff;
  font-size: clamp(2.9rem, 6.5vw, 5.2rem);
  line-height: 0.94;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.wi-home-summary {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.wi-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.wi-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.wi-button:hover {
  transform: translateY(-1px);
}

.wi-button-primary {
  color: var(--wi-blue-900);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(3, 7, 20, 0.24);
}

.wi-button-primary:hover {
  box-shadow: 0 20px 40px rgba(3, 7, 20, 0.28);
}

.wi-button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wi-button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.wi-home-hero-image,
.wi-home-hero-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wi-home-hero-fallback {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.22), transparent 0 20%),
    radial-gradient(circle at 82% 28%, rgba(120, 154, 244, 0.22), transparent 0 22%),
    linear-gradient(135deg, rgba(55, 86, 197, 0.96) 0%, rgba(13, 24, 67, 1) 100%);
}

.wi-home-content-panel {
  position: relative;
  z-index: 2;
  max-width: 68rem;
  margin: 1.25rem auto 0;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--wi-shadow-2);
}

/* Homepage Blocks */
.wi-homepage-blocks {
  padding: 2rem 0 4rem;
  background: transparent;
}

.wi-home-section-intro {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 72rem;
  margin: 0 auto 1.6rem;
}

.wi-section-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 40, 111, 0.12);
  background: rgba(20, 40, 111, 0.08);
  color: var(--wi-blue-800);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wi-home-section-copy h2 {
  margin: 0;
  color: var(--wi-blue-900);
  font-size: clamp(2rem, 4vw, 3rem);
}

.wi-home-section-copy p {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.8;
}

.wi-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 72rem;
  margin: 0 auto;
}

.wi-block-card {
  position: relative;
  display: block;
  min-height: 18rem;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  box-shadow: var(--wi-shadow-1);
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.wi-block-card::before {
  content: "";
  position: absolute;
  inset: 1rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  pointer-events: none;
  transition: inset 0.35s ease, border-color 0.35s ease;
}

.wi-block-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--wi-shadow-3);
}

.wi-block-card:hover::before {
  inset: 0.85rem;
  border-color: rgba(255, 255, 255, 0.22);
}

.wi-block-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wi-block-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.wi-block-card:hover .wi-block-photo {
  transform: scale(1.06);
}

.wi-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 36, 0.08) 0%, rgba(8, 14, 36, 0.18) 32%, rgba(8, 14, 36, 0.78) 100%);
  transition: opacity 0.35s ease;
}

.wi-block-card:hover .wi-block-overlay {
  opacity: 0.88;
}

.wi-block-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.85rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wi-block-title {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: #fff;
}

.wi-block-title-text {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.wi-block-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wi-block-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.wi-block-arrow svg {
  width: 1rem;
  height: 1rem;
}

.wi-block-card:hover .wi-block-arrow {
  transform: translate(2px, -2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.26);
}

@media (max-width: 1024px) {
  .wi-homepage-blocks {
    padding: 1.7rem 0 3.2rem;
  }

  .wi-home-section-intro {
    margin-bottom: 1.25rem;
  }

  .wi-blocks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .wi-block-card {
    min-height: 17rem;
    aspect-ratio: 4 / 4.6;
    border-radius: 24px;
  }

  .wi-block-title {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .wi-block-title-text {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  }
}

@media (max-width: 768px) {
  .wi-homepage-blocks {
    padding: 1.35rem 0 2.6rem;
  }

  .wi-home-section-intro {
    gap: 0.7rem;
    margin-bottom: 1rem;
  }

  .wi-home-section-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 0.98;
  }

  .wi-home-section-copy p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .wi-blocks-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .wi-block-card {
    min-height: 15.5rem;
    aspect-ratio: 16 / 11;
    border-radius: 22px;
  }

  .wi-block-card::before {
    inset: 0.85rem;
    border-radius: 16px;
  }

  .wi-block-index,
  .wi-block-arrow {
    top: 0.85rem;
  }

  .wi-block-index {
    left: 0.85rem;
    min-width: 2.55rem;
    padding: 0.42rem 0.62rem;
    font-size: 0.68rem;
  }

  .wi-block-arrow {
    right: 0.85rem;
    width: 2.4rem;
    height: 2.4rem;
  }

  .wi-block-title {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    gap: 0.45rem;
  }

  .wi-block-title-text {
    font-size: clamp(1.18rem, 4.7vw, 1.55rem);
    line-height: 1.08;
  }

  .wi-block-meta {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }
}

@media (max-width: 480px) {
  .wi-block-card {
    min-height: 14.25rem;
    aspect-ratio: 16 / 12;
  }

  .wi-block-title-text {
    font-size: 1.12rem;
  }
}

/* Contact Form 7 Custom Styles */
.wpcf7 {
  max-width: 100%;
}

.wpcf7-form {
  display: block;
}

.wpcf7-form p {
  margin: 0 0 2rem 0;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
  border-radius: 8px;
  border: 1px solid rgba(47, 74, 172, 0.2);
  padding: 0.875rem 1rem;
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.95rem;
  font-family: inherit;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form input[type="url"]::placeholder,
.wpcf7-form input[type="number"]::placeholder,
.wpcf7-form input[type="date"]::placeholder,
.wpcf7-form textarea::placeholder {
  color: #94a3b8;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--wi-blue-400);
  box-shadow: 
    0 0 0 3px rgba(95, 120, 214, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--wi-blue-600) 0%, var(--wi-blue-700) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(47, 74, 172, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  width: auto;
  min-width: 140px;
  float: right;
  margin-left: auto;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: linear-gradient(135deg, var(--wi-blue-700) 0%, var(--wi-blue-800) 100%);
  box-shadow: 0 6px 16px rgba(47, 74, 172, 0.4);
  transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form .wpcf7-submit:active {
  transform: scale(0.98);
}

.wpcf7-form input[type="submit"]:disabled,
.wpcf7-form .wpcf7-submit:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Response messages */
.wpcf7 form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border-width: 1px;
}

.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #15803d;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(220, 50, 50, 0.1);
  border-color: #dc3232;
  color: #991b1b;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: rgba(255, 185, 0, 0.1);
  border-color: #ffb900;
  color: #92400e;
}

.wpcf7 form.spam .wpcf7-response-output {
  background: rgba(245, 110, 40, 0.1);
  border-color: #f56e28;
  color: #9a3412;
}

/* Validation errors */
.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.wpcf7-not-valid-tip::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc3232' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid,
.wpcf7-form select.wpcf7-not-valid {
  border-color: #dc3232;
  box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.1);
}

/* Spinner */
.wpcf7-spinner {
  background-color: var(--wi-blue-600);
  opacity: 1;
}

.wpcf7-spinner::before {
  background-color: #fff;
}

/* reCAPTCHA container */
.wpcf7 .wpcf7-recaptcha {
  margin: 1rem 0;
}

/* Checkbox and radio styling */
.wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem 0;
}

.wpcf7-list-item-label {
  font-size: 0.9rem;
  color: #374151;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--wi-blue-600);
  cursor: pointer;
}

/* File upload styling */
.wpcf7-form input[type="file"] {
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
}

/* Acceptances (checkbox with label) */
.wpcf7-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #4b5563;
  cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  margin-top: 0.125rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .wpcf7-form {
    gap: 1rem;
  }
  
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    padding: 0.75rem 0.875rem;
  }
  
  .wpcf7-form input[type="submit"],
  .wpcf7-form .wpcf7-submit {
    width: 100%;
    justify-content: center;
  }
}
