/*
Theme Name: The Acting Biz
Theme URI: https://actorbusiness.com
Author: Actor Business
Author URI: https://actorbusiness.com
Description: A custom WordPress theme for The Acting Biz blog – The Business of Show Business. Earth-toned editorial design with Playfair Display headings, copper and forest-green accents, card-based post grids, featured hero section, trending sidebar, and category filtering.
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: the-acting-biz
Tags: blog, entertainment, one-column, custom-menu, featured-images, theme-options
*/

/* ===== CSS VARIABLES ===== */
:root {
  --green-dark: #1a5632;
  --green-mid: #2d7a4a;
  --copper: #b5651d;
  --copper-light: #c8813a;
  --copper-dark: #8f4e15;
  --gold: #d4a04a;
  --cream: #faf8f5;
  --warm-white: #fff9f2;
  --charcoal: #1e1e1e;
  --text-dark: #2a2a2a;
  --text-mid: #5a5a5a;
  --text-light: #8a8a8a;
  --border: #e8e2da;
  --bg-card: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 6px;
}

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

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.site-logo .the {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  display: block;
  margin-bottom: -6px;
  letter-spacing: 0.5px;
}

.main-nav { display: flex; gap: 10px; align-items: center; }
.main-nav a,
.main-nav .menu-item a {
  font-size: 13px;
  font-weight: 600;
  color: var(--copper-dark);
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  text-transform: none;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav .menu-item a:hover {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
  box-shadow: 0 2px 8px rgba(181,101,29,0.25);
}
.main-nav a.current-menu-item,
.main-nav .current-menu-item > a {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
}
/* WordPress menu output puts links inside <ul class="nav-menu"><li> */
.main-nav ul,
.main-nav .nav-menu,
.main-nav .menu {
  list-style: none !important;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.main-nav li,
.main-nav .menu-item {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}
.main-nav li::before,
.main-nav li::marker {
  content: none !important;
  display: none !important;
}
/* Also handle WordPress container div */
.main-nav > div { display: flex; }
.main-nav > div > ul { list-style: none !important; display: flex; gap: 10px; margin: 0; padding: 0; }

.header-actions { display: flex; gap: 12px; align-items: center; }

.btn-ghost {
  font-size: 13px; font-weight: 600; padding: 8px 16px;
  border: 1.5px solid var(--border); border-radius: 100px;
  color: var(--text-mid); background: transparent;
  cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.btn-ghost:hover { border-color: var(--green-dark); color: var(--green-dark); }

.btn-primary {
  font-size: 13px; font-weight: 700; padding: 8px 20px;
  border: none; border-radius: 100px;
  background: var(--green-dark); color: #fff;
  cursor: pointer; transition: background 0.2s;
  letter-spacing: 0.3px; font-family: inherit;
}
.btn-primary:hover { background: var(--green-mid); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark); transition: 0.3s;
}

/* ===== HERO SECTION ===== */
.hero-section {
  max-width: 1260px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
}

.hero-featured {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--charcoal);
  min-height: 480px;
  cursor: pointer;
  transition: transform 0.3s;
  display: block;
}
.hero-featured:hover { transform: translateY(-2px); }

.hero-featured .hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  opacity: 0.7; transition: opacity 0.4s;
}
.hero-featured:hover .hero-img { opacity: 0.55; }

.hero-featured .hero-bg {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2d4a3e 0%, #1a3528 50%, #3a2a1a 100%);
  opacity: 0.7;
}

.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 36px 36px;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 60%, transparent 100%);
  color: #fff;
}

.hero-tag {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900;
  line-height: 1.15; margin-bottom: 14px;
  max-width: 540px;
}

.hero-excerpt {
  font-size: 16px; line-height: 1.5;
  color: rgba(255,255,255,0.8);
  max-width: 480px; margin-bottom: 16px;
}

.hero-meta {
  display: flex; align-items: center;
  gap: 12px; font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--copper);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; color: #fff;
  flex-shrink: 0;
}

.hero-meta .dot { opacity: 0.4; }

/* ===== TRENDING SIDEBAR ===== */
.trending-sidebar {
  display: flex; flex-direction: column; gap: 0;
}

.trending-label {
  background: var(--copper);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
}

