/* ==========================================================================
   Blog reading + editor experience
   Arch Design by B — editorial article system
   ========================================================================== */

.blog-page,
.article-page,
.blog-editor-body,
.insert-shell {
  --adbb-blush: #C8A5AD;
  --adbb-blush-dark: #9F747E;
  --adbb-blush-pale: #F6EEF0;
  --adbb-offwhite: #FCFAF9;
  --adbb-text: #171515;
  --adbb-text-muted: #665F61;
  --adbb-border: #E9DDE0;
  --adbb-white: #FFFFFF;
  --adbb-body: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
  --article-width: 800px;
  --blog-paper: #FCFAF9;
  --blog-card: #FFFFFF;
  --blog-ink: #171515;
  --blog-muted: #665F61;
  --blog-line: #E9DDE0;
  --blog-rose: #C8A5AD;
  --blog-rose-deep: #9F747E;
  --blog-shadow: 0 18px 50px rgba(23, 21, 21, 0.05);
}

.blog-page,
.article-page {
  background: var(--adbb-offwhite);
  color: var(--adbb-text);
}

.article-shell {
  overflow-x: clip;
}

.blog-page .read-wrapper,
.article-page .article-layout {
  display: grid !important;
  background: transparent !important;
}

.blog-page .read-left,
.article-page .article-content {
  display: block;
  align-items: stretch;
  border-right: 0;
  padding-right: 0;
}

.blog-page #post-title,
.article-page #post-title {
  text-align: left;
  font-weight: 500;
}

.moodboard-iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 16px;
}

#moodboard:empty,
.article-eyebrow:empty,
.article-deck:empty,
.article-hero-date:empty {
  display: none;
}

.blog-page .main-content,
.article-main {
  background: var(--adbb-offwhite);
  padding-left: 0;
  padding-right: 0;
}

.preview-mode-banner {
  max-width: var(--article-width);
  margin: 0.75rem auto 0;
  padding: 0 1.35rem;
}

.article-shell.has-shop .preview-mode-banner {
  max-width: 1180px;
}

.preview-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #F3E2A9;
  border-radius: 12px;
  background: #FFF8DC;
  color: #7A5C12;
}

.preview-mode-copy {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.preview-edit-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.preview-edit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--adbb-text);
  user-select: none;
}

.preview-edit-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.preview-edit-switch {
  width: 2.4rem;
  height: 1.3rem;
  border-radius: 999px;
  background: #E6D7A8;
  border: 1px solid #D4C07A;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.preview-edit-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 21, 21, 0.18);
  transition: transform 0.2s ease;
}

.preview-edit-toggle input:checked + .preview-edit-switch {
  background: var(--adbb-blush-dark);
  border-color: var(--adbb-blush-dark);
}

.preview-edit-toggle input:checked + .preview-edit-switch::after {
  transform: translateX(1.05rem);
}

.preview-edit-toggle-label {
  font-size: 0.9rem;
}

.preview-edit-save {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  background: var(--adbb-blush-dark);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

.preview-edit-save:disabled {
  opacity: 0.6;
  cursor: wait;
}

.preview-edit-status {
  font-size: 0.8rem;
  color: var(--adbb-text-muted);
}

.preview-edit-status.is-error {
  color: #9F3B3B;
}

.is-preview-editing #post-title,
.is-preview-editing #article-deck,
.is-preview-editing #post-content {
  outline: 1.5px dashed var(--adbb-blush);
  outline-offset: 8px;
  border-radius: 10px;
  cursor: text;
}

.is-preview-editing #article-deck:empty {
  display: block;
  min-height: 1.4em;
}

.is-preview-editing #article-deck:empty::before {
  content: "Add a short deck…";
  color: var(--adbb-text-muted);
}

.is-preview-editing #post-content img,
.is-preview-editing #post-content iframe {
  pointer-events: none;
}

.article-toolbar,
.blog-toolbar {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 1rem 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.article-shell.has-shop .article-toolbar,
.article-shell.has-shop .blog-toolbar,
.article-shell.has-shop .article-nav,
.article-shell.has-shop .blog-nav {
  max-width: 1180px;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--adbb-white);
  color: var(--adbb-text);
  font-weight: 600;
  border: 1px solid var(--adbb-border);
  text-decoration: none;
}

