/* =========================================
   ADVANCELYTICS BLOG - FINAL CLEAN CSS
   Theme: Blogger Diary
   Purpose:
   1. Fix mobile single-post typography
   2. Keep single-post featured image original ratio
   3. Keep archive/listing thumbnails original ratio
   4. Remove grey overlay and icon on thumbnails
   5. Improve archive card readability
   ========================================= */


/* =========================================
   SINGLE POST - MOBILE TYPOGRAPHY
   ========================================= */
@media (max-width: 768px) {

  .single .content-area article {
    padding: 15px !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .single article .entry-content {
    text-align: left !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
  }

  .single .entry-title,
  .single h1.entry-title,
  .single h1.wp-block-post-title,
  .single .wp-block-post-title,
  .single-post h1,
  .post h1:first-of-type {
    font-size: 28px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    word-spacing: normal !important;
    text-align: left !important;
    margin-bottom: 16px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .single .wp-block-post-terms,
  .single .entry-categories,
  .single .cat-links {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    text-align: left !important;
  }

  .single .wp-block-post-date,
  .single .wp-block-post-author,
  .single .entry-meta,
  .single .posted-on,
  .single .byline,
  .single .entry-meta a {
    font-size: 15px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  .single article .entry-content h2,
  .single .wp-block-post-content h2,
  .single article h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    text-align: left !important;
    margin-top: 32px !important;
    margin-bottom: 14px !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .single article .entry-content h3,
  .single .wp-block-post-content h3,
  .single article h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    text-align: left !important;
    margin-top: 26px !important;
    margin-bottom: 12px !important;
  }

  .single article .entry-content h4,
  .single .wp-block-post-content h4,
  .single article h4 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
  }

  .single article .entry-content p,
  .single .wp-block-post-content p,
  .single article p {
    font-size: 18px !important;
    line-height: 1.75 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    text-align: left !important;
    text-justify: auto !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .single article .entry-content ul,
  .single article .entry-content ol,
  .single .wp-block-post-content ul,
  .single .wp-block-post-content ol,
  .single article ul,
  .single article ol {
    padding-left: 22px !important;
    margin-bottom: 20px !important;
    text-align: left !important;
  }

  .single article .entry-content li,
  .single .wp-block-post-content li,
  .single article li {
    font-size: 18px !important;
    line-height: 1.75 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    text-justify: auto !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
    display: list-item !important;
    word-break: normal !important;
  }

  .single article .entry-content li::marker,
  .single .wp-block-post-content li::marker,
  .single article li::marker {
    font-size: 1em !important;
  }

  .single article .entry-content blockquote,
  .single .wp-block-post-content blockquote,
  .single article blockquote {
    font-size: 18px !important;
    line-height: 1.7 !important;
    padding: 14px 16px !important;
    margin: 24px 0 !important;
    border-left: 4px solid #4f46e5 !important;
    text-align: left !important;
  }

  .single article .entry-content strong,
  .single .wp-block-post-content strong,
  .single article strong {
    font-weight: 700 !important;
  }

  .single .wp-block-image figcaption,
  .single article .entry-content figcaption,
  .single figure figcaption {
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin-top: 8px !important;
  }

  .single article .entry-content table,
  .single .wp-block-post-content table,
  .single article table {
    font-size: 14px !important;
    line-height: 1.5 !important;
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  .single article .entry-content pre,
  .single .wp-block-post-content pre,
  .single article pre {
    font-size: 13px !important;
    line-height: 1.6 !important;
    overflow-x: auto !important;
    padding: 14px !important;
    border-radius: 10px !important;
  }

  .single .wp-block-button__link,
  .single button,
  .single input[type="button"],
  .single input[type="submit"] {
    font-size: 16px !important;
    line-height: 1.2 !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
  }
}


/* =========================================
   SINGLE POST - FEATURED IMAGE
   KEEP ORIGINAL ASPECT RATIO
   ========================================= */
.single .post-thumbnail,
.single .single-post-thumb,
.single article .post-thumbnail,
.single article .single-post-thumb {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
}

.single .post-thumbnail img,
.single .single-post-thumb img,
.single article .post-thumbnail img,
.single article .single-post-thumb img,
.single article .entry-content img,
.single .wp-block-post-content img,
.single article figure img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 10px !important;
  margin-top: 18px !important;
  margin-bottom: 18px !important;
}

.single .post-thumbnail::before,
.single .single-post-thumb::before {
  display: none !important;
}


/* =========================================
   ARCHIVE / BLOG LISTING - THUMBNAILS
   KEEP ORIGINAL ASPECT RATIO
   ========================================= */
.blog .post-thumbnail,
.archive .post-thumbnail,
.search .post-thumbnail,
.blog .single-post-thumb,
.archive .single-post-thumb,
.search .single-post-thumb {
  width: 100% !important;
  height: auto !important;
  background: transparent !important;
  overflow: hidden !important;
}

.blog .post-thumbnail a,
.archive .post-thumbnail a,
.search .post-thumbnail a,
.blog .single-post-thumb a,
.archive .single-post-thumb a,
.search .single-post-thumb a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.blog .post-thumbnail img,
.archive .post-thumbnail img,
.search .post-thumbnail img,
.blog .single-post-thumb img,
.archive .single-post-thumb img,
.search .single-post-thumb img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: contain !important;
  background: transparent !important;
  transition: transform 0.4s ease !important;
}

/* subtle hover without cropping */
.blog article:hover .post-thumbnail img,
.archive article:hover .post-thumbnail img,
.search article:hover .post-thumbnail img {
  transform: scale(1.02) !important;
}


/* =========================================
   REMOVE GREY OVERLAY / ICON ON THUMBNAILS
   ========================================= */
.blog .post-thumbnail::before,
.archive .post-thumbnail::before,
.search .post-thumbnail::before,
.blog .single-post-thumb::before,
.archive .single-post-thumb::before,
.search .single-post-thumb::before {
  display: none !important;
  opacity: 0 !important;
}

.blog .post-thumbnail:hover::before,
.archive .post-thumbnail:hover::before,
.search .post-thumbnail:hover::before {
  opacity: 0 !important;
}

.blog .post-thumbnail .post-format-icon,
.archive .post-thumbnail .post-format-icon,
.search .post-thumbnail .post-format-icon,
.post-format-icon {
  display: none !important;
}


/* =========================================
   ARCHIVE / BLOG LISTING - CARD TEXT CLEANUP
   ========================================= */
.blog article .entry-content,
.archive article .entry-content,
.search article .entry-content {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-align: left !important;
}

.blog .entry-title,
.archive .entry-title,
.search .entry-title {
  min-height: 3.2em !important;
}

.entry-meta,
.entry-meta a {
  font-size: 13px !important;
  color: #6b7280 !important;
}
/* Reduce uneven archive card heights */
.blog .entry-title,
.archive .entry-title,
.search .entry-title {
  min-height: auto !important;
  margin-bottom: 12px !important;
}

.blog .entry-title a,
.archive .entry-title a,
.search .entry-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.35 !important;
}

