/*
Theme Name: JBT Full Form Theme
Theme URI: https://jbtfullform.com/
Author: jbtfullform.com
Author URI: https://jbtfullform.com/
Description: Ultra-lightweight, SEO-optimized, AdSense-friendly custom WordPress theme for jbtfullform.com. Built for speed, clean design, and maximum ad revenue.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: jbt-theme
Tags: education, lightweight, seo, adsense, one-column, two-columns, custom-menu, featured-images, translation-ready
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-900: #0c2340;
  --blue-700: #1a4b8c;
  --blue-600: #1d5cbf;
  --blue-500: #2b6fcb;
  --blue-100: #e8f0fe;
  --blue-50:  #f4f8ff;
  --gold-500: #d4a843;
  --text-900: #111827;
  --text-700: #374151;
  --text-500: #6b7280;
  --text-300: #d1d5db;
  --white:    #ffffff;
  --green-600:#16a34a;
  --green-50: #f0fdf4;
  --border:   #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.10);
  --radius:    10px;
  --radius-lg: 16px;
  --max-w:     780px;
  --max-w-wide: 1100px;
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --ad-bg:    #f9fafb;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }

/* ========== LAYOUT ========== */
.container { width: 92%; max-width: var(--max-w); margin: 0 auto; }
.container-wide { width: 92%; max-width: var(--max-w-wide); margin: 0 auto; }

/* ========== ACCESSIBILITY ========== */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--blue-600); color: #fff; padding: 8px 16px;
  border-radius: 0 0 6px 6px; font-size: 14px; z-index: 100;
}
.skip-link:focus { top: 0; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); position: absolute;
  height: 1px; width: 1px; overflow: hidden;
}

/* ========== TOP BAR / NAV ========== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,.92);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px;
}
.site-logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--blue-900); letter-spacing: -.3px;
}
.site-logo span { color: var(--blue-600); }
.site-logo a { color: inherit; }
.site-logo a:hover { color: inherit; }

/* Primary Menu */
.primary-menu { display: flex; gap: 24px; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu a {
  font-size: 14px; font-weight: 500; color: var(--text-500);
  letter-spacing: .01em; transition: color .2s; padding: 4px 0;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { color: var(--blue-600); }

/* Sub-menu */
.primary-menu .sub-menu {
  display: none; position: absolute; top: 100%; left: -12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 0; min-width: 200px;
  box-shadow: var(--shadow-md); list-style: none; z-index: 60;
}
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu a {
  display: block; padding: 8px 18px; font-size: 13px;
}
.primary-menu .sub-menu a:hover { background: var(--blue-50); }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; color: var(--text-700);
}
.menu-toggle svg { display: block; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  font-size: 13px; color: var(--text-500); padding: 12px 0 0;
}
.breadcrumb a { color: var(--text-500); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb .sep { margin: 0 6px; opacity: .5; }

/* ========== AD SLOTS ========== */
.ad-slot {
  background: var(--ad-bg);
  border: 1px dashed var(--text-300);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  margin: 28px 0;
  min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--text-500);
}
.ad-slot-header { margin: 12px 0; min-height: 90px; }
.ad-slot-content { margin: 32px 0; min-height: 250px; }
.ad-slot-sidebar { margin: 0 0 24px; min-height: 250px; }
.ad-slot-footer { margin: 28px 0 0; min-height: 90px; }
.ad-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-300); display: block; margin-bottom: 4px;
}

/* ========== HERO (front-page) ========== */
.hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(175deg, var(--blue-50) 0%, var(--white) 60%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--blue-600);
  background: var(--blue-100); padding: 5px 14px;
  border-radius: 100px; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 2.75rem);
  color: var(--blue-900); line-height: 1.2;
  margin-bottom: 12px; letter-spacing: -.02em;
}
.hero-sub {
  font-size: 15px; color: var(--text-500); margin-bottom: 8px; font-weight: 500;
}
.hero-intro {
  font-size: 17px; color: var(--text-700); margin-bottom: 28px; max-width: 600px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-600); color: #fff;
  font-weight: 600; font-size: 15px;
  padding: 13px 28px; border-radius: 8px;
  transition: background .2s, transform .15s;
  box-shadow: 0 2px 8px rgba(29,92,191,.3);
}
.hero-cta:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
}
.hero-meta-item {
  font-size: 13px; color: var(--text-500);
  display: flex; align-items: center; gap: 5px;
}