.blog-back-link:hover {
  background: var(--adbb-text);
  color: var(--adbb-white);
  border-color: var(--adbb-text);
}

.article-hero {
  width: 100%;
  background: var(--adbb-blush-pale);
  border-bottom: 1px solid var(--adbb-border);
  margin: 1.25rem 0 0;
}

.article-hero-inner {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 3.5rem 1.35rem 3rem;
}

.article-shell.has-shop .article-hero-inner {
  max-width: 1180px;
}

.article-shell.has-shop .article-hero-inner > * {
  max-width: var(--article-width);
}

.article-eyebrow {
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--adbb-blush-dark);
  margin-bottom: 1.1rem;
}

.article-hero h1,
#post-title,
.blog-article-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--adbb-text);
  margin: 0 0 1rem;
  max-width: 18ch;
}

.article-deck {
  font-family: "Raleway", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--adbb-text-muted);
  margin: 0;
  max-width: 42rem;
}

.article-hero-date {
  display: block;
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--adbb-text-muted);
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--adbb-text-muted);
}

.article-hero-meta .article-hero-date {
  margin-top: 0;
}

.article-hero-meta .article-hero-date:not(:empty) + .article-hero-readtime::before {
  content: "\00B7";
  margin: 0 0.6em;
}

.article-layout,
.read-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 2.75rem 1.35rem 4.5rem;
  background: transparent;
  border-radius: 0;
  align-items: start;
}

.article-shell.has-shop .article-layout,
.blog-page .read-wrapper.has-shop {
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
}

.blog-page .read-wrapper:not(.has-shop) .read-right,
.article-shell:not(.has-shop) .read-right {
  display: none;
}

.article-content,
.read-left {
  min-width: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  border: 0;
}

.read-right,
.article-shop {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  background: var(--adbb-white);
  border: 1px solid var(--adbb-border);
  border-radius: 18px;
  box-shadow: none;
  padding: 1.5rem 1.25rem 1.75rem;
  position: sticky;
  top: 6.5rem;
}

.article-content #moodboard,
.article-figure,
.blog-figure,
.blog-moodboard {
  margin: 0 0 2.75rem;
}

#moodboard > div,
.moodboard-center,
.moodboard-container {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto;
}

.moodboard-container { padding: 0; display: block; }

.moodboard-wrapper {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 11 / 17;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
}

.article-figure img,
.moodboard-image,
.moodboard-preview,
#post-content img,
.blog-figure img,
.blog-pair img,
.wysiwyg-editor img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  border-radius: 16px;
  box-shadow: none;
  margin: 0;
  background: var(--adbb-blush-pale);
  object-fit: cover;
}

.article-figure figcaption,
#post-content figcaption,
#post-content img + p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--adbb-text-muted);
  font-style: normal;
  margin: 0.65rem 0 0;
}

#post-content,
.article-content,
.blog-article-body,
.wysiwyg-editor {
  font-family: var(--adbb-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--adbb-text);
  max-width: none;
}

#post-content p,
.article-section p,
.blog-article-body p,
.wysiwyg-editor p,
#post-content .blog-block {
  margin: 0 0 1.25rem;
  font-family: var(--adbb-body) !important;
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
  background: transparent !important;
  color: var(--adbb-text) !important;
  text-align: left !important;
}

#post-content .article-cta p,
.wysiwyg-editor .article-cta p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1rem !important;
  text-align: left !important;
}

#post-content .article-question-card p,
.wysiwyg-editor .article-question-card p {
  color: var(--adbb-text-muted) !important;
}

#post-content > div:not(.article-cta):not(.article-callout):not(.article-question-card):not(.article-figure):not(.blog-pair):not(.blog-block),
.wysiwyg-editor > div:not(.article-cta):not(.article-callout):not(.article-question-card):not(.article-figure):not(.blog-pair):not(.blog-block):not(.editor-insert-slot):not(.article-cta-actions) {
  background: transparent !important;
  font-family: var(--adbb-body);
}

#post-content > p:first-child,
#post-content > div:first-child > p:first-child,
.article-lead {
  font-family: var(--adbb-body) !important;
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
  color: var(--adbb-text) !important;
  margin-bottom: 1.6rem;
}

