/* web-articles.css — Estilos para el editor de articulos del blog */

:root {
  --primary: #2563eb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

/* Layout */
.art-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
}

.art-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 72px;
}

.art-main {
  flex: 1;
  min-width: 0;
}

.art-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1400px;
  margin-top: 100px;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.art-header h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.art-header-back {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Botones */
.btn-art {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.btn-art-primary {
  background: #2563eb;
  color: white;
}

.btn-art-primary:hover {
  background: #1d4ed8;
}

.btn-art-outline {
  background: white;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.btn-art-outline:hover {
  background: #f9fafb;
}

.btn-art-danger {
  background: #ef4444;
  color: white;
}

.btn-art-danger:hover {
  background: #dc2626;
}

.btn-art-sm {
  padding: 0.3rem 0.6rem;
  font-size: 0.78rem;
  border-radius: 6px;
}

.btn-art-icon {
  padding: 0.4rem;
  border-radius: 6px;
  line-height: 0;
}

/* Settings bar */
.art-settings-bar {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  padding: 1.25rem 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.art-settings-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.art-settings-row:last-child {
  margin-bottom: 0;
}

.art-field {
  flex: 1;
  min-width: 160px;
}

.art-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.art-input,
.art-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s;
  outline: none;
  font-family: inherit;
}

.art-input:focus,
.art-select:focus {
  border-color: #2563eb;
  background: white;
}

/* Canvas */
.art-canvas {
  background: white;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.art-img-zone {
  position: relative;
  display: block;
  min-height: 350px;
  background: #f8fafc;
  border: 2px dashed #e2e8f0;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.75rem;
}

.art-img-zone:hover {
  border-color: #2563eb;
  background: #fcfdfe;
  transform: translateY(-2px);
}

.art-img-zone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.art-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #9ca3af;
}

.art-img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.art-img-placeholder p {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.art-img-placeholder span {
  font-size: 0.75rem;
}

.art-img-file {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.art-alt-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem !important;
  border-radius: 0.5rem !important;
  background: #fafbfc !important;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.art-alt-row:focus-within {
  background: white !important;
  border-bottom-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08) !important;
}

.art-alt-row svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #94a3b8;
}

.art-alt-row input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 0.875rem !important;
  color: #111827 !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit;
}

.art-alt-row input::placeholder {
  color: #94a3b8;
}

.art-title-inp {
  width: 100%;
  border: none;
  outline: none;
  font-size: 2.75rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  color: #111827;
  resize: none;
  overflow: hidden;
  line-height: 1.3;
  padding: 0;
  font-family: inherit;
  letter-spacing: -0.02em;
  background: transparent;
  box-sizing: border-box;
}

.art-title-inp::placeholder {
  color: #e2e8f0;
}

.art-desc-inp {
  width: 100%;
  border: none !important;
  border-left: 3px solid #f1f5f9 !important;
  background: transparent !important;
  font-size: 1.25rem !important;
  padding: 0.5rem 1.5rem !important;
  color: #6b7280 !important;
  line-height: 1.6 !important;
  font-style: italic;
  resize: vertical !important;
  min-height: 100px;
  box-shadow: none !important;
  outline: none !important;
  transition: all 0.3s ease;
  margin-bottom: 3rem;
  font-family: inherit;
}

.art-desc-inp:focus {
  border-left-color: #2563eb !important;
  background: rgba(37, 99, 235, 0.02) !important;
  color: #111827 !important;
}

.art-desc-inp::placeholder {
  color: #cbd5e1;
}

.art-divider {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin: 1rem 0;
}

.art-editor {
  min-height: 320px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Tags */
.art-tags-section {
  border-top: 1px solid #f3f4f6;
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

.art-tag-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.art-tag-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
}

.art-tag-input:focus {
  border-color: #2563eb;
}

.art-tags-cont {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.art-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

.art-tag-chip button {
  background: none;
  border: none;
  cursor: pointer;
  color: #1d4ed8;
  padding: 0;
  line-height: 1;
  font-size: 1.1rem;
}

/* SEO Sidebar */
.art-seo-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.art-seo-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: #111827;
}

.art-seo-header svg {
  color: #2563eb;
  width: 16px;
  height: 16px;
}

.art-acc-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  padding: 0.7rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  transition: color 0.2s;
  font-family: inherit;
}

.art-acc-btn.open {
  color: #2563eb;
}

.art-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.art-acc-content.open {
  max-height: 300px;
}

.art-acc-body {
  padding: 0.75rem 1.25rem;
}

.art-acc-body textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem;
  font-size: 0.8rem;
  resize: vertical;
  min-height: 72px;
  outline: none;
  color: #374151;
  font-family: inherit;
}