.blog article .entry-content,
.archive article .entry-content,
.search article .entry-content {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-align: left !important;
}
/* =========================================
   FINAL ARCHIVE CARD OPTIMIZATION (CLEAN + BALANCED)
   ========================================= */

/* Ensure images keep original aspect ratio */
.blog article img,
.archive article img,
.search article img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* Reduce title height variation */
.blog .entry-title,
.archive .entry-title,
.search .entry-title {
  margin-bottom: 10px !important;
}

/* Clamp titles to 3 lines */
.blog .entry-title a,
.archive .entry-title a,
.search .entry-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.35 !important;
  min-height: 3.9em !important;
}

/* Clamp excerpt to 2 lines */
.blog article .entry-content,
.archive article .entry-content,
.search article .entry-content {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  line-height: 1.6 !important;
  text-align: left !important;
  min-height: 3.2em !important;
}

/* Normalize spacing inside cards */
.blog article,
.archive article,
.search article {
  margin-bottom: 30px !important;
}

/* Fix button spacing */
.blog .read-more,
.archive .read-more,
.search .read-more {
  margin-top: 12px !important;
}

/* Improve grid spacing */
.wp-diary-content-masonry,
.archive-grid-post-wrapper {
  column-gap: 28px !important;
}

/* Prevent breaking inside cards */
#mt-masonry article,
.archive-grid-post-wrapper article {
  break-inside: avoid !important;
}
/* Fix oversized emojis inside blog posts */
.single img.emoji,
.single img.wp-smiley,
.blog img.emoji,
.blog img.wp-smiley,
.archive img.emoji,
.archive img.wp-smiley {
  display: inline !important;
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  max-height: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  border-radius: 0 !important;
}
/* =========================================
   FORCE FIX WORDPRESS EMOJI SIZE
   ========================================= */