.article-section {
  margin: 2.75rem 0 0;
}

.article-toc-dock {
  position: fixed;
  top: var(--article-header-offset, 4.5rem);
  left: 0;
  right: 0;
  z-index: 42;
  width: 100%;
  margin: 0;
  pointer-events: none;
}

.article-toc-dock[hidden] {
  display: none !important;
}

.article-toc-tab,
.article-toc-sheet {
  pointer-events: auto;
}

.article-toc-tab {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.article-toc-tab-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: #171515;
  transform: translateY(-50%);
}

.article-toc-tab-label {
  position: relative;
  z-index: 1;
  display: none !important;
  align-items: center;
  gap: 0.55rem;
  min-height: 1.85rem;
  padding: 0.28rem 0.55rem 0.28rem 0.9rem;
  border-radius: 999px;
  background: #171515;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-toc-tab-label::after {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #171515;
  box-shadow: 0 0 0 2px #fff;
}

.article-toc-dock.is-open .article-toc-tab {
  height: 2.4rem;
}

.article-toc-dock.is-open .article-toc-tab-label {
  display: inline-flex !important;
}

.article-toc-tab-knob {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  z-index: 1;
  width: 0.95rem;
  height: 0.95rem;
  border: 3px solid #171515;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.article-toc-sheet {
  display: none;
  width: min(var(--article-width), 100%);
  max-height: min(60vh, 22rem);
  overflow: auto;
  margin: 0 auto;
  padding: 0.85rem 1.15rem 1rem;
  background: #FCFAF9;
  border-bottom: 1px solid var(--adbb-border);
  box-shadow: 0 14px 28px rgba(23, 21, 21, 0.08);
}

.article-toc-dock.is-open .article-toc-sheet {
  display: block;
}

.article-toc {
  margin: 0;
  padding: 0;
  border: 0;
}

body.has-article-toc .article-main {
  padding-top: calc(var(--article-header-offset, 5rem) + 1.6rem) !important;
}

.article-toc-label {
  margin: 0 0 0.7rem;
  font-family: "Raleway", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--adbb-blush-dark);
}

.article-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.article-toc-list a {
  display: block;
  color: var(--adbb-text);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.15rem 0 0.15rem 0.85rem;
  border-left: 2px solid var(--adbb-border);
}

.article-toc-list a:hover,
.article-toc-list a.is-active {
  color: var(--adbb-blush-dark);
  border-left-color: var(--adbb-blush-dark);
}

#post-content h2,
.article-section h2,
.article-content h2,
.blog-article-body h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--adbb-text);
  margin: 2.75rem 0 1rem;
  scroll-margin-top: 6.5rem;
}

#post-content h3,
.article-section h3,
.article-content h3,
.blog-article-body h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--adbb-text);
  margin: 2rem 0 0.75rem;
}

#post-content strong { font-weight: 600; }
#post-content em { font-style: italic; }

#post-content a {
  color: var(--adbb-blush-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#post-content a:hover { color: var(--adbb-text); }

#post-content ul,
#post-content ol {
  margin: 0 0 1.5rem 1.2rem;
}

#post-content li { margin: 0.4rem 0; }

#post-content img.size-small,
#post-content img.size-medium,
#post-content img.size-large,
.size-small,
.size-medium,
.size-large {
  width: 100%;
  max-width: 100%;
  height: auto !important;
}

.blog-figure,
.blog-block,
.blog-pair,
#post-content [data-aos] {
  margin: 0 0 2rem;
}

.article-page #post-content [data-aos="fade-up"],
.article-page .article-content [data-aos="fade-up"],
.article-page #moodboard [data-aos="fade-up"] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 800ms ease-in-out, transform 800ms ease-in-out;
  will-change: opacity, transform;
}

.article-page #post-content [data-aos="fade-up"].is-inview,
.article-page .article-content [data-aos="fade-up"].is-inview,
.article-page #moodboard [data-aos="fade-up"].is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .article-page #post-content [data-aos="fade-up"],
  .article-page .article-content [data-aos="fade-up"],
  .article-page #moodboard [data-aos="fade-up"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.blog-pair,
