/*
Theme Name: IITA ICT Portal
Theme URI: https://itcentre.iita.org
Author: Marshall Divine
Author URI: https://itcentre.iita.org
Description: IITA IT Centre portal theme with full Elementor, WPBakery, Gravity Forms and Contact Form 7 support.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iita-ict
Tags: custom-header, custom-logo, custom-menu, full-width-template, threaded-comments, accessibility-ready, block-patterns, editor-style, featured-images, sticky-post, translation-ready
*/

/* ════════════════════════════════════════════
   IITA ICT Portal  Main Stylesheet v1.1.0
   Changes: WPBakery compat, GF global styles
            moved to assets/gravity-forms.css
════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand  kept identical to assets/gravity-forms.css so both
     files agree regardless of load order */
  --iita-primary: #FF5722;
  --iita-primary-dark: #F4511E;
  --iita-primary-light: rgba(255, 87, 34, .1);
  --iita-primary-glow: rgba(255, 87, 34, .18);
  --iita-text: #111827;
  --iita-text-muted: #6b7280;
  --iita-text-label: #374151;

  /* style.css-only tokens. Namespaced (--iita-card-*, not
     --iita-border/--iita-radius) so they don't collide with
     gravity-forms.css's form-field tokens of the same short name. */
  --iita-primary-text: #D84315;   /* AA-safe orange for small/thin text */
  --iita-dark-bg: #1e293b;        /* dark hero/section backgrounds */
  --iita-card-border: #e5e7eb;
  --iita-card-radius-sm: 8px;
  --iita-card-radius: 14px;
  --iita-card-radius-lg: 16px;
  --iita-pill-radius: 100px;
  --iita-shadow-card: 0 2px 12px rgba(0, 0, 0, .06);
  --iita-shadow-float: 0 20px 60px rgba(15, 23, 42, .18);
}

/* Applied to <body> via JS while the mobile off-canvas nav is open,
   so the page behind it can't scroll. */
body.iita-nav-open-lock {
  overflow: hidden;
}

#iita-portal {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--iita-text);
  background: #f8fafc;
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

.iita-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ─────────────────────────────── */
.iita-header {
  background: #fff;
  border-bottom: 1px solid var(--iita-card-border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
  transition: box-shadow .3s;
}

.iita-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* Logo */
.iita-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.iita-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.iita-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.iita-logo-box {
  background: var(--iita-primary);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 6px 12px;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.iita-logo-text {
  display: flex;
  flex-direction: column;
}

.iita-logo-text span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--iita-primary-text);
  line-height: 1.45;
}

/* Nav */
.iita-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.iita-nav-mobile-head,
.iita-nav-mobile-cta {
  display: none;
}

.iita-nav-backdrop {
  display: none;
}

.iita-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--iita-text-label);
  text-decoration: none;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.iita-nav-link:hover,
.iita-nav-link:focus {
  color: var(--iita-primary-text);
  background: #fff5f2;
}

.iita-nav-link:focus-visible {
  outline: 2px solid var(--iita-primary);
  outline-offset: 2px;
}

/* Dropdown */
.iita-nav-dropdown {
  position: relative;
}

.iita-chevron {
  transition: transform .25s;
  margin-left: 2px;
}

.iita-nav-dropdown.open .iita-chevron {
  transform: rotate(180deg);
}

.iita-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--iita-card-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 300;
}

.iita-nav-dropdown.open .iita-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.iita-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--iita-text);
  transition: background .15s;
}

.iita-dropdown-item:hover {
  background: #f8fafc;
}

.iita-dd-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iita-dropdown-item div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.iita-dropdown-item strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.iita-dropdown-item span {
  font-size: 11.5px;
  color: var(--iita-text-muted);
}

/* Header actions */
.iita-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iita-remote-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--iita-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .4px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(255, 87, 34, .3);
  white-space: nowrap;
}

.iita-remote-btn:hover {
  background: var(--iita-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 87, 34, .35);
}

.iita-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.iita-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--iita-text-label);
  border-radius: 2px;
  transition: all .3s;
}

.iita-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.iita-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.iita-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ────────────────────────────────── */
.iita-hero {
  position: relative;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e293b;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.iita-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, .78) 0%, rgba(15, 23, 42, .6) 45%, rgba(15, 23, 42, .82) 100%);
}

.iita-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
}