.trending-list {
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  flex: 1;
  display: flex; flex-direction: column;
}

.trending-item {
  display: flex; gap: 14px; padding: 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.2s;
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: var(--warm-white); }

.trending-item .t-thumb {
  width: 88px; height: 72px;
  border-radius: 6px; flex-shrink: 0;
  background-size: cover; background-position: center;
}

.trending-item .t-thumb-fallback {
  width: 88px; height: 72px;
  border-radius: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #3a2a1a, #5a3a2a);
}

.trending-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700;
  color: var(--copper);
  line-height: 1.3; margin-bottom: 6px;
  transition: color 0.2s;
}
.trending-item:hover h3 { color: var(--copper-dark); }

.trending-item .t-excerpt {
  font-size: 12.5px; color: var(--text-light);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== BRANDS STRIP ===== */
.brands-strip {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.3s;
}
.brand-card:hover { box-shadow: var(--shadow-md); }

/* Brand card as link — underline only on hover, preserve existing colors */
a.brand-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.brand-card-link .brand-logo {
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease;
  padding-bottom: 2px;
}
a.brand-card-link:hover .brand-logo {
  border-bottom-color: currentColor;
}
a.brand-card-link p:last-child {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  display: inline;
  transition: border-color 0.25s ease;
}
a.brand-card-link:hover p:last-child {
  border-bottom-color: var(--text-light);
}
a.brand-card-link .brand-logo.copper { color: var(--copper); }
a.brand-card-link .brand-logo.green { color: var(--green-dark); }

.brand-card .brand-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 28px;
  margin-bottom: 12px;
}
.brand-card .brand-logo.green { color: var(--green-dark); }
.brand-card .brand-logo.copper { color: var(--copper); }

.brand-card .brand-logo .the-prefix {
  font-size: 16px; font-weight: 400; font-style: italic;
  color: var(--text-light); letter-spacing: 2px;
  text-transform: uppercase; display: block;
}

.brand-card .highlight-tag {
  display: inline-block;
  padding: 2px 8px; border-radius: 3px;
  font-size: 12px; font-weight: 700;
  color: #fff;
}
.highlight-tag.green-bg { background: var(--green-dark); }
.highlight-tag.copper-bg { background: var(--copper); }

.brand-card p {
  font-size: 14px; color: var(--text-light);
  line-height: 1.5; max-width: 280px;
  margin: 0 auto;
}

/* Newsletter card */
.brand-card.newsletter {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2a3528 100%);
  border: none; color: #fff;
  position: relative; overflow: hidden;
}
.brand-card.newsletter::before {
  content: '✉'; position: absolute;
  top: -10px; right: -10px;
  font-size: 80px; opacity: 0.06;
}
.brand-card.newsletter h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  margin-bottom: 8px;
}
.brand-card.newsletter p { color: rgba(255,255,255,0.7); margin-bottom: 18px; max-width: none; }

.newsletter-form { display: flex; gap: 8px; max-width: 300px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  color: #fff; font-size: 14px; outline: none;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 10px 22px; border: none; border-radius: 100px;
  background: var(--copper); color: #fff;
  font-weight: 700; font-size: 13px;
  cursor: pointer; transition: background 0.2s;
  letter-spacing: 0.3px; font-family: inherit;
}
.newsletter-form button:hover { background: var(--copper-light); }

/* ===== SECTION HEADERS ===== */
.section-header {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px; font-weight: 900;
  color: var(--text-dark);
}
.section-header h2 .accent { color: var(--copper); }
.section-header .see-all {
  font-size: 13px; font-weight: 600;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s;
}
.section-header .see-all:hover { color: var(--copper-dark); }