.img-text-row,
#post-content .img-text-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
}

.article-callout {
  background: var(--adbb-blush-pale);
  border-left: 3px solid var(--adbb-blush-dark);
  padding: 1.25rem 1.35rem;
  margin: 2rem 0;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--adbb-text);
}

.article-callout strong { font-weight: 600; }

.article-question-card {
  background: var(--adbb-blush-pale) !important;
  border: 1px solid var(--adbb-border);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  margin: 2rem 0;
}

.article-question-card strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.article-question-card p {
  margin: 0;
  color: var(--adbb-text-muted);
}

.article-cta,
#post-content .article-cta,
#wysiwyg-editor .article-cta,
.wysiwyg-editor .article-cta {
  background: #171515;
  color: #fff;
  border-radius: 18px;
  padding: 2rem 1.75rem;
  margin: 2.75rem 0;
}

#post-content .article-cta h3,
#wysiwyg-editor .article-cta h3,
.blog-article-body .article-cta h3,
.wysiwyg-editor .article-cta h3,
.article-content .article-cta h3,
.article-cta h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.75rem;
}

#post-content .article-cta p,
#wysiwyg-editor .article-cta p,
.blog-article-body .article-cta p,
.wysiwyg-editor .article-cta p,
.article-cta p {
  color: rgba(255,255,255,0.82);
  margin: 0 0 1.4rem;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.primary-button,
#post-content .article-cta a.primary-button,
#wysiwyg-editor .article-cta a.primary-button,
.wysiwyg-editor .article-cta a.primary-button,
.article-cta .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--adbb-blush);
  color: #171515;
  font-weight: 700;
  text-decoration: none;
}

.secondary-button,
#post-content .article-cta a.secondary-button,
#wysiwyg-editor .article-cta a.secondary-button,
.wysiwyg-editor .article-cta a.secondary-button,
.article-cta .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--adbb-blush);
  color: #fff;
  background: transparent;
  font-weight: 700;
  text-decoration: none;
}

#wysiwyg-editor .article-cta a.primary-button::after,
#wysiwyg-editor .article-cta a.secondary-button::after,
.wysiwyg-editor .article-cta a.primary-button::after,
.wysiwyg-editor .article-cta a.secondary-button::after {
  content: "\2192";
  margin-left: 0.45rem;
  font-weight: 700;
  text-decoration: none;
}

.article-freebie {
  background: var(--adbb-blush-pale);
  border: 1px solid var(--adbb-border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  margin: 2.75rem 0;
}

.freebie-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--adbb-blush-dark);
  margin-bottom: 0.7rem;
}

.article-freebie h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  margin: 0 0 0.7rem;
}

.article-freebie p { color: var(--adbb-text-muted); }

.article-signature,
#about-bea {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-align: left;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid var(--adbb-border);
  margin-top: 3.5rem;
  padding: 2rem 0 0;
}

.article-signature img,
#about-bea img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  margin: 0;
}

.article-signature strong,
#about-bea .article-signature-name {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--adbb-text);
}

.article-signature-copy {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--adbb-text-muted);
}

.article-signature-tagline {
  display: inline-block;
  font-style: italic;
  margin-top: 0.2rem;
}

.post-meta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--adbb-text-muted);
  text-align: left;
  margin: 2.25rem 0 0;
  padding-top: 0;
  border: 0;
}

.shop-header { margin-bottom: 1.25rem; }
.shop-title {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin: 0;
}

.read-right .product-list {
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  overflow: visible;
}

.read-right .product-card {
  background: var(--adbb-offwhite);
  border-radius: 14px;
  overflow: hidden;
}

.article-nav,
.blog-nav {
  max-width: var(--article-width);
  margin: 0 auto 4rem;
  padding: 0 1.35rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.article-nav button,
.blog-nav button {
  min-width: 140px;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--adbb-border);
  border-radius: 999px;
  background: var(--adbb-white);
  color: var(--adbb-text);
  box-shadow: none;
}

