/* ==========================================================================
   InstaBioAura WordPress Custom Stylesheet (Light Instagram Pink/White Theme)
   ========================================================================== */

/* 1. Global & Instagram Variable System */
:root {
  --iba-primary: #d62976;        /* Instagram Pink */
  --iba-primary-rgb: 214, 41, 118;
  --iba-secondary: #fa7e1e;      /* Instagram Orange/Warm Pink */
  --iba-secondary-rgb: 250, 126, 30;
  
  /* Light Mode Background & Cards */
  --iba-light-bg: #fff6f8;       /* Very soft, clean light pink */
  --iba-card-bg: rgba(255, 255, 255, 0.85);
  --iba-card-border: rgba(214, 41, 118, 0.22);
  --iba-card-border-hover: rgba(214, 41, 118, 0.55);
  
  /* High Readability Light Mode Text */
  --iba-text: #2d1d29;           /* Deep dark berry/grey */
  --iba-text-muted: #756171;     /* Muted grey-pink */
  --iba-white: #ffffff;
  --iba-success: #10b981;        /* Copy Success Green */
  
  --iba-font-heading: 'Outfit', sans-serif;
  --iba-font-body: 'Inter', sans-serif;
  --iba-radius: 16px;
  --iba-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Post Page Customizations */
.single-post .entry-content,
.iba-blog-post-content {
  font-family: var(--iba-font-body);
  color: var(--iba-text);
  line-height: 1.8;
  font-size: 1.1rem;
}

.single-post .entry-content h2,
.iba-blog-post-content h2 {
  font-family: var(--iba-font-heading);
  font-weight: 700;
  color: var(--iba-text);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

/* Accent line under h2 (Instagram gradient) */
.single-post .entry-content h2::after,
.iba-blog-post-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 45px;
  height: 3.5px;
  background: linear-gradient(90deg, #f91f7f, #d62976, #fa7e1e);
  border-radius: 2px;
}

.single-post .entry-content h3,
.iba-blog-post-content h3 {
  font-family: var(--iba-font-heading);
  font-weight: 600;
  color: var(--iba-text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* 2. Custom Bio Copy Cards Layout */
.iba-bios-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  margin: 2rem 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.iba-bios-grid > .iba-bio-card {
  min-width: 0 !important;
  width: 100% !important;
}
@media (max-width: 1024px) {
  .iba-bios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 600px) {
  .iba-bios-grid {
    grid-template-columns: 1fr !important;
  }
}

/* The Copy Card Item */
.iba-bio-card {
  background: var(--iba-card-bg);
  border: 1px solid var(--iba-card-border);
  border-radius: var(--iba-radius);
  padding: 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--iba-transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(214, 41, 118, 0.03);
}

.iba-bio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--iba-primary-rgb), 0.03), rgba(var(--iba-secondary-rgb), 0.03));
  opacity: 0;
  transition: var(--iba-transition);
  z-index: 0;
  pointer-events: none;
}

.iba-bio-card:hover {
  transform: translateY(-4px);
  border-color: var(--iba-card-border-hover);
  box-shadow: 0 10px 25px rgba(214, 41, 118, 0.08);
}

.iba-bio-card:hover::before {
  opacity: 1;
}

/* Bio Text Area */
.iba-bio-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--iba-text);
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 1.5rem;
  z-index: 1;
  position: relative;
  min-height: 50px;
}

/* Bio Meta Info (Char count, Copy Actions) */
.iba-bio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(214, 41, 118, 0.08);
  padding-top: 0.75rem;
  margin-top: auto;
  z-index: 1;
  position: relative;
}

