/*
 * ProjectPro Influencer Insights – Front-End Styles
 * Fully scoped under .pp-inf-* — zero bleed into theme.
 */

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.pp-inf-container {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.pp-inf-container--block { display: block; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.pp-inf-page-hero {
    position: relative;
    background: linear-gradient(135deg, #04121b 0%, #012c42 60%, #0a1f35 100%);
    padding: 60px 0 52px;
    overflow: hidden;
}
.pp-inf-page-hero::before {
    content: '';
    position: absolute; top: -80px; right: -80px;
    width: 420px; height: 420px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(3,186,158,.45) 0%, rgba(3,186,158,0) 100%);
    pointer-events: none;
}
.pp-inf-page-hero::after {
    content: '';
    position: absolute; bottom: -60px; left: -60px;
    width: 360px; height: 360px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(80,95,170,.35) 0%, rgba(56,81,163,0) 100%);
    pointer-events: none;
}
.pp-inf-page-hero .pp-inf-container {
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 10px;
    position: relative; z-index: 2;
}
.pp-inf-page-hero h1 {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 800; color: #ffffff; line-height: 1.1;
}
.pp-inf-page-hero h1 span {
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pp-inf-hero-accent-line {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    border-radius: 2px; margin-top: 6px;
}
.pp-inf-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #aac4d0; flex-wrap: wrap;
}
.pp-inf-breadcrumb a { color: #aac4d0; text-decoration: none; transition: color .2s; }
.pp-inf-breadcrumb a:hover { color: #00bfa5; }
.pp-inf-breadcrumb i { font-size: 11px; color: #00bfa5; }
.pp-inf-breadcrumb .pp-inf-current { color: #00bfa5; font-weight: 600; }

/* ============================================================
   ARCHIVE SECTION
   ============================================================ */
.pp-inf-section {
    background: linear-gradient(135deg, #e8f8f5 0%, #dff0f8 40%, #e0eef8 100%);
    padding: 80px 0 90px;
    position: relative; overflow: hidden;
}
.pp-inf-section::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(3,186,158,.12) 0%, rgba(3,186,158,0) 100%);
    pointer-events: none;
}
.pp-inf-section::after {
    content: '';
    position: absolute; bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(80,95,170,.1) 0%, rgba(56,81,163,0) 100%);
    pointer-events: none;
}
.pp-inf-section .pp-inf-container {
    display: block; position: relative; z-index: 2;
}

/* Section header */
.pp-inf-section-header { text-align: center; margin-bottom: 56px; }
.pp-inf-section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #00bfa5; margin-bottom: 14px;
}
.pp-inf-section-label::before,
.pp-inf-section-label::after {
    content: ''; display: block; width: 28px; height: 2px;
    background: linear-gradient(90deg, #00bfa5, #3e51b5); border-radius: 1px;
}
.pp-inf-section-header h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800; color: #2d3142; line-height: 1.2; margin-bottom: 14px;
}
.pp-inf-section-header h2 span {
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pp-inf-section-header p {
    font-size: 17px; color: #5a6a7e;
    max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ============================================================
   CARDS GRID
   ============================================================ */
.pp-inf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ============================================================
   CARD
   ============================================================ */
.pp-inf-card {
    background: #ffffff; border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45,49,66,.08);
    display: flex; flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}
.pp-inf-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    opacity: 0; transition: opacity .3s ease;
}
.pp-inf-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(45,49,66,.14); }
.pp-inf-card:hover::before { opacity: 1; }

.pp-inf-card__image {
    position: relative;
    width: 100%;
   
    overflow: hidden;
}
.pp-inf-card__image img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    display: block; transition: transform .45s ease;
}
.pp-inf-card:hover .pp-inf-card__image img { transform: scale(1.04); }

.pp-inf-badge {
    position: absolute; top: 14px; left: 14px;
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    color: #fff; font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 5px 12px; border-radius: 50px;
}

.pp-inf-card__body {
    padding: 24px 24px 16px;
    flex: 1; display: flex; flex-direction: column;
}
.pp-inf-card__title {
    font-size: 17px; font-weight: 700;
    color: #2d3142; line-height: 1.4;
    margin: 0 0 12px; transition: color .2s;
}
.pp-inf-card:hover .pp-inf-card__title { color: #00bfa5; }
.pp-inf-card__excerpt {
    font-size: 14px; line-height: 1.7;
    color: #6b7a90; flex: 1; margin: 0;
}

.pp-inf-card__footer { padding: 0 24px 24px; margin-top: 18px; }
.pp-inf-btn-read {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700;
    color: #00bfa5; text-decoration: none;
    text-transform: uppercase; letter-spacing: .5px;
    transition: gap .2s, color .2s;
}
.pp-inf-btn-read:hover { color: #3e51b5; gap: 12px; }
.pp-inf-btn-read i { font-size: 12px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pp-inf-pagination {
    display: flex; justify-content: center;
    gap: 8px; margin-top: 56px; flex-wrap: wrap;
}
.pp-inf-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    color: #2d3142; text-decoration: none;
    border: 1.5px solid #dde5ef; background: #fff;
    transition: background .2s, color .2s, border-color .2s;
}
.pp-inf-pagination .page-numbers.current,
.pp-inf-pagination .page-numbers:hover {
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    color: #fff; border-color: transparent;
}
.pp-no-inf {
    text-align: center; font-size: 17px;
    color: #6b7a90; padding: 40px 0;
}

/* ============================================================
   SINGLE SECTION
   ============================================================ */
.pp-inf-single-section {
    background: linear-gradient(135deg, #e8f8f5 0%, #dff0f8 40%, #e0eef8 100%);
    padding: 60px 0 80px;
    position: relative; overflow: hidden;
}
.pp-inf-single-section::before {
    content: '';
    position: absolute; top: -100px; right: -80px;
    width: 480px; height: 480px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(3,186,158,.1) 0%, rgba(3,186,158,0) 100%);
    pointer-events: none;
}

/* Two column layout */
.pp-inf-single-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative; z-index: 2;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.pp-inf-single-main {
    flex: 1 1 0;
    min-width: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 40px 48px;
    box-shadow: 0 4px 24px rgba(45,49,66,.08);
}

.pp-inf-single-title {
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 800; color: #2d3142;
    line-height: 1.3; margin: 0 0 20px;
}

/* Social share */
.pp-inf-share {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 24px;
}
.pp-inf-share__btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 6px; text-decoration: none;
    font-size: 14px; color: #fff;
    transition: transform .2s, opacity .2s;
}
.pp-inf-share__btn:hover { transform: translateY(-2px); opacity: .88; }
.pp-inf-share__btn--fb { background: #1877f2; }
.pp-inf-share__btn--li { background: #0a66c2; }
.pp-inf-share__btn--tw { background: #000000; }

/* Media embed */
.pp-inf-media-embed {
    margin-bottom: 28px;
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 16px rgba(45,49,66,.1);
}
.pp-inf-media-embed iframe,
.pp-inf-media-embed audio { width: 100%; display: block; border: none; }

/* Feature image */
.pp-inf-single__feature-image {
    width: 100%; border-radius: 12px;
    overflow: hidden; margin-bottom: 28px;
    box-shadow: 0 8px 28px rgba(45,49,66,.12);
}
.pp-inf-single__feature-image img {
    width: 100%; height: auto; display: block;
}

/* Bio block */
.pp-inf-bio-block {
    background: linear-gradient(135deg, #e8f8f5 0%, #dff0f8 100%);
    border-left: 4px solid #00bfa5;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin-bottom: 32px;
}
.pp-inf-bio-block__label {
    font-size: 15px; font-weight: 700;
    color: #00bfa5; margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.pp-inf-bio-block__label i { font-size: 18px; }
.pp-inf-bio-block__text {
    font-size: 14.5px; line-height: 1.8; color: #2d3142;
}

/* Article content typography */
.pp-inf-single-content { font-size: 15px; line-height: 1.85; color: #3a4556; }
.pp-inf-single-content h2 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800; color: #2d3142;
    margin: 36px 0 14px; padding-bottom: 8px;
    border-bottom: 2px solid #e8f0f8;
}
.pp-inf-single-content h3 {
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 700; color: #2d3142; margin: 28px 0 10px;
}
.pp-inf-single-content p { margin-bottom: 16px; }
.pp-inf-single-content strong { color: #2d3142; }
.pp-inf-single-content a { color: #00bfa5; text-decoration: none; }
.pp-inf-single-content a:hover { text-decoration: underline; }
.pp-inf-single-content blockquote {
    border-left: 4px solid #00bfa5;
    background: #e8f8f5; margin: 24px 0;
    padding: 16px 20px; border-radius: 0 8px 8px 0;
    font-style: italic; color: #2d3142;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.pp-inf-sidebar {
    flex: 0 0 320px;
    min-width: 0;
    display: flex; flex-direction: column; gap: 24px;
    position: sticky; top: 24px;
}

.pp-inf-sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45,49,66,.08);
}

/* eBook CTA widget */
.pp-inf-sidebar-ebook { padding: 0 0 20px; }
.pp-inf-sidebar-ebook__img img {
    width: 100%; height: auto; display: block;
    border-radius: 16px 16px 0 0;
}
.pp-inf-sidebar-ebook__title {
    font-size: 14px; font-weight: 600;
    color: #2d3142; padding: 14px 18px 10px;
    line-height: 1.5; margin: 0;
}
.pp-inf-sidebar-ebook__btn {
    display: block; margin: 0 18px;
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    color: #fff; text-align: center;
    padding: 11px 18px; border-radius: 50px;
    font-size: 13px; font-weight: 700;
    text-decoration: none; text-transform: uppercase;
    letter-spacing: .5px;
    transition: opacity .2s, transform .2s;
}
.pp-inf-sidebar-ebook__btn:hover { opacity: .9; transform: translateY(-1px); }

/* Partner CTA widget */
.pp-inf-sidebar-partner {
    background: linear-gradient(135deg, #04121b 0%, #082840 100%);
    position: relative; overflow: hidden;
}
.pp-inf-sidebar-partner::before {
    content: '';
    position: absolute; top: -40px; right: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(3,186,158,.3) 0%, rgba(3,186,158,0) 100%);
    pointer-events: none;
}
.pp-inf-sidebar-partner__inner { padding: 24px 22px; position: relative; z-index: 1; }
.pp-inf-sidebar-partner__text {
    font-size: 16px; font-weight: 700;
    color: #ffffff; line-height: 1.4;
    margin: 0 0 16px;
}
.pp-inf-sidebar-partner__btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    color: #fff; text-decoration: none;
    padding: 10px 20px; border-radius: 50px;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    transition: opacity .2s, transform .2s;
}
.pp-inf-sidebar-partner__btn:hover { opacity: .9; transform: translateY(-1px); }

/* Schedule a Call widget */
.pp-inf-sidebar-schedule { padding: 0; }

.pp-inf-schedule-header {
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    padding: 12px 18px;
}
.pp-inf-schedule-header__label {
    font-size: 13px; font-weight: 700;
    color: #ffffff; text-transform: uppercase; letter-spacing: 1px;
}

.pp-inf-schedule-title {
    font-size: 16px; font-weight: 800;
    color: #2d3142; padding: 16px 18px 12px;
    text-transform: uppercase; letter-spacing: .5px;
    border-bottom: 2px solid #00bfa5;
    margin-bottom: 16px;
}

.pp-inf-schedule-msg {
    display: none; margin: 0 18px 12px;
    padding: 10px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 600;
}
.pp-inf-schedule-msg.pp-inf-success {
    display: block; background: #e6faf7;
    color: #007a67; border: 1px solid #b2ece4;
}
.pp-inf-schedule-msg.pp-inf-error {
    display: block; background: #fff0f0;
    color: #c0392b; border: 1px solid #fbc0bb;
}

.pp-inf-schedule-form { padding: 0 18px 18px; }

.pp-inf-sf-group { margin-bottom: 10px; }
.pp-inf-sf-group input,
.pp-inf-sf-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e2e8f0; border-radius: 8px;
    font-family: inherit; font-size: 13.5px;
    color: #2d3142; background: #f8fafc;
    outline: none; resize: vertical;
    transition: border-color .2s, box-shadow .2s;
}
.pp-inf-sf-group input::placeholder,
.pp-inf-sf-group textarea::placeholder { color: #9aabbc; }
.pp-inf-sf-group input:focus,
.pp-inf-sf-group textarea:focus {
    border-color: #00bfa5; background: #fff;
    box-shadow: 0 0 0 3px rgba(0,191,165,.12);
}

/* reCAPTCHA placeholder */
.pp-inf-recaptcha-box {
    border: 1.5px solid #e2e8f0; border-radius: 8px;
    background: #f8fafc; padding: 12px 14px;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.pp-inf-captcha-check {
    width: 22px; height: 22px;
    border: 2px solid #bfcad6; border-radius: 4px;
    flex-shrink: 0; background: #fff; cursor: pointer;
}
.pp-inf-captcha-label { font-size: 13px; color: #4a5568; font-weight: 500; flex: 1; }
.pp-inf-captcha-logo { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.pp-inf-rc-icon {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc04, #ea4335);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.pp-inf-rc-icon i { color: #fff; font-size: 12px; }
.pp-inf-captcha-logo span { font-size: 8px; color: #9aabbc; text-align: center; line-height: 1.3; }

.pp-inf-schedule-submit {
    display: block; width: 100%;
    padding: 13px 24px;
    background: linear-gradient(90deg, #00bfa5 0%, #3e51b5 100%);
    color: #fff; font-family: inherit;
    font-size: 14px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    border: none; border-radius: 50px; cursor: pointer;
    transition: opacity .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 6px 20px rgba(0,191,165,.3);
}
.pp-inf-schedule-submit:hover {
    opacity: .92; transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,191,165,.38);
}
.pp-inf-schedule-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Field errors */
.pp-inf-field-error {
    display: block; font-size: 12px;
    color: #e53e3e; margin-top: 4px;
    font-weight: 600; padding-left: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .pp-inf-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .pp-inf-single-layout { flex-direction: column; gap: 32px; }
    .pp-inf-sidebar { flex: 0 0 100%; width: 100%; position: static; }
    .pp-inf-single-main { padding: 28px 24px 36px; }
}

@media (max-width: 640px) {
    .pp-inf-section { padding: 56px 0 64px; }
    .pp-inf-grid { grid-template-columns: 1fr; gap: 24px; }
    .pp-inf-section-header { margin-bottom: 36px; }
    .pp-inf-page-hero { padding: 48px 0 42px; }
    .pp-inf-single-section { padding: 40px 0 56px; }
    .pp-inf-single-main { padding: 22px 18px 28px; }
}

@media (max-width: 480px) {
    .pp-inf-container { padding: 0 15px; }
}
