/* =========================================================
   FutureVolt Blog (list + single post). Loaded only on blog pages.
   Palette matches the site: green #53b703, dark #17351f, soft bg #f8fbf6, border #ddebd7
   ========================================================= */

.fvb-section{background:#f8fbf6;padding:56px 0 72px}
.fvb-wrap{max-width:1180px;margin:0 auto;padding:0 16px}

/* ---------- filter chips ---------- */
.fvb-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 32px;padding:0;list-style:none}
.fvb-chips a{display:inline-block;padding:8px 18px;border-radius:999px;border:1px solid #ddebd7;background:#fff;color:#17351f;font-size:14px;font-weight:600;text-decoration:none;transition:.2s}
.fvb-chips a:hover{border-color:#53b703;color:#3f8f05}
.fvb-chips a.is-active{background:#53b703;border-color:#53b703;color:#fff}

/* ---------- card grid ---------- */
.fvb-grid{display:grid;grid-template-columns:1fr;gap:26px}
@media (min-width:640px){.fvb-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:992px){.fvb-grid{grid-template-columns:repeat(3,1fr)}}

.fvb-card{background:#fff;border:1px solid #ddebd7;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 6px 22px rgba(23,53,31,.06);transition:transform .2s,box-shadow .2s}
.fvb-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(23,53,31,.12)}
.fvb-card-img{display:block;aspect-ratio:16/10;background:#eef9e8;overflow:hidden}
.fvb-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.fvb-card:hover .fvb-card-img img{transform:scale(1.04)}
.fvb-card-noimg{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#53b703;font-size:40px}
.fvb-card-body{padding:22px 22px 20px;display:flex;flex-direction:column;flex:1}
.fvb-cat{display:inline-block;align-self:flex-start;background:#eef9e8;color:#3f8f05;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:5px 12px;border-radius:999px;margin-bottom:12px;text-decoration:none}
.fvb-card-title{font-family:'Poppins',sans-serif;font-size:19px;line-height:1.35;font-weight:600;margin:0 0 10px}
.fvb-card-title a{color:#17351f;text-decoration:none}
.fvb-card-title a:hover{color:#3f8f05}
.fvb-card-excerpt{color:#4b5d50;font-size:15px;line-height:1.65;margin:0 0 18px;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.fvb-meta-line{display:flex;flex-wrap:wrap;gap:6px 14px;color:#6b7c70;font-size:13px}
.fvb-meta-line i{color:#53b703;margin-right:5px}

/* ---------- pagination ---------- */
.fvb-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:44px 0 0;padding:0;list-style:none}
.fvb-pagination a,.fvb-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border-radius:10px;border:1px solid #ddebd7;background:#fff;color:#17351f;font-weight:600;text-decoration:none}
.fvb-pagination a:hover{border-color:#53b703;color:#3f8f05}
.fvb-pagination .is-current{background:#53b703;border-color:#53b703;color:#fff}
.fvb-pagination .is-disabled{opacity:.45}

/* ---------- empty state ---------- */
.fvb-empty{text-align:center;background:#fff;border:1px dashed #cfe3c6;border-radius:18px;padding:64px 20px;color:#4b5d50}
.fvb-empty i{font-size:42px;color:#53b703;margin-bottom:14px}
.fvb-empty h2{font-family:'Poppins',sans-serif;font-size:22px;color:#17351f;margin-bottom:8px}

/* =========================================================
   Single post
   ========================================================= */
.fvb-post{background:#fff;padding:48px 0 24px}
.fvb-post-inner{max-width:780px;margin:0 auto;padding:0 16px}

.fvb-post-head .fvb-cat{margin-bottom:16px}
.fvb-post-title{font-family:'Poppins',sans-serif;font-weight:700;color:#17351f;font-size:clamp(28px,4.4vw,42px);line-height:1.2;margin:0 0 16px}
.fvb-post-summary{font-size:19px;line-height:1.65;color:#4b5d50;margin:0 0 22px}
.fvb-byline{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;color:#6b7c70;font-size:14px;padding:16px 0;border-top:1px solid #e7f0e2;border-bottom:1px solid #e7f0e2;margin-bottom:28px}
.fvb-byline strong{color:#17351f}
.fvb-byline i{color:#53b703;margin-right:6px}

.fvb-hero-img{margin:0 0 32px}
.fvb-hero-img img{display:block;width:100%;height:auto;border-radius:18px;background:#eef9e8}

/* table of contents */
.fvb-toc{background:#f8fbf6;border:1px solid #ddebd7;border-radius:14px;padding:18px 22px;margin:0 0 32px}
.fvb-toc-title{font-family:'Poppins',sans-serif;font-weight:600;color:#17351f;font-size:16px;margin:0 0 10px}
.fvb-toc ol{margin:0;padding-left:20px}
.fvb-toc li{margin:5px 0;font-size:15px;line-height:1.5}
.fvb-toc li.is-sub{margin-left:18px;list-style-type:circle}
.fvb-toc a{color:#17351f;text-decoration:none}
.fvb-toc a:hover{color:#3f8f05;text-decoration:underline}

/* article body typography */
.fvb-content{font-size:17.5px;line-height:1.85;color:#26382c;overflow-wrap:break-word}
.fvb-content>*:first-child{margin-top:0}
.fvb-content h2{font-family:'Poppins',sans-serif;font-size:clamp(23px,3.2vw,30px);font-weight:700;color:#17351f;line-height:1.3;margin:2.2em 0 .6em;scroll-margin-top:96px}
.fvb-content h3{font-family:'Poppins',sans-serif;font-size:clamp(19px,2.6vw,23px);font-weight:600;color:#17351f;line-height:1.35;margin:1.8em 0 .5em;scroll-margin-top:96px}
.fvb-content h4,.fvb-content h5,.fvb-content h6{font-family:'Poppins',sans-serif;color:#17351f;margin:1.5em 0 .4em}
.fvb-content p{margin:0 0 1.25em}
.fvb-content a{color:#3f8f05;text-decoration:underline;text-underline-offset:3px}
.fvb-content a:hover{color:#2b6403}
.fvb-content ul,.fvb-content ol{margin:0 0 1.3em;padding-left:1.4em}
.fvb-content li{margin:.45em 0}
.fvb-content li::marker{color:#53b703}
.fvb-content img{max-width:100%;height:auto;border-radius:12px;margin:.6em 0}
.fvb-content figure{margin:1.6em 0}
.fvb-content figcaption{font-size:14px;color:#6b7c70;text-align:center;margin-top:6px}
.fvb-content blockquote{margin:1.6em 0;padding:16px 22px;border-left:4px solid #53b703;background:#f6fbf3;border-radius:0 12px 12px 0;color:#17351f;font-style:italic}
.fvb-content blockquote p:last-child{margin-bottom:0}
.fvb-content table{width:100%;border-collapse:collapse;margin:1.6em 0;font-size:15.5px;display:block;overflow-x:auto}
.fvb-content th,.fvb-content td{border:1px solid #ddebd7;padding:10px 14px;text-align:left;vertical-align:top}
.fvb-content th{background:#eef9e8;color:#17351f;font-weight:700}
.fvb-content tr:nth-child(even) td{background:#fafdf8}
.fvb-content pre,.fvb-content code{font-family:Consolas,Menlo,monospace;background:#f3f6f2;border-radius:6px}
.fvb-content code{padding:2px 6px;font-size:.92em}
.fvb-content pre{padding:14px 16px;overflow-x:auto;font-size:14.5px;line-height:1.6}
.fvb-content iframe{max-width:100%;border:0;border-radius:12px;aspect-ratio:16/9;width:100%;height:auto}
.fvb-content hr{border:0;border-top:1px solid #ddebd7;margin:2em 0}

/* tags + share */
.fvb-tags{display:flex;flex-wrap:wrap;gap:8px;margin:34px 0 0}
.fvb-tag{background:#f3f6f2;color:#4b5d50;padding:5px 14px;border-radius:999px;font-size:13px}
.fvb-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:26px 0 0;padding:18px 0;border-top:1px solid #e7f0e2;border-bottom:1px solid #e7f0e2}
.fvb-share-label{font-weight:700;color:#17351f;margin-right:4px}
.fvb-share a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#eef9e8;color:#3f8f05;font-size:17px;text-decoration:none;transition:.2s}
.fvb-share a:hover{background:#53b703;color:#fff}

/* author */
.fvb-author{display:flex;gap:16px;align-items:center;background:#f8fbf6;border:1px solid #ddebd7;border-radius:16px;padding:20px 22px;margin:30px 0 0}
.fvb-author-badge{flex:0 0 54px;width:54px;height:54px;border-radius:50%;background:#53b703;color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Poppins',sans-serif;font-weight:700;font-size:20px}
.fvb-author-name{font-weight:700;color:#17351f;margin:0}
.fvb-author-role{color:#6b7c70;font-size:14px;margin:2px 0 0}

/* FAQ (no JavaScript: <details>) */
.fvb-faq{margin:44px 0 0}
.fvb-faq h2{font-family:'Poppins',sans-serif;font-size:clamp(22px,3vw,28px);font-weight:700;color:#17351f;margin:0 0 16px}
.fvb-faq details{border:1px solid #ddebd7;border-radius:12px;background:#fff;margin:0 0 10px;overflow:hidden}
.fvb-faq summary{cursor:pointer;padding:16px 20px;font-weight:600;color:#17351f;list-style:none;position:relative;padding-right:46px}
.fvb-faq summary::-webkit-details-marker{display:none}
.fvb-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:22px;color:#53b703;line-height:1}
.fvb-faq details[open] summary::after{content:"\2212"}
.fvb-faq details[open]{background:#f8fbf6}
.fvb-faq .fvb-faq-a{padding:0 20px 18px;color:#3d5043;line-height:1.75}

/* CTA */
.fvb-cta{margin:46px 0 0;background:linear-gradient(135deg,#17351f,#245a2f);color:#fff;border-radius:20px;padding:34px 30px;text-align:center}
.fvb-cta h2{font-family:'Poppins',sans-serif;color:#fff;font-size:clamp(21px,3vw,27px);font-weight:700;margin:0 0 8px}
.fvb-cta p{color:#d7ead0;margin:0 0 20px}
.fvb-cta a{display:inline-block;background:#53b703;color:#fff;font-weight:700;padding:13px 28px;border-radius:12px;text-decoration:none;transition:.2s}
.fvb-cta a:hover{background:#3f8f05;color:#fff}

/* related */
.fvb-related{background:#f8fbf6;padding:56px 0 72px;margin-top:40px}
.fvb-related h2{font-family:'Poppins',sans-serif;font-weight:700;color:#17351f;font-size:clamp(22px,3vw,28px);margin:0 0 24px}

/* private preview banner */
.fvb-preview-bar{background:#fff3cd;color:#7a5b00;text-align:center;padding:10px 16px;font-size:14px;font-weight:600;border-bottom:1px solid #ffe69c}

@media (max-width:575px){
  .fvb-section{padding:36px 0 52px}
  .fvb-post{padding-top:30px}
  .fvb-content{font-size:16.5px}
  .fvb-post-summary{font-size:17px}
  .fvb-cta{padding:26px 20px}
}
@media (prefers-reduced-motion:reduce){.fvb-card,.fvb-card-img img{transition:none}.fvb-card:hover{transform:none}}

/* post title inside the existing page hero (longer than the other pages' titles) */
.fv-referral-breadcrumb .fv-referral-breadcrumb-content h1.fvb-hero-title{font-size:clamp(26px,4.2vw,44px);line-height:1.2;max-width:900px}

/* ---------- author box (with profile) ---------- */
.fvb-author{align-items:flex-start;gap:18px;padding:22px 24px}
.fvb-author-photo{flex:0 0 72px;width:72px;height:72px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px #ddebd7}
.fvb-author .fvb-author-badge{flex-basis:72px;width:72px;height:72px;font-size:24px}
.fvb-author-body{min-width:0}
.fvb-author-kicker{margin:0 0 2px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#3f8f05}
.fvb-author-name a{color:#17351f;text-decoration:none}
.fvb-author-name a:hover{color:#3f8f05;text-decoration:underline}
.fvb-author-bio{margin:10px 0 0;font-size:15px;line-height:1.7;color:#3d5043}
.fvb-author-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:12px}
.fvb-author-links a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#eef9e8;color:#3f8f05;text-decoration:none;transition:.2s}
.fvb-author-links a:hover{background:#53b703;color:#fff}
.fvb-author-links a.fvb-author-more{width:auto;height:auto;border-radius:999px;padding:7px 14px;font-size:14px;font-weight:600}
.fvb-byline-author{color:inherit;text-decoration:none}
.fvb-byline-author:hover strong{color:#3f8f05;text-decoration:underline}
@media (max-width:575px){.fvb-author{flex-direction:column}}

/* ---------- author profile page (/blogs/author/{slug}) ---------- */
.fvb-profile{display:flex;gap:28px;align-items:flex-start;background:#fff;border:1px solid #ddebd7;border-radius:20px;padding:30px;margin:0 0 36px;box-shadow:0 6px 22px rgba(23,53,31,.06)}
.fvb-profile-photo{flex:0 0 140px;width:140px;height:140px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 1px #ddebd7}
.fvb-profile-initials{flex:0 0 140px;width:140px;height:140px;border-radius:50%;background:#53b703;color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Poppins',sans-serif;font-weight:700;font-size:44px}
.fvb-profile h2{font-family:'Poppins',sans-serif;font-size:24px;font-weight:700;color:#17351f;margin:0 0 4px}
.fvb-profile-role{color:#3f8f05;font-weight:600;margin:0 0 12px}
.fvb-profile-bio{color:#3d5043;line-height:1.75;margin:0 0 14px;font-size:16px}
.fvb-profile-skills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.fvb-profile-skills li{background:#eef9e8;color:#2b6403;font-size:13px;font-weight:600;padding:5px 12px;border-radius:999px}
.fvb-profile .fvb-author-links{margin-top:0}
@media (max-width:640px){.fvb-profile{flex-direction:column;align-items:center;text-align:center;padding:24px 18px}.fvb-profile-skills,.fvb-profile .fvb-author-links{justify-content:center}}