@media (max-width: 1199px) {
  .article-shell.has-shop .article-toolbar,
  .article-shell.has-shop .blog-toolbar,
  .article-shell.has-shop .article-nav,
  .article-shell.has-shop .blog-nav,
  .article-shell.has-shop .article-hero-inner,
  .article-layout,
  .read-wrapper,
  .blog-page .read-wrapper.has-shop,
  .article-shell.has-shop .article-layout {
    max-width: var(--article-width);
    grid-template-columns: 1fr;
  }

  .article-shell.has-shop .article-hero-inner > * {
    max-width: none;
  }

  .read-right,
  .article-shop {
    position: static;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .article-layout,
  .read-wrapper,
  .blog-page .read-wrapper.has-shop,
  .article-shell.has-shop .article-layout {
    grid-template-columns: 1fr;
    max-width: var(--article-width);
    gap: 1.75rem;
    padding: 2rem 1.25rem 3.5rem;
  }

  .article-hero-inner { padding: 2.4rem 1.25rem 2.1rem; }
  .article-hero h1, #post-title { max-width: none; }
  #post-content h2, .article-section h2 { font-size: 1.75rem; }

  .read-right, .article-shop {
    position: static;
    max-height: none;
  }

  .article-cta-actions { flex-direction: column; }
  .primary-button, .secondary-button { width: 100%; }

  .blog-page #post-title,
  .article-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .blog-pair,
  .img-text-row,
  #post-content .img-text-row,
  #post-content div[style*="display:flex"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #post-content img.size-small,
  #post-content img.size-medium,
  #post-content img.size-large,
  .size-small,
  .size-medium,
  .size-large {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ==========================================================================
   Shared insert-content modal
   ========================================================================== */

.insert-shell,
.tips-shell,
.new-post-shell {
  width: min(720px, 94vw);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 1.75rem 1.75rem 1.85rem;
  box-shadow: 0 24px 70px rgba(29, 29, 27, 0.18);
  position: relative;
}

.modal-content.insert-shell,
.modal-content.tips-shell,
.modal-content.new-post-shell {
  margin: 0;
  padding: 1.75rem 1.75rem 1.85rem;
  max-width: 720px;
}

.insert-shell h2,
.tips-shell h2,
.new-post-shell h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  margin: 0 0 0.35rem;
  padding-right: 2rem;
}

.new-post-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.new-post-optional {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #8a827e;
}

.new-post-shell .modal-close-btn,
.insert-shell .modal-close-btn,
.tips-shell .modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4efed;
  line-height: 1;
}

.new-post-shell .insert-actions {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0));
  padding-top: 0.75rem;
}

.new-post-shell .insert-actions .btn-primary,
.new-post-shell .insert-actions .btn-secondary {
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.new-post-shell .insert-actions .btn-primary {
  background: #1d1d1b;
  color: #fff;
}

.new-post-shell .insert-actions .btn-secondary {
  background: #f3eeec;
  color: #1d1d1b;
}

.insert-lead,
.tips-lead {
  color: var(--blog-muted);
  margin-bottom: 1.25rem;
}

.insert-tabs,
.insert-sizes,
.insert-layouts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.insert-tab,
.insert-choice {
  border: 1px solid var(--blog-line);
  background: #faf7f6;
  color: var(--blog-ink);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.insert-tab.active,
.insert-choice.active {
  background: var(--blog-ink);
  color: #fff;
  border-color: var(--blog-ink);
}

.insert-field {
  margin-bottom: 1rem;
}

.insert-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.25rem 0 1rem;
  font-weight: 600;
  color: var(--blog-ink);
  cursor: pointer;
}

.insert-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--adbb-blush-dark, #9F747E);
}

.insert-field label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.insert-field input,
.insert-field textarea,
.insert-field select {
  width: 100%;
  border: 1px solid #e6dedb;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fff;
}

.insert-preview {
  min-height: 140px;
  border: 1px dashed #d9cfcb;
  border-radius: 16px;
  background: #faf7f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
  padding: 0.75rem;
}

.insert-preview img {
  max-width: 100%;
  max-height: 260px;
  width: auto;
  height: auto;
  border-radius: 12px;
}

.insert-preview .article-callout,
.insert-preview .article-question-card,
.wysiwyg-editor .article-callout,
.wysiwyg-editor .article-question-card {
  width: 100%;
  margin: 0.35rem 0;
}

