/*
 Theme Name:   Piquiyo's Theme
 Theme URI:    https://piquiyo.com/
 Description:  Child theme of Astra for Piquiyo. Custom single blog post design.
 Author:       Piquiyo
 Template:     astra
 Version:      1.1.1
 Text Domain:  astra-child
*/

/* ============ Piquiyo single-post redesign ============ */
body.single-post {
  --piq-ink:#1f2328; --piq-sub:#5b616e; --piq-muted:#8a8f99;
  --piq-accent:#ff5c39; --piq-line:#e8e8ec; --piq-soft:#f6f6f7;
}

/* Layout: center the reading column */
body.single-post .site-content .ast-container{display:block;max-width:1240px;margin:0 auto;}
body.single-post #primary{max-width:740px !important;margin:0 auto !important;float:none !important;}
body.single-post.ast-separate-container .ast-article-single,
body.single-post .ast-article-single{
  background:transparent !important;box-shadow:none !important;padding:0 !important;border:0;
}

/* Hide Astra default meta (we render our own) */
body.single-post .ast-article-single .entry-meta,
body.single-post .entry-header .post-meta{display:none !important;}

/* Remove comments on posts */
body.single-post .comments-area,
body.single-post #comments,
body.single-post #respond,
body.single-post .comment-respond,
body.single-post .ast-comment-list{display:none !important;}

