/* =============================================================
   Travel Insurance Hub — Complete Frontend Styles v1.1.0
   Developer: Digital Linked (digitallinked.com.au)
   ============================================================= */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --tih-blue:        #1e3a5f;
  --tih-blue-mid:    #2a5298;
  --tih-blue-light:  #e8f0fb;
  --tih-accent:      #ff6b2b;
  --tih-accent-dark: #e85a1e;
  --tih-green:       #16a34a;
  --tih-green-light: #dcfce7;
  --tih-border:      #e5e7eb;
  --tih-bg:          #f8fafc;
  --tih-text:        #1a1a2e;
  --tih-muted:       #6b7280;
  --tih-radius:      10px;
  --tih-radius-lg:   16px;
  --tih-shadow:      0 2px 10px rgba(0,0,0,.08);
  --tih-shadow-lg:   0 8px 30px rgba(0,0,0,.12);
  --tih-max-w:       1140px;
  --tih-font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tih-header-h:    68px;
}

/* ── Global Resets & Typography ────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--tih-font);
  color: var(--tih-text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Google Fonts load */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Hello Elementor Header Override ──────────────────────── */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: var(--tih-blue) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.15) !important;
  height: var(--tih-header-h) !important;
  border-bottom: none !important;
}

.header-inner {
  max-width: var(--tih-max-w) !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Site branding */
.site-branding {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.site-title,
.site-title a {
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: -.3px !important;
  line-height: 1.2 !important;
}

.site-title a::before {
  content: '🛡️ ';
  font-size: 1.1rem;
}

.site-description {
  display: none !important;
}

/* Nav */
.main-navigation {
  display: flex !important;
  align-items: center !important;
}

.main-navigation ul {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px !important;
}

.main-navigation ul li a {
  color: rgba(255,255,255,.88) !important;
  font-size: .9rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  transition: background .2s, color .2s !important;
  display: block !important;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-page-ancestor > a {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
}

/* CTA nav item */
.main-navigation ul li.tih-nav-cta > a {
  background: var(--tih-accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
}

.main-navigation ul li.tih-nav-cta > a:hover {
  background: var(--tih-accent-dark) !important;
}

/* Mobile toggle button */
.menu-toggle {
  display: none !important;
  background: transparent !important;
  border: 2px solid rgba(255,255,255,.4) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  cursor: pointer !important;
  color: #fff !important;
}

.menu-toggle .menu-toggle-icon,
.menu-toggle .menu-toggle-icon::before,
.menu-toggle .menu-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .25s;
  position: relative;
}

.menu-toggle .menu-toggle-icon::before,
.menu-toggle .menu-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-toggle .menu-toggle-icon::before { top: -7px; }
.menu-toggle .menu-toggle-icon::after  { top:  7px; }

@media (max-width: 768px) {
  .menu-toggle { display: flex !important; align-items: center; }

  .main-navigation ul {
    display: none !important;
    flex-direction: column !important;
    position: absolute !important;
    top: var(--tih-header-h) !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--tih-blue) !important;
    padding: 12px 16px 20px !important;
    border-top: 1px solid rgba(255,255,255,.1) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.2) !important;
    gap: 2px !important;
  }

  .main-navigation ul.tih-menu-open {
    display: flex !important;
  }

  .main-navigation ul li a {
    padding: 10px 12px !important;
    font-size: .95rem !important;
  }
}

/* Body padding so sticky header doesn't cover content */
body { padding-top: 0 !important; }
.wp-site-blocks,
#page,
.site-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--tih-blue) !important;
  color: rgba(255,255,255,.75) !important;
  padding: 0 !important;
}

/* TIH custom footer (injected) */
.tih-footer {
  background: #132641;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
}

.tih-footer__main {
  max-width: var(--tih-max-w);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.tih-footer__brand strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.tih-footer__brand p {
  color: rgba(255,255,255,.6);
  font-size: .83rem;
  line-height: 1.6;
  margin: 0;
}

.tih-footer__col h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin: 0 0 14px;
}

.tih-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tih-footer__col ul li { margin-bottom: 8px; }

.tih-footer__col ul li a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
  font-size: .85rem;
}

.tih-footer__col ul li a:hover { color: #fff; }

.tih-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 24px;
  max-width: var(--tih-max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

.tih-footer__bottom a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}

.tih-footer__bottom a:hover { color: #fff; }

@media (max-width: 768px) {
  .tih-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 36px 20px 24px;
  }

  .tih-footer__brand { grid-column: 1 / -1; }

  .tih-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .tih-footer__main { grid-template-columns: 1fr; }
}

/* ── Page Layout Helper ─────────────────────────────────────── */
.entry-content,
.elementor-widget-container {
  max-width: 100%;
}

/* ── Shared Buttons ─────────────────────────────────────────── */
.tih-btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  text-align: center;
  border: none;
  line-height: 1.4;
}