/* ===== BLOG CARD GRID ===== */
.card-grid {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.blog-card a { display: flex; flex-direction: column; flex: 1; }

.blog-card .card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-card .card-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
  color: #fff;
}
.tag-blog { background: var(--green-dark); }
.tag-series { background: var(--green-dark); }
.tag-listicle { background: var(--copper); }
.tag-scenario { background: #6b4c8a; }
.tag-union { background: #c23b22; }
.tag-expert { background: #2a6496; }
.tag-contributor { background: #d4a04a; }
.tag-origin { background: var(--charcoal); }

.blog-card .card-body { padding: 20px; flex: 1; }

.blog-card .card-meta {
  font-size: 12px; color: var(--text-light);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.blog-card .card-meta .dot { opacity: 0.4; }

.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3; margin-bottom: 8px;
}

.blog-card .card-excerpt {
  font-size: 14px; color: var(--text-mid);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  gap: 10px; font-size: 12.5px;
  color: var(--text-light);
  margin-top: auto;
}

.blog-card .card-footer .author-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 700;
  flex-shrink: 0;
}

/* ===== CATEGORY FILTERS ===== */
.category-bar {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border);
  background: #fff; color: var(--text-mid);
  cursor: pointer; transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
}
.cat-pill:hover { border-color: var(--copper); color: var(--copper); }
.cat-pill.active {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

/* ===== PLACEHOLDER CARDS (Teachers section) ===== */
.placeholder-card {
  cursor: default;
  border: 2px dashed var(--border);
  background: var(--warm-white);
}
.placeholder-card:hover {
  transform: none;
  box-shadow: none;
}
.placeholder-img {
  height: 200px;
  background: linear-gradient(135deg, #e8e2da 0%, #d4cec6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-img .placeholder-line {
  width: 60%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
}
.placeholder-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.placeholder-text {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.5px;
  text-align: center;
}

/* ===== THEMED SECTIONS ===== */
.themed-section {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  margin-bottom: 64px;
}
.themed-section .section-header { padding-bottom: 28px; }
.themed-section .card-grid { padding-bottom: 0; }

/* ===== SINGLE POST ===== */
.single-post-header {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  text-align: center;
}
.single-post-header .post-category {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 3px;
  margin-bottom: 20px;
}
.single-post-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 900;
  line-height: 1.15; margin-bottom: 20px;
  color: var(--text-dark);
}
.single-post-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; font-size: 14px;
  color: var(--text-mid);
}
.single-post-meta .dot { opacity: 0.4; }

.single-post-featured-img {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.single-post-featured-img img {
  width: 100%; border-radius: 12px;
  object-fit: cover; max-height: 500px;
}

.single-post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
.single-post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--text-dark);
  margin: 40px 0 16px;
  line-height: 1.3;
}
.single-post-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 12px;
  line-height: 1.3;
}
.single-post-content p {
  font-family: 'Libre Baskerville', 'Source Sans 3', serif;
  font-size: 17px; line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.single-post-content ul,
.single-post-content ol {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 20px;
}
.single-post-content li {
  font-family: 'Libre Baskerville', serif;
  font-size: 17px; line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.single-post-content blockquote {
  border-left: 4px solid var(--copper);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--warm-white);
  border-radius: 0 8px 8px 0;
}
.single-post-content blockquote p {
  font-style: italic;
  color: var(--text-dark);
}
.single-post-content a {
  color: var(--copper);
  text-decoration: underline;
}
.single-post-content a:hover { color: var(--copper-dark); }
.single-post-content strong { color: var(--text-dark); }
.single-post-content em { font-style: italic; }

/* ===== POST NAVIGATION ===== */
.post-navigation {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.post-navigation a {
  font-size: 14px; color: var(--copper);
  font-weight: 600;
}
.post-navigation a:hover { color: var(--copper-dark); }

/* ===== ARCHIVE / CATEGORY PAGE ===== */
.archive-header {
  max-width: 1260px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}
.archive-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.archive-header p {
  font-size: 16px; color: var(--text-mid);
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
  color: #fff;
  padding: 0;
  position: relative;
}
.site-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--copper), var(--gold), var(--copper), var(--green-dark));
}

.footer-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .site-logo {
  color: var(--green-mid);
  margin-bottom: 16px;
  display: inline-block;
}
.footer-brand .footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  font-style: italic;
}

/* Footer nav */
.footer-nav h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-nav h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--copper);
  border-radius: 1px;
}
.footer-nav ul { list-style: none !important; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 14px; list-style: none !important; }
.footer-nav li::before,
.footer-nav li::marker { content: none !important; display: none !important; }
.footer-nav a {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  transition: all 0.25s;
  padding-left: 0;
  border-left: 2px solid transparent;
}
.footer-nav a:hover {
  color: #fff;
  padding-left: 10px;
  border-left-color: var(--copper);
}

