/* ==========================================================================
   ESSENCE INTERIORS - BLOG & JOURNAL STYLESHEET
   Harmonizes with the Essence Interiors luxury brand identity.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. SOLID HEADER WITH DISTINCT BOTTOM SHADOW (PREVENTS MERGING)
   -------------------------------------------------------------------------- */
.header.header-solid,
.header.scrolled,
body.has-solid-header .header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: #ffffff !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.05) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding: 12px 0 !important;
  z-index: 1000 !important;
  transition: all 0.3s ease !important;
}

/* Nav links in solid header: crisp charcoal typography */
.header.header-solid .nav-link,
.header.scrolled .nav-link,
body.has-solid-header .header .nav-link {
  color: #1a1a1a !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

/* Hover & Active link state: rich luxury gold */
.header.header-solid .nav-link:hover,
.header.header-solid .nav-link.active,
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active,
body.has-solid-header .header .nav-link:hover,
body.has-solid-header .header .nav-link.active {
  color: var(--gold-primary, #b39062) !important;
  text-shadow: none !important;
}

/* Gold active indicator line under active link */
.header.header-solid .nav-link::after,
.header.scrolled .nav-link::after,
body.has-solid-header .header .nav-link::after {
  background: var(--gold-primary, #b39062) !important;
  height: 2px !important;
}

.header.header-solid .nav-link.active::after,
.header.scrolled .nav-link.active::after,
body.has-solid-header .header .nav-link.active::after {
  width: 100% !important;
}

/* Logo in solid header */
.header.header-solid .brand-logo img,
.header.scrolled .brand-logo img,
body.has-solid-header .header .brand-logo img {
  filter: none !important;
}

/* Mobile hamburger button */
.header.header-solid .mobile-toggle span,
.header.scrolled .mobile-toggle span,
body.has-solid-header .header .mobile-toggle span {
  background: #1a1a1a !important;
}

/* --------------------------------------------------------------------------
   1. HOME PAGE & GENERAL JOURNAL GRID
   -------------------------------------------------------------------------- */
.journal-section {
  padding: 85px 0 70px;
  background-color: #f6f3eb;
  position: relative;
  border-top: 1px solid #e7ded0;
  border-bottom: 1px solid #e7ded0;
}

.journal-header {
  text-align: center;
  margin-bottom: 50px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

.journal-card {
  background-color: #ffffff;
  border: 1px solid var(--border-card, #eae6df);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  border-color: var(--gold-primary, #b39062);
}

.journal-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #1a1e27;
}

.journal-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.journal-card:hover .journal-thumb {
  transform: scale(1.06);
}

.journal-badge-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(14, 16, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold-light, #dfcca9);
  border: 1px solid rgba(179, 144, 98, 0.4);
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

.journal-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.journal-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted, #777777);
  margin-bottom: 12px;
}

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

.journal-meta-item i {
  color: var(--gold-primary, #b39062);
  font-size: 11px;
}

.journal-card-title {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark-text, #1a1a1a);
  margin-bottom: 12px;
  transition: color 0.25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card:hover .journal-card-title {
  color: var(--gold-primary, #b39062);
}

.journal-card-excerpt {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted, #555555);
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary, #b39062);
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
}

.journal-read-link i {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.journal-card:hover .journal-read-link {
  color: var(--gold-hover, #9e7c50);
}

.journal-card:hover .journal-read-link i {
  transform: translateX(4px);
}

.journal-btn-wrap {
  text-align: center;
  margin-top: 10px;
}

.btn-journal-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background-color: var(--gold-primary, #b39062);
  color: #ffffff;
  font-family: var(--font-heading, 'Michroma', sans-serif);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm, 4px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(179, 144, 98, 0.3);
}

.btn-journal-all:hover {
  background-color: var(--gold-hover, #9e7c50);
  box-shadow: 0 6px 20px rgba(179, 144, 98, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. PUBLIC BLOG ARCHIVE PAGE (blog.php)
   -------------------------------------------------------------------------- */
.blog-page-hero {
  background: linear-gradient(rgba(14, 16, 20, 0.88), rgba(14, 16, 20, 0.94)), url('../images/why_choose_bg.jpg') center/cover no-repeat;
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(179, 144, 98, 0.2);
}

.blog-hero-tag {
  display: inline-block;
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-primary, #b39062);
  margin-bottom: 12px;
}

.blog-hero-title {
  font-family: var(--font-heading, 'Michroma', sans-serif);
  font-size: 34px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.blog-hero-desc {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.7;
}

/* Blog Filter & Search Bar */
.blog-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1060px;
  margin: 0 auto;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md, 8px);
}

.blog-cats-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}

.blog-cat-pill {
  padding: 7px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}

.blog-cat-pill:hover {
  background: rgba(179, 144, 98, 0.2);
  border-color: var(--gold-primary, #b39062);
  color: #ffffff;
}

.blog-cat-pill.active {
  background: var(--gold-primary, #b39062);
  border-color: var(--gold-primary, #b39062);
  color: #0e1117;
}

.blog-search-form {
  display: flex;
  align-items: center;
  background: rgba(14, 16, 20, 0.6);
  border: 1px solid rgba(179, 144, 98, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
}

.blog-search-form input {
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 13px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  width: 170px;
}

.blog-search-form input::placeholder {
  color: #94a3b8;
}

.blog-search-form button {
  background: none;
  border: none;
  color: var(--gold-primary, #b39062);
  cursor: pointer;
  padding: 4px;
}

.blog-archive-section {
  padding: 70px 0 100px;
  background-color: var(--bg-light, #ffffff);
}

/* --------------------------------------------------------------------------
   3. SINGLE POST PAGE (blog-post.php) - PROFESSIONAL EDITORIAL LAYOUT
   -------------------------------------------------------------------------- */
.post-page-wrapper {
  background-color: #ffffff;
  padding-top: 76px;
}

.post-header-section {
  padding: 22px 0 16px;
  background-color: #ffffff;
}

.post-header-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.post-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #718096;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.post-breadcrumbs a {
  color: #4a5568;
  transition: color 0.2s ease;
}

.post-breadcrumbs a:hover {
  color: var(--gold-primary, #b39062);
}

.post-breadcrumbs span.current {
  color: #a0aec0;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-cat-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  background: rgba(179, 144, 98, 0.12);
  border: 1px solid rgba(179, 144, 98, 0.35);
  color: var(--gold-dark, #866840);
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.post-headline {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.post-lead-deck {
  font-size: 19px;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 24px;
  max-width: 900px;
}

/* Byline Row */
.post-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ebd9c4;
  border-bottom: 1px solid #ebd9c4;
  padding: 16px 0;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
  box-sizing: border-box;
}

.byline-author-wrap {
  display: flex;
  align-items: center;
  gap: 13px;
}

.byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient, linear-gradient(135deg, #dfcca9 0%, #b39062 100%));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Michroma', sans-serif);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(179, 144, 98, 0.25);
  flex-shrink: 0;
  border: 2px solid #ffffff;
}

.byline-details {
  display: flex;
  flex-direction: column;
}

.byline-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.byline-author-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
}

.byline-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  color: #866840;
  background: rgba(179, 144, 98, 0.12);
  border: 1px solid rgba(179, 144, 98, 0.3);
  padding: 2px 7px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.byline-badge-verified i {
  color: var(--gold-primary, #b39062);
  font-size: 10px;
}

.byline-author-team {
  font-size: 12px;
  color: #718096;
  margin-top: 3px;
}

.byline-meta-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.byline-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fbf9f5;
  border: 1px solid #ebd9c4;
  padding: 5px 11px;
  border-radius: 16px;
  font-size: 12px;
  color: #555555;
  font-weight: 500;
}

.byline-meta-pill i {
  color: var(--gold-primary, #b39062);
  font-size: 11px;
}

.byline-quick-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.byline-share-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.byline-share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12.5px;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.quick-share-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.quick-share-btn.share-wa { background: #25d366; }
.quick-share-btn.share-li { background: #0a66c2; }
.quick-share-btn.share-tw { background: #000000; }
.quick-share-btn.share-cp { background: var(--gold-primary, #b39062); }

/* Featured Hero Image */
.post-hero-media {
  margin-bottom: 40px;
}

.post-hero-img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0ede6;
  display: block;
}

.post-hero-caption {
  font-size: 12.5px;
  color: #8c827a;
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

/* Two-Column Editorial Layout */
.post-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
}

/* Main Content Body */
.post-main-col {
  min-width: 0;
}

.article-prose {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 17.5px;
  line-height: 1.88;
  color: #2d3748;
}

.article-prose p {
  margin-bottom: 24px;
}

.article-prose p.lead-text {
  font-size: 20px;
  line-height: 1.75;
  color: #1a202c;
  font-weight: 500;
  margin-bottom: 28px;
}

.article-prose p.lead-text::first-letter {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 52px;
  line-height: 1;
  float: left;
  margin-right: 12px;
  margin-top: 4px;
  font-weight: 700;
  color: var(--gold-primary, #b39062);
}

.article-prose h2 {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 44px 0 18px;
  position: relative;
  padding-bottom: 12px;
}

.article-prose h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--gold-primary, #b39062);
  border-radius: 2px;
}

.article-prose h3 {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 21px;
  font-weight: 600;
  color: #1f2937;
  margin: 32px 0 14px;
}

.article-prose blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  background: #fbf9f5;
  border-left: 4px solid var(--gold-primary, #b39062);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-style: italic;
  font-size: 20px;
  color: #382d21;
  line-height: 1.6;
  position: relative;
}

.article-prose blockquote::before {
  content: '"';
  font-size: 50px;
  line-height: 0;
  position: absolute;
  top: 24px;
  left: 10px;
  color: rgba(179, 144, 98, 0.2);
}

.article-prose ul, .article-prose ol {
  margin: 20px 0 28px 24px;
  padding-left: 10px;
}

.article-prose li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.article-prose li::marker {
  color: var(--gold-primary, #b39062);
}

.article-prose figure {
  margin: 36px 0;
  text-align: center;
}

.article-prose figure img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.article-prose figcaption {
  font-size: 13px;
  color: #718096;
  margin-top: 8px;
  font-style: italic;
}

/* Callout Box */
.article-callout-box {
  background: #fdfaf6;
  border: 1px solid #ebd9c4;
  border-radius: 8px;
  padding: 22px 24px;
  margin: 32px 0;
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark, #866840);
  margin-bottom: 8px;
}

.callout-text {
  font-size: 14.5px;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0 !important;
}

/* Social Share Bottom Bar */
.post-share-footer {
  background: #fbfbfb;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  padding: 22px 26px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.share-footer-prompt {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #1a202c;
}

.share-footer-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.share-footer-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-share-wa { background-color: #25d366; }
.btn-share-li { background-color: #0a66c2; }
.btn-share-fb { background-color: #1877f2; }
.btn-share-tw { background-color: #000000; }
.btn-share-cp { background-color: var(--gold-primary, #b39062); }

/* Prev / Next Article Split Navigation */
.post-nav-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.nav-split-card {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-split-card:hover {
  border-color: var(--gold-primary, #b39062);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.nav-split-label {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-primary, #b39062);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-split-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-split-card:hover .nav-split-title {
  color: var(--gold-primary, #b39062);
}

/* Author Box */
.author-card-modern {
  background: #fbf9f6;
  border: 1px solid #ebd9c4;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin: 40px 0;
}

.author-box-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, 'Michroma', sans-serif);
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(179, 144, 98, 0.3);
}

.author-box-body h4 {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}

.author-box-role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-primary, #b39062);
  margin-bottom: 8px;
}

.author-box-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 12px;
}

.author-box-link {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark, #866840);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.author-box-link:hover {
  color: var(--gold-primary, #b39062);
}

/* ==========================================================================
   STICKY SIDEBAR WIDGETS
   ========================================================================== */
.article-sidebar-col {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Sidebar Widget Card Base */
.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.sidebar-widget-title {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #111827;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(179, 144, 98, 0.3);
  position: relative;
}

/* Widget 1: Free Consultation Lead Card */
.sidebar-consult-card {
  background: linear-gradient(135deg, #131720 0%, #1c2230 100%);
  border: 1px solid rgba(179, 144, 98, 0.4);
  color: #ffffff;
  padding: 28px 24px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.consult-badge-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(179, 144, 98, 0.2);
  border: 1px solid rgba(179, 144, 98, 0.45);
  color: var(--gold-light, #dfcca9);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.sidebar-consult-title {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 10px;
}

.sidebar-consult-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.sidebar-consult-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-sidebar-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--gold-primary, #b39062);
  color: #ffffff;
  font-family: var(--font-heading, 'Michroma', sans-serif);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(179, 144, 98, 0.35);
  border: none;
  cursor: pointer;
}

.btn-sidebar-gold:hover {
  background: var(--gold-hover, #9e7c50);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sidebar-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-sidebar-wa:hover {
  background: #25d366;
  color: #ffffff;
}

.sidebar-consult-phone {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.sidebar-consult-phone a {
  color: var(--gold-light, #dfcca9);
  font-weight: 600;
}

/* Widget 2: Trending Articles */
.trending-post-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

.trending-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trending-post-item:first-child {
  padding-top: 0;
}

.trending-post-thumb {
  width: 68px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #edf2f7;
}

.trending-post-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.trending-post-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary, #b39062);
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

.trending-post-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a202c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.trending-post-title:hover {
  color: var(--gold-primary, #b39062);
}

.trending-post-date {
  font-size: 11px;
  color: #a0aec0;
  margin-top: 3px;
}

/* Widget 3: Topics / Categories */
.sidebar-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.sidebar-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 12px;
  color: #475569;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sidebar-cat-pill:hover {
  background: var(--gold-primary, #b39062);
  border-color: var(--gold-primary, #b39062);
  color: #ffffff;
}

.sidebar-cat-pill .count {
  font-size: 10px;
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 6px;
  border-radius: 10px;
}

/* Widget 4: Studio Trust Assurance */
.trust-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-point-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(179, 144, 98, 0.12);
  color: var(--gold-primary, #b39062);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.trust-point-content h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 2px;
}

.trust-point-content p {
  font-size: 12px;
  color: #718096;
  line-height: 1.4;
  margin-bottom: 0 !important;
}

/* Bottom Related Posts Section */
.related-posts-section {
  padding: 80px 0;
  background: var(--bg-subtle, #faf9f6);
  border-top: 1px solid #e8e8e8;
}

/* Full-width Consultation CTA Banner */
.consultation-cta-banner {
  background: linear-gradient(135deg, #0e1014 0%, #1a1e27 100%);
  border: 1px solid rgba(179, 144, 98, 0.35);
  border-radius: 12px;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 60px 0 20px;
  color: #ffffff;
}

.cta-banner-text h3 {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-banner-text p {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 0;
}

.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--gold-primary, #b39062);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-heading, 'Michroma', sans-serif);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(179, 144, 98, 0.4);
}

.btn-cta-gold:hover {
  background-color: var(--gold-hover, #9e7c50);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(179, 144, 98, 0.55);
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .post-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-sidebar-col {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* Universal mobile root containment */
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body.has-solid-header {
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* Fixed Mobile Header & Guaranteed Hamburger Menu Button */
  .header,
  .header.header-solid,
  .header.scrolled,
  body.has-solid-header .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    background: #ffffff !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 10px 0 !important;
    z-index: 1000 !important;
  }

  .header .container {
    width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  .navbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .brand-logo img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    filter: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 1005 !important;
  }

  .mobile-toggle span {
    display: block !important;
    width: 24px !important;
    height: 2.5px !important;
    margin: 3px 0 !important;
    background: #1a1a1a !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
  }

  .nav-overlay {
    z-index: 999 !important;
  }

  .nav-menu {
    z-index: 1001 !important;
  }

  /* Single Post Page Adjustments */
  .post-page-wrapper {
    padding-top: 58px !important;
    overflow-x: hidden !important;
  }

  .post-header-section {
    padding: 12px 0 8px !important;
  }

  .post-header-container,
  .post-editorial-wrapper {
    padding: 0 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .post-breadcrumbs {
    font-size: 11.5px !important;
    margin-bottom: 10px !important;
    gap: 6px !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .post-breadcrumbs span.current {
    max-width: 150px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block !important;
    vertical-align: bottom !important;
  }

  .post-cat-badge {
    margin-bottom: 10px !important;
    font-size: 10.5px !important;
    padding: 3px 9px !important;
  }

  .post-headline {
    font-size: 24px !important;
    line-height: 1.32 !important;
    margin-bottom: 12px !important;
    letter-spacing: -0.2px !important;
    word-break: break-word !important;
  }

  .post-lead-deck {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
    color: #4b5563 !important;
  }

  /* Redesigned Byline Bar Mobile Card */
  .post-byline-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: #fdfaf6 !important;
    border: 1px solid #ebd9c4 !important;
    border-radius: 12px !important;
    padding: 15px 14px !important;
    margin: 16px 0 24px !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 10px rgba(179, 144, 98, 0.06) !important;
  }

  .byline-author-wrap {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .byline-avatar {
    width: 40px !important;
    height: 40px !important;
    font-size: 15px !important;
  }

  .byline-author-name {
    font-size: 14px !important;
  }

  .byline-author-team {
    font-size: 11.5px !important;
  }

  .byline-meta-pills {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .byline-meta-pill {
    background: #ffffff !important;
    border: 1px solid #e8e0d5 !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    border-radius: 14px !important;
  }

  .byline-quick-share {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px dashed #e8ded2 !important;
    padding-top: 10px !important;
    margin-top: 2px !important;
  }

  .byline-share-label {
    font-size: 11px !important;
    color: #718096 !important;
    font-weight: 700 !important;
  }

  .byline-share-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .quick-share-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
  }

  /* Hero Media */
  .post-hero-media {
    margin-bottom: 24px !important;
  }

  .post-hero-img {
    max-height: 230px !important;
    border-radius: 8px !important;
  }

  .post-hero-caption {
    font-size: 11.5px !important;
    padding: 0 4px !important;
    line-height: 1.5 !important;
  }

  /* Article Prose */
  .post-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 40px !important;
  }

  .article-prose {
    font-size: 15.5px !important;
    line-height: 1.75 !important;
  }

  .article-prose p.lead-text {
    font-size: 16.5px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
  }

  .article-prose p.lead-text::first-letter {
    font-size: 38px !important;
    margin-right: 8px !important;
  }

  .article-prose h2 {
    font-size: 21px !important;
    margin: 32px 0 14px !important;
  }

  .article-prose h3 {
    font-size: 17.5px !important;
    margin: 24px 0 10px !important;
  }

  .article-prose blockquote {
    font-size: 15.5px !important;
    padding: 16px 16px !important;
    margin: 24px 0 !important;
  }

  .article-callout-box {
    padding: 16px 16px !important;
    margin: 24px 0 !important;
  }

  /* Post Share Footer Buttons - Clean 2x2 Mobile Grid */
  .post-share-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 18px 16px !important;
    gap: 14px !important;
  }

  .share-footer-prompt {
    font-size: 13.5px !important;
    text-align: center !important;
  }

  .share-footer-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .share-footer-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 9px 8px !important;
    font-size: 12px !important;
    box-sizing: border-box !important;
  }

  /* Navigation split */
  .post-nav-split {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 28px 0 !important;
  }

  .nav-split-card {
    padding: 16px !important;
  }

  /* Author Card */
  .author-card-modern {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    padding: 24px 18px !important;
    gap: 16px !important;
  }

  .author-box-avatar {
    width: 58px !important;
    height: 58px !important;
    font-size: 20px !important;
  }

  /* Consultation CTA Banner */
  .consultation-cta-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 28px 18px !important;
    margin: 36px 0 20px !important;
    gap: 18px !important;
  }

  .cta-banner-text h3 {
    font-size: 20px !important;
  }

  .cta-banner-text p {
    font-size: 13.5px !important;
    margin: 0 auto !important;
  }

  .btn-cta-gold {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
  }

  .article-sidebar-col {
    grid-template-columns: 1fr !important;
  }

  .related-posts-section {
    padding: 50px 0 !important;
  }

  /* Archive Hero & Controls on Mobile */
  .blog-page-hero {
    padding: 96px 0 36px !important;
  }

  .blog-hero-title {
    font-size: 22px !important;
  }

  .blog-hero-desc {
    font-size: 13.5px !important;
    margin-bottom: 22px !important;
  }

  .blog-controls-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px 14px !important;
    gap: 12px !important;
  }

  .blog-cats-pills {
    width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-cats-pills::-webkit-scrollbar {
    display: none;
  }

  .blog-cat-pill {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
  }

  .blog-search-form {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .blog-search-form input {
    width: 100% !important;
    flex: 1 !important;
  }

  .journal-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* --------------------------------------------------------------------------
   STUDIO SOCIAL MEDIA CONNECT WIDGETS & BARS
   -------------------------------------------------------------------------- */
.blog-hero-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 24px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(179, 144, 98, 0.3);
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.blog-hero-social-label {
  font-family: var(--font-subheading, 'Josefin Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-text, #1a202c);
}

.blog-hero-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-hero-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.blog-hero-social-links a:hover {
  transform: translateY(-2px) scale(1.08);
}

.blog-hero-social-links a img {
  display: block;
  object-fit: contain;
}

/* Sidebar Social Connect Widget */
.sidebar-social-card {
  text-align: center;
  background: #ffffff;
  border: 1px solid #ebd9c4;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.sidebar-social-card .sidebar-widget-title {
  margin-bottom: 8px;
  color: var(--dark-text, #111827);
}

.sidebar-social-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 18px;
}

.sidebar-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sidebar-social-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 10px;
  background: #faf8f5;
  border: 1px solid rgba(179, 144, 98, 0.2);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sidebar-social-link-btn:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary, #b39062);
  box-shadow: 0 6px 16px rgba(179, 144, 98, 0.22);
  background: #ffffff;
}

.sidebar-social-link-btn img {
  display: block;
  object-fit: contain;
}

/* Author Card Social Strip */
.author-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(179, 144, 98, 0.3);
}

.author-social-strip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.author-social-strip-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #718096;
}

.author-social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.author-social-icons a:hover {
  transform: translateY(-2px) scale(1.1);
}

.author-social-icons a img {
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .author-card-actions {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .blog-hero-social {
    margin-top: 12px !important;
    padding: 6px 14px !important;
  }
}


