/* ==========================================================================
   Editorial Style Override for How I Travel (Kale Theme)
   Wirecutter/NYT-inspired design system
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   1. BASE TYPOGRAPHY & COLORS
   ========================================================================== */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #555 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif !important;
  color: #1a1a1a !important;
}

a {
  color: #006642 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover,
a:focus {
  color: #004d32 !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   2. HEADER — Compact single row, logo left, nav right, sticky
   ========================================================================== */

/* Hide tagline */
.tagline {
  display: none !important;
}

/* The header itself: single flex row */
.header {
  background: #fff !important;
  border-bottom: 1px solid #e5e5e5 !important;
  box-shadow: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 60px !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Logo row — left side, no centering, no extra space */
.header .header-row-2 {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  text-align: left !important;
}

.header .header-row-2 .logo {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-row-2 .logo .header-logo-text {
  text-align: left !important;
}

.header-row-2 .logo .header-logo-text a {
  font-family: 'Lora', Georgia, serif !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  font-size: 22px !important;
  text-decoration: none !important;
  letter-spacing: -0.3px;
  text-transform: none !important;
}

.header-row-2 .logo .header-logo-text a:hover {
  color: #006642 !important;
  text-decoration: none !important;
}

/* Nav row — right side */
.header .header-row-3 {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin-left: auto !important;
}

/* Navigation bar */
.navbar-default {
  background: transparent !important;
  border: none !important;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.navbar-default .navbar-collapse {
  padding: 0 !important;
}

.navbar-default .navbar-nav {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.navbar-default .navbar-nav > li > a {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #555 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 8px 14px !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #006642 !important;
  background: transparent !important;
  text-decoration: none !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover {
  color: #006642 !important;
  background: transparent !important;
}

/* Search icon in nav — keep it subtle */
.navbar-default .navbar-nav > li.search > a {
  color: #888 !important;
  font-size: 14px !important;
}

.navbar-default .navbar-nav > li.search > a:hover {
  color: #006642 !important;
}

/* ==========================================================================
   3. LAYOUT & CONTENT WIDTH
   ========================================================================== */

.single-post .main-column.col-md-8 {
  max-width: 720px !important;
}

.single-post .container {
  max-width: 1100px !important;
}

/* ==========================================================================
   4. POST ENTRY — Single post styles
   ========================================================================== */

/* Hide featured image */
.entry-thumb {
  display: none !important;
}

/* Date */
.single-post .entry-header .entry-date {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #888 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 8px !important;
}

.single-post .entry-header .entry-date a {
  color: #888 !important;
}

/* Title */
.single-post h1.entry-title {
  font-family: 'Lora', Georgia, serif !important;
  font-size: clamp(28px, 4vw, 38px) !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  line-height: 1.25 !important;
  margin-bottom: 24px !important;
  margin-top: 8px !important;
}

/* Content typography */
.single-post .single-content {
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #555 !important;
}

.single-post .single-content p {
  margin-bottom: 24px !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
}

.single-post .single-content h2 {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-top: 48px !important;
  margin-bottom: 20px !important;
  line-height: 1.3 !important;
}

.single-post .single-content h3 {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin-top: 36px !important;
  margin-bottom: 16px !important;
  line-height: 1.35 !important;
}

.single-post .single-content h4 {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin-top: 28px !important;
  margin-bottom: 12px !important;
}

/* Lists */
.single-post .single-content ul,
.single-post .single-content ol {
  margin-bottom: 24px !important;
  padding-left: 24px !important;
}

.single-post .single-content li {
  margin-bottom: 8px !important;
  line-height: 1.7 !important;
}

/* Blockquotes */
.single-post .single-content blockquote {
  border-left: 3px solid #006642 !important;
  margin: 32px 0 !important;
  padding: 16px 24px !important;
  background: #fafaf8 !important;
  font-style: italic !important;
  color: #444 !important;
  border-radius: 0 8px 8px 0 !important;
}

/* Images in content */
.single-post .single-content img {
  border-radius: 8px !important;
  margin: 24px 0 !important;
}

/* Figcaptions */
.single-post .single-content figcaption,
.single-post figcaption,
.wp-caption-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-style: italic !important;
  color: #888 !important;
  text-align: center !important;
  margin-top: 8px !important;
  margin-bottom: 24px !important;
  line-height: 1.5 !important;
}

/* YouTube embeds */
.single-post .single-content iframe[src*="youtube"],
.single-post .single-content iframe[src*="youtu.be"],
.single-post .single-content .youtube-player,
.single-post .single-content .wp-block-embed__wrapper iframe {
  border-radius: 8px !important;
  margin: 24px 0 !important;
}

/* Code-block wrappers (ad blocks) */
.single-post .code-block {
  margin: 24px 0 !important;
  clear: both !important;
}

/* ==========================================================================
   5. KEY TAKEAWAY BOXES (.section.dark)
   ========================================================================== */

.single-post .section.dark {
  background: #e8f5ee !important;
  border: none !important;
  border-left: 4px solid #006642 !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 24px 28px !important;
  margin: 32px 0 !important;
  color: #333 !important;
}

.single-post .section.dark h2,
.single-post .section.dark h3,
.single-post .section.dark h4,
.single-post .section.dark h5 {
  color: #006642 !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.single-post .section.dark p {
  color: #333 !important;
  margin-bottom: 12px !important;
}

.single-post .section.dark p:last-child {
  margin-bottom: 0 !important;
}

.single-post .section.dark ul,
.single-post .section.dark ol {
  color: #333 !important;
}

/* ==========================================================================
   6. CTA BOXES (.bluectabox)
   ========================================================================== */

.single-post .bluectabox {
  background: #fff !important;
  border: 2px solid #006642 !important;
  border-radius: 12px !important;
  padding: 32px !important;
  margin: 32px 0 !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.single-post .bluectatitle {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
}

.single-post .bluectap {
  font-size: 16px !important;
  color: #555 !important;
  margin-bottom: 20px !important;
  line-height: 1.6 !important;
}

.single-post .bluectabutton,
.single-post .bluectabutton a {
  background: #006642 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-transform: none !important;
  display: inline-block !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.single-post .bluectabutton:hover,
.single-post .bluectabutton a:hover {
  background: #005536 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 66, 0.3) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   7. INLINE CTA BUTTONS (h5.buttonsmall)
   ========================================================================== */

.single-post h5.buttonsmall {
  margin: 24px 0 !important;
}

.single-post h5.buttonsmall a {
  background: #006642 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 28px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  display: inline-block !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.single-post h5.buttonsmall a:hover {
  background: #005536 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 66, 0.3) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   8. TABLES
   ========================================================================== */

.single-post .entry table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 28px 0 !important;
  font-size: 16px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.single-post .entry table thead tr,
.single-post .entry table tr:first-child {
  background: #006642 !important;
}

.single-post .entry table thead th,
.single-post .entry table thead td,
.single-post .entry table tr:first-child th,
.single-post .entry table tr:first-child td {
  background: #006642 !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  padding: 12px 16px !important;
  border: none !important;
}

.single-post .entry table th,
.single-post .entry table td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #e5e5e5 !important;
  text-align: left !important;
  vertical-align: top !important;
}

.single-post .entry table tbody tr:nth-child(even) {
  background: #fafaf8 !important;
}

.single-post .entry table tbody tr:nth-child(odd) {
  background: #fff !important;
}

.single-post .entry table tbody tr:hover {
  background: #f0f0ee !important;
}

/* ==========================================================================
   9. ENTRY FOOTER — Author / Meta / Tags / Category
   ========================================================================== */

.single-post .entry-footer {
  border-top: 1px solid #e5e5e5 !important;
  padding-top: 24px !important;
  margin-top: 48px !important;
}

.single-post .entry-footer .entry-meta {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #888 !important;
  line-height: 1.8 !important;
}

.single-post .entry-category,
.single-post .entry-tags {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #888 !important;
}

.single-post .entry-category a,
.single-post .entry-tags a {
  color: #006642 !important;
  font-weight: 500 !important;
}

.single-post .entry-category a:hover,
.single-post .entry-tags a:hover {
  color: #004d32 !important;
  text-decoration: underline !important;
}

.single-post .entry-author {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #888 !important;
}

/* ==========================================================================
   10. COMMENTS — Modern, clean form
   ========================================================================== */

.single-post .comments,
.single-post #comments {
  border-top: 1px solid #e5e5e5 !important;
  padding-top: 32px !important;
  margin-top: 32px !important;
}

/* "Leave a Reply" title */
.single-post .comments h3,
.single-post .comments .comments-title,
.single-post #reply-title,
.single-post .comment-reply-title {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 24px !important;
}

/* Comment form notes (required fields) */
.single-post .comment-notes,
.single-post .comments .logged-in-as {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #999 !important;
  margin-bottom: 20px !important;
}

/* Form labels */
.single-post .comment-form label,
.single-post #commentform label {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #888 !important;
  display: block !important;
  margin-bottom: 6px !important;
}

/* Form inputs and textarea */
.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"],
.single-post .comment-form input[type="url"],
.single-post .comment-form textarea,
.single-post #commentform input[type="text"],
.single-post #commentform input[type="email"],
.single-post #commentform input[type="url"],
.single-post #commentform textarea {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 6px !important;
  padding: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none !important;
}

.single-post .comment-form input[type="text"]:focus,
.single-post .comment-form input[type="email"]:focus,
.single-post .comment-form input[type="url"]:focus,
.single-post .comment-form textarea:focus,
.single-post #commentform input[type="text"]:focus,
.single-post #commentform input[type="email"]:focus,
.single-post #commentform input[type="url"]:focus,
.single-post #commentform textarea:focus {
  border-color: #006642 !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 66, 0.1) !important;
}

.single-post .comment-form textarea,
.single-post #commentform textarea {
  min-height: 150px !important;
  resize: vertical !important;
}

/* CAPTCHA / math question styling */
.single-post .comment-form .commentform-captcha,
.single-post .comment-form .cptch_block,
.single-post .comment-form .comment-form-captcha,
.single-post #commentform [class*="captcha"],
.single-post #commentform [class*="cptch"] {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #555 !important;
  margin: 16px 0 !important;
  padding: 12px 16px !important;
  background: #fafaf8 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 6px !important;
}

.single-post .comment-form [class*="captcha"] input,
.single-post .comment-form [class*="cptch"] input {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  width: auto !important;
  min-width: 80px !important;
}

/* "Post Comment" button */
.single-post .comment-form input[type="submit"],
.single-post .comment-form .submit,
.single-post #commentform input[type="submit"],
.single-post .form-submit input[type="submit"] {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: #006642 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 28px !important;
  cursor: pointer !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.single-post .comment-form input[type="submit"]:hover,
.single-post #commentform input[type="submit"]:hover,
.single-post .form-submit input[type="submit"]:hover {
  background: #005536 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 66, 0.3) !important;
}

/* Existing comment list styling */
.single-post .comment-list .comment {
  border-bottom: 1px solid #f0f0f0 !important;
  padding: 20px 0 !important;
}

.single-post .comment-list .comment .comment-author {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #1a1a1a !important;
}

.single-post .comment-list .comment .comment-meta {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  color: #999 !important;
}

.single-post .comment-list .comment .comment-content {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: #555 !important;
  line-height: 1.6 !important;
  margin-top: 8px !important;
}

/* ==========================================================================
   11. PAGINATION — Post navigation as clean cards
   ========================================================================== */

.single-post .pagination-post {
  margin-top: 40px !important;
  padding: 0 !important;
  border-top: none !important;
}

.single-post .pagination-post > div,
.single-post .pagination-post .nav-previous,
.single-post .pagination-post .nav-next,
.single-post .pagination-post a {
  display: block !important;
  background: #fafaf8 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  padding: 16px 20px !important;
  margin-bottom: 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #006642 !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.single-post .pagination-post a:hover {
  border-color: #006642 !important;
  box-shadow: 0 2px 8px rgba(0, 102, 66, 0.08) !important;
  transform: translateY(-1px) !important;
  text-decoration: none !important;
  color: #004d32 !important;
}

/* ==========================================================================
   12. SIDEBAR
   ========================================================================== */

aside.sidebar {
  padding-left: 32px !important;
}

.sidebar .widget {
  background: #fafaf8 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
}

.sidebar .widget-title,
.sidebar .widget h3,
.sidebar .widget h4 {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #1a1a1a !important;
  border-bottom: 2px solid #006642 !important;
  padding-bottom: 10px !important;
  margin-bottom: 16px !important;
}

.sidebar .widget a {
  color: #006642 !important;
  font-size: 15px !important;
}

.sidebar .widget ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar .widget ul li {
  padding: 8px 0 !important;
  border-bottom: 1px solid #efefef !important;
  font-size: 15px !important;
}

.sidebar .widget ul li:last-child {
  border-bottom: none !important;
}

/* ==========================================================================
   13. FOOTER — Clean, hide credit, style disclosure
   ========================================================================== */

/* Hide "Kale by LyraThemes" credit */
.footer .footer-copyright,
.footer .site-info .theme-info,
.footer-copyright {
  display: none !important;
}

/* Footer general styling */
.footer,
.site-footer {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #888 !important;
}

/* Amazon affiliate disclosure / disclaimer text */
.footer .textwidget,
.site-footer .textwidget,
.footer p,
.single-post .entry-content .affiliate-disclosure,
.footer .widget_text p {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-style: italic !important;
  color: #999 !important;
  text-align: center !important;
  line-height: 1.6 !important;
}

/* Footer Privacy Policy link */
.footer a[href*="privacy"],
.site-footer a[href*="privacy"],
.footer .privacy-policy-link {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #006642 !important;
  font-weight: 500 !important;
}

/* "Join Our Private Newsletter" block (code-block-21) */
.code-block-21,
.footer .code-block,
.site-footer .code-block {
  background: #fafaf8 !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  padding: 24px !important;
  margin: 24px auto !important;
  max-width: 600px !important;
  text-align: center !important;
  font-family: 'Inter', sans-serif !important;
}

.code-block-21 h3,
.code-block-21 h4,
.code-block-21 h5 {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
}

.code-block-21 p {
  font-size: 14px !important;
  color: #555 !important;
  margin-bottom: 16px !important;
}

.code-block-21 input[type="email"],
.code-block-21 input[type="text"] {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  max-width: 320px !important;
  box-sizing: border-box !important;
}

.code-block-21 input[type="submit"],
.code-block-21 button {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: #006642 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 24px !important;
  cursor: pointer !important;
  transition: background 0.2s ease;
}

.code-block-21 input[type="submit"]:hover,
.code-block-21 button:hover {
  background: #005536 !important;
}

/* ==========================================================================
   14. HOMEPAGE — Keep it clean, don't break it
   ========================================================================== */

.home .entry {
  border-bottom: 1px solid #e5e5e5 !important;
  padding-bottom: 24px !important;
  margin-bottom: 24px !important;
}

.home .entry h2 a,
.home .entry .entry-title a {
  font-family: 'Lora', Georgia, serif !important;
  color: #1a1a1a !important;
}

.home .entry h2 a:hover,
.home .entry .entry-title a:hover {
  color: #006642 !important;
}

/* ==========================================================================
   15. GENERAL UI POLISH
   ========================================================================== */

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Selection */
::selection {
  background: #e8f5ee;
  color: #1a1a1a;
}

/* HR */
.single-post .single-content hr {
  border: none !important;
  border-top: 1px solid #e5e5e5 !important;
  margin: 40px 0 !important;
}

/* Strong/Bold */
.single-post .single-content strong,
.single-post .single-content b {
  color: #333 !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   16. RESPONSIVE — Tablet (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  body {
    font-size: 16px !important;
  }

  /* Header: NOT sticky on mobile — takes too much space */
  .header {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 10px 0 !important;
  }

  /* Logo centered on mobile */
  .header .header-row-2 {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 0 !important;
  }

  .header .header-row-2 .logo,
  .header-row-2 .logo .header-logo-text {
    text-align: center !important;
  }

  .header-row-2 .logo .header-logo-text a {
    font-size: 20px !important;
  }

  /* Nav full width on mobile */
  .header .header-row-3 {
    width: 100% !important;
    justify-content: center !important;
    margin-left: 0 !important;
  }

  /* Hamburger menu button */
  .navbar-default .navbar-toggle {
    border: 1px solid #e5e5e5 !important;
    border-radius: 6px !important;
    padding: 8px 10px !important;
    margin: 4px 0 !important;
    background: transparent !important;
  }

  .navbar-default .navbar-toggle .icon-bar {
    background-color: #555 !important;
    height: 2px !important;
    width: 22px !important;
    border-radius: 1px !important;
  }

  .navbar-default .navbar-toggle:hover,
  .navbar-default .navbar-toggle:focus {
    background: #fafaf8 !important;
    border-color: #ccc !important;
  }

  /* Mobile nav dropdown */
  .navbar-default .navbar-collapse {
    border-top: 1px solid #e5e5e5 !important;
    margin-top: 8px !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .navbar-default .navbar-nav {
    display: block !important;
    margin: 0 !important;
  }

  .navbar-default .navbar-nav > li {
    display: block !important;
    width: 100% !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .navbar-default .navbar-nav > li:last-child {
    border-bottom: none !important;
  }

  .navbar-default .navbar-nav > li > a {
    padding: 12px 16px !important;
    font-size: 14px !important;
    text-align: left !important;
    display: block !important;
  }

  .single-post h1.entry-title {
    font-size: 26px !important;
  }

  .single-post .single-content h2 {
    font-size: 22px !important;
    margin-top: 36px !important;
  }

  .single-post .single-content h3 {
    font-size: 18px !important;
    margin-top: 28px !important;
  }

  .single-post .single-content p {
    font-size: 16px !important;
  }

  .single-post .bluectabox {
    padding: 24px 20px !important;
    margin: 24px 0 !important;
  }

  .single-post .section.dark {
    padding: 20px !important;
    margin: 24px 0 !important;
  }

  aside.sidebar {
    padding-left: 0 !important;
    margin-top: 32px !important;
  }

  .single-post .entry table {
    font-size: 14px !important;
  }

  .single-post .entry table th,
  .single-post .entry table td {
    padding: 8px 10px !important;
  }
}

/* ==========================================================================
   17. RESPONSIVE — Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
  body {
    font-size: 15px !important;
  }

  .header-row-2 .logo .header-logo-text a {
    font-size: 20px !important;
  }

  .single-post h1.entry-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .single-post .single-content h2 {
    font-size: 20px !important;
    margin-top: 32px !important;
  }

  .single-post .single-content h3 {
    font-size: 17px !important;
    margin-top: 24px !important;
  }

  .single-post .single-content p {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .single-post .bluectabox {
    padding: 20px 16px !important;
    border-radius: 8px !important;
  }

  .single-post .bluectatitle {
    font-size: 19px !important;
  }

  .single-post .bluectabutton,
  .single-post .bluectabutton a {
    padding: 12px 24px !important;
    font-size: 15px !important;
    width: 100% !important;
    text-align: center !important;
  }

  .single-post h5.buttonsmall a {
    padding: 12px 24px !important;
    font-size: 14px !important;
    display: block !important;
    text-align: center !important;
  }

  .single-post .section.dark {
    padding: 16px !important;
    margin: 20px -8px !important;
    border-radius: 0 !important;
  }

  .sidebar .widget {
    padding: 16px !important;
  }

  /* Stack table on small screens */
  .single-post .entry table,
  .single-post .entry table thead,
  .single-post .entry table tbody,
  .single-post .entry table tr,
  .single-post .entry table th,
  .single-post .entry table td {
    display: block !important;
    width: 100% !important;
  }

  .single-post .entry table tr {
    margin-bottom: 12px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  .single-post .entry table td {
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 8px 12px !important;
  }

  /* Comment form inputs full width on mobile */
  .single-post .comment-form input[type="text"],
  .single-post .comment-form input[type="email"],
  .single-post .comment-form input[type="url"],
  .single-post #commentform input[type="text"],
  .single-post #commentform input[type="email"],
  .single-post #commentform input[type="url"] {
    width: 100% !important;
  }

  /* Pagination cards stack nicely */
  .single-post .pagination-post a {
    padding: 14px 16px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   EDITORIAL PHP TEMPLATE ELEMENTS
   These match the structural HTML added in single-editorial.php
   ========================================================================== */

/* ── BREADCRUMBS ── */
.editorial-breadcrumbs {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  color: #888 !important;
  margin-bottom: 24px !important;
  padding: 0 !important;
}

.editorial-breadcrumbs a {
  color: #888 !important;
  text-decoration: none !important;
}

.editorial-breadcrumbs a:hover {
  color: #006642 !important;
}

.editorial-breadcrumbs span {
  margin: 0 6px !important;
  color: #ccc !important;
}

/* ── CATEGORY LABEL ── */
.editorial-category {
  display: inline-block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #006642 !important;
  margin-bottom: 12px !important;
}

/* Hide the old date meta — it's replaced by editorial-meta bar */
.single-post .entry-header .entry-meta {
  display: none !important;
}

/* ── SUBTITLE ── */
.editorial-subtitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  color: #555 !important;
  margin-bottom: 24px !important;
  margin-top: 0 !important;
}

/* ── AUTHOR META BAR ── */
.editorial-meta {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 20px 0 !important;
  border-top: 1px solid #e5e5e5 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  color: #888 !important;
  margin-bottom: 32px !important;
}

.editorial-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #006642, #00a86b) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.editorial-meta-info {
  line-height: 1.4 !important;
}

.editorial-author-name {
  font-weight: 600 !important;
  color: #1a1a1a !important;
}

.editorial-date {
  color: #888 !important;
}

.editorial-dot {
  color: #e5e5e5 !important;
}

.editorial-reading-time {
  color: #888 !important;
}

/* ── AUTHOR BIO CARD ── */
.editorial-author-bio {
  display: flex !important;
  gap: 20px !important;
  padding: 32px !important;
  background: #fafaf8 !important;
  border-radius: 12px !important;
  margin: 48px 0 32px !important;
}

.editorial-bio-avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #006642, #00a86b) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 28px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.editorial-bio-content h4 {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  margin-top: 0 !important;
  color: #1a1a1a !important;
}

.editorial-bio-content p {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: #555 !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}

/* ── RESPONSIVE for editorial elements ── */
@media (max-width: 768px) {
  .editorial-meta {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .editorial-subtitle {
    font-size: 17px !important;
  }
}

@media (max-width: 480px) {
  .editorial-author-bio {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    padding: 24px !important;
  }

  .editorial-subtitle {
    font-size: 16px !important;
  }

  .editorial-meta {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }
}

/* ==========================================================================
   18. STRUCTURAL CLEANUP — Hide broken/ugly elements, fix layout
   Added 2026-03-12
   ========================================================================== */

/* ── Hide old Kale nav bar (header-row-3) ── */
.header-row-3 {
  display: none !important;
}

/* ── Improved header ── */
.header {
  background: #fff !important;
  border-bottom: 1px solid #e5e5e5 !important;
  box-shadow: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  padding: 0 24px !important;
  height: auto !important;
  display: block !important;
}

.header-row-2 {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 18px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: none !important;
  background: transparent !important;
}

.header-row-2 .logo {
  text-align: left !important;
  margin: 0 !important;
}

.header-row-2 .logo .header-logo-text a {
  font-family: 'Lora', Georgia, serif !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  font-size: 24px !important;
  text-decoration: none !important;
  letter-spacing: -0.5px !important;
}

.header-row-2 .logo .header-logo-text a:hover {
  color: #006642 !important;
  text-decoration: none !important;
}

/* ── Amazon affiliate disclosure — tiny ── */
.code-block-8,
.code-block-8 p {
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #bbb !important;
  font-style: italic !important;
  text-align: center !important;
  max-width: 600px !important;
  margin: 8px auto !important;
  padding: 8px 16px !important;
}

/* ── Hide Kale theme footer completely ── */
.footer {
  display: none !important;
}
.footer-widgets {
  display: none !important;
}

/* ── Hide newsletter CTA block (code-block-21) ── */
.code-block-21 {
  display: none !important;
}

/* ── Fix sidebar — hide empty/broken widgets ── */

/* Hide empty sidebar widgets */
.sidebar .widget:empty,
.sidebar .widget_block:empty {
  display: none !important;
}

/* If sidebar has no visible content, hide it and make content full-width */
.single-post .sidebar-column:empty {
  display: none !important;
}

/* Sidebar widget blocks with no content */
.sidebar .default-widget .widget_block:not(:has(*)) {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Make sidebar block have no bg/border when empty */
.sidebar .sidebar-default {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* ── Editorial Footer (custom footer.php) ── */
.editorial-footer {
  background: #1a1a1a !important;
  color: #999 !important;
  padding: 64px 24px 32px !important;
  font-family: 'Inter', sans-serif !important;
  margin-top: 48px !important;
}

.editorial-footer a {
  color: #ccc !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.editorial-footer a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* ==========================================================================
   19. CTA INLINE STYLE OVERRIDES
   These elements have heavy INLINE styles in the HTML.
   Using [style] attribute selector + !important on every property to win
   the specificity battle against inline styles.
   Added 2026-03-12
   ========================================================================== */

/* ── 19a. .bluectabox — Main CTA card ── */

.single-post .single-content .bluectabox[style] {
  background: #fff !important;
  background-color: #fff !important;
  border: 2px solid #006642 !important;
  border-radius: 12px !important;
  padding: 32px !important;
  margin: 40px 0 !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  position: relative !important;
  top: auto !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
}

.single-post .single-content .bluectabox[style]::before {
  content: "✨ Recommended" !important;
  display: block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #006642 !important;
  margin-bottom: 16px !important;
}

/* ── 19b. .bluectatitle — CTA heading ── */

.single-post .single-content .bluectatitle[style] {
  font-family: 'Lora', Georgia, serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

/* ── 19c. .bluectap — CTA description/list ── */

.single-post .single-content .bluectap[style] {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  color: #555 !important;
  line-height: 1.6 !important;
  text-align: left !important;
  padding-top: 16px !important;
}

.single-post .single-content .bluectap[style] ol[style] {
  margin-left: 24px !important;
  padding-left: 0 !important;
  list-style-position: outside !important;
}

.single-post .single-content .bluectap ol {
  margin-left: 24px !important;
  padding-left: 0 !important;
  list-style-position: outside !important;
}

/* ── 19d. .bluectabutton — CTA button ── */

.single-post .single-content .bluectabutton[style],
.single-post .single-content h5.buttonsmall.bluectabutton[style] {
  background: #006642 !important;
  background-color: #006642 !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 14px 36px !important;
  width: auto !important;
  border: none !important;
  border-radius: 8px !important;
  margin: 20px auto 0 !important;
  display: inline-block !important;
  text-transform: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.single-post .single-content .bluectabutton[style] a,
.single-post .single-content h5.buttonsmall.bluectabutton[style] a {
  background: #006642 !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 14px 36px !important;
  width: auto !important;
  border: none !important;
  border-radius: 8px !important;
  display: inline-block !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.single-post .single-content .bluectabutton[style]:hover,
.single-post .single-content h5.buttonsmall.bluectabutton[style]:hover,
.single-post .single-content .bluectabutton[style] a:hover,
.single-post .single-content h5.buttonsmall.bluectabutton[style] a:hover {
  background: #005536 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 66, 0.3) !important;
  text-decoration: none !important;
}

/* ── 19e. .topcashback — TopCashback CTA wrapper ── */

.single-post .single-content .topcashback[style] {
  background: #fff !important;
  background-color: #fff !important;
  border: 2px solid #006642 !important;
  border-radius: 12px !important;
  padding: 32px !important;
  text-align: center !important;
  margin: 40px 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* ── 19f. .topcashbackbutton — TopCashback button ── */

.single-post .single-content .topcashbackbutton[style] {
  background: #006642 !important;
  background-color: #006642 !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 14px 36px !important;
  width: auto !important;
  border: none !important;
  border-radius: 8px !important;
  margin: 20px auto 0 !important;
  display: inline-block !important;
  text-transform: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.single-post .single-content .topcashbackbutton[style] a {
  background: #006642 !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 14px 36px !important;
  width: auto !important;
  border: none !important;
  border-radius: 8px !important;
  display: inline-block !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.single-post .single-content .topcashbackbutton[style]:hover,
.single-post .single-content .topcashbackbutton[style] a:hover {
  background: #005536 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 66, 0.3) !important;
  text-decoration: none !important;
}

/* ── 19g. h5.buttonsmall — Standalone green buttons ── */
/* Ensure standalone buttons match the editorial design system */

.single-post .single-content h5.buttonsmall[style] {
  margin: 24px 0 !important;
  text-align: center !important;
}

.single-post .single-content h5.buttonsmall[style] a {
  background: #006642 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 28px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0.2px !important;
  display: inline-block !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.single-post .single-content h5.buttonsmall[style] a:hover {
  background: #005536 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 102, 66, 0.3) !important;
  text-decoration: none !important;
}

/* ── 19h. CTA Responsive — Tablet ── */

@media (max-width: 768px) {
  .single-post .single-content .bluectabox[style] {
    padding: 24px 20px !important;
    margin: 32px 0 !important;
  }

  .single-post .single-content .topcashback[style] {
    padding: 24px 20px !important;
    margin: 32px 0 !important;
  }
}

/* ── 19i. CTA Responsive — Small Mobile ── */

@media (max-width: 480px) {
  .single-post .single-content .bluectabox[style] {
    padding: 20px 16px !important;
    border-radius: 8px !important;
    margin: 24px 0 !important;
  }

  .single-post .single-content .bluectatitle[style] {
    font-size: 19px !important;
  }

  .single-post .single-content .bluectabutton[style],
  .single-post .single-content .bluectabutton[style] a,
  .single-post .single-content h5.buttonsmall.bluectabutton[style],
  .single-post .single-content h5.buttonsmall.bluectabutton[style] a {
    padding: 12px 24px !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .single-post .single-content .topcashback[style] {
    padding: 20px 16px !important;
    border-radius: 8px !important;
    margin: 24px 0 !important;
  }

  .single-post .single-content .topcashbackbutton[style],
  .single-post .single-content .topcashbackbutton[style] a {
    padding: 12px 24px !important;
    font-size: 14px !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .single-post .single-content h5.buttonsmall[style] a {
    padding: 12px 24px !important;
    font-size: 14px !important;
    display: block !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   20. HEADER V3 — Complete overhaul
   Clean, premium header with logo only. Nav/search hidden.
   Added 2026-03-12
   ========================================================================== */

/* Hide ALL nav/search elements */
.header-row-3,
.header-row-1,
.header-row-1-toggle {
  display: none !important;
}

/* The header itself */
.header {
  background: #fff !important;
  border-bottom: 1px solid #eee !important;
  box-shadow: none !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  display: block !important;
  height: auto !important;
  padding: 0 !important;
}

/* Header row 2 contains the logo */
.header-row-2 {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 20px 24px !important;
  display: block !important;
  text-align: left !important;
  border: none !important;
  background: transparent !important;
}

.header-row-2 .logo {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-row-2 .logo .header-logo-text {
  text-align: left !important;
}

.header-row-2 .logo .header-logo-text a {
  font-family: 'Lora', Georgia, serif !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  font-size: 22px !important;
  text-decoration: none !important;
  letter-spacing: -0.3px !important;
}

.header-row-2 .logo .header-logo-text a:hover {
  color: #006642 !important;
}

/* Remove any green line / borders */
.header hr,
.header .header-row-2::after,
.header .header-row-2::before {
  display: none !important;
  border: none !important;
}

.tagline {
  display: none !important;
}

/* ==========================================================================
   21. TABLES V2 — Fix readability (white text on green header)
   Added 2026-03-12
   ========================================================================== */

/* Table header — white text on green */
.single-post .single-content table thead th,
.single-post .single-content table thead td,
.entry table thead th,
.entry table thead td,
table thead th,
table thead td {
  background-color: #006642 !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 16px !important;
  border: none !important;
  text-align: left !important;
}

/* Table body cells */
.single-post .single-content table tbody td,
.entry table tbody td,
table tbody td {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  color: #333 !important;
  padding: 14px 16px !important;
  border-bottom: 1px solid #e5e5e5 !important;
  border-left: none !important;
  border-right: none !important;
  vertical-align: top !important;
  line-height: 1.5 !important;
}

/* Alternating rows */
.single-post .single-content table tbody tr:nth-child(even),
.entry table tbody tr:nth-child(even),
table tbody tr:nth-child(even) {
  background-color: #fafaf8 !important;
}

.single-post .single-content table tbody tr:nth-child(odd),
.entry table tbody tr:nth-child(odd),
table tbody tr:nth-child(odd) {
  background-color: #fff !important;
}

/* Table hover */
.single-post .single-content table tbody tr:hover,
.entry table tbody tr:hover,
table tbody tr:hover {
  background-color: #f5f5f3 !important;
}

/* Table container */
.single-post .single-content table,
.entry table,
table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin: 24px 0 !important;
}

/* Remove any dark text color override on th */
table th,
table th * {
  color: #fff !important;
}

/* ==========================================================================
   22. HEADER BORDER CLEANUP — Kill green line below header
   Added 2026-03-12
   ========================================================================== */

.header-row-2 {
  border-bottom: none !important;
}

.header-row-3 {
  display: none !important;
  border: none !important;
}

/* Kill any green borders in the header area */
.header *:not(a) {
  border-color: #eee !important;
}

/* ==========================================================================
   23. COUNTRY LIST TABLE (.wp-block-table) — Keep grid on mobile
   The 36-country table has no thead, just tbody rows with 4 columns.
   Must NOT stack on mobile — keep as a compact grid.
   Added 2026-03-14
   ========================================================================== */

/* Remove false green header from first row (these are countries, not headers) */
.single-post .entry .wp-block-table table tr:first-child td {
  background: #fff !important;
  color: #333 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px !important;
  border-bottom: 1px solid #e5e5e5 !important;
}

/* Scrollable wrapper for country grid */
.single-post .entry .wp-block-table {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Compact table styling for country grid */
.single-post .entry .wp-block-table table {
  table-layout: fixed !important;
  width: 100% !important;
  border-collapse: collapse !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin: 24px 0 !important;
}

.single-post .entry .wp-block-table table td {
  padding: 10px 12px !important;
  font-size: 15px !important;
  border-bottom: 1px solid #e5e5e5 !important;
  border-right: 1px solid #f0f0f0 !important;
  text-align: left !important;
}

.single-post .entry .wp-block-table table td:last-child {
  border-right: none !important;
}

.single-post .entry .wp-block-table table td p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

/* ── Mobile: Keep wp-block-table as a real table, override the stacking ── */
@media (max-width: 480px) {
  .single-post .entry .wp-block-table table,
  .single-post .entry .wp-block-table table tbody,
  .single-post .entry .wp-block-table table tr,
  .single-post .entry .wp-block-table table td {
    display: revert !important;
    width: auto !important;
  }

  .single-post .entry .wp-block-table table {
    width: 100% !important;
    table-layout: fixed !important;
  }

  .single-post .entry .wp-block-table table tr {
    margin-bottom: 0 !important;
    border: none !important;
    border-radius: 0 !important;
  }

  .single-post .entry .wp-block-table table td {
    padding: 8px 6px !important;
    font-size: 13px !important;
    border-bottom: 1px solid #e5e5e5 !important;
    border-right: 1px solid #f0f0f0 !important;
  }

  .single-post .entry .wp-block-table table td:last-child {
    border-right: none !important;
  }

  .single-post .entry .wp-block-table table td p {
    font-size: 13px !important;
    line-height: 1.3 !important;
  }

  /* Re-apply first-row fix at mobile too */
  .single-post .entry .wp-block-table table tr:first-child td {
    background: #fff !important;
    color: #333 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    font-size: 13px !important;
  }
}

@media (max-width: 768px) {
  .single-post .entry .wp-block-table table,
  .single-post .entry .wp-block-table table tbody,
  .single-post .entry .wp-block-table table tr,
  .single-post .entry .wp-block-table table td {
    display: revert !important;
    width: auto !important;
  }

  .single-post .entry .wp-block-table table {
    width: 100% !important;
    table-layout: fixed !important;
  }

  .single-post .entry .wp-block-table table td {
    padding: 8px 8px !important;
    font-size: 14px !important;
  }

  .single-post .entry .wp-block-table table td p {
    font-size: 14px !important;
  }
}

/* Fix: override table-level overflow:hidden that clips content and blocks scroll */
.single-post .entry .wp-block-table table {
  overflow: visible !important;
}

@media (max-width: 768px) {
  .single-post .entry .wp-block-table table {
    overflow: visible !important;
  }
}

@media (max-width: 480px) {
  .single-post .entry .wp-block-table table {
    overflow: visible !important;
  }
}
