/*
Theme Name: Flash Trend
Theme URI: https://flashtrend.example.com
Author: Flash Trend Team
Author URI: https://flashtrend.example.com
Description: Flash Trend is a premium WordPress theme purpose-built for nutraceutical, supplements, health and wellness blogs. It's fully compatible with Elementor and ships with custom widgets for Industry News, Medication Trends, Health Procedures, Product Reviews and a Newsletter signup. Light, fresh palette inspired by greens, stone-grays and white.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flash-trend
Tags: blog, news, health, wellness, elementor, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar, full-width-template, theme-options

Flash Trend WordPress Theme, (C) 2026 Flash Trend Team
Flash Trend is distributed under the terms of the GNU GPL v2 or later.
*/

/* =========================
   Design Tokens
   ========================= */
:root {
  --ft-bg: #FAFAFA;
  --ft-bg-soft: #F0FDF4;
  --ft-bg-dark: #064E3B;
  --ft-text: #1C1917;
  --ft-text-soft: #57534E;
  --ft-text-on-dark: #FFFFFF;
  --ft-brand: #22C55E;
  --ft-brand-hover: #16A34A;
  --ft-accent: #A3E635;
  --ft-brand-dark: #14532D;
  --ft-card: #FFFFFF;
  --ft-border: #E7E5E4;
  --ft-radius: 16px;
  --ft-radius-lg: 24px;
  --ft-shadow-sm: 0 1px 2px rgba(28,25,23,0.04), 0 1px 1px rgba(28,25,23,0.02);
  --ft-shadow-md: 0 10px 30px rgba(20,83,45,0.08), 0 4px 10px rgba(28,25,23,0.04);
  --ft-font-heading: 'Cabinet Grotesk', 'Outfit', system-ui, -apple-system, Segoe UI, sans-serif;
  --ft-font-body: 'Outfit', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* =========================
   Base
   ========================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ft-bg);
  color: var(--ft-text);
  font-family: var(--ft-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ft-brand-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ft-brand); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ft-font-heading);
  color: var(--ft-text);
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  font-weight: 800;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.15; }
h3 { font-size: 1.5rem; line-height: 1.25; font-weight: 700; }
p  { color: var(--ft-text-soft); }

.ft-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ft-eyebrow {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 600; color: var(--ft-brand-hover);
}

/* =========================
   Buttons
   ========================= */
.ft-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  font-family: var(--ft-font-body); font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease;
  text-decoration: none;
}
.ft-btn-primary { background: var(--ft-brand); color: #fff; }
.ft-btn-primary:hover { background: var(--ft-brand-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--ft-shadow-md); }
.ft-btn-ghost { background: transparent; color: var(--ft-text); border-color: var(--ft-border); }
.ft-btn-ghost:hover { border-color: var(--ft-brand); color: var(--ft-brand-hover); }
.ft-btn-dark { background: var(--ft-brand-dark); color: #fff; }
.ft-btn-dark:hover { background: #0c3a22; color: #fff; }

/* =========================
   Header
   ========================= */
.ft-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(231,229,228,0.6);
}
.ft-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 24px;
}
.ft-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ft-font-heading); font-weight: 800; font-size: 20px; color: var(--ft-text); letter-spacing: -0.02em; }
.ft-logo .ft-logo-mark { width: 34px; height: 34px; }
.ft-nav { display: flex; gap: 28px; }
.ft-nav a { color: var(--ft-text); font-weight: 500; font-size: 15px; }
.ft-nav a:hover { color: var(--ft-brand-hover); }
.ft-menu-toggle { display: none; background: none; border: 1px solid var(--ft-border); border-radius: 12px; padding: 8px 10px; cursor: pointer; }

@media (max-width: 860px) {
  .ft-nav { display: none; }
  .ft-menu-toggle { display: inline-flex; }
  .ft-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--ft-border); }
}

/* =========================
   Hero
   ========================= */
.ft-hero { padding: 80px 0 60px; position: relative; overflow: hidden; }
.ft-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ft-hero h1 span.brand { color: var(--ft-brand-hover); }
.ft-hero .ft-lead { font-size: 1.15rem; max-width: 540px; margin-bottom: 28px; }
.ft-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ft-hero-art { position: relative; aspect-ratio: 4/3; border-radius: var(--ft-radius-lg); overflow: hidden; box-shadow: var(--ft-shadow-md); }
.ft-hero-art img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .ft-hero-grid { grid-template-columns: 1fr; } }

/* =========================
   Highlights bar
   ========================= */
.ft-highlights { background: var(--ft-bg-soft); border-block: 1px solid var(--ft-border); padding: 18px 0; }
.ft-highlights-row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: center; align-items: center; }
.ft-highlight { display: inline-flex; gap: 8px; align-items: center; color: var(--ft-brand-dark); font-weight: 600; font-size: 14px; }

/* =========================
   Bento Grid (4 Main Blocks)
   ========================= */