.iita-hero-content h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.iita-hero-content h1 span {
  color: var(--iita-primary);
}

.iita-hero-content>p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: #cbd5e1;
  margin-bottom: 36px;
  line-height: 1.7;
}

.iita-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.iita-hero-cta-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--iita-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 87, 34, .35);
  transition: all .25s;
}

.iita-hero-cta-primary:hover {
  background: var(--iita-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 87, 34, .4);
}

.iita-hero-cta-secondary {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .25);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all .25s;
}

.iita-hero-cta-secondary:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .5);
}

.iita-hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.iita-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.iita-mouse-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, .6);
  border-radius: 100px;
  animation: iitaScroll 1.8s infinite;
}

@keyframes iitaScroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  80%,
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* ── SECTION HEADER ─────────────────────── */
.iita-section-tag {
  display: inline-block;
  margin-bottom: 12px;
  background: #fff5f2;
  color: var(--iita-primary-text);
  border: 1px solid #ffd5c7;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.iita-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.iita-section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.iita-section-header h2 span {
  color: var(--iita-primary);
}

.iita-section-header p {
  font-size: 1.05rem;
  color: var(--iita-text-muted);
}

/* ── SERVICES ────────────────────────────── */
.iita-services {
  padding: 90px 0;
  background: #fff;
}

/* High-intent actions (Submit a Ticket, Remote Support) get their own
   row above the standard grid so they read as the primary path,
   not one option among six equal-weight cards. */
.iita-cards-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.iita-card-featured {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent, #FF5722) 0%, color-mix(in srgb, var(--accent, #FF5722) 65%, #000) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent, #FF5722) 38%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}

.iita-card-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .2), transparent 55%);
  pointer-events: none;
}

.iita-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--accent, #FF5722) 48%, transparent);
}

.iita-card-featured:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.iita-card-featured-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.iita-card-featured-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.iita-card-featured-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .2);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.iita-card-featured-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.iita-card-featured-body p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .88);
  line-height: 1.5;
}

.iita-card-featured-arrow {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease;
}

.iita-card-featured:hover .iita-card-featured-arrow {
  background: rgba(255, 255, 255, .32);
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .iita-cards-featured {
    grid-template-columns: 1fr;
  }

  .iita-card-featured {
    padding: 22px;
  }

  .iita-card-featured-body p {
    display: none;
  }
}

.iita-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.iita-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--iita-card-border);
  padding: 28px 26px 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  transition: all .3s ease;
  overflow: hidden;
}

.iita-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, #FF5722);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.iita-card:hover {
  border-color: var(--accent, #FF5722);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  transform: translateY(-4px);
}

@media screen and (min-width: 1300px) {
  .wp2fa-modal.enable_styling .radio-cells .option-pill {
    flex-basis: 0;
    flex-grow: 1;
    border: 3px solid #eee;
    border-radius: 10px;
    padding-top: 15px !important;
    margin: 5px !important;
    font-size: 11px;
    position: relative;
    padding-bottom: 30px;
  }
}

.iita-card:hover::before {
  transform: scaleX(1);
}

.iita-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.iita-card-icon-bg {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--accent, #FF5722);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent, #FF5722) 35%, transparent);
  transition: transform .3s, box-shadow .3s;
}

.iita-card:hover .iita-card-icon-bg {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent, #FF5722) 45%, transparent);
}

.iita-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  background: #f1f5f9;
  color: #64748b;
  padding: 4px 10px;
  border-radius: 100px;
}

.iita-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  transition: color .2s;
}

.iita-card:hover h3 {
  color: var(--accent, #FF5722);
}

.iita-card>p {
  font-size: .9rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.iita-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent, #FF5722);
}

.iita-card-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent, #FF5722) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #FF5722);
  transition: background .2s, transform .2s;
}

.iita-card:hover .iita-card-arrow-circle {
  background: var(--accent, #FF5722);
  color: white;
  transform: translateX(3px);
}

.iita-card:hover .iita-card-arrow-circle svg {
  stroke: white;
}

/* ── STATS ───────────────────────────────── */
.iita-stats {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  overflow: hidden;
}

.iita-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255, 87, 34, .12), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 87, 34, .1), transparent 40%);
  pointer-events: none;
}

.iita-stats .iita-container {
  position: relative;
  z-index: 1;
}