.insert-preview-empty {
  color: var(--blog-muted);
  text-align: center;
  padding: 1.5rem;
}

.insert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.block-edit-photo {
  margin-top: 0.75rem;
}

.insert-actions button,
.editor-header-nav .btn-primary,
.editor-header-nav .btn-secondary {
  min-height: 44px;
}

.insert-note {
  font-size: 0.9rem;
  color: #7a5960;
  background: rgba(200, 165, 173, 0.14);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
}

.tips-grid {
  display: grid;
  gap: 0.85rem;
}

.tip-card {
  background: #faf7f6;
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.tip-card strong { display: block; margin-bottom: 0.25rem; }

.tip-card code {
  display: inline-block;
  margin-top: 0.35rem;
}

/* ==========================================================================
   CSV editor chrome + mobile cards
   ========================================================================== */

.editor-body.blog-editor-body {
  width: 100%;
  min-width: 0;
  padding: 1rem 1rem 3rem;
  background: #f7f3f1;
}

.editor-fixed-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
}

.editor-header-title {
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
  flex: 1 1 auto;
}

.editor-menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: #1d1d1b;
  color: #fff;
  font-weight: 700;
}

.editor-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.editor-mobile-list {
  display: none;
  gap: 1rem;
}

.editor-post-card {
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(29, 29, 27, 0.06);
}

.editor-post-card.selected {
  outline: 2px solid #c8a5ad;
}

.editor-post-card-top {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
}

.editor-post-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: #eee;
}

.editor-post-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  margin: 0 0 0.3rem;
}

.editor-post-card-meta {
  color: #6f6a67;
  font-size: 0.85rem;
}

.editor-post-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.editor-post-card-actions a,
.editor-post-card-actions button {
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  text-decoration: none;
}

.editor-card-primary {
  background: #1d1d1b;
  color: #fff;
}

.editor-card-secondary {
  background: #f3eeec;
  color: #1d1d1b;
}

.editor-card-fields {
  display: none;
  margin-top: 0.85rem;
}

.editor-post-card.expanded .editor-card-fields {
  display: grid;
  gap: 0.7rem;
}

.editor-tools-dock {
  position: fixed;
  top: var(--editor-header-offset, 4.5rem);
  left: 0;
  right: 0;
  z-index: 48;
  width: 100%;
  margin: 0;
  pointer-events: none;
}

.editor-tools-tab,
.editor-tools-dock .wysiwyg-toolbar {
  pointer-events: auto;
}

.editor-tools-tab {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.editor-tools-tab-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: #171515;
  transform: translateY(-50%);
}

.editor-tools-tab-label {
  position: relative;
  z-index: 1;
  display: none !important;
  align-items: center;
  gap: 0.55rem;
  min-height: 1.85rem;
  padding: 0.28rem 0.55rem 0.28rem 0.9rem;
  border-radius: 999px;
  background: #171515;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editor-tools-tab-label::after {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #171515;
  box-shadow: 0 0 0 2px #fff;
}

.editor-tools-dock.is-open .editor-tools-tab {
  height: 2.4rem;
}

.editor-tools-dock.is-open .editor-tools-tab-label {
  display: inline-flex !important;
}

.editor-tools-tab-knob {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  z-index: 1;
  width: 0.95rem;
  height: 0.95rem;
  border: 3px solid #171515;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.editor-tools-dock .wysiwyg-toolbar {
  display: none !important;
  position: relative;
  top: auto;
  z-index: 5;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.editor-tools-dock.is-open .wysiwyg-toolbar {
  display: flex !important;
}

.editor-tools-dock .toolbar-btn {
  white-space: nowrap;
  flex: 0 0 auto;
}

body.has-editor-tools .main-content {
  padding-top: calc(var(--editor-header-offset, 5rem) + 1.6rem) !important;
}

@media (min-width: 1200px) {
  .editor-tools-tab {
    display: none !important;
  }

  .editor-tools-dock .wysiwyg-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    overflow: visible;
  }

  body.has-editor-tools .main-content {
    padding-top: calc(var(--editor-header-offset, 5rem) + 5.5rem) !important;
  }
}

