/*
Theme Name: Studio 4by9 Flutter Theme
Theme URI: https://studio4by9.com
Author: Studio 4by9
Description: A hybrid WordPress theme that serves the compiled Flutter web app on the homepage while supporting standard WordPress blogs, custom pages, and plugins with a beautiful modern design.
Version: 1.0.0
Text Domain: studio4by9
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Brand CSS Variables --- */
:root {
  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;
  
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-secondary: #7c3aed;
  --color-secondary-hover: #6d28d9;
  
  --bg-main: #f8faff;
  --bg-card: #ffffff;
  
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-focus: #4f46e5;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-premium: 0 20px 25px -5px rgba(79, 70, 229, 0.05), 0 8px 10px -6px rgba(79, 70, 229, 0.05);
}

/* --- Basic Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-main);
  color: var(--text-medium);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--color-secondary);
}

/* --- Layout --- */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* --- Header / Navigation --- */
.site-header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.35rem 2rem; /* Increased top/bottom padding for spacious feel */
  box-shadow: var(--shadow-sm);
  transition: padding 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* Allows wrapping on mobile view */
}

.site-logo a {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-navigation-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative; /* Crucial for absolute dropdown positioning */
}

.main-navigation a {
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--color-primary);
}

/* --- Mobile Menu Toggle Button --- */
.menu-toggle {
  display: none; /* Hidden on desktop */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem !important;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  color: var(--color-primary);
}

.menu-toggle:focus {
  outline: none;
}

/* --- Navigation Dropdowns (Submenus) --- */
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
}

.main-navigation ul ul li {
  width: 100%;
}

.main-navigation ul ul a {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 400;
  transition: all 0.2s ease;
}

.main-navigation ul ul a:hover {
  background-color: var(--bg-main);
  color: var(--color-primary);
}

.main-navigation ul li:hover > ul {
  display: flex;
}

/* --- Header Search Form --- */
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field {
  padding: 0.45rem 2rem 0.45rem 1rem !important;
  font-size: 0.9rem !important;
  border-radius: 20px !important;
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-main);
  width: 150px;
  transition: all 0.3s ease;
  height: auto !important;
}

.search-field:focus {
  width: 220px;
  background-color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-submit {
  position: absolute;
  right: 10px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.search-submit:hover {
  color: var(--color-primary);
  transform: none !important;
}





/* --- Blog / Post Listing --- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(79, 70, 229, 0.2);
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}

.post-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.post-title a {
  color: var(--text-dark);
}

.post-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more {
  align-self: flex-start;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more:hover {
  gap: 0.5rem;
}

/* --- Single Post & Page Detail --- */
.article-detail {
  background-color: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  padding: 3rem;
  box-shadow: var(--shadow-premium);
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2rem;
  text-align: center;
}

.article-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-dark) 60%, var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.9rem;
}

.article-body {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body h2, .article-body h3 {
  margin-top: 2rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--text-dark);
  color: #ffffff;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-logo {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* --- Buttons & Inputs (Forms) --- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input:not([type]),
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background-color: #f8faff;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
  outline: none;
}

input:focus, textarea:focus {
  border-color: var(--border-focus);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

input[type="submit"],
button.button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

input[type="submit"]:hover,
button.button:hover,
a.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
  opacity: 0.95;
}