.single article .entry-content img.emoji,
.single article .entry-content img.wp-smiley,
.single .wp-block-post-content img.emoji,
.single .wp-block-post-content img.wp-smiley,
.blog article .entry-content img.emoji,
.blog article .entry-content img.wp-smiley,
.archive article .entry-content img.emoji,
.archive article .entry-content img.wp-smiley,
img.emoji,
img.wp-smiley {
  display: inline !important;
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  min-width: 1em !important;
  max-height: 1em !important;
  min-height: 1em !important;
  margin: 0 0.07em !important;
  vertical-align: -0.1em !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  box-shadow: none !important;
}
/* Fix desktop heading word gaps inside single posts */
.single article .entry-content,
.single article .entry-content p,
.single article .entry-content h1,
.single article .entry-content h2,
.single article .entry-content h3,
.single article .entry-content h4,
.single article .entry-content h5,
.single article .entry-content h6,
.single .wp-block-post-content,
.single .wp-block-post-content p,
.single .wp-block-post-content h1,
.single .wp-block-post-content h2,
.single .wp-block-post-content h3 {
  text-align: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

/* Better desktop heading rhythm */
.single article .entry-content h2,
.single .wp-block-post-content h2 {
  font-size: 32px !important;
  line-height: 1.25 !important;
  margin-top: 36px !important;
  margin-bottom: 18px !important;
}
/* FORCE dark mode table visibility */
body.site-mode--dark table,
body.site-mode--dark .entry-content table,
body.site-mode--dark .wp-block-table table,
body.site-mode--dark .wp-block-post-content table {
  background: #1f2937 !important;
  color: #e5e7eb !important;
  border-collapse: collapse !important;
}

body.site-mode--dark table th,
body.site-mode--dark table td,
body.site-mode--dark .entry-content table th,
body.site-mode--dark .entry-content table td,
body.site-mode--dark .wp-block-table th,
body.site-mode--dark .wp-block-table td {
  color: #e5e7eb !important;
  background-color: #1f2937 !important;
  border: 1px solid #4b5563 !important;
  opacity: 1 !important;
}

body.site-mode--dark table th,
body.site-mode--dark .wp-block-table th {
  background-color: #111827 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.site-mode--dark table tr:nth-child(even) td,
body.site-mode--dark .wp-block-table tr:nth-child(even) td {
  background-color: #273244 !important;
}

body.site-mode--dark .wp-block-table,
body.site-mode--dark figure.wp-block-table {
  background: transparent !important;
  opacity: 1 !important;
}
/* FINAL dark mode readability fix for Blogger Diary */

body.site-mode--dark.single .entry-content,
body.site-mode--dark.single .entry-content p,
body.site-mode--dark.single .entry-content li,
body.site-mode--dark.single .entry-content ul,
body.site-mode--dark.single .entry-content ol,
body.site-mode--dark.single .wp-block-list,
body.site-mode--dark.single .wp-block-list li {
  color: #e5e7eb !important;
  opacity: 1 !important;
}

/* Captions */
body.site-mode--dark.single .entry-content figcaption,
body.site-mode--dark.single .entry-content .wp-element-caption,
body.site-mode--dark.single figure figcaption,
body.site-mode--dark.single .wp-block-image figcaption {
  color: #cbd5e1 !important;
  opacity: 1 !important;
  font-style: italic !important;
}

/* Tables */
body.site-mode--dark.single .entry-content table,
body.site-mode--dark.single .entry-content tbody,
body.site-mode--dark.single .entry-content thead,
body.site-mode--dark.single .entry-content tr,
body.site-mode--dark.single .entry-content th,
body.site-mode--dark.single .entry-content td,
body.site-mode--dark.single .wp-block-table,
body.site-mode--dark.single .wp-block-table table,
body.site-mode--dark.single .wp-block-table th,
body.site-mode--dark.single .wp-block-table td {
  color: #e5e7eb !important;
  opacity: 1 !important;
  border-color: #64748b !important;
}

body.site-mode--dark.single .entry-content th,
body.site-mode--dark.single .wp-block-table th {
  background-color: #111827 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

body.site-mode--dark.single .entry-content td,
body.site-mode--dark.single .wp-block-table td {
  background-color: #1f2937 !important;
}

/* Links inside dark article */
body.site-mode--dark.single .entry-content a {
  color: #60a5fa !important;
}
/* Fix oversized quote spacing inside single posts */
.single article .entry-content blockquote,
.single .wp-block-quote {
  margin: 24px 0 !important;
  padding: 18px 22px !important;
  line-height: 1.7 !important;
  border-left: 4px solid #3b82f6 !important;
}

.single article .entry-content blockquote p,
.single .wp-block-quote p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Reduce oversized decorative quote marks */
.single article .entry-content blockquote::before,
.single article .entry-content blockquote::after,
.single .wp-block-quote::before,
.single .wp-block-quote::after {
  font-size: 28px !important;
  line-height: 1 !important;
  opacity: 0.45 !important;
}

/* Dark mode quote readability */
body.site-mode--dark.single article .entry-content blockquote,
body.site-mode--dark.single .wp-block-quote {
  background: #1f2937 !important;
  color: #e5e7eb !important;
  border-left-color: #60a5fa !important;
}
/* Premium callout styling */
.single article .entry-content blockquote {
  background: #f8fafc !important;
  border-left: 4px solid #315efb !important;
  padding: 18px 22px !important;
  margin: 28px 0 !important;
  border-radius: 12px !important;
  font-style: normal !important;
}

body.site-mode--dark.single article .entry-content blockquote {
  background: #111827 !important;
  color: #e5e7eb !important;
  border-left-color: #60a5fa !important;
}

/* Better table styling */
.single article .entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 24px 0 !important;
  font-size: 15px !important;
}

.single article .entry-content th,
.single article .entry-content td {
  padding: 14px 16px !important;
  border: 1px solid #e5e7eb !important;
  text-align: left !important;
  vertical-align: top !important;
}

.single article .entry-content th {
  background: #f3f4f6 !important;
  font-weight: 700 !important;
}

/* Dark table fix */
body.site-mode--dark.single article .entry-content table,
body.site-mode--dark.single article .entry-content th,
body.site-mode--dark.single article .entry-content td {
  border-color: #475569 !important;
  color: #e5e7eb !important;
}

body.site-mode--dark.single article .entry-content th {
  background: #0f172a !important;
}

body.site-mode--dark.single article .entry-content td {
  background: #1f2937 !important;
}

/* Caption spacing */
.single figure figcaption,
.single .wp-element-caption {
  margin-top: 10px !important;
  margin-bottom: 26px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #64748b !important;
  font-style: italic !important;
}

body.site-mode--dark.single figure figcaption,
body.site-mode--dark.single .wp-element-caption {
  color: #cbd5e1 !important;
}

/* Better lists */
.single article .entry-content ul,
.single article .entry-content ol {
  margin: 18px 0 24px 24px !important;
}

.single article .entry-content li {
  margin-bottom: 10px !important;
  line-height: 1.7 !important;
}

/* Hide generic WordPress clutter */
.sharedaddy,
.sd-sharing-enabled,
.jp-relatedposts,
.post-navigation,
.mt-author-box {
  display: none !important;
}
/* =========================================
   FORCE BLOG TO MATCH AGENTLYTICS LIGHT THEME
   ========================================= */

/* Page background */
body,
body.site-mode--dark,
body.single,
body.blog,
body.archive {
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* Article card */
body.site-mode--dark.single .content-area article,
.single .content-area article {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06) !important;
}

/* Main content text */
.single article .entry-content,
.single article .entry-content p,
.single article .entry-content li,
.single article .entry-content ul,
.single article .entry-content ol,
.single article .entry-content h1,
.single article .entry-content h2,
.single article .entry-content h3,
.single article .entry-content h4,
.single article .entry-content h5,
.single article .entry-content h6 {
  color: #0f172a !important;
  text-align: left !important;
  opacity: 1 !important;
}

/* Paragraphs */
.single article .entry-content p,
.single article .entry-content li {
  color: #334155 !important;
}

/* Headings */
.single article .entry-content h2,
.single article .entry-content h3,
.single article .entry-content h4,
.single .entry-title {
  color: #111827 !important;
}

/* Links */
.single article .entry-content a,
.entry-title a,
.cat-links a {
  color: #2563eb !important;
}

/* Captions */
.single figure figcaption,
.single .wp-element-caption,
.single .wp-block-image figcaption {
  color: #64748b !important;
  opacity: 1 !important;
  font-style: italic !important;
}

/* Tables */
.single article .entry-content table {
  background: #ffffff !important;
  color: #111827 !important;
  border-collapse: collapse !important;
  border: 1px solid #e5e7eb !important;
}

.single article .entry-content th,
.single article .entry-content td {
  color: #111827 !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  padding: 14px 16px !important;
}

.single article .entry-content th {
  background: #f1f5f9 !important;
  font-weight: 700 !important;
}

/* Blockquotes / key takeaways */
.single article .entry-content blockquote,
.single .wp-block-quote {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-left: 4px solid #2563eb !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  margin: 28px 0 !important;
}

/* Sidebar widgets */
.widget-area .widget,
.site-mode--dark .widget-area .widget {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06) !important;
}

.widget-area .widget-title,
.widget-area .widget a,
.widget-area .widget li,
.widget-area .widget p {
  color: #0f172a !important;
}

.widget-area .widget a {
  color: #2563eb !important;
}

/* Header/nav light style */
.site-header,
.main-menu-wrapper,
#site-navigation {
  background: #ffffff !important;
  color: #0f172a !important;
}

