:root {
  --ink: #0a1628;
  --ink-soft: #1a2942;
  --paper: #f7f4ed;
  --paper-warm: #efe9dc;
  --accent: #1a4d8f;
  --accent-bright: #2563b8;
  --gold: #b8893a;
  --gold-soft: #d4a85a;
  --green: #1f6e3d;
  --green-bright: #2d9456;
  --red: #a83232;
  --line: rgba(10, 22, 40, 0.12);
  --line-strong: rgba(10, 22, 40, 0.25);
}

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

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

/* ===== NAVIGATION ===== */
.blog-nav {
  background: var(--ink);
  border-bottom: 2px solid var(--gold);
}

.blog-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-brand {
  text-decoration: none;
}

.blog-brand-text {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
}

.blog-nav-links {
  display: flex;
  gap: 6px;
}

.blog-nav-links a {
  padding: 7px 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  transition: background 0.15s;
}

.blog-nav-links a:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.blog-nav-links a.active {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}

/* ===== PRE-SEARCH NOTICE ===== */
.blog-pre-search-notice {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.blog-pre-search-notice-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.blog-pre-search-notice svg {
  color: var(--gold);
  flex-shrink: 0;
}

.blog-pre-search-notice a {
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

/* ===== MAIN LAYOUT ===== */
.blog-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}

/* ===== BREADCRUMB ===== */
.blog-breadcrumb {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.blog-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-breadcrumb .sep {
  margin: 0 6px;
  color: rgba(10,22,40,0.4);
}

/* ===== ARTICLE / POST ===== */
.blog-article {
  background: white;
  border-radius: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.blog-article-hero {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--line);
}

.blog-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(184, 137, 58, 0.15);
  color: var(--gold);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.blog-title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-soft);
  align-items: center;
  flex-wrap: wrap;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta-item svg {
  color: var(--gold);
}

.blog-author-avatar {
  width: 24px;
  height: 24px;
  background: var(--ink);
  color: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 11px;
}

/* ===== ARTICLE BODY ===== */
.blog-content {
  padding: 28px 36px 36px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.blog-content p {
  margin-bottom: 16px;
}

.blog-content h2 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 32px 0 14px;
}

.blog-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}

.blog-content ul, .blog-content ol {
  margin: 12px 0 18px 24px;
}

.blog-content li {
  margin-bottom: 6px;
}

.blog-content strong {
  color: var(--ink);
  font-weight: 600;
}

.blog-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  margin: 22px 0;
  background: var(--paper-warm);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  border-radius: 0 4px 4px 0;
}

.blog-content blockquote p {
  margin: 0;
}

.blog-content code {
  background: var(--paper-warm);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--ink);
}

.blog-content a {
  color: var(--accent);
  text-decoration: underline;
}

.blog-content a:hover {
  color: var(--accent-bright);
}

.blog-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 18px 0;
}

/* ===== ARTICLE FOOTER ===== */
.blog-article-footer {
  padding: 24px 36px;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
}

.blog-share-block {
  margin-bottom: 18px;
}

.blog-share-label {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}

.blog-share-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 7px 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 11px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}

.share-btn:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.share-btn svg {
  width: 12px;
  height: 12px;
}

.blog-cta-card {
  background: var(--ink);
  color: white;
  padding: 20px;
  border-radius: 6px;
  margin-top: 16px;
  text-align: center;
}

.blog-cta-card h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--gold-soft);
  margin-bottom: 8px;
}

.blog-cta-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  line-height: 1.5;
}

.blog-cta-card .cta-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.blog-cta-card .cta-btn:hover {
  background: var(--gold-soft);
}

/* ===== BLOG LISTING ===== */
.blog-listing-header {
  margin-bottom: 32px;
}

.blog-listing-header h1 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.blog-listing-header p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 580px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-list-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 26px;
  transition: all 0.15s;
}

.blog-list-item:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(184, 137, 58, 0.1);
}

.blog-list-item h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.blog-list-item h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-list-item h3 a:hover {
  color: var(--accent);
}

.blog-list-item-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.blog-list-item-meta .topic {
  color: var(--gold);
  font-weight: 600;
}

.blog-list-item-excerpt {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}

.blog-list-item-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.blog-list-item-link:hover {
  text-decoration: underline;
}

/* ===== SIDEBAR ===== */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.sidebar-card h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.sidebar-card p {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 10px;
}