/* ========== SNIPPET BOX ========== */
.snippet-box {
  background: var(--green-50);
  border-left: 4px solid var(--green-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin: 36px 0;
  box-shadow: var(--shadow-sm);
}
.snippet-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--green-600); margin-bottom: 8px;
}
.snippet-text {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  color: var(--text-900); line-height: 1.5;
}
.snippet-text span { color: var(--blue-600); }

/* ========== INFO TABLE ========== */
.info-table-wrap {
  margin: 36px 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.info-table-title {
  background: var(--blue-900); color: #fff; padding: 14px 24px;
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; gap: 8px;
}
.info-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
}
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table th {
  text-align: left; padding: 14px 24px;
  background: var(--blue-50); font-weight: 600;
  color: var(--blue-900); width: 38%; font-size: 14px;
}
.info-table td { padding: 14px 24px; color: var(--text-700); }

/* ========== ARTICLE / CONTENT ========== */
.site-content { padding: 16px 0 36px; }

.content-area h2,
.entry-content h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; color: var(--blue-900);
  margin: 40px 0 16px; line-height: 1.3; letter-spacing: -.01em;
}
.content-area h3,
.entry-content h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; color: var(--text-900);
  margin: 28px 0 12px; line-height: 1.35;
}
.content-area h4,
.entry-content h4 {
  font-weight: 700; font-size: 17px; color: var(--text-900);
  margin: 24px 0 10px;
}
.content-area p,
.entry-content p { margin-bottom: 18px; }
.content-area ul,
.entry-content ul,
.content-area ol,
.entry-content ol {
  margin: 0 0 18px 24px;
}
.content-area li,
.entry-content li { margin-bottom: 6px; }
.content-area blockquote,
.entry-content blockquote {
  border-left: 4px solid var(--blue-600);
  padding: 16px 20px; margin: 24px 0;
  background: var(--blue-50); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-700);
}
.entry-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

/* ========== CONTENT + SIDEBAR LAYOUT ========== */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 32px 0;
}
.content-sidebar-wrap .content-area {
  min-width: 0;
}
.sidebar {
  position: sticky; top: 80px; align-self: start;
}
.widget {
  margin-bottom: 28px; padding: 22px;
  background: var(--blue-50); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.widget-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--blue-900);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-100);
}
.widget ul { list-style: none; }
.widget li { margin-bottom: 8px; }
.widget li a {
  font-size: 14px; color: var(--text-700);
  display: flex; align-items: center; gap: 6px;
}
.widget li a:hover { color: var(--blue-600); }
.widget li a::before {
  content: '→'; color: var(--blue-500); font-size: 12px;
}

/* ========== RELATED LINKS ========== */
.related {
  margin: 40px 0; padding: 28px;
  background: var(--blue-50); border-radius: var(--radius-lg);
}
.related-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--blue-900); margin-bottom: 18px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.related-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); padding: 14px 18px;
  border-radius: var(--radius); border: 1px solid var(--border);
  font-weight: 600; font-size: 14px; color: var(--blue-700);
  transition: box-shadow .2s, transform .15s, border-color .2s;
}
.related-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-2px);
  border-color: var(--blue-500); color: var(--blue-600);
}

/* ========== FAQ ACCORDION ========== */
.faq { margin: 40px 0 48px; }
.faq-heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; color: var(--blue-900); margin-bottom: 20px;
}
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden; transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; border: none; background: var(--white);
  padding: 18px 22px; text-align: left;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  color: var(--text-900); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; transition: background .2s;
}
.faq-q:hover { background: var(--blue-50); }
.faq-chevron { flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 22px 18px; font-size: 15px;
  color: var(--text-700); line-height: 1.7;
}