#site-navigation ul li a {
  color: #0f172a !important;
}

#site-navigation ul li.current-menu-item > a,
#site-navigation ul li:hover > a {
  background: #2563eb !important;
  color: #ffffff !important;
}
/* =====================================================
   ADVANCELYTICS BLOG BRAND THEME
   Match agentlytics.advancelytics.com
   Warm stone + orange SaaS style
   Paste at very bottom of Additional CSS
   ===================================================== */

/* Brand variables */
:root {
  --adv-bg: #faf8f5;
  --adv-card: #ffffff;
  --adv-card-soft: rgba(255, 255, 255, 0.86);
  --adv-text: #1c1917;
  --adv-muted: #57534e;
  --adv-border: #e7e5e4;
  --adv-orange: #ea580c;
  --adv-orange-soft: #fff7ed;
  --adv-blue: #2563eb;
}

/* Force light brand theme even if dark mode is enabled */
body,
body.site-mode--dark,
body.blog,
body.archive,
body.search,
body.single {
  background: var(--adv-bg) !important;
  color: var(--adv-text) !important;
  font-family: "Be Vietnam Pro", Helvetica, Arial, sans-serif !important;
}

/* Hide theme dark mode switch if visible */
#mt-site-mode-wrap {
  display: none !important;
}

/* Header / top area */
.site-header,
#masthead,
.site-branding,
.main-menu-wrapper,
#site-navigation {
  background: var(--adv-bg) !important;
  color: var(--adv-text) !important;
  box-shadow: none !important;
}

/* Top brand block */
.site-branding {
  padding: 28px 0 22px !important;
  border-bottom: 1px solid var(--adv-border) !important;
}

.site-title,
.site-title a {
  font-family: "Be Vietnam Pro", Helvetica, Arial, sans-serif !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  color: var(--adv-text) !important;
  margin: 0 !important;
  text-decoration: none !important;
}

.site-description {
  color: var(--adv-muted) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin-top: 10px !important;
}

/* Navigation */
.main-menu-wrapper {
  border-bottom: 1px solid var(--adv-border) !important;
}

#site-navigation ul li a {
  color: #334155 !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 56px !important;
  padding: 0 18px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#site-navigation ul li:hover > a,