/* Breadcrumb */
.piq-breadcrumb{
  display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;
  font-size:.85rem;color:var(--piq-muted);margin:0 0 1.1rem;
}
.piq-breadcrumb a{color:var(--piq-sub);text-decoration:none;}
.piq-breadcrumb a:hover{color:var(--piq-accent);}
.piq-breadcrumb > span{color:#c4c7cd;}
.piq-breadcrumb .piq-bc-current{color:var(--piq-muted);}

/* Title */
body.single-post .entry-title{
  font-size:2.5rem;line-height:1.12;letter-spacing:-.02em;
  margin:0 0 1.1rem;color:var(--piq-ink);font-weight:800;
}

/* Meta row */
.piq-meta{
  display:flex;flex-wrap:wrap;gap:1.1rem;align-items:center;
  font-size:.9rem;color:var(--piq-sub);
  margin:0 0 1.5rem;padding-bottom:1.2rem;border-bottom:1px solid var(--piq-line);
}
.piq-meta span{display:inline-flex;align-items:center;gap:.45rem;}
.piq-meta svg{width:16px;height:16px;stroke:var(--piq-muted);fill:none;}

/* Featured-image hero */
.piq-hero{margin:0 0 2.4rem;}
.piq-hero-media img,.piq-hero-img{
  width:100%;height:auto;max-height:260px;object-fit:cover;
  border-radius:16px;display:block;
}
.piq-hero .piq-meta{margin-bottom:0;border-bottom:0;padding-bottom:0;}
@media (min-width:880px){
  body.piq-has-hero .piq-hero{
    display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
    gap:2.6rem;align-items:center;
  }
  body.piq-has-hero .piq-hero-text{min-width:0;}
  body.piq-has-hero .piq-hero-media img{height:300px;max-height:none;}
  body.piq-has-hero.piq-has-toc .entry-title,
  body.piq-has-hero.piq-has-toc .piq-meta,
  body.piq-has-hero.piq-has-toc .piq-breadcrumb{max-width:none;}
}

/* Featured image (in-content fallback) */
body.single-post .post-thumb img,
body.single-post .ast-article-single .post-thumb-img-content img{
  border-radius:14px;margin:0 0 1.8rem;width:100%;height:auto;
}

/* Body typography */
body.single-post .entry-content{font-size:1.07rem;line-height:1.75;color:#34383f;}
body.single-post .entry-content > *:first-child{margin-top:0;}
body.single-post .entry-content h2{
  font-size:1.65rem;line-height:1.22;letter-spacing:-.01em;
  margin:2.6rem 0 .8rem;color:var(--piq-ink);font-weight:700;scroll-margin-top:90px;
}
body.single-post .entry-content h3{
  font-size:1.25rem;margin:1.9rem 0 .6rem;color:var(--piq-ink);font-weight:700;scroll-margin-top:90px;
}
body.single-post .entry-content p{margin:0 0 1.15rem;}
body.single-post .entry-content a{color:var(--piq-accent);text-decoration:underline;text-underline-offset:2px;}
body.single-post .entry-content ul,
body.single-post .entry-content ol{margin:0 0 1.2rem 1.2rem;}
body.single-post .entry-content li{margin:.35rem 0;}
body.single-post .entry-content img{border-radius:12px;height:auto;}

/* Table of contents card */
.piq-toc{
  background:var(--piq-soft);border:1px solid var(--piq-line);
  border-radius:16px;padding:1.15rem 1.35rem;margin:0 0 2.2rem;
}
.piq-toc__title{
  font-weight:700;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--piq-muted);margin:0 0 .7rem;
}
.piq-toc__list{list-style:none;margin:0;padding:0;}
.piq-toc__list li{margin:0;}
.piq-toc__list a{
  display:block;padding:.4rem 0;color:var(--piq-ink);text-decoration:none;
  font-size:.97rem;line-height:1.35;border-top:1px solid var(--piq-line);
  transition:color .15s ease;
}
.piq-toc__list li:first-child a{border-top:0;}
.piq-toc__list a:hover{color:var(--piq-accent);}
.piq-toc__list a.is-active{color:var(--piq-accent);font-weight:600;}
.piq-toc__list li.piq-sub a{padding-left:1.1rem;font-size:.9rem;color:var(--piq-sub);}
.piq-toc__list li.piq-sub a.is-active{color:var(--piq-accent);}
.piq-toc.is-collapsed .piq-toc__list li:nth-child(n+8){display:none;}
.piq-toc__more{
  background:none;border:0;cursor:pointer;color:var(--piq-accent);
  font-weight:600;font-size:.92rem;padding:.6rem 0 0;
}

/* 2-column sticky TOC layout (desktop) */
@media (min-width:1000px){
  body.piq-has-toc.single-post #primary{max-width:1080px !important;}
  body.piq-has-toc .piq-grid{
    display:grid;grid-template-columns:240px minmax(0,1fr);gap:3.2rem;align-items:start;
  }
  body.piq-has-toc .piq-toc-col{position:sticky;top:110px;}
  body.piq-has-toc .piq-toc-col .piq-toc{margin:0;}
  body.piq-has-toc:not(.piq-has-hero) .entry-title,
  body.piq-has-toc:not(.piq-has-hero) .piq-meta,
  body.piq-has-toc:not(.piq-has-hero) .piq-breadcrumb{max-width:820px;}
}

/* Callout boxes */
body.single-post .entry-content blockquote,
body.single-post .entry-content .piq-callout{
  background:var(--piq-soft);border-left:4px solid var(--piq-accent);
  border-radius:10px;padding:1.1rem 1.3rem;margin:1.7rem 0;color:var(--piq-ink);
  font-style:normal;
}
body.single-post .entry-content blockquote p:last-child{margin-bottom:0;}

/* Recommended articles */
.piq-related{margin:3.5rem 0 0;border-top:1px solid var(--piq-line);padding-top:2.6rem;}
.piq-related__title{
  text-align:center;font-size:1.9rem;font-weight:800;letter-spacing:-.01em;
  color:var(--piq-ink);margin:0 0 2rem;
}
.piq-related__grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1.8rem;justify-content:center;
}
.piq-card{display:block;text-decoration:none;color:inherit;}
.piq-card__media{
  margin:0 0 1rem;border-radius:10px;overflow:hidden;
  aspect-ratio:16/10;background:var(--piq-soft);
}
.piq-card__media img,.piq-card__img{
  width:100%;height:100%;object-fit:cover;display:block;border-radius:10px;
}
.piq-card__ph{width:100%;height:100%;background:linear-gradient(135deg,#ffe7df,#f3f4f6);}
.piq-card__cat{
  display:block;font-size:.72rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--piq-muted);margin:0 0 .5rem;
}
.piq-card__title{
  font-size:1.12rem;line-height:1.3;font-weight:700;
  color:var(--piq-ink);margin:0 0 .7rem;
}
.piq-card:hover .piq-card__title{color:var(--piq-accent);}
.piq-card__meta{font-size:.82rem;color:var(--piq-muted);margin:0;}
@media (max-width:780px){
  .piq-related__grid{grid-template-columns:1fr;gap:1.6rem;}
}

@media (max-width:600px){
  body.single-post .entry-title{font-size:2rem;}
  body.single-post .entry-content h2{font-size:1.4rem;}
}


/* ============ Share + Subscribe (single-post sidebar) ============ */
.piq-share{margin:1.6rem 0 0;}
.piq-share__title{
  font-weight:700;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--piq-muted);margin:0 0 .7rem;
}
.piq-share__row{display:flex;gap:.55rem;flex-wrap:wrap;}
.piq-share__btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:var(--piq-soft);border:1px solid var(--piq-line);
  color:var(--piq-sub);text-decoration:none;transition:all .15s ease;
}
.piq-share__btn:hover{background:var(--piq-accent);border-color:var(--piq-accent);color:#fff;}
.piq-share__btn svg{display:block;}

.piq-subscribe{
  margin:1.8rem 0 0;background:var(--piq-soft);
  border:1px solid var(--piq-line);border-radius:16px;padding:1.2rem 1.35rem;
}
.piq-subscribe__title{
  font-weight:700;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--piq-muted);margin:0 0 .85rem;
}
.piq-subscribe form,
.piq-subscribe .sib_signup_form{margin:0;}
.piq-subscribe input[type=text],
.piq-subscribe input[type=email],
.piq-subscribe input[type=tel],
.piq-subscribe select{
  width:100%;box-sizing:border-box;padding:.6rem .75rem;margin:0 0 .6rem;
  border:1px solid var(--piq-line);border-radius:9px;background:#fff;
  font-size:.92rem;color:var(--piq-ink);font-family:inherit;line-height:1.3;
}
.piq-subscribe input::placeholder{color:var(--piq-muted);}
.piq-subscribe input:focus,
.piq-subscribe select:focus{outline:none;border-color:var(--piq-accent);}
.piq-subscribe input[type=submit],
.piq-subscribe button[type=submit],
.piq-subscribe button,
.piq-subscribe .sib-form-block__button{
  width:100%;box-sizing:border-box;padding:.65rem 1rem;margin:.2rem 0 0;
  background:var(--piq-accent);color:#fff;border:0;border-radius:9px;
  font-size:.95rem;font-weight:700;cursor:pointer;font-family:inherit;
  transition:filter .15s ease;text-align:center;
}
.piq-subscribe input[type=submit]:hover,
.piq-subscribe button:hover,
.piq-subscribe .sib-form-block__button:hover{filter:brightness(.93);}
.piq-subscribe .sib-form-message-panel{font-size:.84rem;margin:0 0 .6rem;border-radius:8px;}
.piq-subscribe .sib-form,
.piq-subscribe .sib-container,
.piq-subscribe #sib-container,
.piq-subscribe [class*="sib-container"]{
  padding:0 !important;background:transparent !important;border:0 !important;
  max-width:none !important;width:100% !important;min-width:0 !important;
}
.piq-subscribe label,
.piq-subscribe .entry__label{font-size:.84rem;color:var(--piq-sub);margin:0 0 .3rem;display:block;}
@media (max-width:1000px){.piq-share,.piq-subscribe{max-width:560px;}}