.wysiwyg-toolbar .toolbar-btn-save {
  background: #171515;
  color: #fff;
  border-color: #171515;
}

.wysiwyg-toolbar .toolbar-btn-save:hover {
  background: #9F747E;
  border-color: #9F747E;
  color: #fff;
}

.wysiwyg-container {
  display: grid;
  gap: 0.75rem;
}

.block-inspector {
  position: fixed;
  top: -9999px;
  left: 0;
  z-index: 60;
  display: block;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--adbb-border, #E9DDE0);
  border-radius: 14px;
  background: var(--adbb-blush-pale, #F6EEF0);
  max-width: min(45rem, calc(100vw - 2rem));
  box-shadow: 0 18px 40px rgba(23, 21, 21, 0.16);
}

.block-inspector.is-floating {
  max-height: min(70vh, 32rem);
  overflow: auto;
}

.block-inspector.is-floating.is-collapsed {
  max-height: none;
  overflow: visible;
}

.block-inspector.is-collapsed .block-inspector-groups {
  display: none;
}

.block-inspector-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.block-inspector-icon-btn {
  min-height: 32px;
  padding: 0.3rem 0.7rem;
  border: 1px solid #E9DDE0;
  border-radius: 999px;
  background: #fff;
  color: #171515;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.block-inspector-icon-btn:hover {
  border-color: #9F747E;
  background: #F6EEF0;
}

#block-inspector-close {
  color: #9F747E;
}

.block-inspector[hidden],
.block-inspector .hidden-content,
.block-inspector-cta-secondary[hidden] {
  display: none !important;
}

.block-inspector-empty {
  color: var(--adbb-text-muted, #665F61);
  font-size: 0.9rem;
}

.block-inspector-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  width: 100%;
}

.block-inspector-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.block-inspector-type {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
}

.block-inspector-move {
  display: flex;
  gap: 0.45rem;
}

.block-move-btn {
  min-height: 32px;
  padding: 0.3rem 0.7rem;
  border: 1px solid #E9DDE0;
  border-radius: 999px;
  background: #fff;
  color: #171515;
  font-weight: 700;
  cursor: pointer;
}

.block-move-btn:hover:not(:disabled) {
  border-color: #9F747E;
  background: #F6EEF0;
}

.block-move-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.block-inspector-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.block-inspector-group {
  background: #fff;
  border: 1px solid var(--adbb-border, #E9DDE0);
  border-radius: 12px;
  padding: 0.65rem 0.75rem 0.75rem;
  min-width: 0;
}

.block-inspector-cta,
.block-inspector-image {
  grid-column: 1 / -1;
}

.block-inspector-group-title,
.block-inspector-sub-title {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adbb-text-muted, #665F61);
}

.block-inspector-sub + .block-inspector-sub,
.block-inspector-image .block-inspector-caption {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--adbb-border, #E9DDE0);
}

.block-inspector-checks,
.block-inspector-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
}

.block-inspector-check,
.block-inspector-sizes label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}

.block-inspector-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
}

.block-inspector-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adbb-text-muted, #665F61);
  margin-bottom: 0.2rem;
}

.block-inspector-caption {
  display: grid;
  min-width: 0;
}