.tih-btn--primary {
  background: var(--tih-accent);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255,107,43,.3);
}

.tih-btn--primary:hover {
  background: var(--tih-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,107,43,.4);
}

.tih-btn--secondary {
  background: transparent;
  color: var(--tih-blue) !important;
  border: 2px solid var(--tih-blue);
}

.tih-btn--secondary:hover {
  background: var(--tih-blue);
  color: #fff !important;
}

.tih-btn--hero {
  padding: 15px 40px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.tih-btn--hero-white {
  background: #fff;
  color: var(--tih-blue) !important;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.tih-btn--hero-white:hover {
  background: #f0f5ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.tih-btn--sm   { padding: 7px 16px; font-size: .82rem; }
.tih-btn--block { display: block; width: 100%; }

/* ── Shared Badges ──────────────────────────────────────────── */
.tih-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.tih-badge--promoted { background: #fff3e0; color: #c84b00; border: 1px solid #ffd0a8; }
.tih-badge--top-pick { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }

/* ── Rating ─────────────────────────────────────────────────── */
.tih-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .82rem;
}

.tih-rating--excellent { background: #dcfce7; color: #15803d; }
.tih-rating--very-good { background: #dbeafe; color: #1d4ed8; }
.tih-rating--good      { background: #fef3c7; color: #b45309; }
.tih-rating--fair      { background: #fce7f3; color: #9d174d; }
.tih-rating__score     { font-size: 1rem; }
.tih-na                { color: #9ca3af; }

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE
═══════════════════════════════════════════════════════════════ */

/* Hero */
.tih-home-hero {
  background: linear-gradient(135deg, var(--tih-blue) 0%, #1a4480 50%, #2a5298 100%);
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tih-home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tih-home-hero__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.tih-home-hero__title {
  color: #fff !important;
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 20px !important;
  letter-spacing: -.5px;
}

.tih-home-hero__sub {
  color: rgba(255,255,255,.82) !important;
  font-size: 1.1rem !important;
  margin: 0 0 36px !important;
  line-height: 1.6 !important;
}

.tih-home-hero__ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tih-home-hero__note {
  color: rgba(255,255,255,.55) !important;
  font-size: .85rem !important;
  margin: 0 !important;
}

/* Section wrapper */
.tih-home-section {
  padding: 64px 24px;
}

.tih-home-section__inner {
  max-width: var(--tih-max-w);
  margin: 0 auto;
}

.tih-home-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 700 !important;
  color: var(--tih-blue) !important;
  margin: 0 0 10px !important;
}

.tih-home-section > .tih-home-section__inner > p,
.tih-home-section__inner > p:first-of-type {
  color: var(--tih-muted);
  font-size: .95rem;
  margin-bottom: 36px;
}

/* Alternating section bg */
.tih-home-section--destinations { background: var(--tih-bg); }
.tih-home-section--why          { background: #fff; }
.tih-home-section--guides       { background: var(--tih-bg); }
.tih-home-section--disclosure   { background: #fff; padding: 32px 24px; }

/* Destination cards */
.tih-dest-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.tih-dest-card {
  background: #fff;
  border: 2px solid var(--tih-border);
  border-radius: var(--tih-radius-lg);
  padding: 24px 20px;
  text-align: center;
  text-decoration: none !important;
  display: block;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
}

.tih-dest-card:hover {
  border-color: var(--tih-blue-mid);
  box-shadow: var(--tih-shadow-lg);
  transform: translateY(-3px);
}

.tih-dest-card--active {
  border-color: var(--tih-blue);
  background: var(--tih-blue-light);
}

.tih-dest-card--coming {
  opacity: .6;
  cursor: default;
}

.tih-dest-card--coming:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--tih-border);
}

.tih-dest-card__flag {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

.tih-dest-card__name {
  font-weight: 700;
  color: var(--tih-blue);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.tih-dest-card__meta {
  font-size: .8rem;
  color: var(--tih-muted);
}

.tih-dest-card--active .tih-dest-card__meta {
  color: var(--tih-green);
  font-weight: 600;
}

.tih-dest-card__badge {
  display: inline-block;
  font-size: .7rem;
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 6px;
}

/* Why section */
.tih-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.tih-why-card {
  background: #fff;
  border: 1px solid var(--tih-border);
  border-radius: var(--tih-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--tih-shadow);
  transition: box-shadow .2s;
}

.tih-why-card:hover { box-shadow: var(--tih-shadow-lg); }

.tih-why-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tih-blue-light);
  color: var(--tih-blue);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.tih-why-card h3 {
  color: var(--tih-blue) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
}

.tih-why-card p {
  color: var(--tih-muted);
  font-size: .875rem;
  line-height: 1.65;
  margin: 0;
}

/* Guide cards */
.tih-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.tih-guide-card {
  background: #fff;
  border: 1px solid var(--tih-border);
  border-radius: var(--tih-radius);
  padding: 22px 22px 18px;
  text-decoration: none !important;
  display: block;
  transition: box-shadow .2s, transform .2s;
  box-shadow: var(--tih-shadow);
}

.tih-guide-card:hover {
  box-shadow: var(--tih-shadow-lg);
  transform: translateY(-2px);
}

.tih-guide-card__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--tih-accent);
  margin-bottom: 8px;
  display: block;
}

.tih-guide-card__title {
  color: var(--tih-blue) !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 0 10px !important;
}

.tih-guide-card__meta {
  font-size: .82rem;
  color: var(--tih-blue-mid);
  font-weight: 500;
  margin: 0;
}

/* Disclosure */
.tih-home-disclosure {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: .82rem;
  color: var(--tih-muted);
  line-height: 1.7;
  padding: 20px;
  background: #f8fafc;
  border-radius: var(--tih-radius);
  border: 1px solid var(--tih-border);
}

.tih-home-disclosure a {
  color: var(--tih-blue-mid);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   BALI / DESTINATION PAGE
═══════════════════════════════════════════════════════════════ */

.tih-page-hero {
  margin-bottom: 0;
}

.tih-section {
  padding: 56px 24px;
  max-width: var(--tih-max-w);
  margin: 0 auto;
}

.tih-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem) !important;
  font-weight: 700 !important;
  color: var(--tih-blue) !important;
  margin: 0 0 10px !important;
}

.tih-section > p:first-of-type {
  color: var(--tih-muted);
  font-size: .95rem;
  margin-bottom: 28px;
}

.tih-section h3 {
  color: var(--tih-blue) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 28px 0 8px !important;
}

.tih-section ul, .tih-section ol {
  padding-left: 1.4em;
  color: #374151;
}

.tih-section li {
  margin-bottom: 8px;
  font-size: .95rem;
  line-height: 1.6;
}

.tih-section--providers {
  padding: 36px 24px;
  background: var(--tih-bg);
  max-width: 100%;
}

.tih-section--providers .tih-section-inner {
  max-width: var(--tih-max-w);
  margin: 0 auto;
}

.tih-section--guide {
  background: #fff;
}

.tih-section--faq {
  background: var(--tih-bg);
  max-width: 100%;
  padding: 56px 24px;
}

.tih-section--faq > * {
  max-width: var(--tih-max-w);
  margin-left: auto;
  margin-right: auto;
}

.tih-section--faq h2 {
  max-width: var(--tih-max-w);
  margin: 0 auto 28px !important;
}

/* FAQ Accordion */
.tih-faq {
  max-width: 780px;
  margin: 0 auto;
}

.tih-faq__item {
  background: #fff;
  border: 1px solid var(--tih-border);
  border-radius: var(--tih-radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.tih-faq__question {
  padding: 18px 20px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--tih-blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .15s;
}

.tih-faq__question::-webkit-details-marker { display: none; }

.tih-faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--tih-blue-mid);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform .25s;
}

details[open] .tih-faq__question {
  background: var(--tih-blue-light);
}

details[open] .tih-faq__question::after {
  content: '−';
}

.tih-faq__answer {
  padding: 0 20px 18px;
  border-top: 1px solid var(--tih-border);
}

.tih-faq__answer p {
  color: #374151;
  font-size: .9rem;
  line-height: 1.7;
  margin: 14px 0 0;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════════ */

.tih-about-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px;
}

.tih-about-wrap h2 {
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  color: var(--tih-blue) !important;
  margin: 0 0 8px !important;
}

.tih-about-intro {
  font-size: 1.05rem;
  color: var(--tih-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--tih-border);
  padding-bottom: 32px;
}

.tih-about-wrap h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--tih-blue) !important;
  margin: 32px 0 10px !important;
}

.tih-about-wrap p {
  color: #374151;
  line-height: 1.75;
  font-size: .95rem;
  margin: 0 0 16px;
}

.tih-about-disclaimer {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--tih-radius);
  padding: 16px 20px;
  margin-top: 32px;
}

.tih-about-disclaimer p { margin: 0; font-size: .875rem; color: #78350f; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════════ */

.tih-contact-wrap {
  max-width: var(--tih-max-w);
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.tih-contact-info h2 {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: var(--tih-blue) !important;
  margin: 0 0 12px !important;
}

.tih-contact-info > p {
  color: var(--tih-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.tih-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.tih-contact-detail__icon {
  width: 42px;
  height: 42px;
  background: var(--tih-blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tih-contact-detail__text strong {
  display: block;
  color: var(--tih-blue);
  font-weight: 600;
  margin-bottom: 3px;
}

.tih-contact-detail__text span,
.tih-contact-detail__text a {
  color: var(--tih-muted);
  font-size: .9rem;
  text-decoration: none;
}

.tih-contact-detail__text a:hover { color: var(--tih-blue); }

.tih-contact-form-card {
  background: #fff;
  border: 1px solid var(--tih-border);
  border-radius: var(--tih-radius-lg);
  padding: 32px;
  box-shadow: var(--tih-shadow-lg);
}

.tih-contact-form-card h3 {
  color: var(--tih-blue) !important;
  font-weight: 700 !important;
  margin: 0 0 24px !important;
}

.tih-form-group {
  margin-bottom: 18px;
}

.tih-form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--tih-blue);
  margin-bottom: 6px;
}

.tih-form-group input,
.tih-form-group select,
.tih-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--tih-border);
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--tih-font);
  color: var(--tih-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}

.tih-form-group input:focus,
.tih-form-group select:focus,
.tih-form-group textarea:focus {
  outline: none;
  border-color: var(--tih-blue-mid);
  box-shadow: 0 0 0 3px rgba(42,82,152,.15);
}

.tih-form-group textarea { min-height: 110px; resize: vertical; }

.tih-form-note {
  font-size: .78rem;
  color: var(--tih-muted);
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 768px) {
  .tih-contact-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   COMPARISON TABLE SHORTCODE
═══════════════════════════════════════════════════════════════ */

.tih-comparison-wrap { margin: 24px 0; }

.tih-comparison-disclosure {
  font-size: .8rem;
  color: #555;
  background: #f1f5f9;
  border-left: 3px solid var(--tih-accent);
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tih-disclosure-link { color: var(--tih-blue-mid); font-weight: 600; }

.tih-comparison-table-wrap { overflow-x: auto; border-radius: var(--tih-radius-lg); box-shadow: var(--tih-shadow-lg); }

.tih-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .88rem;
}

.tih-comparison-table thead {
  background: var(--tih-blue);
  color: #fff;
}

.tih-comparison-table thead th {
  padding: 14px 16px;
  font-size: .8rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.tih-comparison-table tbody tr {
  border-bottom: 1px solid var(--tih-border);
  transition: background .15s;
}

.tih-comparison-table tbody tr:hover  { background: #f8fafc; }
.tih-comparison-table tbody tr:last-child { border-bottom: none; }
.tih-comparison-table td { padding: 16px; vertical-align: middle; }

.tih-plan-row--promoted { background: #fff8f3 !important; }

.tih-table-logo {
  height: 36px;
  max-width: 96px;
  object-fit: contain;
  display: block;
  margin-bottom: 4px;
}

.tih-plan-name   { font-size: .78rem; color: var(--tih-muted); margin-top: 2px; }
.tih-disclosure-note { font-size: .72rem; color: #aaa; margin-top: 5px; }
.tih-comparison-footer-note { font-size: .78rem; color: #9ca3af; margin-top: 12px; }
.tih-no-results { color: #9ca3af; font-style: italic; }

/* Mobile cards */
.tih-comparison-mobile-cards { display: none; }

@media (max-width: 768px) {
  .tih-comparison-table-wrap  { display: none; }
  .tih-comparison-mobile-cards { display: block; }

  .tih-mobile-card {
    background: #fff;
    border: 1px solid var(--tih-border);
    border-radius: var(--tih-radius-lg);
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: var(--tih-shadow);
  }

  .tih-mobile-card--promoted { border-left: 4px solid var(--tih-accent); }

  .tih-mobile-card__header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
  }

  .tih-mobile-card__logo { height: 32px; max-width: 80px; object-fit: contain; }
  .tih-mobile-card__plan { font-size: .8rem; color: var(--tih-muted); }

  .tih-mobile-card__details { margin: 10px 0; }

  .tih-mobile-card__row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: .87rem;
  }

  .tih-mobile-card__row--price { border-bottom: none; padding-top: 10px; }
  .tih-mobile-card__row dt { color: var(--tih-muted); }
  .tih-mobile-card__row dd { margin: 0; font-weight: 600; }
}

/* ═══════════════════════════════════════════════════════════════
   TOP PICKS SHORTCODE
═══════════════════════════════════════════════════════════════ */

.tih-top-picks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.tih-top-picks__card {
  background: #fff;
  border: 1px solid var(--tih-border);
  border-radius: var(--tih-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--tih-shadow);
  transition: box-shadow .2s, transform .2s;
}

.tih-top-picks__card:hover { box-shadow: var(--tih-shadow-lg); transform: translateY(-2px); }
.tih-top-picks__card--promoted { border-top: 3px solid var(--tih-accent); }

.tih-top-picks__logo { height: 38px; max-width: 110px; object-fit: contain; }
.tih-top-picks__provider-name { font-weight: 700; color: var(--tih-blue); }
.tih-top-picks__plan { font-size: .85rem; color: #4b5563; }

.tih-top-picks__features {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .83rem;
  color: #6b7280;
  border-top: 1px solid var(--tih-border);
  padding-top: 12px;
}

.tih-top-picks__features li {
  padding: 4px 0;
  border-bottom: 1px solid #f9fafb;
  display: flex;
  gap: 6px;
}

.tih-top-picks__features li::before { content: '✓'; color: var(--tih-green); font-weight: 700; }

.tih-top-picks__price { font-weight: 700; font-size: 1.15rem; color: var(--tih-blue); }

/* ═══════════════════════════════════════════════════════════════
   PROVIDER LOGOS SHORTCODE
═══════════════════════════════════════════════════════════════ */

.tih-provider-logos { text-align: center; padding: 12px 0; }
.tih-provider-logos__label { font-size: .85rem; color: var(--tih-muted); margin-bottom: 16px; }

.tih-provider-logos__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.tih-provider-logos__img {
  height: 38px;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(.2) opacity(.85);
  transition: filter .2s;
}

.tih-provider-logos__img:hover { filter: none; }
.tih-provider-logos__name { font-weight: 600; font-size: .875rem; color: var(--tih-blue); }

/* ═══════════════════════════════════════════════════════════════
   QUOTE CARD SHORTCODE
═══════════════════════════════════════════════════════════════ */

.tih-quote-card {
  background: linear-gradient(135deg, var(--tih-blue) 0%, var(--tih-blue-mid) 100%);
  border-radius: var(--tih-radius-lg);
  padding: 52px 32px;
  text-align: center;
  margin: 0;
}

.tih-quote-card__heading {
  color: #fff !important;
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  font-weight: 800 !important;
  margin: 0 0 12px !important;
}

.tih-quote-card__sub {
  color: rgba(255,255,255,.82) !important;
  font-size: 1.05rem !important;
  margin: 0 0 32px !important;
}

.tih-quote-card__note {
  color: rgba(255,255,255,.5) !important;
  font-size: .82rem !important;
  margin-top: 14px !important;
}

/* ═══════════════════════════════════════════════════════════════
   HOW WE COMPARE SHORTCODE
═══════════════════════════════════════════════════════════════ */

.tih-how-we-compare {
  background: #f8fafc;
  border: 1px solid var(--tih-border);
  border-radius: var(--tih-radius);
  padding: 28px 32px;
  margin: 32px 0 0;
}

.tih-how-we-compare h3 {
  color: var(--tih-blue) !important;
  margin: 0 0 12px !important;
  font-size: 1.1rem !important;
}

.tih-how-we-compare p {
  color: var(--tih-muted);
  font-size: .875rem;
  line-height: 1.7;
  margin: 0 0 8px;
}

.tih-how-we-compare__confirm { font-style: italic !important; }

/* ═══════════════════════════════════════════════════════════════
   SHARED UTILITIES
═══════════════════════════════════════════════════════════════ */

.tih-section-header {
  margin-bottom: 32px;
}

.tih-section-header h2 { margin-bottom: 4px !important; }

.tih-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tih-accent);
  margin-bottom: 8px;
  display: block;
}

.tih-divider {
  border: none;
  border-top: 1px solid var(--tih-border);
  margin: 48px 0;
}

/* Elementor container reset */
.elementor-section,
.elementor-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor-widget-text-editor .elementor-widget-container {
  padding: 0 !important;
}

/* Page title override (Hello Elementor shows post title) */
.entry-header,
.page-header { display: none !important; }

/* Entry content padding */
.entry-content { padding: 0 !important; }
