/*
Theme Name: Bert Blevins Theme 2
Theme URI: https://bertblevins.com
Author: Bert Blevins
Author URI: https://bertblevins.com
Description: Professional dark purple & navy WordPress theme for AI & Security expert portfolio. Converted from Theme 2 static HTML.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bert-theme-2
Tags: one-column, custom-menu, featured-images, blog, portfolio, dark
*/

/* Theme 2 — Professional Dark (Purple & Navy) */
:root {
  --primary: #8b7cf6;
  --primary-light: #a78bfa;
  --accent: #d4b86a;
  --accent-hover: #c8a951;
  --bg: #0a0e1f;
  --bg-alt: #10152e;
  --bg-dark: #060912;
  --card: #141a35;
  --card-hover: #1a2245;
  --input-bg: #0e1228;
  --text: #eef0f8;
  --text-muted: #9499b8;
  --border: rgba(139, 124, 246, 0.14);
  --border-solid: #1e2548;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 124, 246, 0.14), transparent),
    radial-gradient(ellipse 55% 45% at 100% 60%, rgba(30, 58, 120, 0.18), transparent);
  color: var(--text);
  line-height: 1.7;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-top {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-social { display: flex; gap: 1.25rem; }
.header-social a { color: rgba(255,255,255,0.7); text-decoration: none; }
.header-social a:hover { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary) 0%, #5b4fc7 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  border: 1px solid rgba(139, 124, 246, 0.35);
}

.logo-name { display: block; font-weight: 700; font-size: 1.05rem; }
.logo-tagline { display: block; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { color: var(--primary-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, #6d5ce6 100%); color: white; }
.btn-primary:hover { background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); box-shadow: 0 4px 20px rgba(139, 124, 246, 0.35); color: white; }

.btn-secondary {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid rgba(139, 124, 246, 0.5);
}

.btn-secondary:hover { background: var(--primary); color: white; border-color: var(--primary); }

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* Hero */
.hero {
  padding: 5rem 0 5.5rem;
  background: linear-gradient(160deg, #120a28 0%, var(--bg-alt) 45%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-lead strong { color: var(--text); }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  max-width: 520px;
}

.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-image-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.hero-image-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 124, 246, 0.35), rgba(45, 31, 110, 0.2));
  filter: blur(2px);
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(139, 124, 246, 0.55);
  box-shadow:
    0 0 0 6px rgba(139, 124, 246, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.45);
  background: #1a1530;
}

.hero-image .client-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.35);
  display: block;
}

.hero-badge-card {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  background: var(--card);
  border: 1px solid rgba(139, 124, 246, 0.25);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-item strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-light);
  font-family: var(--font-display);
}

.trust-item span { font-size: 0.8rem; color: var(--text-muted); }

.trust-divider { width: 1px; height: 40px; background: var(--border); }