/* Blog Experts */
.footer-experts h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-experts h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--copper);
  border-radius: 1px;
}

.expert-card {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 12px;
  padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s;
}
.expert-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.expert-card .expert-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.expert-card .expert-info h5 {
  font-size: 14px; font-weight: 600; margin-bottom: 3px;
  color: #fff;
}
.expert-card .expert-info span {
  font-size: 12px; color: rgba(255,255,255,0.4);
}

/* Favorite Quote */
.footer-quote {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  position: relative;
}
.footer-quote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: var(--copper);
  opacity: 0.12;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}
.footer-quote h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
}
.footer-quote blockquote {
  border: none;
  padding: 0;
  max-width: 680px;
  margin: 0 auto;
}
.footer-quote blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-quote blockquote cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0.5px;
}

/* Footer Bottom — social + copyright */
.footer-bottom {
  padding: 32px 0;
  display: flex; align-items: center;
  justify-content: space-between;
}
.footer-bottom .copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all 0.25s;
  transform: translateY(0);
}
.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
/* Brand-colored social buttons */
.footer-social a[title="Facebook"] {
  background: #1877F2;
}
.footer-social a[title="Facebook"]:hover {
  background: #166FE5;
  box-shadow: 0 4px 16px rgba(24,119,242,0.4);
}
.footer-social a[title="X / Twitter"] {
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
}
.footer-social a[title="X / Twitter"]:hover {
  background: #1a1a1a;
  box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}
.footer-social a[title="YouTube"] {
  background: #FF0000;
}
.footer-social a[title="YouTube"]:hover {
  background: #E60000;
  box-shadow: 0 4px 16px rgba(255,0,0,0.4);
}
.footer-social a[title="Instagram"] {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.footer-social a[title="Instagram"]:hover {
  background: linear-gradient(135deg, #e68a2e, #d95e36, #cf223c, #bf1f5e, #ab157c);
  box-shadow: 0 4px 16px rgba(220,39,67,0.4);
}

/* ===== PAGINATION ===== */
.pagination {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: flex; justify-content: center;
  gap: 8px;
}
.pagination a,
.pagination span {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-mid);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--copper); color: var(--copper); }
.pagination .current {
  background: var(--green-dark);
  color: #fff; border-color: var(--green-dark);
}

/* ===== 404 ===== */
.error-404 {
  max-width: 600px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}
.error-404 h1 {
  font-family: 'Playfair Display', serif;
  font-size: 72px; font-weight: 900;
  color: var(--green-dark); margin-bottom: 16px;
}
.error-404 p {
  font-size: 18px; color: var(--text-mid);
  margin-bottom: 32px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-section { animation: fadeUp 0.6s ease-out; }
.brands-strip { animation: fadeUp 0.6s ease-out 0.1s both; }
.blog-card { animation: fadeUp 0.5s ease-out both; }
.blog-card:nth-child(1) { animation-delay: 0.05s; }
.blog-card:nth-child(2) { animation-delay: 0.1s; }
.blog-card:nth-child(3) { animation-delay: 0.15s; }
.blog-card:nth-child(4) { animation-delay: 0.2s; }
.blog-card:nth-child(5) { animation-delay: 0.25s; }
.blog-card:nth-child(6) { animation-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; }
  .brands-strip { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .header-actions { display: none; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 10px;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 10px; }
  .main-nav.is-open a,
  .main-nav.is-open .menu-item a {
    display: block;
    text-align: center;
    padding: 12px 20px;
  }
  .single-post-header h1 { font-size: 32px; }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero-featured h1 { font-size: 26px; }
  .hero-featured { min-height: 360px; }
  .header-inner { height: 60px; }
  .site-logo { font-size: 26px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-social { justify-content: center; }
  .single-post-header h1 { font-size: 26px; }
  .post-navigation { flex-direction: column; }
}

/* ===== WORDPRESS CLASSES ===== */
.alignnone { margin: 20px 0; }
.aligncenter { display: block; margin: 20px auto; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-light); margin-top: 8px; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}