.iba-bio-char-count {
  font-size: 0.8rem;
  color: var(--iba-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

/* Flags a bio that exceeds Instagram's 150-character profile field */
.iba-bio-char-count.is-over {
  color: #dc2626;
  font-weight: 700;
}

/* Translation or meaning shown alongside a bio. Sits outside .iba-bio-text so
   it is neither copied to the clipboard nor counted toward the 150 characters. */
.iba-bio-note {
  font-size: 0.78rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--iba-text-muted);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(214, 41, 118, 0.15);
}

/* Copy Button Styling (Instagram-colored gradient) */
.iba-copy-btn {
  background: linear-gradient(135deg, #f91f7f, #d62976, #fa7e1e);
  color: var(--iba-white);
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--iba-transition);
  box-shadow: 0 4px 12px rgba(214, 41, 118, 0.25);
}

.iba-copy-btn:hover {
  background: linear-gradient(135deg, #fa7e1e, #d62976, #f91f7f);
  box-shadow: 0 4px 15px rgba(214, 41, 118, 0.4);
  transform: scale(1.03);
}

/* Copy Success State */
.iba-copy-btn.copied {
  background: var(--iba-success) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.iba-copy-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* 3. Sticky Table of Contents (ToC) */
.iba-toc-wrapper {
  position: sticky;
  top: 100px;
  background: var(--iba-card-bg);
  border: 1px solid var(--iba-card-border);
  border-radius: var(--iba-radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(214, 41, 118, 0.02);
}

.iba-toc-title {
  font-family: var(--iba-font-heading);
  color: var(--iba-text);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(214, 41, 118, 0.1);
  padding-bottom: 0.75rem;
}

.iba-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.iba-toc-item {
  margin-bottom: 0.75rem;
}

.iba-toc-link {
  color: var(--iba-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--iba-transition);
  display: block;
  line-height: 1.4;
  border-left: 2px solid transparent;
  padding-left: 10px;
}

.iba-toc-link:hover,
.iba-toc-link.active {
  color: var(--iba-primary);
  border-color: var(--iba-primary);
  padding-left: 14px;
  font-weight: 500;
}

/* 4. Instagram Phone Mockup Widget */
.iba-insta-preview-trigger {
  background: none;
  border: none;
  color: var(--iba-text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--iba-transition);
  border-radius: 50%;
  margin-right: 8px;
}

.iba-insta-preview-trigger:hover {
  color: var(--iba-primary);
  background: rgba(214, 41, 118, 0.08);
}

.iba-insta-mockup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 29, 41, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.iba-insta-mockup-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.iba-insta-mockup-container {
  background: #ffffff;
  border: 6px solid #1f1f1f;
  border-radius: 40px;
  width: 320px;
  height: 580px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(45, 29, 41, 0.15);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.iba-insta-mockup-modal.active .iba-insta-mockup-container {
  transform: scale(1);
}

/* Instagram App Header Mockup (Light Mode matching modern IG app) */
.iba-insta-header {
  height: 48px;
  border-bottom: 1px solid #efefef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
}

.iba-insta-profile-grid {
  padding: 16px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
}

.iba-insta-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 2.2px;
}

.iba-insta-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--iba-primary);
  font-weight: bold;
  font-size: 1.5rem;
}

.iba-insta-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.iba-insta-stat-val {
  font-weight: 700;
  color: #000000;
  font-size: 0.95rem;
}

.iba-insta-stat-lbl {
  font-size: 0.75rem;
  color: #8e8e8e;
}

/* Bio Content inside Mockup */
.iba-insta-bio-details {
  padding: 0 16px 16px;
}

.iba-insta-profile-name {
  font-weight: 700;
  color: #000000;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.iba-insta-profile-niche {
  color: #8e8e8e;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.iba-insta-bio-text-preview {
  color: #262626;
  font-size: 0.85rem;
  white-space: pre-wrap;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Close button for Mockup */
.iba-insta-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  z-index: 10;
  transition: var(--iba-transition);
}

.iba-insta-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

/* 5. Responsive Structure adjustments for WordPress */
@media (max-width: 991px) {
  .iba-toc-wrapper {
    position: relative;
    top: 0;
    max-height: none;
    margin-bottom: 2rem;
  }
}



/* 6. Hello Elementor / Theme Layout Centering & Body Styles */
body.single-post {
  background-color: var(--iba-light-bg) !important;
}

body.single-post article,
body.single-post .post,
body.single-post .type-post,
body.single-post .elementor-template-canvas {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 30px 20px 80px !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Format WordPress standard H1 and headers */
body.single-post .entry-title,
body.single-post .post-title,
body.single-post h1 {
  font-family: var(--iba-font-heading) !important;
  color: var(--iba-text) !important;
  font-weight: 800 !important;
  text-align: center;
  margin-top: 1.5rem !important;
  margin-bottom: 2rem !important;
  font-size: 2.6rem !important;
}

/* 7. Interactive Search & Like System (Rank-Boosting UX Updates) */
.iba-search-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  z-index: 5;
}

.iba-search-input {
  width: 100% !important;
  padding: 14px 20px 14px 46px !important;
  border-radius: 25px !important;
  border: 1.5px solid rgba(214, 41, 118, 0.15) !important;
  background: #ffffff !important;
  color: #2d1d29 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: 0 4px 15px rgba(214, 41, 118, 0.02) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.iba-search-input:focus {
  border-color: #d62976 !important;
  box-shadow: 0 6px 20px rgba(214, 41, 118, 0.1) !important;
  transform: translateY(-1px) !important;
}

.iba-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #d62976;
  opacity: 0.7;
  pointer-events: none;
}

.iba-like-btn {
  background: none !important;
  border: none !important;
  color: #756171 !important;
  cursor: pointer !important;
  padding: 5px 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  margin-right: 12px !important;
}

.iba-like-btn svg {
  width: 15px !important;
  height: 15px !important;
  fill: none !important;
  stroke: #756171 !important;
  stroke-width: 2.5 !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.iba-like-btn:hover {
  color: #d62976 !important;
}

.iba-like-btn:hover svg {
  stroke: #d62976 !important;
  transform: scale(1.15) !important;
}

.iba-like-btn.liked {
  color: #d62976 !important;
}

.iba-like-btn.liked svg {
  fill: #d62976 !important;
  stroke: #d62976 !important;
  animation: heartPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.iba-bio-card.filtered-out {
  display: none !important;
}

/* SPA React-Style Category Filters */
.iba-filter-bar {
  display: flex !important;
  gap: 10px !important;
  margin: 1.5rem 0 1rem !important;
  flex-wrap: wrap !important;
}

.iba-filter-tab {
  background: #ffffff !important;
  border: 1.5px solid rgba(214, 41, 118, 0.08) !important;
  color: #756171 !important;
  padding: 8px 18px !important;
  border-radius: 30px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.01) !important;
}

.iba-filter-tab:hover {
  border-color: rgba(214, 41, 118, 0.25) !important;
  color: #d62976 !important;
  transform: translateY(-1px) !important;
}

.iba-filter-tab.active {
  background: linear-gradient(135deg, #f91f7f, #d62976) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 15px rgba(214, 41, 118, 0.2) !important;
}

/* React-Style sliding toast notification */
.iba-toast {
  position: fixed !important;
  bottom: 25px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(100px) !important;
  background: rgba(45, 29, 41, 0.95) !important;
  color: #ffffff !important;
  padding: 12px 28px !important;
  border-radius: 30px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  z-index: 10000 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  opacity: 0 !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease !important;
  pointer-events: none !important;
}

.iba-toast.active {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
}

/* Animation overrides */
.iba-bio-card {
  animation: ibaFadeInUp 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

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

/* 8. E-E-A-T Author Expertise Widget (Google Quality Guidelines Support) */
.iba-eeat-author-widget {
  background: linear-gradient(145deg, #ffffff, #fffdfd) !important;
  border: 1.5px solid rgba(214, 41, 118, 0.1) !important;
  border-radius: 16px !important;
  padding: 1.6rem !important;
  box-shadow: 0 8px 25px rgba(214, 41, 118, 0.02) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 2rem !important;
}

.iba-eeat-author-widget::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 4px !important;
  background: linear-gradient(90deg, #f91f7f, #fa7e1e) !important;
}

.iba-eeat-author-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.iba-eeat-avatar {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: #ffd3e8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 10px rgba(214, 41, 118, 0.1) !important;
}

.iba-eeat-author-name {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #2d1d29 !important;
}

.iba-eeat-author-role {
  font-size: 0.76rem !important;
  color: #d62976 !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

.iba-eeat-bio {
  font-size: 0.88rem !important;
  color: #756171 !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
}

.iba-eeat-badges {
  border-top: 1px dashed rgba(214, 41, 118, 0.1) !important;
  padding-top: 10px !important;
  margin-top: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.iba-eeat-badge-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #2d1d29 !important;
}

.iba-eeat-badge-icon {
  color: #10b981 !important;
  font-size: 1rem !important;
  font-weight: bold !important;
}

/* 9. Out-of-the-box Glassmorphic Hero Redesign */
.iba-hero-glass-card, .header-content > .elementor-widget-wrap, .header-content > .elementor-column-wrap > .elementor-widget-wrap {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 24px !important;
  padding: 2.5rem !important;
  box-shadow: 0 20px 50px rgba(214, 41, 118, 0.05) !important;
  text-align: left !important;
  max-width: 900px !important;
  margin: 0 auto !important;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.iba-hero-meta-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 1rem !important;
  border-bottom: 1px dashed rgba(214, 41, 118, 0.1) !important;
  padding-bottom: 12px !important;
}

.iba-hero-meta-top .breadcrumbs {
  margin-bottom: 0 !important;
}

.iba-hero-stat-badge {
  background: #ffffff !important;
  border: 1px solid rgba(214, 41, 118, 0.15) !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #fa7e1e !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #fa7e1e;
  border-radius: 50%;
  display: inline-block;
  animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.gradient-text {
  background: linear-gradient(135deg, #f91f7f, #d62976, #fa7e1e) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block !important;
}

.iba-hero-glass-card .post-title, .header-content .elementor-widget-theme-post-title h1, .header-content .elementor-widget-theme-post-title h2 {
  font-size: 2.8rem !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
  font-weight: 800 !important;
}

.iba-hero-author-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 1.5rem !important;
}

.iba-hero-author-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 10px rgba(214, 41, 118, 0.1) !important;
  flex-shrink: 0 !important;
}

.iba-hero-author-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.iba-hero-author-info {
  display: flex !important;
  flex-direction: column !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
}

.iba-hero-author-by {
  font-weight: 700 !important;
  color: #2d1d29 !important;
}

.iba-hero-author-by a {
  color: #d62976 !important;
  text-decoration: none !important;
}

.iba-hero-author-meta {
  color: #756171 !important;
  font-weight: 500 !important;
}

.iba-hero-nav-pills {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  border-top: 1px dashed rgba(214, 41, 118, 0.1) !important;
  padding-top: 16px !important;
}

.iba-hero-nav-label {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #756171 !important;
  margin-right: 4px !important;
}

.iba-hero-nav-pill {
  background: #ffffff !important;
  border: 1px solid rgba(214, 41, 118, 0.12) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #2d1d29 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.01) !important;
}

.iba-hero-nav-pill:hover {
  border-color: #d62976 !important;
  color: #d62976 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(214, 41, 118, 0.05) !important;
}

@media (max-width: 768px) {
  .iba-hero-glass-card, .header-content > .elementor-widget-wrap, .header-content > .elementor-column-wrap > .elementor-widget-wrap {
    padding: 1.5rem !important;
  }
  .iba-hero-glass-card .post-title, .header-content .elementor-widget-theme-post-title h1, .header-content .elementor-widget-theme-post-title h2 {
    font-size: 1.8rem !important;
  }
  .iba-hero-meta-top {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* 10. Branded SVG Social Follow Widgets */
.social-follow-row {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin-top: 10px !important;
}

.social-follow-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
  border: 1px solid rgba(214, 41, 118, 0.12) !important;
  background: #ffffff !important;
  color: #756171 !important;
  text-decoration: none !important;
}

.social-follow-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  transition: transform 0.3s ease !important;
}

.social-follow-icon:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 15px rgba(214, 41, 118, 0.12) !important;
}

.social-follow-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.social-follow-icon.facebook:hover {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.social-follow-icon.twitter:hover {
  background: #000000 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.social-follow-icon.pinterest:hover {
  background: #e60023 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* 11. Informational Rules & Tips Grid */
.iba-rules-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 2.5rem 0 !important;
}

.iba-rule-card {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(214, 41, 118, 0.15) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  display: flex !important;
  gap: 1rem !important;
  align-items: flex-start !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(214, 41, 118, 0.02) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.iba-rule-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(214, 41, 118, 0.4) !important;
  box-shadow: 0 8px 25px rgba(214, 41, 118, 0.08) !important;
}

.iba-rule-icon {
  font-size: 1.75rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.iba-rule-content {
  flex-grow: 1 !important;
}

.iba-rule-content h4 {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  color: #2d1d29 !important;
  margin: 0 0 6px 0 !important;
  display: block !important;
}

.iba-rule-content h4::after {
  display: none !important; /* Remove accent line for nested rules title */
}

.iba-rule-content p {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  color: #554452 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}






/* Auto-inserted Instagram bio generator CTA */
.iba-gen-cta-wrap {
  margin: 1.75rem 0 2.25rem !important;
  text-align: center !important;
}
.iba-gen-cta-btn {
  display: inline-block !important;
  padding: 1.05rem 2rem !important;
  background: linear-gradient(45deg, #f58529 0%, #dd2a7b 50%, #8134af 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 22px rgba(221, 42, 123, 0.32) !important;
  transition: transform .15s ease, box-shadow .15s ease;
}
.iba-gen-cta-btn:hover,
.iba-gen-cta-btn:focus {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(221, 42, 123, 0.4) !important;
}
@media (max-width: 600px) {
  .iba-gen-cta-btn {
    font-size: 1rem !important;
    padding: .95rem 1.25rem !important;
    max-width: 100%;
  }
}


.iba-home-sentinel {
  margin: 2rem auto;
  padding: 1rem 1.25rem;
  max-width: 520px;
  text-align: center;
  color: #9a3d6b;
  font-weight: 600;
  border: 1px dashed #f3c4d8;
  border-radius: 12px;
  background: #fff7fa;
}
.iba-home-sentinel.is-loading {
  opacity: .75;
}