.badge-icon {
  width: 36px;
  height: 36px;
  background: #22c55e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.hero-badge-card strong { display: block; font-size: 0.85rem; }
.hero-badge-card span { font-size: 0.75rem; color: var(--text-muted); }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-intro { margin-bottom: 3rem; max-width: 600px; }
.section-intro.centered { text-align: center; margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-label.light { color: rgba(255,255,255,0.7); }

.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-text { color: var(--text-muted); }

/* About */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.about-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.about-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(139, 124, 246, 0.3); }

.about-card-icon { font-size: 2rem; margin-bottom: 1rem; }

.about-card h3 {
  font-family: var(--font-display);
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.about-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Career / Experience */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-mark {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  flex-shrink: 0;
}

.timeline-mark--delinea {
  background: linear-gradient(135deg, #2d1f6e, #1a1040);
  color: #4ade80;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.timeline-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.education-block {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 1rem;
}

.education-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-align: center;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.edu-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.edu-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8b1a1a, #c0392b);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.edu-card h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.edu-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-detail a { color: var(--primary-light); text-decoration: none; }
.contact-detail a:hover { color: var(--accent); }

/* Expertise */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expertise-item {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.expertise-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}

.expertise-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.expertise-item h3 {
  font-family: var(--font-display);
  color: var(--primary-light);
  font-size: 1.15rem;
}

.expertise-item ul { list-style: none; }

.expertise-item li {
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.expertise-item li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Videos */
.video-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}

.tab.active,
.tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-item {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.video-item.hidden { display: none; }

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(139, 124, 246, 0.35);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.25rem 0;
}

.video-tag {
  background: rgba(139, 124, 246, 0.15);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.video-duration { font-size: 0.75rem; color: var(--text-muted); }

.video-item h3 {
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  color: var(--text);
}

.video-item p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Articles */
.articles-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.article-featured {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.article-image {
  height: 200px;
  background: linear-gradient(145deg, #2d1f6e 0%, #1e3a6e 50%, #3d2d8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body { padding: 2rem; }

.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-featured h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}

.article-featured p { color: var(--text-muted); margin-bottom: 1rem; }

.link-arrow {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow:hover { color: var(--accent); }

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.article-row h4 {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text);
  min-width: 200px;
}

/* Support */
.support-banner {
  background: linear-gradient(135deg, #2d1f6e 0%, #1a2f5c 50%, #3d2d8a 100%);
  border-radius: 12px;
  padding: 3rem;
  color: white;
  margin-bottom: 2rem;
  border: 1px solid rgba(139, 124, 246, 0.25);
}

.support-banner h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.support-banner p { opacity: 0.85; max-width: 600px; }

.support-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.support-option {
  background: var(--card);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.support-option-icon { font-size: 2rem; margin-bottom: 1rem; }

.support-option h3 {
  font-size: 1rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.support-option p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

.support-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.support-badge.premium { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

/* Testimonial */
.testimonial-quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-quote footer strong { display: block; color: var(--text); }
.testimonial-quote footer span { font-size: 0.85rem; color: var(--text-muted); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-info > p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-detail strong { display: block; color: var(--primary-light); font-size: 0.85rem; }
.contact-detail p { color: var(--text-muted); }

.contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-form .form-notice {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-form .form-notice.success {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.contact-form .form-notice.error {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--input-bg);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 124, 246, 0.2);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-mark { border-color: rgba(212, 184, 106, 0.35); }
.footer-brand .logo-name { color: white; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

.footer-links h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0;
}

.footer-links a:hover { color: var(--accent); }

.footer-newsletter h4 { color: white; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-newsletter p { font-size: 0.85rem; margin-bottom: 1rem; }

.newsletter-form { display: flex; gap: 0.5rem; }

.newsletter-form input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-solid);
  border-radius: var(--radius);
  font-size: 0.85rem;
  background: var(--input-bg);
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Blog */
.nav a.active { color: var(--primary-light); font-weight: 600; }
.blog-hero { padding-top: 2rem; }
.blog-hero h1 { font-family: var(--font-display); color: var(--text); }
.blog-tabs { margin-bottom: 2rem; }
.blog-list-pro { display: flex; flex-direction: column; gap: 0; }
.blog-list-item { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: padding-left 0.15s; }
.blog-list-item.hidden { display: none; }
.blog-list-item:hover { padding-left: 0.5rem; }
.blog-list-img { width: 80px; height: 80px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 2rem; overflow: hidden; }
.blog-list-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-list-item h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 0.35rem 0 0.5rem; color: var(--text); }
.blog-list-item p { color: var(--text-muted); font-size: 0.9rem; }
.article-single-wrap { max-width: 720px; }
.article-single-wrap h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--text); margin: 0.75rem 0 1rem; line-height: 1.2; }
.article-single-wrap p { color: var(--text-muted); margin-bottom: 1.25rem; }
.article-single-wrap h2 { font-family: var(--font-display); color: var(--primary-light); margin: 2rem 0 0.75rem; font-size: 1.35rem; }
.article-single-meta { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; flex-wrap: wrap; }
.article-single-body { color: var(--text-muted); }
.article-single-body a { color: var(--primary-light); }
.article-single-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  text-decoration: none;
}
.pagination .current { background: var(--primary); color: white; border-color: var(--primary); }

/* YouTube embed helpers */
.bert-yt-facade, .bert-video-fallback {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; cursor: pointer; background: #000;
}
.bert-yt-facade img, .bert-video-fallback img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.bert-yt-play, .bert-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25); transition: background .2s;
}
.bert-yt-play::after {
  content: '▶'; font-size: 2rem; color: #fff;
  width: 72px; height: 50px; line-height: 50px; text-align: center;
  background: rgba(255,0,0,.9); border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.bert-yt-facade:hover .bert-yt-play, .bert-video-fallback:hover .bert-video-play {
  background: rgba(0,0,0,.45);
}
.bert-video-play { font-size: 2.5rem; color: #fff; background: rgba(0,0,0,.45); }

/* Responsive */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 2rem; }
  .hero-image-wrap,
  .hero-image { width: 240px; height: 240px; }
  .hero-badge-card { bottom: -12px; }
  .education-grid { grid-template-columns: 1fr; }
  .about-cards,
  .expertise-grid,
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .support-options { grid-template-columns: repeat(2, 1fr); }
  .articles-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-top { display: none; }
  .nav-toggle { display: flex; }
  .blog-list-item { grid-template-columns: 1fr; }
  .blog-list-img { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .about-cards,
  .expertise-grid,
  .video-grid,
  .support-options { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; }
  .trust-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