.block-inspector-caption input {
  width: 100%;
  border: 1px solid var(--adbb-border, #E9DDE0);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font: inherit;
}

@media (max-width: 800px) {
  .block-inspector-groups,
  .block-inspector-fields {
    grid-template-columns: 1fr;
  }
}

.insert-preview .article-cta {
  width: 100%;
  margin: 0;
}

.wysiwyg-editor {
  min-height: 420px;
  font-size: 1.05rem;
  line-height: 1.75;
  overflow-anchor: none;
}

.wysiwyg-editor [data-aos],
.wysiwyg-editor [data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.wysiwyg-editor.is-active > *:not(.editor-insert-slot):not(.editor-br-mark):not(br) {
  outline: 1px dashed #E9DDE0;
  border-radius: 12px;
  position: relative;
}

.wysiwyg-editor.is-active > p,
.wysiwyg-editor.is-active > h2,
.wysiwyg-editor.is-active > h3,
.wysiwyg-editor.is-active > div,
.wysiwyg-editor.is-active > .article-callout,
.wysiwyg-editor.is-active > .article-question-card,
.wysiwyg-editor.is-active > .blog-block {
  padding: 0.65rem 0.8rem;
}

.wysiwyg-editor.is-active > .article-cta {
  padding: 2rem 1.75rem;
}

.wysiwyg-editor.is-active > * p,
.wysiwyg-editor.is-active > * h2,
.wysiwyg-editor.is-active > * h3 {
  outline: none;
}

.wysiwyg-editor.is-active .is-selected-block {
  outline: 2px solid #9F747E;
  outline-offset: 2px;
  background: rgba(246, 238, 240, 0.55) !important;
  padding-top: 3.25rem;
  overflow: visible;
}

#wysiwyg-editor.is-active .article-cta.is-selected-block,
.wysiwyg-editor.is-active .article-cta.is-selected-block {
  background: #171515 !important;
  color: #fff;
  outline: 2px dashed #C8A5AD;
  outline-offset: 4px;
  padding: 2rem 1.75rem;
}

#wysiwyg-editor.is-active .article-cta.is-selected-block h3,
.wysiwyg-editor.is-active .article-cta.is-selected-block h3 {
  color: #fff !important;
}

#wysiwyg-editor.is-active .article-cta.is-selected-block p,
.wysiwyg-editor.is-active .article-cta.is-selected-block p {
  color: rgba(255, 255, 255, 0.82) !important;
}

#wysiwyg-editor.is-active .article-cta.is-selected-block a.primary-button,
.wysiwyg-editor.is-active .article-cta.is-selected-block a.primary-button {
  color: #171515 !important;
}

#wysiwyg-editor.is-active .article-cta.is-selected-block a.secondary-button,
.wysiwyg-editor.is-active .article-cta.is-selected-block a.secondary-button {
  color: #fff !important;
  border-color: #C8A5AD;
}

.wysiwyg-editor .editor-block-arrows {
  position: absolute;
  top: 0.45rem;
  left: 0.7rem;
  right: auto;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
}

.wysiwyg-editor .editor-arrow-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #171515;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(23, 21, 21, 0.18);
}

.wysiwyg-editor .editor-arrow-btn:hover:not(:disabled) {
  background: #9F747E;
}

.wysiwyg-editor .editor-arrow-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.wysiwyg-editor .editor-insert-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0.45rem 0;
  padding: 0.45rem 0.7rem;
  border: 1px dashed #C8A5AD;
  border-radius: 12px;
  background: #FCFAF9;
  color: #9F747E;
  font-family: "Raleway", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.wysiwyg-editor .editor-insert-slot.is-target,
.wysiwyg-editor .editor-insert-slot:hover {
  background: #F6EEF0;
  border-style: solid;
  color: #171515;
}

.wysiwyg-editor:not(.is-active) .editor-br-mark {
  display: none;
}

.wysiwyg-editor.is-active .editor-br-mark {
  display: inline-flex;
  align-items: center;
  margin: 0 0.25rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background: #C8A5AD;
  color: #171515;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
}

.wysiwyg-editor.is-active .editor-br-mark.is-selected-block {
  outline: 2px solid #9F747E;
  background: #9F747E;
  color: #fff;
}

.wysiwyg-editor.is-active [data-aos="fade-up"]::before {
  content: "Fade-up";
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  z-index: 1;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #9F747E;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wysiwyg-editor img {
  max-width: min(100%, 32rem);
}

@media (max-width: 768px) {
  .editor-menu-toggle { display: inline-flex; align-items: center; }
  .editor-header-nav { display: none; width: 100%; flex-direction: column; }
  .editor-header-nav.open { display: flex; }
  .editor-header-nav .editor-header-btn,
  .editor-header-nav a { width: 100%; text-align: center; }

  .editor-table-scroll { display: none; }
  .editor-mobile-list { display: grid; }

  .pagination-controls,
  .editor-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .insert-shell,
  .tips-shell,
  .new-post-shell,
  .modal-content {
    width: 96vw;
    max-height: 94vh;
    padding: 1.25rem 1.15rem 1.35rem;
    margin: 0;
  }

  .new-post-grid {
    grid-template-columns: 1fr;
  }
}