#site-navigation ul li.focus > a,
#site-navigation ul li.current-menu-item > a,
#site-navigation ul li.current_page_item > a,
#site-navigation ul li.current-menu-ancestor > a {
  background: var(--adv-orange-soft) !important;
  color: var(--adv-orange) !important;
  border-radius: 999px !important;
}

/* Dropdown menu */
#site-navigation ul li .sub-menu,
#site-navigation ul li .children {
  background: #ffffff !important;
  border: 1px solid var(--adv-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(28, 25, 23, 0.10) !important;
  overflow: hidden !important;
  padding: 8px !important;
}

#site-navigation ul li .sub-menu li a,
#site-navigation ul li .children li a {
  line-height: 1.35 !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  color: #334155 !important;
}

#site-navigation ul li .sub-menu li a:hover,
#site-navigation ul li .children li a:hover {
  background: var(--adv-orange-soft) !important;
  color: var(--adv-orange) !important;
}

/* Main layout */
#content,
.site-content,
.mt-container {
  background: var(--adv-bg) !important;
}

/* Archive/blog article cards */
.blog #main > article,
.archive #main > article,
.search #main > article,
#mt-masonry article,
.archive-grid-post-wrapper article,
.archive-classic-post-wrapper article {
  background: var(--adv-card-soft) !important;
  border: 1px solid rgba(231, 229, 228, 0.9) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(28, 25, 23, 0.06) !important;
  overflow: hidden !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

.blog #main > article:hover,
.archive #main > article:hover,
.search #main > article:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 24px 60px rgba(28, 25, 23, 0.10) !important;
  border-color: #fed7aa !important;
}