.sidebar-cta-btn {
  display: inline-block;
  width: 100%;
  padding: 9px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.sidebar-cta-btn:hover {
  background: var(--accent);
}

.sidebar-cta {
  background: var(--paper-warm);
  border: 1px solid var(--gold);
  border-left: 3px solid var(--gold);
}

.sidebar-topics {
  list-style: none;
  padding: 0;
}

.sidebar-topics li {
  border-bottom: 1px solid var(--line);
}

.sidebar-topics li:last-child {
  border-bottom: none;
}

.sidebar-topics a {
  display: flex;
  align-items: center;
  padding: 8px 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
}

.sidebar-topics a::before {
  content: '›';
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
}

.sidebar-topics a:hover {
  color: var(--accent);
}

.sidebar-newsletter {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.sidebar-newsletter h4 {
  color: var(--gold-soft);
}

.sidebar-newsletter p {
  color: rgba(255,255,255,0.7);
}

.sidebar-newsletter input {
  width: 100%;
  padding: 8px 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  color: white;
  font-size: 12px;
  font-family: inherit;
  margin-bottom: 6px;
}

.sidebar-newsletter input::placeholder {
  color: rgba(255,255,255,0.5);
}

.sidebar-newsletter button {
  width: 100%;
  padding: 8px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 3px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}

.sidebar-newsletter button:hover {
  background: var(--gold-soft);
}

.sidebar-contact {
  background: var(--paper-warm);
}

/* ===== FOOTER ===== */
.blog-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 32px 0 24px;
  margin-top: 60px;
  border-top: 3px solid var(--gold);
}

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

.blog-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}

.blog-footer-text {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.blog-footer-text strong {
  color: var(--gold-soft);
  display: block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 500;
}

.blog-footer-col h6 {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-weight: 600;
}

.blog-footer-col ul {
  list-style: none;
}

.blog-footer-col li {
  margin-bottom: 6px;
  font-size: 12px;
}

.blog-footer-col a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  cursor: pointer;
}

.blog-footer-col a:hover {
  color: var(--gold-soft);
}

.blog-newsletter-input {
  width: 100%;
  padding: 8px 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  color: white;
  font-size: 12px;
  font-family: inherit;
}

.blog-newsletter-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.blog-newsletter-submit {
  padding: 8px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  border-radius: 3px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.blog-newsletter-submit:hover {
  background: var(--gold-soft);
}

.blog-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

/* ===== CHATBOT ===== */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--ink);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.25);
  z-index: 998;
  border: 2px solid var(--gold);
  transition: transform 0.2s;
}

.chat-fab:hover { transform: scale(1.05); }

.chat-fab .chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.chat-window {
  display: none;
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--paper);
  border-radius: 12px;
  z-index: 999;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.25);
  border: 1px solid var(--line);
}

.chat-window.open {
  display: flex;
  animation: chatSlide 0.3s ease-out;
}

@keyframes chatSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.chat-header {
  background: var(--ink);
  color: white;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}

.chat-header-info { display: flex; align-items: center; gap: 10px; }

.chat-header-icon {
  width: 32px;
  height: 32px;
  background: rgba(212, 168, 90, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.chat-header-text h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 1px;
}

.chat-header-text p { font-size: 11px; color: rgba(255,255,255,0.65); }

.chat-header-status {
  font-size: 10px;
  color: var(--green-bright);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.chat-header-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green-bright);
  border-radius: 50%;
}

.chat-close { background: none; border: none; color: white; cursor: pointer; padding: 4px; opacity: 0.7; }
.chat-close:hover { opacity: 1; }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
}

.chat-message {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
}

