/* Influencer Connect — visual redesign overlay (staging)
   Additive restyle: loads AFTER frontend/style.css. No markup changes.
   Tokens: plum #2B0A2E, gradient #4A0F45/#5D1450, magenta #C2187B,
   marigold #F2A007, warm paper #FBF6F1. Sora (headings) + Inter (body). */

:root {
  --ic-plum: #2B0A2E;
  --ic-plum-mid: #4A0F45;
  --ic-plum-end: #5D1450;
  --ic-magenta: #C2187B;
  --ic-marigold: #F2A007;
  --ic-paper: #FBF6F1;
  --ic-grad: linear-gradient(160deg, #2B0A2E 0%, #4A0F45 70%, #5D1450 100%);
}

/* ---------- Type ---------- */
body, p, li, input, textarea, select, .influencers-regular-font {
  font-family: 'Inter', 'Roboto', sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.influencers-hero__title, .influencers-section-title, .section-title,
.influencers-btn, .footer-widget-title, .influencers-header__menu a {
  font-family: 'Sora', 'Inter', sans-serif !important;
}

/* ---------- Page background ---------- */
body, .influencers-bg, section.pd-top-90, section.pd-top-120 {
  background-color: var(--ic-paper);
}

/* ---------- Header: solid plum everywhere so white nav always reads ---------- */
.influencers-header,
.influencers-header__v2,
.influencers-header.sticky,
.influencers-header.sticky-header {
  background: var(--ic-plum) !important;
  box-shadow: 0 2px 18px rgba(43, 10, 46, 0.35);
}
.influencers-header .influencers-btn--header,
.influencers-header .influencers-btn {
  background: var(--ic-magenta) !important;
}
.influencers-header__menu a, .influencers-header .menu a, .influencers-header nav a {
  color: #fff !important;
}
.influencers-header__menu a:hover, .influencers-header nav a:hover {
  color: var(--ic-marigold) !important;
}
/* Logo chip: keeps the present logo readable on dark plum surfaces */
.influencers-header__logo img, .footer-logo img {
  background: var(--ic-paper);
  border-radius: 12px;
  padding: 6px 10px;
}


/* Sticky header clone keeps plum bar (theme flips __middle to white when .is-sticky) */
.influencers-header.is-sticky .influencers-header__middle,
.influencers-header .influencers-header__middle {
  background: var(--ic-plum) !important;
  box-shadow: 0 2px 18px rgba(43, 10, 46, 0.35);
}

/* ---------- Hero (home): main-slider with photo slides ---------- */
.main-slider.style-two, .main-slider {
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}
.main-slider .slide {
  position: relative;
}
.main-slider .slide::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(160deg, rgba(43,10,46,0.88) 0%, rgba(74,15,69,0.85) 70%, rgba(93,20,80,0.85) 100%);
  z-index: 1;
}
.main-slider .slide .container {
  position: relative;
  z-index: 2;
}
.main-slider .slide .content h1, .main-slider .slide .content h1 span,
.main-slider .slide .content h2 {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  font-weight: 700;
  line-height: 1.15;
}
.main-slider .content > h4:first-of-type, .main-slider .content > h5:first-of-type, .main-slider .content > span,
.main-slider .content .sub-title, .main-slider .content p.sub-title {
  color: var(--ic-marigold) !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px !important;
  font-weight: 600;
  -webkit-text-fill-color: var(--ic-marigold) !important;
}
.main-slider .content .text h4, .main-slider .content .text h5,
.main-slider .content h4:not(:first-of-type), .main-slider .content h5:not(:first-of-type) {
  color: rgba(255, 255, 255, 0.85) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
  text-transform: none;
  letter-spacing: normal;
  font-size: 18px !important;
  font-weight: 500;
}
.main-slider .content p, .main-slider .content .text, .main-slider .content .text p {
  color: rgba(255, 255, 255, 0.85) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.85) !important;
  text-transform: none;
  letter-spacing: normal;
}
.main-slider .owl-nav button, .main-slider .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.4) !important;
}
.main-slider .owl-dots .owl-dot.active span {
  background: var(--ic-marigold) !important;
}