/* Archive images: keep original ratio */
.blog article img,
.archive article img,
.search article img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Category */
.cat-links a {
  color: var(--adv-orange) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Titles */
.entry-title,
.entry-title a,
.item-title a {
  color: var(--adv-text) !important;
  font-family: "Be Vietnam Pro", Helvetica, Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  text-decoration: none !important;
}

.blog .entry-title a,
.archive .entry-title a,
.search .entry-title a {
  font-size: 24px !important;
  line-height: 1.18 !important;
}

/* Meta */
.entry-meta,
.entry-meta a,
.posted-on,
.byline {
  color: #78716c !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* Excerpt */
.blog article .entry-content,
.archive article .entry-content,
.search article .entry-content {
  color: var(--adv-muted) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

/* Read more button */
article.hentry .entry-footer .mt-readmore-btn,
.mt-readmore-btn,
.read-more,
.more-link {
  background: #1c1917 !important;
  color: #ffffff !important;
  border: 1px solid #1c1917 !important;
  border-radius: 999px !important;
  padding: 11px 20px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

article.hentry .entry-footer .mt-readmore-btn:hover,
.mt-readmore-btn:hover,
.read-more:hover,
.more-link:hover {
  background: var(--adv-orange) !important;
  border-color: var(--adv-orange) !important;
  color: #ffffff !important;
}

/* Single post card */
.single .content-area article {
  background: #ffffff !important;
  color: var(--adv-text) !important;
  border: 1px solid var(--adv-border) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 45px rgba(28, 25, 23, 0.06) !important;
}

/* Single post content */
.single article .entry-content,
.single article .entry-content p,
.single article .entry-content li {
  color: #334155 !important;
  text-align: left !important;
  opacity: 1 !important;
}

.single article .entry-content h1,
.single article .entry-content h2,
.single article .entry-content h3,
.single article .entry-content h4,
.single .entry-title {
  color: var(--adv-text) !important;
  letter-spacing: -0.035em !important;
}

/* Single post links */
.single article .entry-content a {
  color: var(--adv-orange) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px !important;
}

/* Blockquote / key takeaway */
.single article .entry-content blockquote,
.single .wp-block-quote {
  background: linear-gradient(135deg, #fff7ed, #ffffff) !important;
  border-left: 4px solid var(--adv-orange) !important;
  border-radius: 18px !important;
  color: var(--adv-text) !important;
  padding: 20px 24px !important;
  margin: 30px 0 !important;
  box-shadow: 0 14px 35px rgba(234, 88, 12, 0.08) !important;
}

.single article .entry-content blockquote p,
.single .wp-block-quote p {
  color: var(--adv-text) !important;
  margin: 0 !important;
}

/* Tables */
.single article .entry-content table {
  width: 100% !important;
  background: #ffffff !important;
  color: var(--adv-text) !important;
  border-collapse: collapse !important;
  border: 1px solid var(--adv-border) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

.single article .entry-content th,
.single article .entry-content td {
  color: #334155 !important;
  background: #ffffff !important;
  border: 1px solid var(--adv-border) !important;
  padding: 14px 16px !important;
  text-align: left !important;
}

.single article .entry-content th {
  background: #faf8f5 !important;
  color: var(--adv-text) !important;
  font-weight: 800 !important;
}

/* Captions */
.single figure figcaption,
.single .wp-element-caption,
.single .wp-block-image figcaption {
  color: #78716c !important;
  opacity: 1 !important;
  font-style: italic !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Sidebar widgets */
#secondary .widget,
.widget-area .widget {
  background: #ffffff !important;
  border: 1px solid var(--adv-border) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 45px rgba(28, 25, 23, 0.06) !important;
  color: var(--adv-text) !important;
}

#secondary .widget .widget-title,
.widget-area .widget-title {
  color: var(--adv-text) !important;
  font-size: 22px !important;
  text-transform: none !important;
  letter-spacing: -0.03em !important;
}

.widget-area .widget a {
  color: var(--adv-orange) !important;
}

/* Search widget */
.wp-block-search__input,
input[type="search"] {
  border: 1px solid var(--adv-border) !important;
  border-radius: 999px !important;
  padding: 12px 16px !important;
  background: #ffffff !important;
}

.wp-block-search__button,
.search-submit {
  background: #1c1917 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
}

/* Pagination */
.navigation.pagination .nav-links a,
.navigation.pagination .nav-links span {
  border-radius: 999px !important;
  border: 1px solid var(--adv-border) !important;
  color: var(--adv-text) !important;
}

.navigation.pagination .nav-links a:hover,
.navigation.pagination .nav-links .current {
  background: var(--adv-orange) !important;
  color: #ffffff !important;
  border-color: var(--adv-orange) !important;
}

/* Footer */
#colophon,
.site-footer {
  background: var(--adv-bg) !important;
  color: var(--adv-muted) !important;
  border-top: 1px solid var(--adv-border) !important;
}

/* Mobile */
@media (max-width: 768px) {
  .site-branding {
    padding: 18px 16px !important;
  }

  .site-title,
  .site-title a {
    font-size: 24px !important;
  }

  .site-description {
    font-size: 13px !important;
  }

  #site-navigation ul li a {
    line-height: 46px !important;
    padding: 0 14px !important;
  }

  .blog .entry-title a,
  .archive .entry-title a,
  .search .entry-title a {
    font-size: 22px !important;
  }
}
/* Switch mode icon hide */
span.site-mode-icon {
    display: none;
}
/* Premium left-aligned blog header with logo */
.site-branding {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 28px 24px 24px !important;
  text-align: left !important;
  display: block !important;
  background: #faf8f5 !important;
}

/* Logo size fix */
.custom-logo-link {
  display: inline-block !important;
  margin: 0 0 10px 0 !important;
}

.custom-logo-link img,
.site-logo img,
.custom-logo {
  width: 42px !important;
  max-width: 42px !important;
  height: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Site title */
.site-title,
.site-title a {
  display: inline-block !important;
  vertical-align: middle !important;
  margin-left: 10px !important;
  font-family: "Be Vietnam Pro", Helvetica, Arial, sans-serif !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  color: #1c1917 !important;
  text-align: left !important;
  text-decoration: none !important;
}

/* Subtitle under logo/title */
.site-description {
  display: block !important;
  max-width: 540px !important;
  margin: 8px 0 0 54px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #78716c !important;
  text-align: left !important;
}

/* Remove huge center styling */
.site-branding img {
  max-height: 48px !important;
  object-fit: contain !important;
}

/* Mobile */
@media (max-width: 768px) {
  .site-branding {
    padding: 20px 18px !important;
  }

  .custom-logo-link img,
  .site-logo img,
  .custom-logo {
    width: 34px !important;
    max-width: 34px !important;
  }

  .site-title,
  .site-title a {
    font-size: 20px !important;
    margin-left: 8px !important;
  }

  .site-description {
    margin-left: 42px !important;
    font-size: 13px !important;
  }
}
/* Premium left-aligned blog header with logo */
/* .site-branding {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 28px 24px 24px !important;
  text-align: left !important;
  display: block !important;
  background: #faf8f5 !important;
} */

/* Logo size fix */
.custom-logo-link {
  display: inline-block !important;
  margin: 0 0 10px 0 !important;
}

.custom-logo-link img,
.site-logo img,
.custom-logo {
  width: 42px !important;
  max-width: 42px !important;
  height: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* Site title */
.site-title,
.site-title a {
  display: inline-block !important;
  vertical-align: middle !important;
  margin-left: 10px !important;
  font-family: "Be Vietnam Pro", Helvetica, Arial, sans-serif !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  color: #1c1917 !important;
  text-align: left !important;
  text-decoration: none !important;
}

/* Subtitle under logo/title */
.site-description {
  display: block !important;
  max-width: 540px !important;
  margin: 8px 0 0 54px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #78716c !important;
  text-align: left !important;
}

/* Remove huge center styling */
.site-branding img {
  max-height: 48px !important;
  object-fit: contain !important;
}

/* Mobile */
@media (max-width: 768px) {
  .site-branding {
    padding: 20px 18px !important;
  }

  .custom-logo-link img,
  .site-logo img,
  .custom-logo {
    width: 34px !important;
    max-width: 34px !important;
  }

  .site-title,
  .site-title a {
    font-size: 20px !important;
    margin-left: 8px !important;
  }

  .site-description {
    margin-left: 42px !important;
    font-size: 13px !important;
  }
}
/* Compact left-aligned Advancelytics blog header */

/* body.wp-child-theme-blogger-diary #masthead,
body.wp-child-theme-blogger-diary .site-header {
  background: #faf8f5 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.wp-child-theme-blogger-diary #masthead .site-branding {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 14px 24px !important;

  display: grid !important;
  grid-template-columns: 34px 1fr !important;
  grid-template-rows: auto auto !important;
  column-gap: 10px !important;
  row-gap: 2px !important;

  align-items: center !important;
  justify-content: start !important;
  text-align: left !important;

  background: #faf8f5 !important;
  border-bottom: none !important;
  min-height: 0 !important;
} */

/* Remove previous header glow/effects */
body.wp-child-theme-blogger-diary #masthead .site-branding::before,
body.wp-child-theme-blogger-diary #masthead .site-branding::after {
  display: none !important;
  content: none !important;
}

/* Logo */
body.wp-child-theme-blogger-diary #masthead .custom-logo-link {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;

  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.wp-child-theme-blogger-diary #masthead .custom-logo,
body.wp-child-theme-blogger-diary #masthead .custom-logo-link img {
  width: 34px !important;
  max-width: 34px !important;
  height: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Title */
body.wp-child-theme-blogger-diary #masthead .site-title,
body.wp-child-theme-blogger-diary #masthead .site-title a {
  grid-column: 2 !important;
  grid-row: 1 !important;

  margin: 0 !important;
  padding: 0 !important;

  font-family: "Be Vietnam Pro", Helvetica, Arial, sans-serif !important;
  font-size: 19px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  color: #1c1917 !important;
  text-align: left !important;
  text-decoration: none !important;
}

/* Subtitle */
body.wp-child-theme-blogger-diary #masthead .site-description {
  grid-column: 2 !important;
  grid-row: 2 !important;

  margin: 2px 0 0 0 !important;
  padding: 0 !important;

  max-width: 560px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #78716c !important;
  text-align: left !important;
}

/* Reduce gap before menu */
body.wp-child-theme-blogger-diary .main-menu-wrapper {
  margin-top: 0 !important;
  border-top: 1px solid #e7e5e4 !important;
  border-bottom: 1px solid #e7e5e4 !important;
}

/* Mobile */
@media (max-width: 768px) {
  body.wp-child-theme-blogger-diary #masthead .site-branding {
    padding: 12px 16px !important;
    grid-template-columns: 30px 1fr !important;
  }

  body.wp-child-theme-blogger-diary #masthead .custom-logo-link,
  body.wp-child-theme-blogger-diary #masthead .custom-logo,
  body.wp-child-theme-blogger-diary #masthead .custom-logo-link img {
    width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    max-height: 30px !important;
  }

  body.wp-child-theme-blogger-diary #masthead .site-title,
  body.wp-child-theme-blogger-diary #masthead .site-title a {
    font-size: 18px !important;
  }

  body.wp-child-theme-blogger-diary #masthead .site-description {
    font-size: 11px !important;
  }
}
/* Reduce blog header height while keeping current logo/title size */

body.wp-child-theme-blogger-diary #masthead .site-branding {
  padding-top: 10px !important;
  padding-bottom: 8px !important;
  min-height: 0 !important;
  height: auto !important;
}