.chat-message.bot {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.chat-message.user {
  background: var(--ink);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.chat-message strong { color: var(--ink); }

.chat-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.chat-quick-btn {
  padding: 9px 14px;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.chat-quick-btn:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.chat-form-card {
  background: white;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 14px;
}

.chat-form-card h5 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.chat-form-card p { font-size: 11px; color: var(--ink-soft); margin-bottom: 12px; }

.chat-form-row { margin-bottom: 8px; }

.chat-input-field, .chat-select-field {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
  background: white;
}

.chat-form-submit {
  width: 100%;
  padding: 9px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}

.chat-typing {
  display: inline-flex;
  gap: 3px;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--ink-soft);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* ===== POPUP ===== */
.phone-group {
  display: flex;
  gap: 6px;
}

.phone-country {
  width: 200px;
  flex-shrink: 0;
  padding: 10px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: white;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}

.phone-country:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.phone-number {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: white;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.phone-number:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 2px;
  cursor: pointer;
  width: 14px;
  height: 14px;
  accent-color: var(--gold);
}

.checkbox-row a {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.consent-block {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-block .checkbox-row {
  margin: 0;
  font-size: 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.consent-block .checkbox-row:last-child {
  margin-bottom: 0;
}

.popup-submit:disabled {
  background: #b8c1cc !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

@media (max-width: 480px) {
  .phone-group {
    flex-direction: column;
    gap: 6px;
  }
  .phone-country {
    width: 100%;
  }
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.show { display: flex; }

.popup-card {
  background: var(--paper);
  max-width: 460px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border-top: 4px solid var(--gold);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: 20px;
  z-index: 10;
}

.popup-header { padding: 28px 28px 16px; text-align: center; }

.popup-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(184, 137, 58, 0.15);
  color: var(--gold);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.popup-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 10px;
}

.popup-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

.popup-body { padding: 0 28px 24px; }

.popup-form-row { margin-bottom: 12px; }

.popup-label {
  display: block;
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  font-weight: 600;
}

.popup-input, .popup-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: white;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.popup-submit {
  width: 100%;
  padding: 12px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

.popup-submit:hover { background: var(--accent); }

.popup-footer {
  padding: 12px 28px;
  background: var(--paper-warm);
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.popup-success { text-align: center; padding: 32px 28px; }

.popup-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(31, 110, 61, 0.1);
  color: var(--green);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-success h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.popup-success p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: white;
  padding: 16px 24px;
  z-index: 999;
  display: none;
  border-top: 3px solid var(--gold);
}

.cookie-banner.show {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.cookie-text strong { color: var(--gold-soft); }
.cookie-text a { color: var(--gold-soft); text-decoration: underline; cursor: pointer; }

.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-btn {
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid;
  font-family: inherit;
}

.cookie-btn.accept { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cookie-btn.accept:hover { background: var(--gold-soft); }
.cookie-btn.learn { background: transparent; color: white; border-color: rgba(255,255,255,0.3); }
.cookie-btn.learn:hover { background: rgba(255,255,255,0.1); }

/* ===== LEGAL MODAL ===== */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.7);
  z-index: 1300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-modal.show { display: flex; }

.legal-modal-card {
  background: var(--paper);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--gold);
}

.legal-modal-header {
  padding: 20px 28px;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-modal-header h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold-soft);
}

.legal-modal-close {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.legal-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 14px;
}

.legal-modal-body h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--ink);
  font-size: 16px;
  margin: 18px 0 8px;
}

.legal-modal-body h4:first-child { margin-top: 0; }

.legal-modal-body p { margin-bottom: 10px; }
.legal-modal-body strong { color: var(--ink); }
.legal-modal-body em { color: var(--gold); font-style: normal; font-weight: 500; }
.legal-modal-body ul { margin: 8px 0 12px 20px; }
.legal-modal-body li { margin-bottom: 4px; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 1200;
  opacity: 0;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border-left: 3px solid var(--gold);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; gap: 32px; }
  .blog-title { font-size: 28px; }
  .blog-content { padding: 22px 24px 28px; }
  .blog-article-hero { padding: 24px 24px 18px; }
  .blog-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .chat-window { width: 100%; height: 100%; bottom: 0; right: 0; max-width: 100%; max-height: 100%; border-radius: 0; }
  .chat-fab { bottom: 16px; right: 16px; }
}

/* ===== PRINT ===== */
@media print {
  .blog-nav, .blog-pre-search-notice, .blog-sidebar,
  .chat-fab, .chat-window, .cookie-banner, .popup-overlay,
  .toast, .blog-footer, .legal-modal, .blog-share-block,
  .blog-cta-card, .blog-breadcrumb {
    display: none !important;
  }
  .blog-article { box-shadow: none !important; border: 1px solid #ccc !important; }
  .blog-layout { grid-template-columns: 1fr; }
  body { background: white; font-size: 11pt; }
  @page { margin: 1.5cm; }
}

/* ============================================
   PREMIUM MAGAZINE STYLE - v2.0
   Redesigned blog post components
   ============================================ */

/* Hero with gradient background */
.blog-hero-premium {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.blog-hero-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 168, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(212, 168, 90, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.blog-hero-premium > * {
  position: relative;
  z-index: 1;
}

.blog-hero-premium .blog-eyebrow {
  background: rgba(212, 168, 90, 0.15);
  color: var(--gold-soft);
  border: 1px solid rgba(212, 168, 90, 0.3);
}

.blog-hero-premium .blog-title {
  color: white;
  font-family: 'Fraunces', serif;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.blog-hero-premium .blog-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 28px;
  font-weight: 400;
  max-width: 640px;
}

.blog-hero-premium .blog-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(212, 168, 90, 0.2);
  flex-wrap: wrap;
}

.blog-hero-premium .blog-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-hero-premium .blog-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
}

.blog-hero-premium .blog-author-info { line-height: 1.2; }

.blog-hero-premium .blog-author-name {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.blog-hero-premium .blog-author-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 3px;
}

.blog-hero-premium .blog-meta-pills {
  display: flex;
  gap: 14px;
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.blog-hero-premium .blog-meta-pills span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Method Overview Grid (table of contents style) */
.method-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 28px 0 36px;
}

.method-overview-card {
  background: var(--paper-warm);
  border: 1px solid rgba(184, 137, 58, 0.2);
  border-radius: 8px;
  padding: 14px 18px;
  transition: all 0.15s;
}

.method-overview-card:hover {
  border-color: var(--gold);
  background: white;
  transform: translateY(-1px);
}

.method-overview-card .method-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.method-overview-card .method-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* Numbered Method Headings */
.method-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 16px;
  padding-bottom: 0;
  border-bottom: none;
}

.method-heading .method-circle {
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 17px;
  flex-shrink: 0;
}

.method-heading h2 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
}

/* Premium Callout Boxes */
.callout-premium {
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0;
  border-left: 4px solid;
  background: white;
}

.callout-premium .callout-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout-premium .callout-content {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.callout-premium.warning {
  border-left-color: #b8893a;
  background: #fdf6e9;
}

.callout-premium.warning .callout-label { color: #8b6914; }
.callout-premium.warning .callout-content { color: #4a3818; }

.callout-premium.tip {
  border-left-color: var(--accent);
  background: #eef4fc;
}

.callout-premium.tip .callout-label { color: var(--accent); }
.callout-premium.tip .callout-content { color: #1a3a6c; }

.callout-premium.danger {
  border-left-color: #c54a3f;
  background: #fdecea;
}

.callout-premium.danger .callout-label { color: #962e26; }
.callout-premium.danger .callout-content { color: #5e1a14; }

.callout-premium.success {
  border-left-color: #2d8659;
  background: #e8f5ee;
}

.callout-premium.success .callout-label { color: #1a5a3a; }
.callout-premium.success .callout-content { color: #0d3525; }

/* Step-by-step Boxes */
.steps-box {
  background: #f5f8fa;
  border: 1px solid #e0e7ec;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 16px 0;
}

.steps-box .steps-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.steps-box .step-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #444;
  line-height: 1.55;
  margin-bottom: 10px;
}

.steps-box .step-item:last-child { margin-bottom: 0; }

.steps-box .step-arrow {
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
}

/* Pull Quote */
.pull-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 28px 0;
  font-weight: 400;
}

.pull-quote::before {
  content: '"';
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
  margin-right: 4px;
}

/* Premium CTA */
.cta-premium {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  padding: 32px 36px;
  border-radius: 12px;
  margin: 36px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-premium::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 168, 90, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-premium .cta-eyebrow {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.cta-premium .cta-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  color: white;
  margin: 0 0 10px;
  line-height: 1.25;
}

.cta-premium .cta-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0 0 22px;
}

.cta-premium .cta-btn {
  background: var(--gold);
  color: var(--ink);
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-premium .cta-btn:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

/* Red Flag Boxes */
.red-flag-box {
  background: #fff8f7;
  border: 1px solid #f5cdc8;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 22px 0;
}

.red-flag-box .red-flag-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #962e26;
  margin-bottom: 14px;
}

.red-flag-box .red-flag-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.red-flag-box .red-flag-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: #5e1a14;
  border-bottom: 1px solid #f8dcd6;
}

.red-flag-box .red-flag-list li:last-child { border-bottom: none; }

.red-flag-box .red-flag-list li::before {
  content: '⊘';
  position: absolute;
  left: 0;
  top: 8px;
  color: #c54a3f;
  font-size: 16px;
  font-weight: 700;
}

/* Premium FAQ */
.faq-premium {
  background: var(--paper-warm);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 36px 0;
}

.faq-premium .faq-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-premium .faq-heading {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 20px;
  font-weight: 500;
}

.faq-premium .faq-item {
  background: white;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(184, 137, 58, 0.15);
}

.faq-premium .faq-item:last-child { margin-bottom: 0; }

.faq-premium .faq-question {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
}

.faq-premium .faq-answer {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 9999;
  transition: width 0.1s ease;
  width: 0;
}

/* Better article body styling */
.blog-article-content-premium {
  padding: 36px 40px;
}

.blog-article-content-premium > p {
  font-size: 16px;
  line-height: 1.75;
  color: #2a2a2a;
  margin: 0 0 18px;
}

.blog-article-content-premium > p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--ink);
  float: left;
  line-height: 1;
  padding: 4px 8px 0 0;
}

@media (max-width: 768px) {
  .blog-hero-premium {
    padding: 32px 24px;
  }
  .blog-hero-premium .blog-title {
    font-size: 28px;
  }
  .blog-hero-premium .blog-meta-pills {
    margin-left: 0;
    width: 100%;
  }
  .blog-article-content-premium {
    padding: 24px 24px;
  }
  .method-heading h2 {
    font-size: 20px;
  }
  .cta-premium {
    padding: 24px 22px;
  }
  .cta-premium .cta-title {
    font-size: 22px;
  }
  .blog-article-content-premium > p:first-of-type::first-letter {
    font-size: 40px;
  }
}