/* ========== POSTS LIST (archive, search) ========== */
.posts-list { padding: 32px 0; }
.post-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  margin-bottom: 20px; transition: box-shadow .2s, transform .15s;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--blue-900); margin-bottom: 8px;
  line-height: 1.3;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--blue-600); }
.post-card-meta {
  font-size: 13px; color: var(--text-500); margin-bottom: 12px;
  display: flex; flex-wrap: wrap; gap: 16px;
}
.post-card-excerpt {
  font-size: 15px; color: var(--text-700); line-height: 1.7;
}
.post-card-read {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600; color: var(--blue-600);
  margin-top: 12px;
}

/* Pagination */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  padding: 20px 0 40px;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  font-size: 14px; font-weight: 600; border: 1px solid var(--border);
  color: var(--text-700); transition: all .2s;
}
.pagination a:hover { background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-600); }
.pagination .current {
  background: var(--blue-600); color: #fff; border-color: var(--blue-600);
}

/* ========== SINGLE POST ========== */
.single-header { padding: 40px 0 20px; }
.single-header h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  color: var(--blue-900); line-height: 1.25;
  margin-bottom: 14px; letter-spacing: -.02em;
}
.single-meta {
  font-size: 13px; color: var(--text-500);
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 8px;
}
.post-thumbnail {
  margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden;
}
.post-tags { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
.post-tags a {
  display: inline-block; background: var(--blue-50);
  padding: 5px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--blue-600);
  margin: 0 6px 6px 0; border: 1px solid var(--blue-100);
}
.post-tags a:hover { background: var(--blue-100); }

/* Post Navigation */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 36px 0; padding: 24px 0; border-top: 1px solid var(--border);
}
.post-nav a {
  padding: 16px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px;
  color: var(--text-700); transition: all .2s;
}
.post-nav a:hover { border-color: var(--blue-500); background: var(--blue-50); }
.post-nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-500); margin-bottom: 4px; }
.post-nav-title { font-weight: 600; color: var(--blue-900); }
.post-nav-next { text-align: right; }

/* ========== COMMENTS ========== */
.comments-area { margin: 36px 0; padding-top: 28px; border-top: 1px solid var(--border); }
.comments-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--blue-900); margin-bottom: 24px;
}
.comment-list { list-style: none; }
.comment-body {
  padding: 20px; margin-bottom: 16px;
  background: var(--blue-50); border-radius: var(--radius);
}
.comment-author { font-weight: 600; font-size: 15px; color: var(--text-900); }
.comment-meta { font-size: 12px; color: var(--text-500); margin-bottom: 8px; }
.comment-content { font-size: 15px; }
.comment-respond { margin-top: 28px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--text-700); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-family: var(--font-body);
  font-size: 15px; margin-bottom: 16px; transition: border-color .2s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(29,92,191,.12);
}
.comment-form .submit {
  background: var(--blue-600); color: #fff;
  border: none; padding: 12px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background .2s;
}
.comment-form .submit:hover { background: var(--blue-700); }

/* ========== PAGE (static) ========== */
.page-header-section {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(175deg, var(--blue-50) 0%, var(--white) 60%);
}
.page-header-section h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  color: var(--blue-900); line-height: 1.25; letter-spacing: -.02em;
}

