/*
Theme Name: Abohara Insights
Theme URI: https://abohara.com
Author: Aadarsh Bohara
Author URI: https://abohara.com
Description: Custom blog theme for abohara.com — Insights & Strategy. Cream/gold/charcoal design system matching the core site.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: abohara
Requires at least: 6.0
Requires PHP: 7.4
*/

/* === DESIGN TOKENS ============================================== */
:root {
  /* ── Backgrounds */
  --color-bg-base:       #F5F2E9;
  --color-bg-white:      #FFFFFF;
  --color-bg-subtle:     #EDEADE;
  --color-bg-charcoal:   #1A1A1B;
  --color-bg-elevated:   #FFFFFF;

  /* ── Brand / Accent */
  --color-gold:          #C5A048;
  --color-gold-light:    #E8C97A;
  --color-gold-muted:    #D4B870;
  --color-gold-dark:     #9A7A30;

  /* ── Text */
  --color-text-primary:  #1A1A1B;
  --color-text-body:     #3D3D3E;
  --color-text-muted:    #7A7A7B;
  --color-text-light:    #A8A8A9;
  --color-text-inverse:  #F5F2E9;
  --color-text-gold:     #C5A048;

  /* ── Borders & Dividers */
  --color-border:        #DDD9CE;
  --color-border-strong: #C5A048;
  --color-divider:       #E8E4D9;

  /* ── Gradients */
  --gradient-gold:       linear-gradient(135deg, #C5A048 0%, #E8C97A 100%);
  --gradient-cream:      linear-gradient(180deg, #F5F2E9 0%, #EDEADE 100%);
  --gradient-hero:       linear-gradient(160deg, #F5F2E9 0%, #EDEADE 60%, #F5F2E9 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(197,160,72,0.06) 0%, transparent 100%);
  --gradient-dark-cta:   linear-gradient(135deg, #1A1A1B 0%, #2D2D2E 100%);

  /* ── Typography */
  --font-heading:        'Playfair Display', Georgia, serif;
  --font-body:           'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:           'JetBrains Mono', 'Fira Code', monospace;

  /* ── Font Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* ── Spacing */
  --space-section:   clamp(4rem, 10vw, 8rem);
  --space-component: 3rem;

  /* ── Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* ── Shadows */
  --shadow-card:       0 2px 16px rgba(26, 26, 27, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(197, 160, 72, 0.18);
  --shadow-sm:         0 1px 4px  rgba(26, 26, 27, 0.06);

  /* ── Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* ── Layout */
  --container-max:    1200px;
  --container-narrow: 760px;
}


/* === BASE RESETS ================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

ul[role='list'], ol[role='list'] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.75;
  background-color: var(--color-bg-base);
  color: var(--color-text-body);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* === TYPOGRAPHY ================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  line-height: 1.2;
}

h1 { font-size: var(--text-5xl); font-weight: 700; }
h2 { font-size: var(--text-4xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
}

p {
  margin-bottom: 1.5rem;
}

strong {
  font-weight: 600;
  color: var(--color-text-primary);
}

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  border-left: 3px solid var(--color-gold);
  padding: 2rem;
  margin: 2rem 0;
  background: var(--color-bg-subtle);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}


/* === LAYOUT ====================================================== */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-section) 0;
}

.section--dark {
  background-color: var(--color-bg-charcoal);
  color: var(--color-text-inverse);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-inverse);
}

.section--subtle {
  background-color: var(--color-bg-subtle);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.flex {
  display: flex;
  gap: 1.5rem;
}

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

.flex-between {
  justify-content: space-between;
  align-items: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


/* === NAVIGATION ================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-base);
}

.nav--scrolled {
  background-color: rgba(245, 242, 233, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav__logo-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
}

.nav__link {
  text-decoration: none;
  color: var(--color-text-body);
  font-weight: 500;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--color-gold);
}

.nav__link--active {
  color: var(--color-gold);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
}

.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: all var(--transition-base);
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }
}

/* Mobile Menu State */
.nav--open .nav__links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  height: 100vh;
  background: var(--color-bg-base);
  padding: 6rem 2rem;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  z-index: 999;
}

.nav--open .nav__toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* === COMPONENTS ================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background-color: var(--color-gold);
  color: var(--color-bg-charcoal);
}

.btn--primary:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--secondary {
  background-color: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--secondary:hover {
  background-color: rgba(197, 160, 72, 0.1);
  transform: translateY(-2px);
}

.btn--dark {
  background-color: var(--color-bg-charcoal);
  color: var(--color-text-inverse);
}

.btn--dark:hover {
  background-color: #2D2D2E;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative; /* Anchor for pseudo-links */
}

/* Make entire cards cleanly clickable by stretching the main link */
.card__click-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* Elevate other interactive elements above the overlay so they don't get blocked */
.card .tag, .card .btn {
  position: relative;
  z-index: 20;
}

.card:hover {
  border-color: var(--color-gold-muted);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.card__image {
  margin: -2.5rem -2.5rem 2rem -2.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__image img {
  transform: scale(1.05);
}

/* Badges / Tags */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-bg-subtle);
  color: var(--color-gold-dark);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  transition: all var(--transition-base);
}


/* === BLOG / INSIGHTS ============================================= */

/* Blog Hero */
.blog-hero {
  padding: 10rem 0 6rem;
  background: var(--color-bg-subtle);
  text-align: center;
}

.blog-grid {
  padding-bottom: 8rem;
}

/* Featured Post Hero */
.featured-post {
  margin-bottom: 5rem;
}

.featured-post .card {
  flex-direction: row;
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.featured-post__image {
  width: 50%;
  aspect-ratio: 16 / 10;
}

.featured-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post__content {
  width: 50%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 992px) {
  .featured-post .card {
    flex-direction: column;
  }
  .featured-post__image,
  .featured-post__content {
    width: 100%;
  }
}

/* Single Post View */
.post-header {
  padding: 12rem 0 4rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: 2rem;
}

.post-meta .tag {
  margin-bottom: 0;
}

.post-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 3rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.post-author__img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.post-main-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 5rem;
}

/* Post Content (the_content) */
.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
}

.post-content h2 {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}

.post-content h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 2rem;
}

.post-content ul,
.post-content ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.post-content a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.post-content a:hover {
  color: var(--color-gold-dark);
}

.post-content img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.post-content pre {
  background: var(--color-bg-charcoal);
  color: var(--color-text-inverse);
  padding: 2rem;
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: 2rem 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.post-content code {
  background: var(--color-bg-subtle);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.post-content pre code {
  background: none;
  padding: 0;
}

/* Post Footer */
.post-footer {
  max-width: 800px;
  margin: 6rem auto;
  padding-top: 4rem;
  border-top: 1px solid var(--color-divider);
}

.author-card {
  background: var(--color-bg-subtle);
  padding: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .author-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Post Navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  padding: 3rem 0;
  margin: 4rem 0;
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  gap: 4rem;
}

.post-nav__link {
  flex: 1;
  text-decoration: none;
  max-width: 45%;
}

.post-nav__link--next {
  text-align: right;
}

.post-nav__label {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.post-nav__title {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  line-height: 1.3;
  transition: color var(--transition-base);
}

.post-nav__link:hover .post-nav__title {
  color: var(--color-gold);
}

/* Related Posts Section */
.related-posts {
  padding: 6rem 0;
  background: var(--color-bg-white);
}

.related-posts__header {
  text-align: center;
  margin-bottom: 4rem;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

@media (max-width: 768px) {
  .post-nav {
    flex-direction: column;
    gap: 2rem;
  }
  .post-nav__link {
    max-width: 100%;
  }
  .related-posts__grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-text-body);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.pagination .page-numbers:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.pagination .page-numbers.current {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg-charcoal);
}

.pagination .page-numbers.dots {
  border: none;
  cursor: default;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  width: auto;
  padding: 0 1rem;
}

/* No-results / 404 page */
.page-404 {
  padding: 12rem 0 8rem;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.page-404__code {
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}


/* === FOOTER ====================================================== */
.footer {
  background-color: #0D0D0E;
  color: var(--color-text-inverse);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(197, 160, 72, 0.2);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer__brand-logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.footer__brand-tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
  opacity: 0.7;
  max-width: 25ch;
  margin-bottom: 2rem;
}

.footer__social-icons {
  display: flex;
  gap: 1.25rem;
}

.footer__social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 242, 233, 0.1);
  border-radius: 50%;
  color: var(--color-text-inverse);
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer__social-icon:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-3px);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 2rem;
}

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

.footer__link {
  color: var(--color-text-inverse);
  text-decoration: none;
  font-size: var(--text-sm);
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.footer__link:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer__connect-text {
  font-size: var(--text-sm);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.footer__bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(245, 242, 233, 0.05);
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  opacity: 0.5;
}

.footer__credit-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.footer__credit-link:hover {
  border-color: currentColor;
}

@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2rem;
  }
}

@media (max-width: 640px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer__bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* === UTILITIES =================================================== */

/* Spacing */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mb-8 { margin-bottom: 4rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2    { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-3    { margin-left: 0.75rem; margin-right: 0.75rem; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Font Sizes */
.text-xs  { font-size: var(--text-xs); }
.text-sm  { font-size: var(--text-sm); }
.text-base{ font-size: var(--text-base); }
.text-lg  { font-size: var(--text-lg); }
.text-xl  { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }

/* Colors */
.text-gold { color: var(--color-gold); }
.text-gold-dark { color: var(--color-gold-dark); }
.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-text-primary); }
.text-inverse { color: var(--color-text-inverse); }

.bg-charcoal { background-color: var(--color-bg-charcoal); }
.bg-subtle { background-color: var(--color-bg-subtle); }
.bg-cream { background-color: var(--color-bg-base); }

.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.bold { font-weight: 700; }
.semibold { font-weight: 600; }

.tracking-widest { letter-spacing: 0.1em; }
.tracking-wider { letter-spacing: 0.05em; }

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }


/* === WP-SPECIFIC OVERRIDES ======================================= */

/* Remove default WP margins/paddings that Hello Elementor might leave */
.wp-block-image img {
  border-radius: var(--radius-lg);
}

/* Gutenberg alignment */
.alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.alignwide {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* WP captions */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.75rem;
}

/* Gallery */
.wp-block-gallery {
  margin: 2rem 0;
}

/* Separator */
.wp-block-separator {
  border: none;
  border-top: 1px solid var(--color-divider);
  margin: 3rem 0;
}

/* Table */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.post-content th,
.post-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.post-content th {
  background: var(--color-bg-subtle);
  font-weight: 600;
}

/* Video embeds */
.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