.iita-stats .iita-section-tag {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: #ffab91;
}

.iita-stats .iita-section-header h2 {
  color: #fff;
}

.iita-stats .iita-section-header p {
  color: #94a3b8;
}

.iita-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.iita-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--iita-card-radius);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.iita-stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 87, 34, .35);
}

.iita-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--iita-primary) 0%, #FF7043 100%);
  box-shadow: 0 8px 20px rgba(255, 87, 34, .3);
}

.iita-stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.iita-stat-label {
  font-size: .875rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── SHOP ────────────────────────────────── */
.iita-shop {
  position: relative;
  padding: 100px 0;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.iita-shop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 10, 20, .93) 0%, rgba(15, 23, 42, .88) 50%, rgba(5, 10, 20, .93) 100%);
}

.iita-shop-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.iita-shop-content h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin: 16px 0 24px;
}

.iita-shop-content h2 span {
  color: var(--iita-primary);
}

.iita-shop-content p {
  color: #94a3b8;
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 14px;
}

.iita-shop-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 28px;
}

.iita-shop-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: #cbd5e1;
}

.iita-shop-notify-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.iita-shop-notify-row {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 87, 34, .35);
  background: rgba(255, 255, 255, .05);
  transition: border-color .2s;
}

.iita-shop-notify-row:focus-within {
  border-color: var(--iita-primary);
}

.iita-shop-notify-input {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  outline: none;
  color: #e2e8f0;
  font-size: 14px;
}

.iita-shop-notify-input::placeholder {
  color: #64748b;
}

.iita-shop-notify-row .iita-shop-btn {
  border-radius: 0;
  flex-shrink: 0;
}

.iita-shop-notify-note {
  font-size: 11.5px;
  color: #475569;
  margin: 0;
}

.iita-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--iita-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 13px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .2s;
  white-space: nowrap;
}

.iita-shop-btn:hover {
  background: var(--iita-primary-dark);
}

/* Right: browser mockup */
.iita-shop-card-preview {
  position: relative;
}

.iita-shop-mockup-wrap {
  background: rgba(15, 23, 42, .9) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
  padding: 0 !important;
}

.iita-shop-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.iita-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.iita-mock-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: #475569;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.iita-mock-store-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.iita-mock-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.iita-shop-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.iita-shop-card-2 {
  margin: 0 !important;
  background: rgba(255, 255, 255, .04) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 10px !important;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.iita-mock-product-grid .iita-shop-card-2:hover {
  border-color: rgba(255, 87, 34, .3) !important;
  transform: translateY(-2px);
}

.iita-shop-card-img {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.iita-shop-card-body {
  padding: 10px;
}

.iita-shop-card-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
  line-height: 1.3;
}

.iita-shop-card-price {
  font-size: 10.5px;
  color: #64748b;
  margin-bottom: 6px;
}

.iita-shop-card-badge {
  display: inline-block;
  background: rgba(16, 185, 129, .15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, .3);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
}

.iita-mock-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 2px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 11px;
  color: #475569;
}

/* ── FOOTER ──────────────────────────────── */

/* Make the portal wrapper fill the full viewport height so footer sticks */
#iita-portal {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* The main content area between header and footer should expand to fill space */
#iita-portal > *:not(.iita-header):not(.iita-footer):not(.iita-fab-wrap) {
  flex: 1 0 auto;
}

.iita-footer {
  background: #060d1a;
  color: #475569;
  padding: 28px 0;
  border-top: 1px solid #1e293b;
}

.iita-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.iita-footer-copy {
  font-size: .8rem;
  text-align: center;
}

.iita-footer-links {
  display: flex;
  gap: 20px;
}

.iita-footer-links a {
  color: #475569;
  text-decoration: none;
  font-size: .8rem;
  transition: color .2s;
}

.iita-footer-links a:hover {
  color: var(--iita-primary);
}

/* ── FAB ─────────────────────────────────── */
.iita-fab-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.iita-fab-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  border: 1px solid var(--iita-card-border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.97);
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.iita-fab-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.iita-fab-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--iita-card-border);
  font-size: 12px;
  font-weight: 800;
  color: var(--iita-text-label);
  text-transform: uppercase;
  letter-spacing: .6px;
}

.iita-fab-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  color: #9ca3af;
  transition: color .2s, background .2s;
}