/* ========== 404 ========== */
.error-404 {
  text-align: center; padding: 80px 0;
}
.error-404 .big-404 {
  font-family: var(--font-display); font-size: 120px;
  font-weight: 700; color: var(--blue-100); line-height: 1;
}
.error-404 h1 {
  font-family: var(--font-display); font-size: 28px;
  color: var(--blue-900); margin: 16px 0 12px;
}
.error-404 p { color: var(--text-500); margin-bottom: 28px; }
.error-404 .btn-home {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-600); color: #fff;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
}
.error-404 .btn-home:hover { background: var(--blue-700); color: #fff; }

/* ========== SEARCH FORM ========== */
.search-form {
  display: flex; gap: 8px; max-width: 460px;
}
.search-form .search-field {
  flex: 1; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 15px; font-family: var(--font-body);
}
.search-form .search-field:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(29,92,191,.12);
}
.search-form .search-submit {
  background: var(--blue-600); color: #fff; border: none;
  padding: 12px 20px; border-radius: 8px;
  font-weight: 600; font-size: 14px; cursor: pointer;
}
.search-form .search-submit:hover { background: var(--blue-700); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.7);
  padding: 40px 0 28px; font-size: 14px;
}
.footer-grid {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 32px;
  margin-bottom: 28px;
}
.footer-brand .site-logo { color: #fff; font-size: 18px; margin-bottom: 10px; }
.footer-brand .site-logo span { color: var(--gold-500); }
.footer-brand p { max-width: 280px; line-height: 1.6; font-size: 13px; }
.footer-links h4 {
  color: #fff; font-size: 13px;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 12px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,.4);
}

/* ========== BACK TO TOP ========== */
.btt {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--blue-600); color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s;
  box-shadow: 0 3px 12px rgba(29,92,191,.35); z-index: 40;
}
.btt.show { opacity: 1; pointer-events: auto; }
.btt:hover { transform: translateY(-2px); }

/* ========== IMAGE PLACEHOLDER ========== */
.image-placeholder {
  background: var(--blue-50); border: 2px dashed var(--text-300);
  border-radius: var(--radius); padding: 40px 20px;
  text-align: center; color: var(--text-500); font-size: 14px; margin: 28px 0;
}

/* ========== TOC (Table of Contents) ========== */
.toc-box {
  background: var(--blue-50); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  margin: 24px 0;
}
.toc-title {
  font-weight: 700; font-size: 15px; color: var(--blue-900);
  margin-bottom: 10px;
}
.toc-box ol { margin: 0 0 0 20px; }
.toc-box li { margin-bottom: 6px; }
.toc-box a { font-size: 14px; color: var(--text-700); }
.toc-box a:hover { color: var(--blue-600); }

/* =========================================================
   FRONT-PAGE LAYOUT (v2)
   ========================================================= */

/* -- Section wrappers -- */
.fp-sec { padding: 52px 0; }
.fp-sec--white { background: var(--white); }
.fp-sec--gray  { background: var(--blue-50); }
.fp-sec-head {
  text-align: center; margin-bottom: 36px;
}
.fp-sec-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; color: var(--blue-900);
  margin-bottom: 6px; letter-spacing: -.01em;
}
.fp-sec-head p {
  font-size: 15px; color: var(--text-500); margin: 0;
}

/* -- HERO split layout -- */
.fp-hero {
  background: linear-gradient(170deg, #edf2fb 0%, #f8faff 40%, var(--white) 100%);
  padding: 52px 0 48px;
  border-bottom: 1px solid var(--border);
}
.fp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.fp-hero-text h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  color: var(--blue-900); line-height: 1.15;
  margin-bottom: 10px; letter-spacing: -.03em;
}
.fp-hero-desc {
  font-size: 17px; color: var(--text-700);
  line-height: 1.7; margin-bottom: 24px;
  max-width: 540px;
}
.fp-hero-actions {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.fp-hero-secondary {
  font-size: 14px; font-weight: 600; color: var(--blue-600);
}
.fp-hero-secondary:hover { color: var(--blue-700); }

/* -- Answer card (right side) -- */
.fp-answer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(12,35,64,.08), 0 1px 3px rgba(0,0,0,.04);
  position: relative;
  overflow: hidden;
}
.fp-answer-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #16a34a, #2563eb);
}
.fp-answer-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--green-600);
  margin-bottom: 18px;
}
.fp-answer-main {
  margin-bottom: 14px;
}
.fp-answer-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-500); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 4px;
}
.fp-answer-value {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 28px; color: var(--blue-900);
  line-height: 1.2;
}
.fp-answer-desc {
  font-size: 15px; color: var(--text-700);
  margin-bottom: 18px; line-height: 1.6;
}
.fp-answer-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.fp-answer-tags span {
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 100px;
  background: var(--blue-50); color: var(--blue-700);
  white-space: nowrap;
}

