/* ============================================================
   VEXON7 — Template 2: Clean & Light
   White background, deep green accents, editorial magazine feel
   Deep Green #1b4332 / Green Accent #40916c
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;800&family=Source+Serif+4:wght@400;600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary:     #1b4332;
  --primary-dk:  #0d2b1f;
  --primary-lt:  #2d6a4f;
  --accent:      #40916c;
  --accent-dk:   #2d6a4f;
  --light:       #f8faf8;
  --white:       #ffffff;
  --text:        #1a2e1a;
  --text-lt:     #5a7a5a;
  --border:      #d8e8d8;
  --radius:      8px;
  --shadow:      0 2px 12px rgba(27,67,50,0.08);
  --shadow-lg:   0 8px 28px rgba(27,67,50,0.13);
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Source Serif 4', Georgia, serif;
  --font-ui:     'Inter', Arial, sans-serif;
  --max-w:       1140px;
  --header-h:    72px;
  --hero-style:  split;
}
/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }

/* ── UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section:nth-child(even) { background: var(--light); }

/* ── HEADER ── */
.site-header {
  background: var(--primary);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  width: 100%;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.2rem;
  color: var(--white); letter-spacing: -0.3px;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  font-family: var(--font-ui); font-size: 0.87rem; font-weight: 600;
  color: rgba(255,255,255,0.85); padding: 8px 14px; border-radius: 6px;
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.btn-nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: 9px 18px !important; border-radius: var(--radius) !important;
  font-weight: 700 !important; font-size: 0.87rem !important;
  white-space: nowrap; transition: all 0.2s !important;
}
.btn-nav-cta:hover { background: var(--accent-dk) !important; transform: translateY(-1px); }

/* ── MOBILE NAV ── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
.mobile-nav { display: none; background: var(--primary-dk, var(--primary)); padding: 16px 24px 24px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: rgba(255,255,255,0.9); font-family: var(--font-ui); font-weight: 600; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; }
.mobile-nav a:last-child { border-bottom: none; margin-top: 8px; color: var(--accent); }

/* ── HERO — FULL BLEED (bold-dark, outdoors, minimal) ── */
.hero {
  position: relative; min-height: 520px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; padding: 80px 24px;
  width: 100%; max-width: 660px; padding-left: 48px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent); color: var(--white);
  font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; color: var(--white);
  line-height: 1.1; margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem; line-height: 1.7; margin-bottom: 32px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── HERO — SPLIT LAYOUT (clean-light only) ── */
.hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px; overflow: hidden;
}
.hero-split .hero-text {
  background: var(--white);
  padding: 80px 56px 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-split .hero-eyebrow {
  font-family: var(--font-ui); font-size: 0.75rem;
  font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-split h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; color: var(--primary);
  line-height: 1.15; margin-bottom: 18px;
}
.hero-split h1 span { color: var(--accent); }
.hero-split p {
  color: var(--text-lt); font-size: 1.05rem;
  line-height: 1.7; margin-bottom: 32px;
}
.hero-split .hero-img {
  background-size: cover; background-position: center;
  min-height: 400px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: 13px 26px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem; font-family: var(--font-ui);
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--white); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.7); color: var(--white);
  padding: 11px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem; font-family: var(--font-ui);
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); color: var(--white); }
.btn-outline-dark {
  display: inline-block;
  border: 2px solid var(--primary); color: var(--primary);
  padding: 11px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem; font-family: var(--font-ui);
  transition: all 0.2s;
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--primary);
  padding: 20px 24px;
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-ui); font-size: 0.88rem; font-weight: 600;
}
.trust-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
  display: inline-block;
  background: var(--light); border: 1px solid var(--border);
  color: var(--accent); font-family: var(--font-ui);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--primary); margin-bottom: 12px;
}
.section-header p { color: var(--text-lt); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* ── ARTICLES GRID ── */
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 40px;
}
.articles-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: all 0.25s; display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img-link { display: block; overflow: hidden; height: 200px; }
.card-img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img-link img { transform: scale(1.04); }
.card-img-placeholder { height: 200px; background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--text-lt); font-size: 2rem; }
.card-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-cat {
  display: inline-block;
  background: var(--accent); color: var(--white);
  font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 4px; margin-bottom: 12px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.35; }