.iita-fab-panel-close:hover {
  color: var(--iita-text-label);
  background: var(--iita-card-border);
}

.iita-fab-panel-items {
  padding: 8px;
}

.iita-fab-panel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--iita-text);
  transition: background .15s;
}

.iita-fab-panel-item:hover {
  background: #f8fafc;
}

.iita-fab-pi {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iita-fab-pi-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.iita-fab-pi-text strong {
  font-size: 13px;
  font-weight: 700;
}

.iita-fab-pi-text span {
  font-size: 11px;
  color: #9ca3af;
}

.iita-fab-panel-footer {
  padding: 10px 16px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.iita-fab-panel-footer a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--iita-primary-text);
  text-decoration: none;
}

.iita-fab-panel-footer a:hover {
  text-decoration: underline;
}

.iita-fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iita-primary) 0%, #FF7043 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 24px rgba(255, 87, 34, .45);
  transition: transform .25s, box-shadow .25s;
}

.iita-fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(255, 87, 34, .5);
}

.iita-fab-btn.open {
  transform: scale(1.05);
}

.iita-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 87, 34, .4);
  animation: iitaPulse 2.5s infinite;
}

@keyframes iitaPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .6;
  }

  60% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ── REMOTE SUPPORT PAGE ─────────────────── */
.rs-main {
  padding: 60px 0;
}

.rs-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.rs-form-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--iita-card-border);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.rs-form-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-bottom: 1px solid var(--iita-card-border);
}

.rs-form-card-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 87, 34, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rs-form-card-header h2 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.rs-form-card-header p {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}

.rs-form-body {
  padding: 28px;
}

/* Sidebar */
.rs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rs-avail-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 87, 34, .25);
}

.rs-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, .15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, .3);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.rs-avail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: iitaPulse 2s infinite;
}

.rs-avail-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.rs-avail-card p {
  font-size: 12.5px;
  color: #94a3b8;
  margin-bottom: 14px;
}

.rs-avail-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.rs-avail-phone a {
  color: var(--iita-primary);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.rs-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid var(--iita-card-border);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.rs-card-head {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 800;
  color: var(--iita-text-label);
  text-transform: uppercase;
  letter-spacing: .6px;
  background: #f8fafc;
  border-bottom: 1px solid var(--iita-card-border);
}

.rs-card-body {
  display: flex;
  flex-direction: column;
}

.rs-tool-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--iita-text);
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}

.rs-tool-link:last-child {
  border-bottom: none;
}

.rs-tool-link:hover {
  background: #f8fafc;
}

.rs-tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rs-tool-link div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rs-tool-link strong {
  font-size: 13px;
  font-weight: 700;
}

.rs-tool-link span {
  font-size: 11.5px;
  color: var(--iita-text-muted);
}

.rs-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.rs-info-item:last-child {
  border-bottom: none;
}

.rs-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.rs-info-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--iita-text);
  margin-bottom: 3px;
}

.rs-info-item p {
  font-size: 12px;
  color: var(--iita-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Elementor canvas / page overrides ────── */
.elementor-page #iita-portal,
.elementor-editor-active #iita-portal {
  background: transparent;
}

/* ── WPBakery Editor overrides ─────────────
   Ensure the WPBakery inline editor bar shows
   above our sticky header inside the admin.
══════════════════════════════════════════ */
.vc_editor .iita-header {
  z-index: 100 !important;
}

.vc_editor .vc-composer-icon {
  z-index: 9999 !important;
}

/* WPBakery "Edit with Visual Composer" button placement */
body.vc_editor-content-editable .iita-header {
  top: 32px;
}

/* Generic page content area (non-portal pages, classic editor) */
.iita-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  min-height: 60vh;
}