.art-acc-body textarea:focus {
  border-color: #2563eb;
}

.art-toggles {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.art-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.art-toggle-row input[type="checkbox"] {
  width: 36px;
  height: 20px;
  cursor: pointer;
  accent-color: #2563eb;
}

.art-hint-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  color: #1d4ed8;
  line-height: 1.5;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.art-hint-card svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

/* Blog list */
.blog-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 100px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
}

.blog-admin-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 0.25rem;
}

.blog-admin-header p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.blog-search-bar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0 0 1.25rem 0;
  flex-wrap: wrap;
}

.blog-search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.blog-search-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.blog-search-inp {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  background: white;
  font-family: inherit;
}

.blog-search-inp:focus {
  border-color: #2563eb;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
  padding: 0 0 2rem 0;
}

.blog-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.blog-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-img-no {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img-no svg {
  width: 40px;
  height: 40px;
  color: #c7d2fe;
}

.blog-card-actions {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  display: flex;
  gap: 0.4rem;
}

.blog-card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.blog-card-date {
  font-size: 0.73rem;
  color: #9ca3af;
  margin: 0;
}

.blog-card-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.blog-card-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.blog-card-title:hover {
  color: #2563eb;
}

.blog-card-footer {
  border-top: 1px solid #f3f4f6;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.art-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}

.art-badge-pub {
  background: #d1fae5;
  color: #065f46;
}

.art-badge-bor {
  background: #fef3c7;
  color: #92400e;
}

.art-badge-rev {
  background: #dbeafe;
  color: #1e40af;
}

.blog-views {
  font-size: 0.78rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-views svg {
  width: 14px;
  height: 14px;
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 4rem 2rem;
  text-align: center;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.blog-empty svg {
  width: 3rem;
  height: 3rem;
  color: #d1d5db;
  margin: 0 auto 1rem;
  display: block;
}

.blog-empty h2 {
  font-size: 1.2rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.blog-empty p {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Modal */
.art-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.art-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.art-modal {
  background: white;
  border-radius: 14px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.art-modal h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.art-modal p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.art-modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 900px) {
  .art-layout {
    flex-direction: column;
    padding: 1rem;
  }

  .art-sidebar {
    width: 100%;
    position: static;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem 2rem;
  }

  .blog-admin-header {
    padding: 1rem 1rem 0;
  }

  .blog-search-bar {
    padding: 0 1rem 1rem;
  }
}

/* Sidemenu Layout */
.blog-layout-container {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: flex-start;
  max-width: 1400px;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  padding: 0 0 2rem 0;
}

.blog-sidemenu {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 120px;
  box-sizing: border-box;
}

.sidemenu-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
  box-sizing: border-box;
}

.sidemenu-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
  margin-top: 0;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidemenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidemenu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #4b5563;
  transition: all 0.2s;
  font-weight: 500;
}

.sidemenu-link:hover {
  background: #f3f4f6;
  color: #111827;
}

.sidemenu-link.active {
  color: #2563eb;
  background: #eff6ff;
  font-weight: 600;
}

.sidemenu-badge {
  background: #e5e7eb;
  color: #4b5563;
  padding: 0.15rem 0.45rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  transition: all 0.2s;
}

.sidemenu-link.active .sidemenu-badge {
  background: #2563eb;
  color: white;
}

@media (max-width: 900px) {
  .blog-layout-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem 2rem;
  }

  .blog-sidemenu {
    width: 100%;
    position: static;
  }
}

/* Mini Calendar Widget */
.mini-calendar-widget {
  margin-top: 0.5rem;
}

.mini-cal-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  color: #4b5563;
  font-weight: 700;
  font-size: 1rem;
}

.mini-cal-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.mini-cal-day-cell {
  font-size: 0.78rem;
  font-weight: 500;
  color: #374151;
  padding: 0.25rem 0;
  cursor: pointer;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.mini-cal-day-cell:hover {
  background: #f3f4f6;
}

.mini-cal-day-cell.today {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
  font-weight: 700;
}

.mini-cal-day-cell.has-events {
  background: #f9fafb;
  font-weight: 700;
}

.mini-cal-day-cell.selected {
  border: 1px solid #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  background: #eff6ff;
  color: #2563eb;
}

/* ===== Article refinements ===== */
.article {
  padding-top: 2rem;
  --primary: #2563eb;
  --muted-foreground: #6b7280;
  --foreground: #111827;
  --secondary: #f3f4f6;
  --border: #e5e7eb;
  --radius: 12px;
  --card: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  margin-top: 5em;
}

/* ── Shared article container width token ────────────────────────────────── */
:root {
  --article-max-w: 72rem;   /* 1152px — consistent across all sections */
  --article-px: clamp(1rem, 4vw, 2.5rem);
}

.separator-line {
  width: 1rem;
  height: 1rem;
  opacity: 0.4;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding: 0;
  margin: 0;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}


.breadcrumb-list a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

.breadcrumb-list svg {
  width: 1rem;
  height: 1rem;
}

.breadcrumb-current {
  display: inline-block;
  vertical-align: middle;
  color: var(--foreground);
  font-weight: 500;
  max-width: 110px; /* Fits on the same line on very narrow (320px) screens */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 375px) {
  .breadcrumb-current {
    max-width: 150px; /* Fits on the same line on standard (375px+) mobile devices */
  }
}

@media (min-width: 480px) {
  .breadcrumb-current {
    max-width: 320px;
  }
}


@media (min-width: 768px) {
  .breadcrumb-current {
    max-width: 450px;
  }
}

@media (min-width: 1024px) {
  .breadcrumb-current {
    max-width: 650px;
  }
}



/* Hero */
.article-header {
  padding-bottom: 2rem;
  padding-left: var(--article-px);
  padding-right: var(--article-px);
}

.article-header-inner {
  max-width: var(--article-max-w);
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
  text-decoration: none;
}

.back-link:hover {
  color: var(--primary);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
}

.category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .article-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .article-title {
    font-size: 3rem;
  }
}

.article-excerpt {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Author & Meta */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.author-name {
  font-weight: 500;
  color: var(--foreground);
}

.author-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.meta-items {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item svg {
  width: 1rem;
  height: 1rem;
}

/* Featured Image */
.featured-image {
  padding-bottom: 2.5rem;
  padding-left: var(--article-px);
  padding-right: var(--article-px);
  width: 100%;
}

.featured-image-inner {
  max-width: var(--article-max-w);
  margin: 0 auto;
}

.featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0,0,0,0.06);
}

/* Content Layout */
.content-layout {
  padding-bottom: 4rem;
  padding-left: var(--article-px);
  padding-right: var(--article-px);
  width: 100%;
}

.content-layout-inner {
  max-width: var(--article-max-w);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .content-layout-inner {
    grid-template-columns: 1fr 300px;
  }
}

/* Article Content */
.article-content {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}


.article-content p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content p.lead {
  font-size: 1.25rem;
  color: var(--foreground);
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.article-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  color: var(--foreground);
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.article-content ul,
.article-content ol {
  list-style: initial;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content b {
  color: var(--foreground);
}

/* ── Inline links inside article body ────────────────────────── */
.article-content a {
  color: var(--terracotta, #c0623a);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.article-content a:hover {
  color: var(--gold-ancient, #b08d57);
  text-decoration-color: var(--gold-ancient, #b08d57);
}

/* External / authority links get a subtle icon hint */
.article-content a[target="_blank"]::after {
  content: '';
  display: inline-block;
  width: 0.65em;
  height: 0.65em;
  margin-left: 0.2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0623a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  opacity: 0.7;
}

/* ── Pull-Quote / Blockquote — premium editorial design ─────────────── */
.article-content blockquote {
  position: relative;
  margin: 2.5rem 0;
  padding: 2rem 2rem 1.75rem 2.5rem;
  background: linear-gradient(135deg, #fdf6ef 0%, #faf0e6 100%);
  border: none;
  border-left: 4px solid var(--terracotta, #c0623a);
  border-radius: 0 16px 16px 0;
  box-shadow: 0 4px 24px rgba(192, 98, 58, 0.07), 0 1px 4px rgba(0,0,0,0.04);
  font-style: normal;
  overflow: visible;
}

/* Large decorative opening quotation mark */
.article-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 1rem;
  font-family: 'Lora', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--terracotta, #c0623a);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

/* Quote body text */
.article-content blockquote p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--obsidian, #1a1a1a);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Attribution / citation line */
.article-content blockquote cite,
.article-content blockquote footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-style: normal;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta, #c0623a);
  letter-spacing: 0.03em;
  /* Override any site-wide footer styles */
  background: none !important;
  padding: 0 !important;
  text-align: left !important;
}

.article-content blockquote cite::before,
.article-content blockquote footer::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--terracotta, #c0623a);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Article tables ────────────────────────────────────────────────────── */
.article-content table {
  width: 100%;
  margin: 2rem 0;
  text-align: left;
  border-collapse: collapse;
  border: 1px solid var(--sand-deep, #e8d9c8);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
}

.article-content th,
.article-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--sand-deep, #e8d9c8);
}

.article-content th {
  background: linear-gradient(135deg, #fdf6ef, #faf0e6);
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--obsidian, #1a1a1a);
  letter-spacing: 0.03em;
}

.article-content td {
  color: var(--obsidian-mid, #3d3530);
}

.article-content tr:nth-child(even) td {
  background: rgba(253, 246, 239, 0.5);
}

/* Sidebar */
.sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

.sidebar-sticky {
  position: sticky;
  top: 120px;
}

.toc-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.toc-title {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s;
  text-decoration: none;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  transition: all 0.2s ease;
  text-decoration: none;
}

.badge.outline {
  background: transparent;
  border: 1px solid var(--border, #e5e7eb);
  color: var(--muted-foreground, #6b7280);
}

.badge.outline:hover {
  border-color: var(--primary, #2563eb);
  color: var(--primary, #2563eb);
  background: rgba(37, 99, 235, 0.05);
}

/* Share */
.share-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.share-title {
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
}

.share-title svg {
  width: 1rem;
  height: 1rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  cursor: pointer;
  color: var(--muted-foreground);
}

.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.share-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Related Posts */
.related-section {
  background: linear-gradient(180deg, #fdf9f6 0%, #f8f4f0 100%);
  padding: 4rem 0 5rem;
  width: 100%;
  border-top: 2px solid var(--sand-deep, #e8d9c8);
}

/* ── Inner container — SAME width as article body ────────────────────────── */
.related-inner {
  max-width: var(--article-max-w);
  margin: 0 auto;
  padding-left: var(--article-px);
  padding-right: var(--article-px);
}

.related-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--sand-deep, #e8d9c8);
}

.related-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--obsidian, #1a1a1a);
  position: relative;
  margin: 0;
  font-family: 'Outfit', sans-serif;
}

.related-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 1.6em;
  background: linear-gradient(180deg, var(--terracotta, #c0623a), var(--gold-ancient, #b08d57));
  border-radius: 3px;
  margin-right: 0.75rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.related-title::after {
  display: none;
}

.related-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.related-card {
  background: #ffffff;
  border: 1px solid var(--sand-deep, #e8d9c8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-card:hover {
  box-shadow: 0 16px 32px -4px rgba(192, 98, 58, 0.12), 0 6px 12px rgba(0,0,0,0.06);
  transform: translateY(-6px);
  border-color: var(--terracotta, #c0623a);
}

.related-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--sand, #f5ece2);
}

.related-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(26,10,4,0.45) 100%);
  opacity: 0.55;
  transition: opacity 0.3s;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.related-card:hover .related-card-image img {
  transform: scale(1.07);
}

.related-card:hover .related-card-image::after {
  opacity: 0.75;
}

.related-card-content {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-card-category {
  align-self: flex-start;
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  background: rgba(192, 98, 58, 0.09);
  color: var(--terracotta, #c0623a);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  transition: all 0.25s;
}

.related-card:hover .related-card-category {
  background: var(--terracotta, #c0623a);
  color: #ffffff;
}

.related-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--obsidian, #1a1a1a);
  margin: 0 0 0.85rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
  flex-grow: 1;
  font-family: 'Outfit', sans-serif;
}

.related-card:hover .related-card-title {
  color: var(--terracotta, #c0623a);
}

.related-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.related-card-date,
.related-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.related-card-date svg,
.related-card-read svg {
  color: var(--muted-foreground);
}

/* ==========================================================================
   CTA BLOCK - EDITOR STYLES
   ========================================================================== */

.cta-block-editor {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border: 2px dashed #e2e8f0;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.cta-block-editor:hover {
  border-color: var(--primary);
  background: white;
}

.cta-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-field-half {
  flex: 1;
}

.cta-button-row {
  display: flex;
  gap: 1rem;
}

.cta-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-input {
  padding: 0.625rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
  background: white;
  transition: all 0.2s ease;
}

.cta-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cta-title-input {
  font-weight: 600;
  font-size: 1rem;
}

.cta-desc-input {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

/* Preview */
.cta-preview {
  margin-top: 1rem;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.cta-preview-content {
  text-align: center;
  color: white;
}

.cta-preview-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.cta-preview-desc {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-preview-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  color: #667eea;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-preview-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #667eea;
  text-decoration: none;
}


/* ==========================================================================
   FAQ SCHEMA COMPONENT
   ========================================================================== */

.faq-block-editor {
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  background: #f8fafc;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.faq-header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.faq-add-btn {
  background: transparent;
  border: 1px dashed var(--primary);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-add-btn:hover {
  background: rgba(37, 99, 235, 0.05);
}

.faq-items {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  position: relative;
}

.faq-remove-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  color: #ef4444;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.faq-remove-btn:hover {
  opacity: 1;
}

.faq-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.faq-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.faq-question-wrapper {
  margin-bottom: 1rem;
}

.faq-question-input {
  font-weight: 600;
}


/* ==========================================================================
   TABLE OF CONTENTS COMPONENT
   ========================================================================== */

.toc-block-editor {
  background: #f1f5f9;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.toc-placeholder p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.toc-preview-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-preview-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.toc-preview-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.toc-preview-list ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   PUBLIC ARTICLE RESPONSIVE MOBILE OPTIMIZATIONS
   ========================================================================== */
body.public-article-page {
  overflow-x: hidden;
  width: 100%;
}

/* Prevent horizontal table overflow */
.table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--sand-deep, #e8d9c8);
}

.table-wrapper table {
  margin: 0 !important; /* Reset margin inside wrapper */
  min-width: 500px; /* Ensure content doesn't squeeze too much, triggers horizontal scroll inside the wrapper */
}

/* Responsive adjustments for mobile screens */
@media (max-width: 767px) {
  .article-header {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }
  
  .article-title {
    font-size: 1.85rem !important; /* Ensure readable title size on mobile */
    line-height: 1.25;
  }
  
  .article-excerpt {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }
  
  .article-meta {
    gap: 1rem;
    padding-bottom: 1.5rem;
  }
  
  .author-avatar {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .featured-image img {
    max-height: 320px !important;
    border-radius: 0.75rem;
  }
  
  .content-layout {
    padding-bottom: 2.5rem;
  }
  
  /* public cta block spacing */
  .cta-block-public {
    padding: 1.25rem !important;
    margin: 1.75rem 0 !important;
    border-radius: 12px !important;
  }
  
  .cta-public-title {
    font-size: 1.25rem !important;
  }
  
  .cta-public-desc {
    font-size: 0.875rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  .cta-public-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 0.75rem 1rem !important;
  }
  
  /* public faq block spacing */
  .faq-block-public {
    margin: 1.75rem 0 !important;
  }
  
  .faq-public-question {
    padding: 1rem !important;
    font-size: 0.95rem !important;
  }
  
  .faq-public-answer {
    padding: 1rem !important;
    font-size: 0.9rem !important;
  }
  
  /* toc block public mobile */
  .toc-block-public {
    padding: 1.25rem !important;
  }
}

/* Table of Contents inline block visibility rules */
.toc-block-public {
  display: block; /* Show inline in body on mobile & tablet */
}

@media (min-width: 1024px) {
  .toc-block-public {
    display: none !important; /* Hide inline in body on desktop since sidebar TOC is shown */
  }
}

/* ==========================================================================
   PUBLIC ARTICLE VIEW - HOTEL BRAND OVERRIDES
   ========================================================================== */
body.public-article-page {
  background-color: var(--linen) !important;
  color: var(--obsidian);
}

body.public-article-page .article-reader-container {
  padding-top: 7.5rem;
}

body.public-article-page .article-header {
  border-bottom: none !important; /* Removed to prevent line collision */
  padding-bottom: 2.5rem;
}

body.public-article-page .breadcrumb-list a {
  color: var(--obsidian-mid);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
}

body.public-article-page .breadcrumb-list a:hover {
  color: var(--terracotta);
}

body.public-article-page .breadcrumb-current {
  color: var(--obsidian);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
}

body.public-article-page .back-link {
  font-family: 'Outfit', sans-serif;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}

body.public-article-page .back-link:hover {
  color: var(--terracotta-deep);
}

body.public-article-page .category-badge {
  background: var(--olive-bg, rgba(107, 124, 69, 0.1));
  color: var(--olive, #6b7c45);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.public-article-page .article-title {
  font-family: 'Outfit', sans-serif;
  color: var(--obsidian);
  font-weight: 800;
}

body.public-article-page .article-excerpt {
  font-family: 'Lora', serif;
  color: var(--obsidian-mid);
  font-style: italic;
}

body.public-article-page .article-meta {
  font-family: 'Outfit', sans-serif;
  border-color: var(--sand-deep);
  color: var(--obsidian-mid);
}

body.public-article-page .article-content p {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--obsidian);
  margin-bottom: 1.6rem;
}

body.public-article-page .article-content h2, 
body.public-article-page .article-content h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--obsidian);
  font-weight: 700;
  scroll-margin-top: 100px;
}

body.public-article-page .article-content ul, 
body.public-article-page .article-content ol {
  font-family: 'Lora', serif;
  color: var(--obsidian);
}

body.public-article-page .toc-card {
  border-color: var(--sand-deep);
  background: white;
}

body.public-article-page .toc-title {
  font-family: 'Outfit', sans-serif;
  color: var(--obsidian);
}

body.public-article-page .toc-list a {
  font-family: 'Outfit', sans-serif;
  color: var(--obsidian-mid);
}

body.public-article-page .toc-list a:hover {
  color: var(--terracotta);
}

body.public-article-page .share-section {
  border-color: var(--sand-deep);
}

body.public-article-page .share-title {
  font-family: 'Outfit', sans-serif;
  color: var(--obsidian);
}

body.public-article-page .share-btn {
  background: white;
  border-color: var(--sand-deep);
  color: var(--obsidian-mid);
}

body.public-article-page .share-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}