.ft-section { padding: 80px 0; }
.ft-section-head { max-width: 720px; margin-bottom: 40px; }
.ft-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.ft-bento-card { background: var(--ft-card); border: 1px solid var(--ft-border); border-radius: var(--ft-radius-lg); overflow: hidden; box-shadow: var(--ft-shadow-sm); transition: box-shadow .3s ease, transform .3s ease; display: flex; flex-direction: column; }
.ft-bento-card:hover { box-shadow: var(--ft-shadow-md); transform: translateY(-2px); }
.ft-bento-card .ft-card-media { aspect-ratio: 16/10; overflow: hidden; }
.ft-bento-card .ft-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ft-bento-card:hover .ft-card-media img { transform: scale(1.04); }
.ft-bento-card .ft-card-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ft-bento-card .ft-card-body h3 { margin: 0; }
.ft-bento-card .ft-card-body p { margin: 0; }
.ft-bento-card .ft-card-foot { margin-top: auto; padding-top: 8px; }

.ft-bento .ft-block-1 { grid-column: span 7; }
.ft-bento .ft-block-2 { grid-column: span 5; }
.ft-bento .ft-block-3 { grid-column: span 5; }
.ft-bento .ft-block-4 { grid-column: span 7; }

@media (max-width: 980px) {
  .ft-bento .ft-block-1,
  .ft-bento .ft-block-2,
  .ft-bento .ft-block-3,
  .ft-bento .ft-block-4 { grid-column: span 12; }
}

/* =========================
   Reviews
   ========================= */
.ft-reviews { background: var(--ft-bg-soft); }
.ft-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ft-review-card { background: #fff; border: 1px solid var(--ft-border); border-radius: var(--ft-radius); overflow: hidden; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ft-review-card .ft-stars { color: #F59E0B; font-weight: 700; letter-spacing: 2px; }
.ft-review-card ul.ft-pros, .ft-review-card ul.ft-cons { padding-left: 18px; margin: 0; color: var(--ft-text-soft); }
.ft-review-card ul.ft-pros li::marker { color: var(--ft-brand); }
.ft-review-card ul.ft-cons li::marker { color: #DC2626; }
@media (max-width: 860px) { .ft-review-grid { grid-template-columns: 1fr; } }

/* =========================
   News list
   ========================= */
.ft-news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ft-news-item { background: #fff; border: 1px solid var(--ft-border); border-radius: var(--ft-radius); overflow: hidden; display: flex; flex-direction: column; }
.ft-news-item .ft-news-media { aspect-ratio: 16/10; }
.ft-news-item .ft-news-media img { width: 100%; height: 100%; object-fit: cover; }
.ft-news-item .ft-news-body { padding: 22px; }
@media (max-width: 860px) { .ft-news-list { grid-template-columns: 1fr; } }

/* =========================
   Newsletter
   ========================= */
.ft-newsletter { background: var(--ft-bg-soft); padding: 80px 0; }
.ft-newsletter-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.ft-newsletter-form { display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0; }
.ft-newsletter-form input[type="email"] {
  flex: 1; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--ft-border); font-family: inherit; font-size: 15px; background: #fff;
}
.ft-newsletter-form input[type="email"]:focus { outline: none; border-color: var(--ft-brand); box-shadow: 0 0 0 4px rgba(34,197,94,0.12); }

/* =========================
   Footer
   ========================= */
.ft-footer { background: var(--ft-bg-dark); color: var(--ft-text-on-dark); padding: 72px 0 32px; }
.ft-footer a { color: rgba(255,255,255,0.78); }
.ft-footer a:hover { color: #fff; }
.ft-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.ft-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 16px; }
.ft-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ft-footer .ft-footer-brand p { color: rgba(255,255,255,0.7); max-width: 320px; }
.ft-footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 56px; padding-top: 24px; }
.ft-footer-huge { font-family: var(--ft-font-heading); font-size: clamp(3rem, 14vw, 11rem); line-height: .85; letter-spacing: -0.04em; font-weight: 800; color: rgba(255,255,255,0.06); user-select: none; padding-top: 40px; }
@media (max-width: 860px) { .ft-footer-grid { grid-template-columns: 1fr 1fr; } }

/* =========================
   Single Post
   ========================= */
.ft-post { padding: 60px 0; }
.ft-post-header { max-width: 820px; margin: 0 auto 32px; text-align: center; }
.ft-post-meta { color: var(--ft-text-soft); font-size: 14px; margin-bottom: 14px; }
.ft-post-cover { max-width: 1100px; margin: 0 auto 40px; border-radius: var(--ft-radius-lg); overflow: hidden; }
.ft-post-content { max-width: 760px; margin: 0 auto; font-size: 1.05rem; }
.ft-post-content p, .ft-post-content li { color: var(--ft-text); }
.ft-post-content blockquote { border-left: 4px solid var(--ft-brand); padding: 8px 20px; background: var(--ft-bg-soft); border-radius: 8px; color: var(--ft-text); margin: 24px 0; }

/* =========================
   Pagination & misc
   ========================= */
.ft-pagination { display: flex; gap: 8px; justify-content: center; padding: 40px 0; }
.ft-pagination a, .ft-pagination span { padding: 8px 14px; border: 1px solid var(--ft-border); border-radius: 999px; }
.ft-pagination .current { background: var(--ft-brand); color: #fff; border-color: var(--ft-brand); }

.ft-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--ft-bg-soft); color: var(--ft-brand-dark);
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em;
}
.ft-screen-reader { position: absolute; left: -9999px; }
.ft-skip-link { position: absolute; left: -9999px; top: -9999px; }
.ft-skip-link:focus { left: 16px; top: 16px; background: #000; color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 999; }

/* Aligned image classes for Gutenberg compat */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 16px auto; }
.wp-caption { max-width: 100%; }