/* Content rendered by WPBakery inside .iita-page-content */
.iita-page-content .vc_row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .iita-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iita-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iita-shop-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  /* background-attachment:fixed is unreliable/janky on iOS
     Safari and tablet touch devices, not just phones. */
  .iita-hero {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  /* Off-canvas mobile nav panel, sliding in from the right,
     with a dimmed backdrop  same interaction pattern as the
     feedback modal (visibility/transform toggled by an .open class
     rather than display:none, so it can transition smoothly). */
  .iita-nav {
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    padding: 0 0 24px;
    gap: 2px;
    z-index: 500;
    overflow-y: auto;
    box-shadow: -12px 0 40px rgba(15, 23, 42, .18);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), visibility .3s;
  }

  .iita-nav.open {
    visibility: visible;
    pointer-events: all;
    transform: translateX(0);
  }

  .iita-nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px;
    border-bottom: 1px solid var(--iita-card-border);
    margin-bottom: 8px;
    position: sticky;
    top: 0;
    background: #fff;
  }

  .iita-nav-mobile-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--iita-text);
  }

  .iita-nav-close {
    background: #f8fafc;
    border: none;
    color: var(--iita-text-label);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
  }

  .iita-nav-close:hover,
  .iita-nav-close:focus-visible {
    background: #fff5f2;
    color: var(--iita-primary-text);
  }

  .iita-nav-close:focus-visible {
    outline: 2px solid var(--iita-primary);
    outline-offset: 2px;
  }

  .iita-nav > .iita-nav-link,
  .iita-nav > .iita-nav-dropdown {
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 8px;
  }

  .iita-nav-link {
    padding: 13px 12px;
    font-size: 14.5px;
    border-radius: 8px;
  }

  .iita-nav-dropdown {
    width: 100%;
  }

  .iita-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    background: #f8fafc;
    border: none;
    border-radius: 8px;
    padding: 0 6px;
    margin: 0;
    /* Unlike desktop (position:absolute, removed from flow), this menu
       stays in normal flow on mobile  collapse it with max-height when
       closed so it doesn't leave a blank gap the size of its contents. */
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .2s, visibility .3s, padding .3s, margin .3s;
  }

  .iita-dropdown-menu .iita-dropdown-item {
    padding-left: 14px;
    border-left: 2px solid var(--iita-card-border);
    margin-left: 6px;
    border-radius: 0 8px 8px 0;
  }

  .iita-nav-dropdown.open .iita-dropdown-menu {
    transform: none;
    max-height: 600px;
    padding: 6px;
    margin: 2px 0 6px;
  }

  .iita-nav-mobile-cta {
    display: block;
    margin: 16px 16px 0;
    padding-top: 16px;
    border-top: 1px solid var(--iita-card-border);
  }

  .iita-nav-mobile-cta .iita-remote-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
  }

  .iita-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 450;
    background: rgba(15, 23, 42, .5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s;
  }

  .iita-nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .iita-hamburger {
    display: flex;
  }

  /* The full-text CTA is duplicated inside the mobile nav panel
     footer  hide the header-bar copy so it doesn't crowd the
     hamburger on small screens. */
  .iita-remote-btn-header {
    display: none;
  }

  .iita-cards-grid {
    grid-template-columns: 1fr;
  }

  .iita-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .iita-hero {
    height: 480px;
  }

  .iita-shop-notify-row {
    flex-direction: column;
  }

  .iita-shop-notify-row .iita-shop-btn {
    border-radius: 0 0 6px 6px;
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .iita-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .iita-fab-panel {
    width: calc(100vw - 56px);
    right: 0;
  }
}