.card h3 a:hover { color: var(--accent); }
.card-excerpt { color: var(--text-lt); font-size: 0.88rem; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.card-meta { font-size: 0.78rem; color: var(--text-lt); font-family: var(--font-ui); margin-bottom: 14px; }
.read-more {
  color: var(--accent); font-family: var(--font-ui);
  font-size: 0.88rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.2s;
}
.read-more:hover { gap: 8px; }
.articles-footer { text-align: center; }

/* ── VIDEO + RSS ── */
.video-rss-section { background: var(--light); padding: 72px 0; }
.video-rss-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.video-rss-grid h3 {
  font-family: var(--font-head); font-size: 1.1rem;
  color: var(--primary); margin-bottom: 16px;
}
.video-wrapper {
  position: relative; padding-bottom: 56.25%;
  height: 0; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.rss-list { display: flex; flex-direction: column; gap: 12px; }
.rss-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 14px; align-items: start;
  background: var(--white); border-radius: var(--radius);
  padding: 14px; border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.rss-item:hover { box-shadow: var(--shadow); }
.rss-thumb {
  width: 72px; height: 54px; object-fit: cover;
  border-radius: 6px; background: var(--border);
}
.rss-thumb-placeholder { width: 72px; height: 54px; background: var(--light); border-radius: 6px; border: 1px solid var(--border); }
.rss-content h4 { font-size: 0.88rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; line-height: 1.3; }
.rss-content p { font-size: 0.78rem; color: var(--text-lt); line-height: 1.4; margin-bottom: 6px; }
.rss-link { font-size: 0.78rem; color: var(--accent); font-weight: 700; font-family: var(--font-ui); }
.rss-empty { color: var(--text-lt); font-size: 0.9rem; font-style: italic; padding: 20px 0; }
.rss-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 1rem; font-weight: 700;
  color: var(--primary); margin-bottom: 14px;
}
.rss-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt, var(--primary)) 100%);
  padding: 72px 24px; text-align: center;
}
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
.site-footer { background: var(--primary-dk, var(--primary)); padding: 40px 0 24px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap; margin-bottom: 32px;
}
.footer-brand .logo { font-size: 1.1rem; margin-bottom: 8px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.85rem; max-width: 260px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: rgba(255,255,255,0.7); font-family: var(--font-ui); font-size: 0.83rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.78rem; font-family: var(--font-ui); }

/* ── SINGLE ARTICLE ── */
.article-hero { height: 440px; overflow: hidden; position: relative; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.4)); }
.article-body { max-width: 780px; margin: 0 auto; padding: 48px 24px 64px; }
.breadcrumb { font-family: var(--font-ui); font-size: 0.8rem; color: var(--text-lt); margin-bottom: 20px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.article-cat-badge {
  display: inline-block; background: var(--accent); color: var(--white);
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 16px;
}
.article-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 20px; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-lt); font-family: var(--font-ui); font-size: 0.82rem; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--border); }
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.article-content h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 36px 0 14px; }
.article-content h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 28px 0 10px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; line-height: 1.7; }
.article-content a { color: var(--accent); text-decoration: underline; }
.article-content blockquote { border-left: 4px solid var(--accent); padding: 16px 24px; margin: 28px 0; background: var(--light); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--text-lt); }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; }
.article-content th { background: var(--primary); color: var(--white); padding: 10px 14px; text-align: left; font-family: var(--font-ui); font-size: 0.82rem; }
.article-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.article-content tr:nth-child(even) td { background: var(--light); }
.article-content img { border-radius: var(--radius); margin: 24px 0; }

/* ── SHARE BUTTONS ── */
.share-bar { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 2px solid var(--border); flex-wrap: wrap; }
.share-bar > span { font-weight: 700; font-family: var(--font-ui); font-size: 0.9rem; color: var(--primary); margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 8px; font-size: 0.84rem; font-weight: 700; font-family: var(--font-ui); color: var(--white); transition: all 0.2s; text-decoration: none; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); color: var(--white); }
.share-btn svg { flex-shrink: 0; }
.share-fb  { background: #1877f2; }
.share-fb:hover  { background: #1464d8; }
.share-tw  { background: #000000; }
.share-tw:hover  { background: #333333; }
.share-pin { background: #e60023; }
.share-pin:hover { background: #c0001e; }
.share-wa  { background: #25d366; }
.share-wa:hover  { background: #1ebe5a; }

/* ── RELATED ARTICLES ── */
.related-section { border-top: 2px solid var(--border); margin-top: 48px; padding-top: 40px; }
.related-section h3 { font-family: var(--font-head); font-size: 1.3rem; color: var(--primary); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.related-card { background: var(--light); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.2s; }
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card img { width: 100%; height: 140px; object-fit: cover; }
.related-card-body { padding: 14px; }
.related-card-body h4 { font-size: 0.9rem; font-weight: 700; color: var(--primary); line-height: 1.3; margin-bottom: 8px; }
.related-card-body a { color: var(--accent); font-size: 0.82rem; font-weight: 700; font-family: var(--font-ui); }

/* ── FAVICON ── */
/* favicon.svg generated by generate-favicon.php */

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .hero-content { padding: 60px 24px; }
  .hero h1 { font-size: 2rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-img { min-height: 280px; }
  .hero-split .hero-text { padding: 48px 28px; }
  .video-rss-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 16px; justify-content: flex-start; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-body { padding: 32px 20px 48px; }
  .share-bar { gap: 8px; }
  .share-btn { padding: 8px 12px; font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 48px 16px; }
  .hero h1 { font-size: 1.7rem; }
  .trust-item span { font-size: 0.78rem; }
  .articles-grid { gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