/* -- STATS BAR -- */
.fp-stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.fp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fp-stat {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}
.fp-stat:last-child { border-right: none; }
.fp-stat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fp-stat-icon--blue  { background: #eff6ff; color: #2563eb; }
.fp-stat-icon--green { background: #f0fdf4; color: #16a34a; }
.fp-stat-icon--amber { background: #fefce8; color: #ca8a04; }
.fp-stat-icon--pink  { background: #fdf2f8; color: #db2777; }
.fp-stat-val {
  font-weight: 700; font-size: 17px; color: var(--text-900);
  line-height: 1.2;
}
.fp-stat-lbl {
  font-size: 12px; color: var(--text-500); margin-top: 1px;
}

/* -- Two-column content + sidebar -- */
.fp-two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.fp-main-col h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; color: var(--text-900);
  margin: 28px 0 10px;
}
.fp-main-col p { margin-bottom: 16px; }

/* -- Sidebar cards -- */
.fp-side-col { position: sticky; top: 80px; }
.fp-side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.fp-sc-head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  color: var(--blue-900);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-100);
}
.fp-sc-list {
  list-style: none; margin: 0; padding: 0;
}
.fp-sc-list li {
  font-size: 14px; color: var(--text-700);
  padding: 6px 0 6px 18px;
  position: relative;
}
.fp-sc-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--blue-500); font-size: 12px;
}

/* -- Related links grid -- */
.fp-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.fp-link-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: box-shadow .2s, transform .15s, border-color .2s;
}
.fp-link-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--blue-500);
}
.fp-lc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fp-lc-body { flex: 1; min-width: 0; }
.fp-lc-body strong {
  display: block; font-size: 15px; color: var(--blue-900);
  margin-bottom: 2px;
}
.fp-lc-body span {
  display: block; font-size: 13px; color: var(--text-500);
  line-height: 1.4;
}
.fp-lc-arr {
  flex-shrink: 0; color: var(--text-300);
  transition: color .2s, transform .2s;
}
.fp-link-card:hover .fp-lc-arr {
  color: var(--blue-600); transform: translateX(3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .fp-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .fp-hero-card { order: -1; }
  .fp-answer-card { max-width: 420px; }
  .fp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-stat { border-bottom: 1px solid var(--border); }
  .fp-stat:nth-child(2) { border-right: none; }
  .fp-two-col { grid-template-columns: 1fr; }
  .fp-side-col { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; }
  .fp-links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .post-nav { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .primary-menu { display: none; }
  .menu-toggle { display: block; }
  .primary-menu.active {
    display: flex; flex-direction: column;
    position: absolute; top: 58px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 16px 20px; gap: 12px; box-shadow: var(--shadow-md);
  }
  .fp-hero { padding: 32px 0 28px; }
  .fp-stats-grid { grid-template-columns: 1fr 1fr; }
  .fp-stat { padding: 16px; }
  .fp-answer-value { font-size: 24px; }
  .fp-sec { padding: 36px 0; }
  .fp-sec-head h2 { font-size: 22px; }
  .fp-side-col { grid-template-columns: 1fr; }
  .hero-meta { gap: 10px; }
  .info-table th, .info-table td { padding: 12px 16px; }
  .footer-grid { flex-direction: column; gap: 24px; }
  .post-card { padding: 20px; }
  .error-404 .big-404 { font-size: 80px; }
}

/* ========== PRINT ========== */
@media print {
  .site-header, .btt, .hero-cta, .site-footer,
  .ad-slot, .sidebar, .menu-toggle { display: none; }
  body { font-size: 12pt; }
}

/* ========== WP ALIGNMENT CLASSES ========== */
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin: 20px auto; }
.alignwide { max-width: var(--max-w-wide); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-500); margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 8px; }
.gallery-item { margin: 0; }


.our-network {
  background: #f1f1f1;
  padding: 15px;
  margin-top: 20px;
  border-radius: 6px;
}
.our-network h3 {
  margin-bottom: 10px;
}
.our-network ul {
  padding-left: 18px;
}
.our-network a {
  color: #0073aa;
  text-decoration: none;
}
.our-network a:hover {
  text-decoration: underline;
}