/* ---------- Hero (alt template) ---------- */
.influencers-hero {
  background: var(--ic-grad) !important;
  border-radius: 0 0 24px 24px;
  padding-top: 60px;
  padding-bottom: 70px;
}
.influencers-hero-shape { opacity: 0.25; }
.influencers-hero__sub {
  color: var(--ic-marigold) !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px !important;
  font-weight: 600;
}
.influencers-hero__title, .influencers-hero__title span {
  color: #fff !important;
  font-weight: 700;
  line-height: 1.15;
}
.influencers-hero__content p, .influencers-hero__text {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Hero search card */
.influencers-search-form__hero,
.influencers-search-form {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(43, 10, 46, 0.35);
  padding: 6px;
}
.influencers-search-form__form input {
  border: 0 !important;
  background: transparent !important;
}

/* ---------- Buttons: magenta pills ---------- */
.influencers-btn, button.influencers-btn, a.influencers-btn {
  background: var(--ic-magenta) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: 0 !important;
  font-weight: 600;
  padding: 12px 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.influencers-btn:hover {
  background: #a81366 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(194, 24, 123, 0.35);
  color: #fff !important;
}
.influencers-btn--header {
  padding: 10px 22px;
}
/* Secondary / outline buttons on dark surfaces */
.influencers-hero .influencers-btn--v2,
.influencers-btn--outline {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
}
.influencers-btn--outline:hover {
  border-color: var(--ic-marigold) !important;
  color: var(--ic-marigold) !important;
}

/* ---------- Section titles ---------- */
.influencers-section-title, .section-title, h2.influencers-title {
  color: var(--ic-plum) !important;
}
.influencers-section-title__sub, .section-kicker {
  color: var(--ic-marigold) !important;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
}

/* ---------- Cards (creators, clients, services) ---------- */
.influencers-card, .creator-card, .service-card, .client-card,
.influencers-features__card, .influencers-blog {
  background: #fff !important;
  border-radius: 20px !important;
  box-shadow: 0 6px 24px rgba(43, 10, 46, 0.08);
  border: 0 !important;
  overflow: hidden;
}
.influencers-card:hover, .creator-card:hover, .service-card:hover {
  box-shadow: 0 14px 34px rgba(43, 10, 46, 0.14);
}

/* Ratings / small highlights */
.influencers-rating, .rating, .fa-star, .fa-star.checked {
  color: var(--ic-marigold) !important;
}

/* ---------- Dark sections stay plum ---------- */
.influencers-section-shape, .video-cta, .influencers-section-shape2,
.influencers-section-shape3 {
  background: var(--ic-grad) !important;
}
.influencers-section-shape h2, .video-cta h2, .influencers-section-shape2 h2 {
  color: #fff !important;
}


/* Right-edge nav dropdowns: keep inside viewport (theme positions them 81px past right edge) */
.influencers-header__menu .sub-menu, .influencers-header nav .sub-menu {
  left: auto !important;
  right: 0 !important;
}
/* Footer address/contact text: undo justified stretching */
footer p, .footer p, .footer-column p, .footer address, .footer-widget p, .footer-widget address,
.footer .widget-contact p, .footer-contact p {
  text-align: left !important;
  text-justify: none !important;
  word-spacing: normal !important;
}

/* ---------- Footer ---------- */
footer, .footer, .influencers-footer {
  background: var(--ic-plum) !important;
}
.footer-widget-title, .footer h4, .footer h3 {
  color: #fff !important;
}
.footer a, .footer p, .footer li {
  color: rgba(251, 246, 241, 0.75) !important;
}
.footer a:hover {
  color: var(--ic-marigold) !important;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* ---------- Forms (contact, register, login) ---------- */
.form-control, input[type="text"], input[type="email"], input[type="password"], textarea {
  border-radius: 12px !important;
  border: 1px solid rgba(43, 10, 46, 0.18) !important;
}
.form-control:focus, input:focus, textarea:focus {
  border-color: var(--ic-magenta) !important;
  box-shadow: 0 0 0 3px rgba(194, 24, 123, 0.15) !important;
}

/* ---------- Links and accents ---------- */
a { color: var(--ic-magenta); }
a:hover { color: #a81366; }
::selection { background: var(--ic-marigold); color: var(--ic-plum); }

/* Mobile: justified paragraphs get ragged gaps on narrow screens */
@media (max-width: 576px) {
  section p, footer p, .about-content p, .content p {
    text-align: left !important;
    text-justify: none !important;
  }
}

/* v12: inner-page strip (.inflaner-inner-page.pd-top-30.pd-btm-20) uses a full-width
   container with no side padding, so the Bootstrap row's -15px margins poke past both
   viewport edges (pre-existing live-site overflow, present with and without this overlay).
   Zero the row's side margins there only: columns keep their exact positions, nothing
   visible shifts or clips. */
.inflaner-inner-page.pd-top-30.pd-btm-20 > .container > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* v13: mobile overflow (pre-existing live, not overlay-caused).
   Back-to-top button: theme sets both left:315px and right:20px with fixed width, so it
   pokes ~35px past the right edge on narrow screens. Pin it by right only.
   Testimonial swiper: negative -20px margins bleed 5px past both edges at <=576px. */
.scrollToTop {
  left: auto !important;
  right: 20px !important;
}
@media (max-width: 576px) {
  .swiper.influencers-slider-testimonial {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* v14: section description body is a DIV (not p), theme justifies it; ragged on mobile */
  .influencers-section-dec {
    text-align: left !important;
    text-justify: none !important;
  }
}

/* v15: about-page mobile overflow - theme's .influencers-row-gap-* rows use -40px margins
   for desktop column gaps; at <=576px they poke past the viewport (same unpadded
   .inflaner-inner-page strip as v12). Zero side margins on mobile only. */
@media (max-width: 576px) {
  .inflaner-inner-page .row[class*="influencers-row-gap"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* v16: inner-page banner breadcrumb links - overlay magenta and theme red are low contrast
   on the dark banner photo; force white, marigold hover. Active crumb already white. */
.influencers-breadcrumb a,
.influencers-breadcrumb li a {
  color: #fff !important;
}
.influencers-breadcrumb a:hover {
  color: var(--ic-marigold) !important;
}

/* v16: .influencers-section-dec is theme-justified on desktop too; its <li> bullets inherit
   the justify and stretch word spacing (about page). Left-align container and children on
   all viewports - alignment only, no wording changes. (v14 covered <=576px for the div.) */
.influencers-section-dec,
.influencers-section-dec p,
.influencers-section-dec li {
  text-align: left !important;
  text-justify: none !important;
}

/* v17: real-device mobile tidy (from a real-phone capture, Nov 23 2026).
   1) Service feature items: icon+title become a tidy left-aligned flex row with a
      smaller title so the two-column mobile wrapping stays even; icons/labels unchanged.
   2) Back-to-top: shrink the 60px circle on small screens so it stops covering
      section headings while reading. */
@media (max-width: 767.98px) {
  .influencers-features-list__first {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    text-align: left !important;
  }
  .influencers-features-list__icon {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
  .influencers-features-list__icon img {
    width: 40px !important;
    height: 40px !important;
  }
  h4.influencers-features-list__title {
    font-size: 15px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding-top: 2px !important;
    text-align: left !important;
  }
  .scrollToTop {
    width: 44px !important;
    height: 44px !important;
    right: 14px !important;
    bottom: 16px !important;
    line-height: 44px !important;
  }
  .scrollToTop i {
    font-size: 18px !important;
    line-height: 44px !important;
  }
}

/* v18 (Nov 23 2026, user-steered): frosted-glass finish + tighter logo chip.
   Glass: softly transparent cards with blur and light borders; plum/magenta kept;
   buttons and body text unchanged for readability. Logo: padding tightened and
   corners rounded (pairs with margin-trimmed logo files, artwork untouched). */
.influencers-features-list__single,
.influencer-grid .grid-container {
  background: rgba(255, 255, 255, 0.55) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 32px rgba(43, 10, 46, 0.10) !important;
}
.influencer-grid .grid-container {
  overflow: hidden;
}
.influencers-header.is-sticky .influencers-header__middle {
  background: rgba(43, 10, 46, 0.86) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.influencers-header__logo img, .footer-logo img {
  padding: 4px 8px !important;
  border-radius: 14px !important;
}

/* v19 (Nov 23 2026, review-driven): mobile service cards were cramped - theme gives
   the card 0 padding so icon+title touched edges. Add inner room, smaller icon/title,
   equal card heights per row. */
@media (max-width: 767.98px) {
  .influencers-features-list__single {
    height: 100% !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
  }
  .influencers-features-list__first {
    gap: 8px !important;
  }
  .influencers-features-list__icon img {
    width: 32px !important;
    height: 32px !important;
  }
  h4.influencers-features-list__title {
    font-size: 13.5px !important;
    line-height: 1.35 !important;
  }
}

/* v20: service card theme fixes width ~150px; let it fill the column and let the title shrink/wrap */
@media (max-width: 767.98px) {
  .influencers-features-list__single { width: 100% !important; }
  h4.influencers-features-list__title { flex: 1 1 auto !important; min-width: 0 !important; }
}