/* --- Comments --- */
.comments-area {
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  padding-top: 3rem;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.comment-list {
  list-style: none;
  margin: 0 0 3rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-list li {
  list-style: none;
}

.comment-body {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.comment-body:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, 0.15);
}

.avatar {
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.comment-content-wrapper {
  flex: 1;
  min-width: 0; /* Prevents overflow of code blocks inside comments */
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.comment-author {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--text-dark);
}

.comment-author a {
  color: var(--text-dark);
}

.comment-author a:hover {
  color: var(--color-primary);
}

.comment-metadata {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.comment-metadata a {
  color: var(--text-muted);
}

.comment-content {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.comment-content p {
  margin-bottom: 0.5rem;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.reply {
  margin-top: 1rem;
  text-align: right;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  padding: 0.4rem 1rem;
  transition: all 0.2s ease;
}

.comment-reply-link:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* Children Comments (Nested replies) */
.comment-list .children {
  list-style: none;
  margin: 1.5rem 0 0 3rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Comment Form Layout and Styling */
.comment-respond {
  background-color: transparent;
  border: none;
  border-top: 1px solid var(--border-color);
  border-radius: 0;
  padding: 2.5rem 0 0 0;
  box-shadow: none;
  margin-top: 3.5rem;
}

.comment-reply-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.comment-reply-title a {
  font-size: 0.9rem;
  margin-left: 1rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: underline;
}

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

.comment-form p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comment-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  width: 100%;
}

.logged-in-as {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem !important;
}

.logged-in-as a {
  color: var(--color-primary);
  font-weight: 600;
}

.comment-form-cookies-consent {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0.75rem;
  grid-column: span 2;
  margin-top: 0.5rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.comment-form-cookies-consent label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

/* Grid layout for fields on larger screens */
@media (min-width: 600px) {
  .comment-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .comment-form-comment,
  .form-submit,
  .logged-in-as,
  .comment-form-url,
  .comment-form-cookies-consent {
    grid-column: span 2;
  }
}

/* --- Recent Posts inside Single Post --- */
.recent-posts-section {
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  padding-top: 3rem;
}

.recent-posts-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.recent-post-item {
  display: flex;
  flex-direction: column;
}

.recent-post-thumbnail {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recent-post-item:hover .recent-post-thumbnail {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.recent-post-item:hover .recent-post-thumbnail img {
  transform: scale(1.05);
}

.recent-post-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.recent-post-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.recent-post-title a {
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.recent-post-title a:hover {
  color: var(--color-primary);
}

/* --- Post Navigation --- */
.post-navigation {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1;
  max-width: 50%;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation .nav-label {
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.post-navigation a {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.post-navigation a:hover {
  color: var(--color-primary);
}

.post-navigation .nav-previous a:hover {
  transform: translateX(-4px);
}

.post-navigation .nav-next a:hover {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .comment-list .children {
    margin-left: 1rem; /* Reduce indentation on smaller screens */
    padding-left: 0.75rem;
  }
  .comment-body {
    padding: 1.25rem;
    gap: 1rem;
  }
  .avatar {
    width: 38px;
    height: 38px;
  }
  .comment-respond {
    padding-top: 2rem;
  }
  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }
  .post-navigation .nav-previous,
  .post-navigation .nav-next {
    max-width: 100%;
  }
  .post-navigation .nav-next {
    text-align: left;
  }
}



/* --- Flutter Container Desktop Margin --- */
#flutter_container {
  margin-top: 5.5rem !important;
}

/* --- Responsive styling --- */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .header-container {
    flex-direction: row; /* Keep logo and hamburger on same row */
    justify-content: space-between;
    align-items: center;
  }

  .site-logo {
    order: 1;
  }

  .menu-toggle {
    display: flex; /* Show hamburger menu toggle */
    order: 2;
  }

  .header-navigation-wrapper {
    order: 3;
    flex-basis: 100%; /* Pushes navigation below header row */
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
  }

  .main-navigation {
    display: none; /* Hide menu items by default on mobile */
    width: 100%;
  }

  .main-navigation.toggled {
    display: block; /* Show menu when toggled */
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .main-navigation ul li {
    width: 100%;
  }

  .main-navigation ul li a {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    width: 100%;
  }

  .main-navigation ul li a:hover {
    background-color: var(--bg-main);
  }

  /* Submenus on mobile (expand vertically) */
  .main-navigation ul ul {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding-left: 1.5rem;
    margin-top: 0;
  }

  .main-navigation ul li:hover > ul {
    display: flex;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .article-detail {
    padding: 1.5rem;
  }

  .article-title {
    font-size: 2rem;
  }

  #flutter_container {
    margin-top: 5.5rem !important; /* Pushes Flutter app container down below the mobile header */
  }
}

/* --- Home Button menu item --- */
.main-navigation ul li.home-button-item a {
  color: var(--color-primary);
  font-weight: 700;
  transition: color 0.2s ease;
}

.main-navigation ul li.home-button-item a:hover {
  color: var(--color-secondary);
}

/* --- Smooth Scrolling --- */
html {
  scroll-behavior: smooth;
}

/* --- Homepage Scroll Overrides to Avoid Double Scrollbars & Stutter --- */
body.home {
  overflow: hidden !important;
  height: 100dvh !important;
  width: 100vw !important;
  position: fixed !important;
}

body.home .site-wrapper {
  height: 100dvh !important;
  overflow: hidden !important;
}

body.home .site-footer {
  display: none !important;
}

body.home .site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: #ffffff !important;
}

body.home #flutter_container {
  height: calc(100dvh - 5.5rem) !important;
  margin-top: 5.5rem !important;
  min-height: 0 !important;
  overflow: hidden !important;
  touch-action: none !important; /* Force browser to yield all touch events directly to Flutter, eliminating scroll fighting/jitter */
}

@media (max-width: 768px) {
  body.home #flutter_container {
    height: calc(100dvh - 5rem) !important;
    margin-top: 5rem !important;
  }
}

/* --- WordPress Blog Post Content Styling (Gutenberg Support) --- */
.article-body {
  font-size: 1.15rem;
  line-height: 1.85;
}

/* Premium Blockquote & Pullquote Styling */
.article-body blockquote,
.article-body .wp-block-quote,
.article-body .wp-block-pullquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2.5rem;
  border-left: 4px solid var(--color-primary);
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0 16px 16px 0;
  font-family: var(--font-secondary);
  font-style: italic;
  color: var(--text-dark);
  position: relative;
  box-shadow: inset 1px 0 0 rgba(79, 70, 229, 0.1);
}

.article-body blockquote p,
.article-body .wp-block-quote p {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}

.article-body blockquote cite,
.article-body .wp-block-quote cite,
.article-body .wp-block-quote __citation {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

.article-body blockquote cite::before,
.article-body .wp-block-quote cite::before {
  content: "— ";
  color: var(--color-primary);
}

/* List Spacing & Padding Restoration (Overrides Universal Reset) */
.article-body ul,
.article-body ol {
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
  padding-left: 2.25rem;
}

.article-body ul {
  list-style-type: disc;
}

.article-body ol {
  list-style-type: decimal;
}

.article-body li {
  margin-bottom: 0.6rem;
  padding-left: 0.25rem;
}

.article-body li > ul,
.article-body li > ol {
  margin-top: 0.6rem;
  margin-bottom: 0;
}

/* Gutenberg Core Alignments & Widths */
.aligncenter,
.has-text-align-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.alignleft,
.has-text-align-left {
  text-align: left;
}

.alignright,
.has-text-align-right {
  text-align: right;
}

.article-body img.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1.5rem 0;
}

.article-body img.alignright {
  float: right;
  margin: 0.5rem 0 1.5rem 1.5rem;
}

.article-body img.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

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

.alignfull {
  max-width: 100vw;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Floating clear */
.article-body::after {
  content: "";
  display: table;
  clear: both;
}

/* Gutenberg Font Sizes */
.has-small-font-size { font-size: 0.9rem !important; }
.has-normal-font-size, .has-regular-font-size { font-size: 1.1rem !important; }
.has-medium-font-size { font-size: 1.3rem !important; }
.has-large-font-size { font-size: 1.6rem !important; }
.has-huge-font-size { font-size: 2.5rem !important; }