@media (max-width: 420px) {
  /* Two-up stat cards get too cramped for numbers like "<20 min"
     below ~420px  stack to one column instead. */
  .iita-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════
   IITA v1.2  GLOBAL WPBakery PAGE STYLES
   Loaded on every page via style.css (NOT gated behind GForms).

   Fixes:
   1. Iconbox on light pages (2-col, link cards)  Situation 1
   2. WPBakery column flex layout  universal 6/4/3/12 col system
   3. Phone directory post type  Situation 3
   4. iita-page-content padding for WPBakery inner pages
   ════════════════════════════════════════════════════════════ */

/* ── UNIVERSAL WPBakery FLEX COLUMNS ────────────────────────
   Replaces the float-based column system on ALL pages.
   Ensures vc_col-sm-6, vc_col-sm-4 etc. work everywhere.
─────────────────────────────────────────────────────────── */

.wpb-content-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.vc_row.wpb_row,
.vc_row.vc_row-fluid {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* Remove WPBakery clearfix pseudo-elements */
.vc_row.wpb_row::after,
.vc_row.vc_row-fluid::after,
.vc_row.wpb_row::before,
.vc_row.vc_row-fluid::before {
  display: none !important;
}

/* Column widths */
.vc_row-fluid .wpb_column.vc_col-sm-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  box-sizing: border-box !important;
  padding: 0 12px !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-6:first-child {
  padding-left: 0 !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-6:last-child {
  padding-right: 0 !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-4 {
  flex: 0 0 33.3333% !important;
  max-width: 33.3333% !important;
  box-sizing: border-box !important;
  padding: 0 10px !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-4:first-child {
  padding-left: 0 !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-4:last-child {
  padding-right: 0 !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-3 {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  box-sizing: border-box !important;
  padding: 0 10px !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-8 {
  flex: 0 0 66.6667% !important;
  max-width: 66.6667% !important;
  box-sizing: border-box !important;
  padding: 0 10px !important;
}

.vc_row-fluid .wpb_column.vc_col-sm-9 {
  flex: 0 0 75% !important;
  max-width: 75% !important;
  box-sizing: border-box !important;
  padding: 0 10px !important;
}

.vc_column_container,
.vc_column-inner,
.wpb_wrapper {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
  /* prevent flex blowout */
}

/* ── LEGACY ICONBOX + HEADING/TEXT/DIVIDER SHORTCODES ───────
   Live styles for .iita-legacy-iconbox, .iita-legacy-heading,
   .iita-legacy-text and .iita-legacy-divider now live in
   assets/gravity-forms.css (loaded after this file, using the
   --iita-* custom properties) so there's a single source of
   truth instead of two drifting copies.
─────────────────────────────────────────────────────────── */


/* ── SITUATION 3: PHONE DIRECTORY CPT ──────────────────────
   article.type-phone-directory  custom post type listings
─────────────────────────────────────────────────────────── */

article.type-phone-directory {
  padding: 14px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

article.type-phone-directory:last-child {
  border-bottom: none !important;
}

article.type-phone-directory h2 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 4px !important;
  line-height: 1.3 !important;
}

article.type-phone-directory h2 a {
  text-decoration: none !important;
  color: inherit !important;
  transition: color .2s !important;
}

article.type-phone-directory h2 a:hover {
  color: var(--iita-primary-text) !important;
}

article.type-phone-directory .entry-content {
  font-size: 13px !important;
  color: var(--iita-text-muted) !important;
  margin: 0 !important;
}

/* Phone directory list container */
.phone-directory-list,
.post-type-archive-phone-directory .iita-page-content,
body.post-type-archive-phone-directory main {
  max-width: 900px !important;
}


/* ── IMAGE LAYERS + PROGRESS BARS (all pages) ───────────────
   Live styles for .iita-image-layers/.iita-image-layer and
   .iita-progress-* now live in assets/gravity-forms.css
   (loaded after this file)  see note above.
─────────────────────────────────────────────────────────── */


/* ── RAW IFRAME CONTAINMENT (all pages) ─────────────────────
   Targets the hardcoded width=1920 Google Map iframe that
   WPBakery injects via wpb_raw_html on the contact page
   and any other page using raw HTML embed.
─────────────────────────────────────────────────────────── */

.wpb_raw_html,
.wpb_raw_code,
.wpb_content_element.wpb_raw_html {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: block !important;
}

.wpb_raw_html .wpb_wrapper,
.wpb_raw_code .wpb_wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  padding-top: 43% !important;
  /* 500/1160 ≈ 43%  map aspect ratio */
  height: 0 !important;
  box-sizing: border-box !important;
  border-radius: 14px !important;
}

.wpb_raw_html .wpb_wrapper iframe,
.wpb_raw_code .wpb_wrapper iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
  max-width: 100% !important;
  border-radius: 14px !important;
}


/* ── PAGE CONTENT WRAPPER ───────────────────────────────────
   Inner pages use .iita-page-content; ensure proper padding
   and WPBakery rows have no side margins.
─────────────────────────────────────────────────────────── */

.iita-page-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 48px 24px 64px !important;
  box-sizing: border-box !important;
}

.iita-page-content .vc_row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.iita-page-content .vc_row-fluid .wpb_column.vc_col-sm-6 {
  /* Already handled above; just ensure no negative margins from theme */
  margin-bottom: 0 !important;
}


/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {

  .vc_row-fluid .wpb_column.vc_col-sm-6,
  .vc_row-fluid .wpb_column.vc_col-sm-4,
  .vc_row-fluid .wpb_column.vc_col-sm-3,
  .vc_row-fluid .wpb_column.vc_col-sm-8,
  .vc_row-fluid .wpb_column.vc_col-sm-9 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
  }

  .iita-image-layers {
    min-height: 240px !important;
    margin-bottom: 24px !important;
  }

  .wpb_raw_html .wpb_wrapper,
  .wpb_raw_code .wpb_wrapper {
    padding-top: 60% !important;
  }
}

@media (max-width: 600px) {
  .iita-page-content {
    padding: 32px 16px 48px !important;
  }

  .iita-legacy-iconbox {
    padding: 22px 18px !important;
  }

  .wpb_raw_html .wpb_wrapper,
  .wpb_raw_code .wpb_wrapper {
    padding-top: 75% !important;
    border-radius: 10px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   TELEPHONE DIRECTORY  wpv-view-wrapper
   Styling for the staff directory search & results table
══════════════════════════════════════════════════════════════ */

/* ── Wrapper ──────────────────────────────────────────────────── */
.wpv-view-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
}

/* ── Loading overlay ──────────────────────────────────────────── */
.wpv-custom-search-loading-overlay {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 12px;
}

/* ── Filter form ──────────────────────────────────────────────── */
.wpv-filter-form {
  background: #fff;
  border: 1px solid var(--iita-card-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

/* ── Column layout ────────────────────────────────────────────── */
.wpv-filter-form .wp-block-columns {
  gap: 16px !important;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.wpv-filter-form .wp-block-column {
  min-width: 0;
}

/* ── Filter field group ───────────────────────────────────────── */
.wpv-filter-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Filter labels ────────────────────────────────────────────── */
.wpv-custom-search-filter__label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: .6px !important;
  display: block !important;
  margin-bottom: 4px !important;
}

/* ── Filter inputs ────────────────────────────────────────────── */
.wpv-filter-form input.form-control,
.wpv-filter-form select.form-control {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1.5px solid var(--iita-card-border) !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  color: #1e293b !important;
  background: #f8fafc !important;
  box-sizing: border-box !important;
  transition: border-color .2s, box-shadow .2s !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  height: 42px !important;
}

.wpv-filter-form select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
  padding-right: 36px !important;
}

.wpv-filter-form input.form-control:focus,
.wpv-filter-form select.form-control:focus {
  border-color: var(--iita-primary) !important;
  box-shadow: 0 0 0 3px rgba(255,87,34,.12) !important;
  background: #fff !important;
}

.wpv-filter-form input.form-control::placeholder {
  color: #94a3b8 !important;
  font-size: 13px !important;
}

/* ── Reset button ─────────────────────────────────────────────── */
.wpv-reset-trigger {
  width: 100%;
  padding: 10px 20px;
  background: #f1f5f9;
  border: 1.5px solid var(--iita-card-border);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: .6px;
  cursor: pointer;
  transition: all .2s;
  display: block;
}

.wpv-reset-trigger:hover {
  background: var(--iita-primary);
  border-color: var(--iita-primary);
  color: #fff;
}

/* ── Results table ────────────────────────────────────────────── */
#wpv-view-layout-827 {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--iita-card-border);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.view-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13.5px;
}

/* ── Table header ─────────────────────────────────────────────── */
.view-table thead {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.view-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  border: none;
}

.view-table thead th p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: inherit;
}

/* ── Table body rows ──────────────────────────────────────────── */
.view-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}

.view-table tbody tr:hover {
  background: #fff5f2;
}

.view-table tbody tr:last-child {
  border-bottom: none;
}

.view-table tbody td {
  padding: 13px 18px;
  color: #1e293b;
  font-size: 13.5px;
  vertical-align: middle;
}

.view-table .tb-field {
  font-weight: 500;
}

/* ── Empty state ──────────────────────────────────────────────── */
.wpv-loop.js-wpv-loop:empty::after {
  content: 'No results found. Try adjusting your search filters.';
  display: block;
  padding: 40px 24px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

/* ── Responsive table ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .wpv-filter-form .wp-block-columns {
    flex-direction: column !important;
  }

  .wpv-filter-form .wp-block-column[style*="flex-basis:25%"],
  .wpv-filter-form .wp-block-column[style*="flex-basis: 25%"] {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .view-table thead th,
  .view-table tbody td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .wpv-filter-form {
    padding: 16px;
  }
}