body.wp-child-theme-blogger-diary #masthead {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

body.wp-child-theme-blogger-diary .site-header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

/* Reduce empty space between header and menu */
body.wp-child-theme-blogger-diary .main-menu-wrapper {
  margin-top: 0 !important;
}

/* Reduce nav height slightly */
body.wp-child-theme-blogger-diary #site-navigation ul li a {
  line-height: 44px !important;
}
* Mobile */
@media (max-width: 768px) {
  body.wp-child-theme-blogger-diary #masthead .site-branding {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body.wp-child-theme-blogger-diary #site-navigation ul li a {
    line-height: 40px !important;
  }
}
/* Slightly improve premium feel */

/* Softer divider */
.main-menu-wrapper {
  border-top: 1px solid #ece7df !important;
  border-bottom: 1px solid #ece7df !important;
}

/* Slightly tighter subtitle */
.site-description {
  letter-spacing: -0.01em !important;
  opacity: 0.9 !important;
}

/* More premium nav hover */
#site-navigation ul li a:hover {
  color: #ea580c !important;
  transition: all 0.2s ease !important;
}

/* Active menu item */
.current-menu-item > a {
  color: #ea580c !important;
}
/* FORCE CENTER TOP BRANDING AREA */
body.wp-child-theme-blogger-diary #masthead .site-branding {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  padding-top: 14px !important;
  padding-bottom: 12px !important;

  background: #faf8f5 !important;
}

/* Logo center */
body.wp-child-theme-blogger-diary #masthead .custom-logo-link {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: auto !important;
  height: auto !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
}

body.wp-child-theme-blogger-diary #masthead .custom-logo,
body.wp-child-theme-blogger-diary #masthead .custom-logo-link img {
  width: 34px !important;
  max-width: 34px !important;
  height: auto !important;
  max-height: 34px !important;
  object-fit: contain !important;
}

/* Title center */
body.wp-child-theme-blogger-diary #masthead .site-title,
body.wp-child-theme-blogger-diary #masthead .site-title a {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;

  text-align: center !important;

  font-size: 19px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  color: #1c1917 !important;
  text-decoration: none !important;
}