/* ============ Footer "Talk to an expert" CTA band ============ */
.pq-cta-band{
  background:#201e22 !important;border-radius:22px;
  padding:52px 32px;margin:8px auto 26px;max-width:1180px;width:100%;
  text-align:center !important;box-sizing:border-box;
}
.pq-cta-band .pq-cta-inner{max-width:680px;margin:0 auto;}
.pq-cta-band .pq-cta-kicker{
  color:#ff5c39 !important;font-size:12px !important;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;margin:0 0 14px !important;line-height:1.3 !important;
}
.pq-cta-band .pq-cta-title{
  color:#fff !important;font-size:2.1rem !important;line-height:1.14 !important;font-weight:800 !important;
  letter-spacing:-.01em;margin:0 0 14px !important;
}
.pq-cta-band .pq-cta-sub{
  color:rgba(255,255,255,.82) !important;font-size:1.06rem !important;line-height:1.6 !important;margin:0 0 28px !important;
}
a.pq-cta-btn,.pq-cta-btn{
  display:inline-block;background:#ff5c39 !important;color:#fff !important;text-decoration:none !important;
  font-size:1.05rem !important;font-weight:700 !important;padding:14px 42px !important;border-radius:999px !important;
  transition:filter .15s ease;border:0;cursor:pointer;line-height:1.2 !important;
}
a.pq-cta-btn:hover,.pq-cta-btn:hover,.pq-cta-btn:focus{filter:brightness(.93);color:#fff !important;}
@media (max-width:600px){
  .pq-cta-band{padding:38px 22px;border-radius:18px;}
  .pq-cta-band .pq-cta-title{font-size:1.6rem !important;}
  .pq-cta-band .pq-cta-sub{font-size:1rem !important;}
}

.elementor-element-c8e6913 .elementor-widget-shortcode,
.elementor-element-c8e6913 .elementor-shortcode{text-align:center;}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub{margin-bottom:24px !important;}

/* Homepage CTA band: center all content */
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__kicker .elementor-heading-title,
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__title .elementor-heading-title,
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub,
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub p{text-align:center !important;}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub{max-width:600px;margin-left:auto !important;margin-right:auto !important;}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__kicker .elementor-heading-title{color:#ff5c39 !important;}
/* ===== Premium homepage CTA band (Piquiyo) ===== */
.elementor-element-c8e6913{margin:48px auto 76px !important;}
.elementor-element-c8e6913 > .e-con-inner{
  background:#2E2C2F !important;
  border-radius:28px !important;
  padding:84px 40px !important;
  max-width:1140px !important;
  width:100% !important;
  position:relative !important;
  overflow:hidden !important;
  box-shadow:0 30px 70px -34px rgba(20,18,20,.6) !important;
}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__kicker{display:block !important;margin:0 0 16px !important;}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__kicker .elementor-heading-title{
  color:#FF4937 !important;font-size:13px !important;font-weight:700 !important;
  letter-spacing:.14em !important;text-transform:uppercase !important;text-align:center !important;margin:0 !important;
}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__title{margin:0 !important;}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__title .elementor-heading-title{
  color:#ffffff !important;font-size:3.1rem !important;line-height:1.06 !important;
  font-weight:800 !important;letter-spacing:-.025em !important;margin:0 auto 18px !important;
  max-width:15ch;text-align:center !important;
}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub{max-width:560px;margin:0 auto 36px !important;}
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub,
.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub p{
  color:rgba(255,255,255,.74) !important;font-size:1.14rem !important;line-height:1.55 !important;
  text-align:center !important;margin:0 !important;
}
.elementor-element-c8e6913 .pq-cta-btn{
  background:#FF4937 !important;color:#ffffff !important;border-radius:999px !important;
  padding:16px 40px !important;font-size:1.05rem !important;font-weight:700 !important;
  box-shadow:0 14px 30px -10px rgba(255,73,55,.45) !important;
  transition:transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease, background .2s ease !important;
}
.elementor-element-c8e6913 .pq-cta-btn::after{content:"  \2192";font-weight:700;}
.elementor-element-c8e6913 .pq-cta-btn:hover{
  background:#e63e2d !important;transform:translateY(-2px) !important;
  box-shadow:0 22px 44px -12px rgba(255,73,55,.55) !important;color:#fff !important;
}
.elementor-element-c8e6913 > .e-con-inner::before,
.elementor-element-c8e6913 > .e-con-inner::after{
  content:"" !important;position:absolute;width:108px;height:108px;pointer-events:none;
  border:1.5px solid rgba(255,255,255,.13);background:transparent;z-index:1;
}
.elementor-element-c8e6913 > .e-con-inner::before{top:28px;left:28px;border-right:0;border-bottom:0;border-top-left-radius:12px;}
.elementor-element-c8e6913 > .e-con-inner::after{bottom:28px;right:28px;border-left:0;border-top:0;border-bottom-right-radius:12px;}
.elementor-element-c8e6913 .e-con-inner > *{position:relative;z-index:2;}
@media(max-width:781px){
  .elementor-element-c8e6913{margin:28px auto 48px !important;}
  .elementor-element-c8e6913 > .e-con-inner{padding:52px 24px !important;border-radius:22px !important;}
  .elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__title .elementor-heading-title{font-size:2.1rem !important;}
  .elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub,.elementor-element-c8e6913.elementor-element-c8e6913 .pq-news-band__sub p{font-size:1.02rem !important;}
  .elementor-element-c8e6913 > .e-con-inner::before,.elementor-element-c8e6913 > .e-con-inner::after{width:62px;height:62px;}
}
/* ===== Refined reveals + hover + parallax (single post) ===== */
@media (prefers-reduced-motion: no-preference){
  /* Scroll reveals (JS-gated; fully visible without JS). Small move, ease-out. */
  html.piq-rev body.single-post .entry-content h2,
  html.piq-rev body.single-post .entry-content h3,
  html.piq-rev body.single-post .entry-content figure,
  html.piq-rev body.single-post .entry-content img,
  html.piq-rev body.single-post .entry-content blockquote,
  html.piq-rev body.single-post .entry-content .piq-callout,
  html.piq-rev body.single-post .piq-related__title,
  html.piq-rev body.single-post .piq-related .piq-card,
  html.piq-rev body.single-post .piq-share,
  html.piq-rev body.single-post .piq-subscribe{
    opacity:0; translate:0 16px;
    transition:opacity .6s cubic-bezier(.16,1,.3,1), translate .6s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1);
  }
  html.piq-rev body.single-post .piq-in{opacity:1 !important; translate:0 0 !important;}

  /* Subtle hero parallax (degrades to static) */
  @supports (animation-timeline: view()){
    body.single-post .piq-hero-media{overflow:hidden; border-radius:16px;}
    body.single-post .piq-hero-media img{
      scale:1.08;
      animation:piqParallax linear both;
      animation-timeline:view();
      animation-range:cover 0% cover 100%;
    }
    @keyframes piqParallax{from{translate:0 -2.5%;}to{translate:0 2.5%;}}
  }
}

/* Hover micro-interactions: fast (150-250ms), small, consistent */
body.single-post .piq-card{transition:transform .2s cubic-bezier(.16,1,.3,1);}
body.single-post .piq-card:hover{transform:translateY(-4px);}
body.single-post .piq-card__media{transition:box-shadow .22s ease;}
body.single-post .piq-card:hover .piq-card__media{box-shadow:0 16px 32px -16px rgba(31,35,40,.30);}
body.single-post .piq-card__media img{transition:transform .5s cubic-bezier(.16,1,.3,1);}
body.single-post .piq-card:hover .piq-card__media img{transform:scale(1.04);}
body.single-post .piq-share__btn{transition:transform .18s cubic-bezier(.16,1,.3,1), background .18s ease, border-color .18s ease, color .18s ease;}
body.single-post .piq-share__btn:hover{transform:translateY(-2px);}
body.single-post .piq-toc__list a{transition:color .18s ease, padding-left .2s cubic-bezier(.16,1,.3,1);}
body.single-post .piq-toc__list a:hover{padding-left:5px;}
/* content links: underline draws in on hover */
body.single-post .entry-content p a,
body.single-post .entry-content li a{
  text-decoration:none;
  background-image:linear-gradient(currentColor,currentColor);
  background-repeat:no-repeat; background-position:0 100%; background-size:0% 1.5px;
  padding-bottom:1px;
  transition:background-size .25s cubic-bezier(.16,1,.3,1);
}
body.single-post .entry-content p a:hover,
body.single-post .entry-content li a:hover{background-size:100% 1.5px;}

/* ===== Lenis smooth scroll (recommended base styles) ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ===== Blog index hero (featured latest post) ===== */
.elementor-page-3413 .elementor-widget-heading{display:none !important;}
.piq-bloghero{
  position:relative; padding:56px 20px 56px;
  background:
    radial-gradient(circle at 1px 1px, rgba(31,35,40,.06) 1px, transparent 1.6px) 0 0/22px 22px,
    linear-gradient(180deg,#ffffff 0%, #fff6f3 55%, #ffffff 100%);
}
.piq-bloghero__inner{max-width:1180px;margin:0 auto;}
.piq-bloghero__head{text-align:center;margin:0 0 36px;}
.piq-bloghero__badge{
  display:inline-flex;align-items:center;gap:8px;
  background:#fff;border:1px solid #f3ddd6;color:#FF4937;
  font-weight:700;font-size:14px;padding:8px 16px;border-radius:999px;
  box-shadow:0 8px 22px -12px rgba(255,73,55,.5);
}
.piq-bloghero__badge svg{width:16px;height:16px;}
.piq-bloghero__sub{
  max-width:560px;margin:18px auto 0;color:#5b616e;
  font-size:1.13rem;line-height:1.55;text-align:center;
}
.piq-feat{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  background:#fff;border:1px solid #ececef;border-radius:24px;overflow:hidden;
  text-decoration:none;color:inherit;
  box-shadow:0 34px 70px -42px rgba(31,35,40,.34);
  transition:transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s ease;
}
.piq-feat:hover{transform:translateY(-4px);box-shadow:0 44px 86px -44px rgba(31,35,40,.42);}
.piq-feat__media{
  position:relative;min-height:380px;
  background-size:cover;background-position:center;background-color:#2E2C2F;
}
.piq-feat__media::after{content:"";position:absolute;inset:0;
  background:linear-gradient(135deg, rgba(255,73,55,.26), rgba(46,44,47,.10));}
.piq-feat__media--fallback{display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#FF4937 0%,#ff7d63 100%);}
.piq-feat__media--fallback::after{display:none;}
.piq-feat__mark{position:relative;z-index:1;color:#fff;font-weight:800;font-size:2.6rem;letter-spacing:-.03em;}
.piq-feat__mark i{font-style:normal;}
.piq-feat__body{padding:50px 50px;display:flex;flex-direction:column;justify-content:center;}
.piq-feat__date{color:#8a8f99;font-size:.92rem;margin:0 0 14px;}
.piq-feat__title{font-size:1.95rem;line-height:1.16;font-weight:800;letter-spacing:-.02em;color:#1f2328;margin:0 0 16px;transition:color .2s ease;}
.piq-feat:hover .piq-feat__title{color:#FF4937;}
.piq-feat__excerpt{color:#5b616e;font-size:1.05rem;line-height:1.55;margin:0 0 28px;}
.piq-feat__author{display:flex;align-items:center;gap:12px;}
.piq-feat__avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;background:#f1f1f3;}
.piq-feat__who{display:flex;flex-direction:column;line-height:1.3;}
.piq-feat__name{font-weight:700;color:#1f2328;font-size:.98rem;}
.piq-feat__role{color:#8a8f99;font-size:.86rem;}
@media (max-width:880px){
  .piq-feat{grid-template-columns:1fr;}
  .piq-feat__media{min-height:220px;}
  .piq-feat__body{padding:34px 26px;}
  .piq-feat__title{font-size:1.55rem;}
  .piq-bloghero{padding:40px 18px 40px;}
}

/* Hide the old featured 2-up grid (replaced by the blog hero) */
.elementor-page-3413 .elementor-element-d336b9b{display:none !important;}

/* ===== Subscribe input clarity (single-post sidebar) ===== */
.piq-subscribe input[type=text],
.piq-subscribe input[type=email],
.piq-subscribe input.pq-input,
.piq-subscribe input.sib-email-area{
  background:#ffffff !important;
  color:#1f2328 !important;
  -webkit-text-fill-color:#1f2328 !important;
  border:1.5px solid #cfd3da !important;
  border-radius:10px !important;
  padding:.72rem .8rem !important;
  box-shadow:inset 0 1px 2px rgba(31,35,40,.05) !important;
  transition:border-color .15s ease, box-shadow .15s ease !important;
}
.piq-subscribe input[type=email]::placeholder,
.piq-subscribe input.pq-input::placeholder,
.piq-subscribe input.sib-email-area::placeholder{color:#9aa0a6 !important;opacity:1 !important;}
.piq-subscribe input[type=email]:focus,
.piq-subscribe input.pq-input:focus,
.piq-subscribe input.sib-email-area:focus{
  outline:none !important;
  border-color:#FF4937 !important;
  box-shadow:0 0 0 3px rgba(255,73,55,.16) !important;
}

/* ===== Webflow homepage fx: marquee + scroll reveals ===== */
.piq-marquee{
  width:100vw; margin-left:calc(50% - 50vw); margin-top:46px;
  overflow:hidden; background:#2E2C2F; padding:22px 0;
  border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08);
}
.piq-marquee__track{display:inline-flex; align-items:center; white-space:nowrap; will-change:transform; animation:piqMarquee 34s linear infinite;}
.piq-marquee__track span{font-family:'Red Hat Display','Manrope',sans-serif; font-size:1.5rem; font-weight:800; letter-spacing:-.01em; color:#fff; padding:0 24px; line-height:1;}
.piq-marquee__track .piq-mq-dot{color:#FF4937; padding:0 4px;}
.piq-marquee:hover .piq-marquee__track{animation-play-state:paused;}
@keyframes piqMarquee{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media (prefers-reduced-motion: reduce){.piq-marquee__track{animation:none;}}
@media (max-width:780px){.piq-marquee{padding:16px 0;margin-top:30px;}.piq-marquee__track span{font-size:1.15rem;padding:0 16px;}}

@media (prefers-reduced-motion: no-preference){
  @supports (animation-timeline: view()){
    body.home .elementor-widget-heading,
    body.home .elementor-widget-text-editor,
    body.home .elementor-widget-image,
    body.home .elementor-widget-button,
    body.home .elementor-widget-icon-box,
    body.home .elementor-widget-icon-list,
    body.home .elementor-widget-eael-creative-button{
      animation:piqHomeReveal both linear;
      animation-timeline:view();
      animation-range:entry 4% entry 30%;
    }
    @keyframes piqHomeReveal{from{opacity:0;translate:0 22px;}to{opacity:1;translate:0 0;}}
  }
}

/* ===== Modern focus states (replace old dotted outline) ===== */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.elementor-button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible){ outline:none !important; }

.main-header-menu .menu-link:focus,
.ast-nav-menu .menu-link:focus,
.ast-builder-menu .menu-link:focus,
.main-header-menu a:focus,
.ast-hfb-header a:focus{ outline:none !important; box-shadow:none !important; }

.main-header-menu .menu-link:focus-visible,
.ast-nav-menu .menu-link:focus-visible,
.ast-builder-menu .menu-link:focus-visible,
.main-header-menu a:focus-visible{
  outline:none !important;
  color:#FF4937 !important;
  text-decoration:underline !important;
  text-decoration-color:#FF4937 !important;
  text-underline-offset:6px !important;
  text-decoration-thickness:2px !important;
}

/* blog hero sub is now the page H1: keep sub styling */
h1.piq-bloghero__sub{font-size:1.13rem;font-weight:400;letter-spacing:0;line-height:1.55;margin:18px auto 0;color:#5b616e;}