/* Subtitle center */
body.wp-child-theme-blogger-diary #masthead .site-description {
  display: block !important;
  margin: 4px auto 0 auto !important;
  padding: 0 !important;

  max-width: 560px !important;

  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #78716c !important;
}

/* Remove any old grid placement */
body.wp-child-theme-blogger-diary #masthead .custom-logo-link,
body.wp-child-theme-blogger-diary #masthead .site-title,
body.wp-child-theme-blogger-diary #masthead .site-description {
  grid-column: auto !important;
  grid-row: auto !important;
}
/* FORCE header branding to true page center */
body.wp-child-theme-blogger-diary #masthead .mt-container,
body.wp-child-theme-blogger-diary .site-header .mt-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Full-width branding area */
body.wp-child-theme-blogger-diary #masthead .site-branding {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  display: grid !important;
  grid-template-columns: auto auto !important;
  grid-template-rows: auto auto !important;
  column-gap: 10px !important;
  row-gap: 2px !important;

  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;

  padding: 14px 0 12px !important;
  background: #faf8f5 !important;
}

/* Logo */
body.wp-child-theme-blogger-diary #masthead .custom-logo-link {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.wp-child-theme-blogger-diary #masthead .custom-logo,
body.wp-child-theme-blogger-diary #masthead .custom-logo-link img {
  width: 34px !important;
  max-width: 34px !important;
  height: auto !important;
  max-height: 34px !important;
}

/* Title */
body.wp-child-theme-blogger-diary #masthead .site-title,
body.wp-child-theme-blogger-diary #masthead .site-title a {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;

  font-size: 19px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  color: #1c1917 !important;
  text-decoration: none !important;
}

/* Subtitle centered below both logo + title */
body.wp-child-theme-blogger-diary #masthead .site-description {
  grid-column: 1 / 3 !important;
  grid-row: 2 !important;

  margin: 4px auto 0 !important;
  padding: 0 !important;

  max-width: 620px !important;
  text-align: center !important;

  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #78716c !important;
}

/* Remove old header pseudo effects */
body.wp-child-theme-blogger-diary #masthead .site-branding::before,
body.wp-child-theme-blogger-diary #masthead .site-branding::after {
  display: none !important;
  content: none !important;
}
/* Reduce gap between logo and Advancelytics text */

body.wp-child-theme-blogger-diary #masthead .site-branding {
  column-gap: 6px !important;
}

/* Pull title slightly closer */
body.wp-child-theme-blogger-diary #masthead .site-title,
body.wp-child-theme-blogger-diary #masthead .site-title a {
  margin-left: -2px !important;
}
body.wp-child-theme-blogger-diary #masthead .site-title,
body.wp-child-theme-blogger-diary #masthead .site-title a {
  margin-left: -37px !important;
}
body.wp-child-theme-blogger-diary #masthead .site-title {
  margin-left: -37px !important;
}
/* Mobile fix for centered logo + title */
@media (max-width: 768px) {

  body.wp-child-theme-blogger-diary #masthead .site-branding {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 18px 16px 16px !important;
  }

  body.wp-child-theme-blogger-diary #masthead .custom-logo-link {
    margin: 0 0 8px 0 !important;
  }

  body.wp-child-theme-blogger-diary #masthead .custom-logo,
  body.wp-child-theme-blogger-diary #masthead .custom-logo-link img {
    width: 42px !important;
    max-width: 42px !important;
    height: auto !important;
    max-height: 42px !important;
  }

  body.wp-child-theme-blogger-diary #masthead .site-title,
  body.wp-child-theme-blogger-diary #masthead .site-title a {
    margin-left: 0 !important;
    text-align: center !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
  }

  body.wp-child-theme-blogger-diary #masthead .site-description {
    max-width: 92% !important;
    margin: 8px auto 0 !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
  }
}
/* Mobile table horizontal scroll fix */
@media (max-width: 768px) {

  .single article .entry-content table,
  .single .wp-block-table table {
    display: table !important;
    width: max-content !important;
    min-width: 760px !important;
    max-width: none !important;
    table-layout: auto !important;
  }

  .single article .entry-content .wp-block-table,
  .single .wp-block-table,
  .single article .entry-content figure.wp-block-table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 22px 0 !important;
  }

  .single article .entry-content th,
  .single article .entry-content td,
  .single .wp-block-table th,
  .single .wp-block-table td {
    white-space: normal !important;
    min-width: 180px !important;
    padding: 12px 14px !important;
    vertical-align: top !important;
  }

  /* Small hint for users */
  .single article .entry-content figure.wp-block-table::after,
  .single .wp-block-table::after {
    content: "Swipe left to view full table →" !important;
    display: block !important;
    margin-top: 8px !important;
    font-size: 12px !important;
    color: #78716c !important;
    font-style: italic !important;
  }
}
/* Remove thin line under top logo/header text */
body.wp-child-theme-blogger-diary #masthead .site-branding,
body.wp-child-theme-blogger-diary #masthead,
body.wp-child-theme-blogger-diary .site-header {
  border-bottom: none !important;
  box-shadow: none !important;
}

body.wp-child-theme-blogger-diary #masthead .site-branding::before,
body.wp-child-theme-blogger-diary #masthead .site-branding::after {
  display: none !important;
  content: none !important;
}