/*
Theme Name:  Travel Guide in Europe - Enhanced
Theme URI:   https://yoursite.com
Author:      Your Name
Author URI:  https://yoursite.com
Description: A professional magazine-style travel blog theme for European travel guides. NOW WITH ENHANCED BLOG MODULE featuring advanced search, category filters, featured posts, newsletter widget, and modern responsive design. Original features: breaking news ticker, hero layout, country grids, itinerary cards, budget guides, and affiliate-ready hotel sections. Fully customizable via the WordPress Customizer.
Version:     2.3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: travelguide-europe
Tags:        travel, blog, magazine, two-columns, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, translation-ready, editor-style
*/

/* ═══════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES (Theme Colors)
   Override via Appearance → Customize → Theme Colors
═══════════════════════════════════════════════════ */
:root {
  --primary:        #0d9488;
  --primary-dark:   #0f766e;
  --primary-light:  #ccfbf1;
  --secondary:      #0f2942;
  --secondary-lt:   #1e3a5f;
  --accent:         #f59e0b;
  --danger:         #ef4444;
  --white:          #ffffff;
  --gray-50:        #f8fafc;
  --gray-100:       #f1f5f9;
  --gray-200:       #e2e8f0;
  --gray-400:       #94a3b8;
  --gray-600:       #475569;
  --gray-800:       #1e293b;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.13);
  --radius:         14px;
  --radius-sm:      8px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* WordPress alignment classes */
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignwide  { margin-left: calc(-8vw); margin-right: calc(-8vw); }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--gray-400); text-align: center; margin-top: 6px; }

/* Screen reader text */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; display: block;
  font-size: 14px; font-weight: 700; height: auto; left: 5px; line-height: normal;
  padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;
  background: white; box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
}

/* ─── BREAKING NEWS TICKER ─── */
.ticker-bar {
  background: var(--secondary);
  color: white;
  padding: 8px 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
}
.ticker-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}
.ticker-label {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 14px;
  white-space: nowrap;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
  margin-right: 16px;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-scroll {
  display: flex;
  animation: tickerMove 32s linear infinite;
  white-space: nowrap;
}
.ticker-scroll a.ticker-item-link { padding: 0 32px; color: #94d4ce; position: relative; text-decoration: none; white-space: nowrap; transition: color 0.2s; cursor: pointer; }
.ticker-scroll a.ticker-item-link:hover { color: #ffffff; text-decoration: underline; }
.ticker-scroll a.ticker-item-link::after {
  content: '✦';
  position: absolute;
  right: 0;
  color: var(--primary);
  transform: translateX(50%);
}
@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SITE HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon-wrap {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.site-branding .custom-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.site-name-wrap .site-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 700; line-height: 1.1;
  color: var(--secondary);
}
.site-name-wrap .site-title span { color: var(--primary); }
.site-name-wrap .site-description {
  font-size: 10px; font-weight: 500;
  color: var(--gray-400); letter-spacing: 0.08em; text-transform: uppercase;
}
a.site-branding-link { text-decoration: none; }

/* Primary Navigation */
.primary-nav { display: flex; align-items: center; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
.primary-nav ul li { position: relative; }
.primary-nav ul li a {
  font-size: 14px; font-weight: 500; color: var(--gray-600);
  padding: 6px 12px; border-radius: 7px;
  transition: all 0.2s; white-space: nowrap; display: block;
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a,
.primary-nav ul li.current_page_item > a {
  color: var(--primary-dark); background: var(--primary-light);
}
/* Dropdown */
.primary-nav ul li ul {
  position: absolute; top: 100%; left: 0;
  background: white; box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm); min-width: 200px;
  padding: 8px 0; display: none; flex-direction: column; gap: 0;
}
.primary-nav ul li:hover > ul { display: flex; }
.primary-nav ul li ul li a { padding: 8px 16px; border-radius: 0; font-size: 13px; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-search { display: flex; align-items: center; gap: 8px; background: var(--gray-100); border: 1.5px solid var(--gray-200); border-radius: 30px; padding: 6px 14px; cursor: pointer; transition: border-color 0.2s; }
.header-search:hover { border-color: var(--primary); }
.header-search input { background: transparent; border: none; outline: none; font-size: 13px; color: var(--gray-600); width: 120px; font-family: 'DM Sans', sans-serif; }
.header-search input::placeholder { color: var(--gray-400); }
.header-search button { background: none; border: none; cursor: pointer; font-size: 14px; padding: 0; }
.btn-subscribe {
  background: var(--primary); color: white; font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 30px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s; white-space: nowrap;
  font-family: 'DM Sans', sans-serif; text-decoration: none; display: inline-block;
}
.btn-subscribe:hover { background: var(--primary-dark); transform: translateY(-1px); color: white; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; color: var(--secondary);
  font-size: 22px; line-height: 1;
}

/* ─── SHARED LAYOUT ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--gray-100);
}
.section-title {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700;
  color: var(--secondary); display: flex; align-items: center; gap: 10px;
}
.section-title::before {
  content: ''; display: block; width: 5px; height: 28px;
  background: var(--primary); border-radius: 3px;
}
.see-all {
  font-size: 13px; font-weight: 600; color: var(--primary);
  border: 1.5px solid var(--primary); padding: 5px 14px; border-radius: 30px;
  transition: all 0.2s;
}
.see-all:hover { background: var(--primary); color: white; }

/* Tags */
.tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; padding: 3px 10px; border-radius: 30px; line-height: 1.6; }
.tag-primary   { background: var(--primary); color: white; }
.tag-secondary { background: var(--secondary); color: white; }
.tag-accent    { background: var(--accent); color: white; }
.tag-danger    { background: var(--danger); color: white; }
.tag-glass     { background: rgba(255,255,255,0.22); backdrop-filter: blur(6px); color: white; border: 1px solid rgba(255,255,255,0.35); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; padding: 3px 10px; border-radius: 30px; display: inline-block; }

/* Post Meta */
.post-meta { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-meta .author { font-weight: 600; color: var(--primary-dark); }
.post-meta .dot { color: var(--gray-200); }

/* ─── HERO SECTION ─── */
.hero-section { background: var(--gray-50); padding: 32px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; }

.feat-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); min-height: 500px; cursor: pointer;
}
.feat-main-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.feat-main-thumb.placeholder-thumb {
  display: flex; align-items: center; justify-content: center; font-size: 120px;
}
.feat-main:hover .feat-main-thumb { transform: scale(1.04); }
.feat-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.88) 40%, rgba(10,20,40,0.15) 100%);
}
.feat-main-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; color: white; }
.feat-main-content h2 { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; line-height: 1.25; margin: 10px 0 10px; }
.feat-main-content p { font-size: 14px; opacity: 0.8; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-more-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: white; font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 30px; transition: background 0.2s, gap 0.2s; }
.read-more-btn:hover { background: var(--primary-dark); gap: 10px; color: white; }

.feat-side { display: flex; flex-direction: column; gap: 24px; }
.feat-small {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); flex: 1; min-height: 235px; cursor: pointer;
}
.feat-small-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.feat-small-thumb.placeholder-thumb { display: flex; align-items: center; justify-content: center; font-size: 80px; }
.feat-small:hover .feat-small-thumb { transform: scale(1.06); }
.feat-small-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,40,0.85) 45%, transparent 100%); }
.feat-small-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; color: white; }
.feat-small-content h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; line-height: 1.3; margin-top: 7px; }

/* ─── POPULAR COUNTRIES ─── */
.countries-section { padding: 52px 0 40px; }
.countries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.country-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; background: white; }
.country-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.country-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.country-img { height: 220px; position: relative; overflow: hidden; }
.country-img-bg { width: 100%; height: 100%; transition: transform 0.4s; display: flex; align-items: center; justify-content: center; font-size: 70px; object-fit: cover; }
.country-card:hover .country-img-bg { transform: scale(1.08); }
.country-img-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(10,20,40,0.7)); }
.country-flag { position: absolute; top: 12px; right: 12px; font-size: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
.country-name-overlay { position: absolute; bottom: 12px; left: 14px; color: white; font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; }
.country-body { padding: 16px; }
.country-body h3 { font-size: 14px; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; }
.country-body p { font-size: 13px; color: var(--gray-400); line-height: 1.5; }
.country-stats { display: flex; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.stat { font-size: 12px; color: var(--gray-400); }
.stat strong { color: var(--primary); font-weight: 700; display: block; font-size: 14px; }

/* ─── LATEST GUIDES ─── */
.guides-section { padding: 40px 0; background: var(--gray-50); }
.guides-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.guide-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.guide-img { height: 220px; position: relative; overflow: hidden; }
.guide-img-bg { width: 100%; height: 100%; transition: transform 0.4s; display: flex; align-items: center; justify-content: center; font-size: 80px; object-fit: cover; }
.guide-card:hover .guide-img-bg { transform: scale(1.06); }
.guide-tag { position: absolute; top: 12px; left: 12px; }
.guide-body { padding: 18px; }
.guide-body h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--secondary); line-height: 1.35; margin: 8px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-body p { font-size: 13px; color: var(--gray-600); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.guide-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.reading-time { font-size: 12px; color: var(--gray-400); }

/* ─── BUDGET & VISA ─── */
.budget-section { padding: 52px 0; }
.budget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.budget-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.budget-card-header { padding: 20px 24px; display: flex; align-items: center; gap: 12px; }
.budget-card-header.style-primary   { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.budget-card-header.style-secondary { background: linear-gradient(135deg, var(--secondary) 0%, #0d2240 100%); }
.budget-card-header h2 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: white; }
.budget-card-header .bch-icon { font-size: 28px; }
.budget-list-item { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--gray-100); cursor: pointer; transition: background 0.15s; }
.budget-list-item:last-child { border-bottom: none; }
.budget-list-item:hover { background: var(--gray-50); }
.budget-thumb { width: 70px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.budget-thumb-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 24px; object-fit: cover; }
.budget-item-info h4 { font-size: 14px; font-weight: 600; color: var(--secondary); margin-bottom: 3px; line-height: 1.3; }
.budget-item-info p { font-size: 12px; color: var(--gray-400); }
.budget-badge { margin-left: auto; background: var(--primary-light); color: var(--primary-dark); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.visa-badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.visa-free     { background: #dcfce7; color: #15803d; }
.visa-required { background: #fef3c7; color: #b45309; }
.visa-separate { background: #f1f5f9;  color: #475569; }

/* ─── ITINERARIES ─── */
.itineraries-section { padding: 52px 0; background: var(--secondary); }
.itineraries-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.itineraries-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.itineraries-header .section-title { color: white; }
.itineraries-header .section-title::before { background: var(--accent); }
.see-all-light { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); border: 1.5px solid rgba(255,255,255,0.3); padding: 5px 14px; border-radius: 30px; transition: all 0.2s; }
.see-all-light:hover { background: rgba(255,255,255,0.1); color: white; }
.itineraries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.itinerary-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: background 0.2s, transform 0.3s; }
.itinerary-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-4px); }
.itin-img { height: 190px; position: relative; overflow: hidden; }
.itin-img-bg { width: 100%; height: 100%; transition: transform 0.4s; display: flex; align-items: center; justify-content: center; font-size: 70px; object-fit: cover; }
.itinerary-card:hover .itin-img-bg { transform: scale(1.06); }
.itin-badge { position: absolute; bottom: 10px; left: 10px; background: var(--accent); color: var(--secondary); font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 30px; }
.itin-body { padding: 16px; }
.itin-body h3 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: white; line-height: 1.35; margin-bottom: 8px; }
.itin-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.itin-meta span { font-size: 12px; color: rgba(255,255,255,0.5); }
.itin-meta span strong { color: rgba(255,255,255,0.8); }

/* ─── TRAVEL TIPS ─── */
.tips-section { padding: 52px 0; }
.tips-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; align-items: start; }
.tips-list { display: flex; flex-direction: column; gap: 20px; }
.tip-item { display: flex; gap: 18px; align-items: flex-start; padding: 18px; background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); cursor: pointer; transition: all 0.2s; }
.tip-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.tip-number { width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.tip-thumb { width: 90px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.tip-thumb-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 30px; object-fit: cover; }
.tip-info h4 { font-size: 15px; font-weight: 700; color: var(--secondary); margin-bottom: 5px; line-height: 1.35; }
.tip-info p { font-size: 13px; color: var(--gray-600); line-height: 1.55; }
.tips-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); overflow: hidden; }
.widget-header { background: linear-gradient(135deg, var(--secondary), var(--secondary-lt)); padding: 14px 18px; font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: white; }
.widget-body { padding: 16px; }
.quick-fact { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.quick-fact:last-child { border-bottom: none; }
.quick-fact .qf-icon { font-size: 18px; }
.quick-fact strong { color: var(--secondary); font-weight: 600; display: block; }
.quick-fact span { color: var(--gray-400); font-size: 12px; }

/* ─── HOTELS & TOURS ─── */
.hotels-section { padding: 52px 0; background: var(--gray-50); }
.hotels-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hotels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hotel-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.hotel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hotel-img { height: 210px; position: relative; overflow: hidden; }
.hotel-img-bg { width: 100%; height: 100%; transition: transform 0.4s; display: flex; align-items: center; justify-content: center; font-size: 70px; object-fit: cover; }
.hotel-card:hover .hotel-img-bg { transform: scale(1.06); }
.hotel-affiliate-badge { position: absolute; top: 10px; right: 10px; background: var(--accent); color: var(--secondary); font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 20px; letter-spacing: 0.06em; }
.hotel-body { padding: 16px; }
.hotel-body h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--secondary); margin-bottom: 4px; }
.hotel-location { font-size: 13px; color: var(--gray-400); margin-bottom: 10px; }
.hotel-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { color: var(--accent); font-size: 14px; letter-spacing: -1px; }
.rating-num { font-size: 13px; font-weight: 700; }
.rating-count { font-size: 12px; color: var(--gray-400); }
.hotel-desc { font-size: 13px; color: var(--gray-600); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hotel-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.hotel-price { font-size: 14px; color: var(--gray-400); }
.hotel-price strong { font-size: 22px; color: var(--primary); font-weight: 800; }
.book-btn { background: var(--primary); color: white; font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 20px; transition: background 0.2s; display: inline-block; }
.book-btn:hover { background: var(--primary-dark); color: white; }

/* ─── NEWSLETTER CTA ─── */
.newsletter-section { position: relative; padding: 90px 24px; text-align: center; overflow: hidden; }
.newsletter-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--secondary) 0%, #0a2033 40%, #0d4f47 100%); z-index: 0; }
.newsletter-pattern { position: absolute; inset: 0; z-index: 1; opacity: 0.06; background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px), radial-gradient(circle at 80% 20%, white 1px, transparent 1px), radial-gradient(circle at 60% 80%, white 1px, transparent 1px); background-size: 80px 80px, 100px 100px, 60px 60px; }
.newsletter-content { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.newsletter-tag { display: inline-block; background: rgba(13,148,136,0.3); border: 1px solid rgba(13,148,136,0.6); color: #5eead4; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; }
.newsletter-content h2 { font-family: 'Playfair Display', serif; font-size: 42px; font-weight: 900; color: white; line-height: 1.15; margin-bottom: 14px; }
.newsletter-content h2 span { color: #5eead4; }
.newsletter-content > p { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; border-radius: 50px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.newsletter-form input { flex: 1; padding: 15px 22px; font-size: 14px; border: none; outline: none; font-family: 'DM Sans', sans-serif; background: rgba(255,255,255,0.95); }
.newsletter-form button { background: var(--primary); color: white; border: none; padding: 15px 28px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.2s; white-space: nowrap; }
.newsletter-form button:hover { background: var(--primary-dark); }
.newsletter-note { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 14px; }
.newsletter-stats { display: flex; gap: 32px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.nl-stat { text-align: center; }
.nl-stat strong { display: block; font-size: 26px; font-weight: 800; color: white; }
.nl-stat span { font-size: 12px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; }

/* ─── SITE FOOTER ─── */
.site-footer { background: var(--gray-800); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 0 24px 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: white; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
.footer-about p { font-size: 13.5px; line-height: 1.75; margin-bottom: 18px; }
.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo-inner { display: flex; align-items: center; gap: 10px; }
.footer-logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--secondary-lt)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.footer-logo-name { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; line-height: 1.1; color: white; }
.footer-logo-name span { color: var(--primary); }
.footer-logo-sub { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background 0.2s, transform 0.2s; cursor: pointer; text-decoration: none; color: white; }
.social-btn:hover { background: var(--primary); transform: translateY(-2px); color: white; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a { font-size: 13.5px; color: rgba(255,255,255,0.6); transition: color 0.2s, padding-left 0.2s; display: flex; align-items: center; gap: 7px; }
.footer-links li a::before { content: '›'; color: var(--primary); font-size: 18px; }
.footer-links li a:hover { color: white; padding-left: 4px; }
/* WordPress nav in footer */
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul li a { font-size: 13.5px; color: rgba(255,255,255,0.6); transition: color 0.2s, padding-left 0.2s; display: flex; align-items: center; gap: 7px; }
.footer-nav ul li a::before { content: '›'; color: var(--primary); font-size: 18px; }
.footer-nav ul li a:hover { color: white; padding-left: 4px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; }
.contact-item .ci-icon { font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 18px; }

/* ─── BLOG / INDEX PAGE ─── */
.blog-header { background: var(--gray-50); padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.blog-header h1 { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: var(--secondary); }
.blog-header p { font-size: 15px; color: var(--gray-600); margin-top: 8px; }
.blog-layout { max-width: 1280px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.blog-posts { display: flex; flex-direction: column; gap: 32px; }
.post-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); display: grid; grid-template-columns: 280px 1fr; transition: box-shadow 0.3s; }
.post-card:hover { box-shadow: var(--shadow-md); }
.post-card-thumb { height: 200px; overflow: hidden; position: relative; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.post-card-body h2 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--secondary); margin: 10px 0 10px; line-height: 1.3; }
.post-card-body h2 a { color: inherit; }
.post-card-body h2 a:hover { color: var(--primary); }
.post-card-body p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.post-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--gray-600); border: 1.5px solid var(--gray-200); transition: all 0.2s; }
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ─── SINGLE POST ─── */

/* ── Title bar (clean, light bg) ── */
.single-title-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 32px 0 28px;
}
.single-title-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.single-cat-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    text-decoration: none;
}
.single-cat-badge:hover { background: var(--primary-dark); color: #fff; }
.single-title-bar h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 14px;
}
.post-av {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    vertical-align: middle !important;
    margin-right: 4px !important;
    display: inline-block !important;
}

/* ── 2-col grid: content LEFT | sidebar RIGHT ── */
.single-content-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 24px 64px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}

/* ── Left column ── */
.single-content {}

/* Featured image full width of left col */
.single-featured-img {
    margin: 0 0 28px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    line-height: 0;
}
.single-featured-img img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
}

/* Article text */
.single-article-body {
    font-size: 16px;
    line-height: 1.82;
    color: var(--gray-800);
}
.single-article-body h2,
.single-article-body h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    margin: 30px 0 12px;
}
.single-article-body h2 { font-size: 26px; }
.single-article-body h3 { font-size: 20px; }
.single-article-body p  { margin-bottom: 18px; }
.single-article-body ul,
.single-article-body ol { padding-left: 24px; margin-bottom: 18px; }
.single-article-body li { margin-bottom: 8px; }
.single-article-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 14px 22px;
    background: var(--gray-50);
    border-radius: 0 8px 8px 0;
    margin: 22px 0;
    font-style: italic;
    color: var(--gray-600);
}
.single-article-body a   { color: var(--primary); }
.single-article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 20px 0; }

/* keep old .single-content selectors working */
.single-content { font-size: 16px; line-height: 1.8; color: var(--gray-800); }
.single-content h2, .single-content h3 { font-family: 'Playfair Display', serif; color: var(--secondary); margin: 32px 0 12px; }
.single-content h2 { font-size: 28px; }
.single-content h3 { font-size: 22px; }
.single-content p { margin-bottom: 20px; }
.single-content ul, .single-content ol { padding-left: 24px; margin-bottom: 20px; }
.single-content li { margin-bottom: 8px; }
.single-content blockquote { border-left: 4px solid var(--primary); padding: 16px 24px; background: var(--gray-50); border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; color: var(--gray-600); }
.single-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 24px 0; }
.single-content a { color: var(--primary); }

/* ── RIGHT column: sticky sidebar ──
   Sticks to the top while reading and travels down with the page —
   both the Recent Posts widget and the Follow Us widget move and
   stop together, so the right column never looks empty. No forced
   max-height/inner-scroll here: that used to clip/scroll the widgets
   separately from the page, which is what made it feel "not sticky". */
.single-sidebar {
    position: sticky;
    top: 80px;                        /* freeze 80px below top — matches header */
    align-self: start;                /* stop at the bottom of the taller left column */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Recent posts in sidebar ── */
.sidebar-recent-post {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    transition: opacity .2s;
}
.sidebar-recent-post:last-child { border-bottom: none; }
.sidebar-recent-post:hover { opacity: .78; }
.srp-thumb {
    width: 62px;
    height: 48px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
}
.srp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.srp-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.srp-info p {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.35;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.srp-info span { font-size: 11px; color: var(--gray-400); }

/* ── Social follow buttons ── */
.sidebar-social-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px;
    padding: 12px !important;
}
.social-follow-btn {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border-radius: 10px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    text-decoration: none;
    font-size: 13.5px;
    color: var(--gray-800);
    transition: all .2s;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}
.social-follow-btn::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--sc, var(--primary));
    border-radius: 0 3px 3px 0;
    transition: width .2s;
}
.social-follow-btn:hover {
    background: var(--white);
    border-color: var(--sc, var(--primary));
    transform: translateX(4px);
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    color: var(--gray-800);
}
.social-follow-btn:hover::before { width: 100%; opacity: .07; }
.sfb-icon  { font-size: 18px; position: relative; z-index: 1; }
.sfb-label { flex: 1; font-weight: 700; font-size: 13.5px; position: relative; z-index: 1; transition: color .2s; }
.social-follow-btn:hover .sfb-label { color: var(--sc, var(--primary)); }
.sfb-arrow { font-size: 13px; color: var(--gray-400); transition: transform .2s; position: relative; z-index: 1; }
.social-follow-btn:hover .sfb-arrow { transform: translateX(3px); color: var(--sc, var(--primary)); }

.sfb-inactive { opacity: .45; pointer-events: none; }
.sfb-inactive:hover { transform: none; box-shadow: none; border-color: var(--gray-200); }
.sfb-setup-msg {
    font-size: 12.5px;
    color: var(--gray-400);
    text-align: center;
    padding: 14px 8px;
    line-height: 1.7;
}
.sfb-setup-msg strong { color: var(--primary); font-size: 11px; display: block; margin-top: 6px; }

/* ─── PAGE ─── */
.page-wrap { max-width: 900px; margin: 0 auto; padding: 64px 24px; }
.page-wrap h1 { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; color: var(--secondary); margin-bottom: 24px; }
.page-content { font-size: 16px; line-height: 1.8; color: var(--gray-800); }
.page-content h2, .page-content h3 { font-family: 'Playfair Display', serif; color: var(--secondary); margin: 28px 0 12px; }
.page-content p { margin-bottom: 18px; }
.page-content a { color: var(--primary); }

/* ─── 404 ─── */
.error-404-wrap { text-align: center; padding: 100px 24px; }
.error-404-wrap h1 { font-family: 'Playfair Display', serif; font-size: 120px; font-weight: 900; color: var(--primary); opacity: 0.2; line-height: 1; }
.error-404-wrap h2 { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--secondary); margin-bottom: 14px; }
.error-404-wrap p { color: var(--gray-600); margin-bottom: 28px; font-size: 16px; }
.error-404-wrap .btn-subscribe { font-size: 15px; padding: 12px 28px; }

/* ─── FADE ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feat-side { flex-direction: row; }
  .countries-grid, .itineraries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-content-wrap { grid-template-columns: 1fr; }
  .single-sidebar { position: static; max-height: none; overflow-y: visible; }
}
@media (max-width: 768px) {
  .primary-nav, .header-search { display: none; }
  .primary-nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; background: white; flex-direction: column; box-shadow: var(--shadow-lg); padding: 12px; z-index: 999; }
  .primary-nav.open ul { flex-direction: column; width: 100%; }
  .menu-toggle { display: flex; }
  .guides-grid, .hotels-grid, .budget-grid, .tips-layout { grid-template-columns: 1fr; }
  .feat-side { flex-direction: column; }
  .newsletter-content h2 { font-size: 28px; }
  .newsletter-form { flex-direction: column; border-radius: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .countries-grid { grid-template-columns: 1fr 1fr; }
  .itineraries-grid { grid-template-columns: 1fr 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .post-card-thumb { height: 220px; }
  .single-hero h1 { font-size: 28px; }
  .hero-section { padding: 20px 0 28px; }
  .feat-main { min-height: 360px; }
}
@media (max-width: 480px) {
  .countries-grid, .itineraries-grid { grid-template-columns: 1fr; }
  .newsletter-stats { gap: 16px; }
  .nl-stat strong { font-size: 22px; }
}

/* ══════════════════════════════════════════════
   COUNTRY PAGE TEMPLATE
══════════════════════════════════════════════ */

/* Hero */
.cp-hero { min-height: 520px; display: flex; align-items: flex-end; position: relative; background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%); padding-bottom: 0; }
.cp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,20,40,0.3) 0%, rgba(10,20,40,0.75) 100%); }
.cp-hero-content { position: relative; z-index: 2; padding: 48px 24px 52px; color: white; }
.cp-hero-flag { font-size: 64px; margin-bottom: 8px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.cp-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(40px, 6vw, 72px); font-weight: 900; color: white; margin-bottom: 8px; line-height: 1.1; }
.cp-hero-tagline { font-size: 20px; color: rgba(255,255,255,0.9); font-weight: 600; margin-bottom: 10px; }
.cp-hero-intro { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 600px; }

/* Quick Facts Bar */
.cp-facts-bar { background: white; box-shadow: 0 4px 24px rgba(0,0,0,0.08); position: relative; z-index: 10; border-bottom: 2px solid var(--primary-light); }
.cp-facts-inner { display: flex; flex-wrap: wrap; gap: 0; justify-content: center; }
.cp-fact { display: flex; align-items: center; gap: 10px; padding: 18px 24px; border-right: 1px solid var(--gray-100); flex: 1; min-width: 140px; }
.cp-fact:last-child { border-right: none; }
.cp-fact-icon { font-size: 24px; flex-shrink: 0; }
.cp-fact div { display: flex; flex-direction: column; }
.cp-fact strong { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-400); }
.cp-fact span { font-size: 13px; font-weight: 600; color: var(--secondary); margin-top: 2px; }

/* Section wrapper */
.cp-section { padding: 56px 0; }
.cp-section-title { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--secondary); margin-bottom: 32px; position: relative; padding-left: 16px; }
.cp-section-title::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--primary); border-radius: 2px; }
.cp-prose { font-size: 16px; line-height: 1.85; color: var(--gray-800); max-width: 860px; }
.cp-prose h2, .cp-prose h3 { font-family: 'Playfair Display', serif; color: var(--secondary); margin: 28px 0 12px; }
.cp-prose p { margin-bottom: 18px; }
.cp-prose a { color: var(--primary); }

/* Highlights */
.cp-highlights-section { background: var(--gray-50); }
.cp-highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cp-highlight-card { background: white; border-radius: 16px; padding: 28px 22px; box-shadow: var(--shadow-sm); text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.cp-highlight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cp-hl-icon { font-size: 44px; margin-bottom: 14px; }
.cp-highlight-card h3 { font-size: 16px; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.cp-highlight-card p { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

/* Top Places */
.cp-places-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cp-place-card { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); text-decoration: none; color: inherit; display: block; transition: transform 0.3s, box-shadow 0.3s; background: white; }
.cp-place-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cp-place-img { height: 220px; position: relative; overflow: hidden; }
.cp-place-img-bg { width: 100%; height: 100%; transition: transform 0.4s; }
.cp-place-card:hover .cp-place-img-bg { transform: scale(1.06); }
.cp-place-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(10,20,40,0.5)); }
.cp-place-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.cp-place-body { padding: 18px 20px 22px; }
.cp-place-body h3 { font-size: 17px; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.cp-place-body p { font-size: 13px; color: var(--gray-600); line-height: 1.5; margin-bottom: 12px; }
.cp-place-read { font-size: 13px; font-weight: 600; color: var(--primary); }

/* Budget + Tips */
.cp-budget-tips-section { background: var(--gray-50); }
.cp-budget-tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cp-budget-box, .cp-tips-box { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.cp-box-header { background: var(--secondary); color: white; font-weight: 700; font-size: 16px; padding: 16px 22px; }
.cp-budget-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 22px; border-bottom: 1px solid var(--gray-100); }
.cp-budget-row:last-child { border-bottom: none; }
.cp-budget-label { font-size: 14px; color: var(--gray-700); }
.cp-budget-val { font-size: 13px; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 3px 10px; border-radius: 20px; }
.cp-tip-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 22px; border-bottom: 1px solid var(--gray-100); }
.cp-tip-row:last-child { border-bottom: none; }
.cp-tip-num { background: var(--primary); color: white; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.cp-tip-row span:last-child { font-size: 14px; color: var(--gray-700); line-height: 1.5; }

/* CTA Banner */
.cp-cta-section { background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%); padding: 64px 24px; text-align: center; }
.cp-cta-inner { color: white; }
.cp-cta-inner h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 900; margin-bottom: 12px; }
.cp-cta-inner p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; }
.cp-cta-inner .btn-subscribe { background: var(--accent); color: var(--secondary); }
.cp-cta-inner .btn-subscribe:hover { background: white; }

/* Country Page Responsive */
@media (max-width: 1024px) { .cp-highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .cp-hero { min-height: 380px; }
  .cp-hero-flag { font-size: 44px; }
  .cp-facts-inner { gap: 0; }
  .cp-fact { min-width: 50%; border-bottom: 1px solid var(--gray-100); }
  .cp-places-grid { grid-template-columns: 1fr; }
  .cp-budget-tips-grid { grid-template-columns: 1fr; }
  .cp-highlights-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .cp-highlights-grid { grid-template-columns: 1fr; } .cp-fact { min-width: 100%; } }

/* ════════════════════════════════════════════════════════════════
   COUNTRY ARCHIVE  ctax-*   +   AUTHOR PAGE  au-*    v2.0
   ════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ─────────────────────────────────────────────── */
.ctax-bc { background:#f8fafc; border-bottom:1px solid #e2e8f0; padding:12px 0; font-size:13px; }
.ctax-bc a { color:var(--primary,#0d9488); font-weight:500; }
.ctax-bc span { color:#94a3b8; margin:0 6px; }

/* ── Country Banner ─────────────────────────────────────────── */
.ctax-banner {
    position:relative; background:linear-gradient(135deg,#0f2942 0%,#0d9488 100%);
    padding:72px 0 56px; overflow:hidden; text-align:center;
}
.ctax-banner__bg {
    position:absolute; inset:0;
    background:url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events:none;
}
.ctax-banner__inner { position:relative; z-index:2; color:#fff; }
.ctax-banner__title {
    font-family:'Playfair Display',serif; font-size:clamp(30px,6vw,54px);
    font-weight:900; margin-bottom:14px; text-shadow:0 2px 20px rgba(0,0,0,.25);
}
.ctax-banner__desc  { font-size:17px; opacity:.88; max-width:600px; margin:0 auto 20px; line-height:1.7; }
.ctax-banner__count {
    display:inline-block; background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.3); padding:7px 22px;
    border-radius:30px; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.06em;
}

/* ── Posts section ──────────────────────────────────────────── */
.ctax-posts { padding:56px 0 80px; background:#f8fafc; }

.ctax-grid {
    display:grid; grid-template-columns:repeat(3,1fr);
    gap:28px; margin-bottom:48px;
}

/* ── Card ───────────────────────────────────────────────────── */
.ctax-card {
    background:#fff; border-radius:14px; overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.07); border:1px solid #f0f4f8;
    display:flex; flex-direction:column;
    transition:transform .25s,box-shadow .25s;
}
.ctax-card:hover { transform:translateY(-6px); box-shadow:0 14px 32px rgba(0,0,0,.12); }

.ctax-card__img-wrap { display:block; }
.ctax-card__img {
    position:relative; padding-top:62%; overflow:hidden;
    background-size:cover; background-position:center; background-color:#e2e8f0;
}
.ctax-card__cat {
    position:absolute; top:12px; left:12px;
    background:var(--primary,#0d9488); color:#fff;
    font-size:11px; font-weight:700; text-transform:uppercase;
    letter-spacing:.05em; padding:4px 12px; border-radius:20px; z-index:1;
}
.ctax-card__body { padding:20px 22px 22px; flex:1; display:flex; flex-direction:column; }
.ctax-card__meta { display:flex; gap:12px; font-size:12px; color:#64748b; font-weight:500; margin-bottom:10px; flex-wrap:wrap; }
.ctax-card__title { font-size:17px; font-weight:700; color:#0f2942; line-height:1.35; margin-bottom:10px; }
.ctax-card__title a { color:inherit; transition:color .2s; }
.ctax-card__title a:hover { color:var(--primary,#0d9488); }
.ctax-card__excerpt { font-size:14px; color:#475569; line-height:1.65; margin-bottom:auto;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ctax-card__footer { display:flex; justify-content:space-between; align-items:center;
    margin-top:16px; padding-top:14px; border-top:1px solid #f1f5f9; }
.ctax-card__date { font-size:12px; color:#94a3b8; font-weight:500; }
.ctax-card__link  { font-size:13px; font-weight:600; color:var(--primary,#0d9488); }
.ctax-card__link:hover { text-decoration:underline; }

/* ── Pagination ─────────────────────────────────────────────── */
.ctax-pag { text-align:center; margin-top:10px; }
.ctax-pag a,.ctax-pag span {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:42px; height:42px; padding:0 14px; margin:0 3px;
    border:2px solid #e2e8f0; border-radius:10px; background:#fff;
    color:#475569; font-weight:600; font-size:14px; transition:all .2s;
}
.ctax-pag a:hover,.ctax-pag .current {
    background:var(--primary,#0d9488); border-color:var(--primary,#0d9488); color:#fff;
}

/* ── Empty state ────────────────────────────────────────────── */
.ctax-empty { text-align:center; padding:80px 20px; background:#fff; border-radius:16px;
    box-shadow:0 2px 10px rgba(0,0,0,.06); }
.ctax-empty__icon { font-size:64px; margin-bottom:20px; }
.ctax-empty h2    { font-size:24px; color:#0f2942; margin-bottom:10px; }
.ctax-empty p     { font-size:15px; color:#64748b; max-width:440px; margin:0 auto 24px; }
.ctax-empty__btn  { display:inline-block; background:var(--primary,#0d9488); color:#fff;
    padding:12px 28px; border-radius:8px; font-weight:700; font-size:15px; transition:all .2s; }
.ctax-empty__btn:hover { background:#0f766e; transform:translateY(-2px); }

/* Responsive */
@media(max-width:1024px){ .ctax-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:600px) { .ctax-grid{ grid-template-columns:1fr; } }


/* ════════════════════════════════════════════════════════════════
   AUTHOR PAGE  au-*
   ════════════════════════════════════════════════════════════════ */

/* ── Hero banner ────────────────────────────────────────────── */
.au-hero {
    position:relative; background:linear-gradient(135deg,#0f2942 0%,#0d9488 100%);
    padding:60px 0 52px; overflow:hidden;
}
.au-hero__pattern {
    position:absolute; inset:0;
    background:url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events:none;
}
.au-hero__overlay { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.06) 0%,rgba(0,0,0,.22) 100%); }
.au-hero__inner {
    position:relative; z-index:2;
    display:grid; grid-template-columns:auto 1fr auto; gap:32px 44px;
    align-items:center; color:#fff;
}

/* Avatar */
.au-avatar-wrap { position:relative; flex-shrink:0; }
.au-avatar {
    width:150px; height:150px; border-radius:50%; object-fit:cover;
    border:4px solid rgba(255,255,255,.75); box-shadow:0 8px 32px rgba(0,0,0,.3);
    display:block;
}
.au-avatar__badge {
    position:absolute; bottom:6px; right:6px; background:#f59e0b; color:#fff;
    width:28px; height:28px; border-radius:50%; display:flex; align-items:center;
    justify-content:center; font-size:14px; font-weight:700; border:2px solid #fff;
}

/* Info */
.au-role { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.7); margin-bottom:6px; }
.au-name { font-family:'Playfair Display',serif; font-size:clamp(28px,5vw,44px); font-weight:900; margin-bottom:8px; line-height:1.1; }
.au-location { font-size:14px; color:rgba(255,255,255,.8); margin-bottom:14px; }
.au-short-bio { font-size:15px; line-height:1.7; color:rgba(255,255,255,.85); max-width:560px; margin-bottom:20px; }

/* Socials */
.au-socials { display:flex; flex-wrap:wrap; gap:10px; }
.au-social {
    display:inline-flex; align-items:center; gap:7px;
    background:var(--sc,#0d9488); color:#fff;
    padding:8px 16px; border-radius:30px; font-size:13px; font-weight:600;
    transition:transform .2s,box-shadow .2s; text-decoration:none;
}
.au-social:hover { transform:translateY(-2px); box-shadow:0 4px 14px rgba(0,0,0,.3); }
.au-social__icon { font-size:15px; }

/* Stats */
.au-stats { display:flex; flex-direction:column; gap:12px; }
.au-stat {
    background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
    border-radius:14px; padding:16px 24px; text-align:center; min-width:110px;
    backdrop-filter:blur(8px);
}
.au-stat__num { display:block; font-size:30px; font-weight:800; color:#fff; line-height:1; margin-bottom:4px; }
.au-stat__lbl { font-size:11px; font-weight:600; color:rgba(255,255,255,.7); text-transform:uppercase; letter-spacing:.06em; }

/* ── Page body ──────────────────────────────────────────────── */
.au-page { padding:56px 0 80px; background:#f8fafc; }
.au-layout { display:grid; grid-template-columns:1fr 340px; gap:40px; align-items:start; }
.au-main { min-width:0; }

/* ── Generic card ───────────────────────────────────────────── */
.au-card {
    background:#fff; border-radius:16px; padding:32px 32px 28px;
    box-shadow:0 2px 10px rgba(0,0,0,.07); border:1px solid #f0f4f8;
    margin-bottom:28px;
}
.au-card__title { font-family:'Playfair Display',serif; font-size:24px; font-weight:700; color:#0f2942; margin-bottom:20px; padding-bottom:14px; border-bottom:3px solid var(--primary,#0d9488); }

/* Long bio */
.au-long-bio { font-size:15px; line-height:1.8; color:#334155; margin-bottom:24px; }
.au-long-bio p { margin-bottom:14px; }

/* Chips */
.au-meta-chips { display:flex; flex-direction:column; gap:18px; }
.au-chip-group strong { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:#94a3b8; margin-bottom:10px; }
.au-chips { display:flex; flex-wrap:wrap; gap:8px; }
.au-chip        { background:#f1f5f9; color:#475569; padding:6px 14px; border-radius:20px; font-size:13px; font-weight:500; }
.au-chip--blue  { background:#eff6ff; color:#2563eb; }
.au-chip--green { background:#f0fdfa; color:#0f766e; text-decoration:none; transition:background .2s,color .2s; }
.au-chip--green:hover { background:var(--primary,#0d9488); color:#fff; }

/* ── Tabs ───────────────────────────────────────────────────── */
.au-tabs { display:flex; gap:0; border-bottom:2px solid #e2e8f0; margin-bottom:28px; flex-wrap:wrap; }
.au-tab {
    padding:12px 22px; font-size:14px; font-weight:600; color:#64748b;
    background:none; border:none; border-bottom:3px solid transparent;
    margin-bottom:-2px; cursor:pointer; transition:color .2s,border-color .2s; white-space:nowrap;
}
.au-tab:hover { color:#0f2942; }
.au-tab--active { color:var(--primary,#0d9488); border-bottom-color:var(--primary,#0d9488); }
.au-tab-content--hidden { display:none; }

/* ── Article grid ───────────────────────────────────────────── */
.au-articles-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.au-article-card {
    background:#f8fafc; border-radius:12px; overflow:hidden;
    border:1px solid #e2e8f0; transition:transform .2s,box-shadow .2s;
}
.au-article-card:hover { transform:translateY(-4px); box-shadow:0 8px 20px rgba(0,0,0,.1); }
.au-article-card__img-wrap { display:block; }
.au-article-card__img {
    padding-top:58%; background-size:cover; background-position:center;
    background-color:#e2e8f0; position:relative; overflow:hidden;
}
.au-article-card__cat {
    position:absolute; top:10px; left:10px;
    color:#fff; font-size:10px; font-weight:700; text-transform:uppercase;
    letter-spacing:.05em; padding:3px 10px; border-radius:14px;
}
.au-article-card__body { padding:14px 16px 16px; }
.au-article-card__country { display:block; font-size:11px; color:#64748b; font-weight:500; margin-bottom:6px; }
.au-article-card__body h3 { font-size:14px; font-weight:700; color:#0f2942; line-height:1.4; margin-bottom:10px; }
.au-article-card__body h3 a { color:inherit; }
.au-article-card__body h3 a:hover { color:var(--primary,#0d9488); }
.au-article-card__meta { display:flex; gap:10px; font-size:11px; color:#94a3b8; }
.au-pag { margin-top:28px; display:flex; gap:8px; flex-wrap:wrap; }
.au-pag a,.au-pag span {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:38px; height:38px; padding:0 12px; border:2px solid #e2e8f0;
    border-radius:8px; background:#fff; color:#475569; font-weight:600; font-size:13px; transition:all .2s;
}
.au-pag a:hover,.au-pag .current { background:var(--primary,#0d9488); border-color:var(--primary,#0d9488); color:#fff; }
.au-no-posts { font-size:15px; color:#94a3b8; padding:40px 0; text-align:center; }

/* ── Sidebar cards ──────────────────────────────────────────── */
.au-sidebar { position:sticky; top:100px; align-self:start; }
.au-sidebar-card { background:#fff; border-radius:16px; padding:26px 28px; box-shadow:0 2px 10px rgba(0,0,0,.07); border:1px solid #f0f4f8; margin-bottom:24px; }
.au-sidebar-card h3 { font-size:16px; font-weight:700; color:#0f2942; margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid var(--primary,#0d9488); }

/* Follow */
.au-follow-card { background:linear-gradient(135deg,#0f2942 0%,#0d9488 100%); color:#fff; }
.au-follow-card h3 { color:#fff; border-bottom-color:rgba(255,255,255,.3); }
.au-follow-socials { display:flex; flex-direction:column; gap:10px; }
.au-follow-btn {
    display:flex; align-items:center; gap:12px; padding:12px 16px;
    background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
    border-radius:10px; color:#fff; font-size:14px; font-weight:600;
    transition:background .2s,transform .2s; text-decoration:none;
}
.au-follow-btn:hover { background:rgba(255,255,255,.22); transform:translateX(4px); }

/* Quick facts */
.au-quick-facts { list-style:none; margin:0; padding:0; }
.au-quick-facts li { display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px solid #f1f5f9; font-size:14px; color:#334155; }
.au-quick-facts li:last-child { border-bottom:none; }
.au-quick-facts li > span:first-child { font-size:16px; flex-shrink:0; }
.au-quick-facts a { color:var(--primary,#0d9488); }

/* Countries sidebar */
.au-sidebar-countries { display:flex; flex-wrap:wrap; gap:8px; }
.au-sidebar-country {
    background:#f0fdfa; color:#0f766e; padding:6px 14px;
    border-radius:20px; font-size:13px; font-weight:500;
    transition:background .2s,color .2s; text-decoration:none;
}
.au-sidebar-country:hover { background:var(--primary,#0d9488); color:#fff; }

/* ── Responsive ─────────────────────────────────────────────── */
@media(max-width:1100px){
    .au-hero__inner { grid-template-columns:auto 1fr; }
    .au-stats { flex-direction:row; grid-column:1/-1; flex-wrap:wrap; }
    .au-layout { grid-template-columns:1fr; }
    .au-sidebar { position:static; display:grid; grid-template-columns:1fr 1fr; gap:20px; }
}
@media(max-width:768px){
    .au-articles-grid { grid-template-columns:repeat(2,1fr); }
    .au-card { padding:22px 18px; }
    .au-hero__inner { grid-template-columns:1fr; text-align:center; justify-items:center; }
    .au-short-bio { max-width:100%; }
    .au-socials { justify-content:center; }
    .au-stats { justify-content:center; }
    .au-avatar { width:110px; height:110px; }
}
@media(max-width:520px){
    .au-articles-grid { grid-template-columns:1fr; }
    .au-sidebar { grid-template-columns:1fr; }
}

/* ════════════════════════════════════════════════════════════════
   AUTHOR BOX (single post)  +  FOLLOW US SIDEBAR FIX  — v2.1
   ════════════════════════════════════════════════════════════════ */

/* ── Author Box ─────────────────────────────────────────────── */
.au-box {
    margin-top: 36px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.au-box__header {
    background: var(--secondary, #0f2942);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 24px;
    letter-spacing: .01em;
}

.au-box__body {
    background: #fff;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Avatar */
.au-box__left { flex-shrink: 0; }
.au-box__avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary, #0d9488);
    display: block;
    transition: transform .2s;
}
.au-box__avatar:hover { transform: scale(1.05); }

/* Right content */
.au-box__right { flex: 1; min-width: 0; }

.au-box__name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.au-box__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary, #0f2942);
    text-decoration: none;
    transition: color .2s;
}
.au-box__name:hover { color: var(--primary, #0d9488); }

.au-box__role {
    background: var(--primary, #0d9488);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 10px;
    border-radius: 12px;
}

.au-box__location {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 500;
}

.au-box__bio {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 14px;
}

/* Social icons row */
.au-box__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.au-box__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    flex-shrink: 0;
}
.au-box__social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.au-box__all-posts {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary, #0d9488);
    text-decoration: none;
    margin-left: 4px;
    white-space: nowrap;
}
.au-box__all-posts:hover { text-decoration: underline; }

/* Follow Us override removed — using original style */

/* Responsive */
@media (max-width: 640px) {
    .au-box__body { flex-direction: column; align-items: center; text-align: center; }
    .au-box__name-row { justify-content: center; }
    .au-box__socials  { justify-content: center; }
    .au-box__location { margin-top: 6px; }
}

/* ════════════════════════════════════════════════════════════════
   FOLLOW US — Scroll container when 5+ social links  v2.1.1
   ════════════════════════════════════════════════════════════════ */

/* Scroll wrapper — JS adds .sfb-scrollable when > 4 items */
.sidebar-social-body.sfb-scrollable {
    max-height: 248px;          /* shows ~4 items, rest scrollable  */
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary, #0d9488) #e2e8f0;
    padding-right: 6px !important;
    position: relative;
}
.sidebar-social-body.sfb-scrollable::-webkit-scrollbar       { width: 4px; }
.sidebar-social-body.sfb-scrollable::-webkit-scrollbar-track  { background: #f1f5f9; border-radius: 4px; }
.sidebar-social-body.sfb-scrollable::-webkit-scrollbar-thumb  { background: var(--primary,#0d9488); border-radius: 4px; }

/* Fade hint at bottom — shows there are more items */
.sfb-scroll-hint {
    display: none;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    padding: 6px 0 2px;
    letter-spacing: .03em;
}
.sfb-scrollable ~ .sfb-scroll-hint { display: block; }

/* Restore correct look (override any conflict) */
.sidebar-social-body .social-follow-btn {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    border-radius: 10px;
    background: var(--gray-50, #f9fafb);
    border: 1.5px solid var(--gray-200, #e5e7eb);
    text-decoration: none;
    font-size: 13.5px;
    color: var(--gray-800, #1f2937);
    transition: all .2s;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}
.sidebar-social-body .social-follow-btn::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--sc, var(--primary, #0d9488));
    border-radius: 0 3px 3px 0;
    transition: width .2s, opacity .2s;
}
.sidebar-social-body .social-follow-btn:hover {
    background: #fff;
    border-color: var(--sc, var(--primary, #0d9488));
    transform: translateX(4px);
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
.sidebar-social-body .social-follow-btn:hover::before {
    width: 100%;
    opacity: .07;
}
.sidebar-social-body .sfb-icon  { font-size: 18px; position: relative; z-index: 1; flex-shrink: 0; }
.sidebar-social-body .sfb-label { flex: 1; font-weight: 700; font-size: 13.5px; position: relative; z-index: 1; }
.sidebar-social-body .social-follow-btn:hover .sfb-label { color: var(--sc, var(--primary, #0d9488)); }
.sidebar-social-body .sfb-arrow { font-size: 13px; color: #9ca3af; position: relative; z-index: 1; transition: transform .2s; }
.sidebar-social-body .social-follow-btn:hover .sfb-arrow { transform: translateX(3px); color: var(--sc, var(--primary, #0d9488)); }

/* ═══════════════════════════════════════════════════
   COMMENTS SECTION — styled to match theme (comments.php)
═══════════════════════════════════════════════════ */
.tge-comments { padding: 24px; margin-top: 0; }
.tge-comments .widget-header { padding: 0 0 16px; margin-bottom: 20px; border-bottom: 1px solid var(--gray-100); font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: var(--secondary); background: none; }

.tge-comment-list { list-style: none; margin: 0 0 8px; padding: 0; }
.tge-comment-list .children { list-style: none; margin: 18px 0 0; padding: 0 0 0 26px; border-left: 2px solid var(--gray-100); }

.tge-comment { padding: 18px 0; border-bottom: 1px solid var(--gray-100); }
.tge-comment-list > .tge-comment:first-child { padding-top: 0; }
.tge-comment-list .children .tge-comment { border-bottom: none; padding-bottom: 0; }

.tge-comment__row { display: flex; gap: 14px; align-items: flex-start; }
.tge-comment__avatar img { width: 48px; height: 48px; border-radius: 50%; display: block; border: 2px solid var(--gray-100); }
.tge-comment__body { flex: 1; min-width: 0; }
.tge-comment__meta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tge-comment__author { font-weight: 700; font-size: 14.5px; color: var(--secondary); }
.tge-comment__date { font-size: 12px; }
.tge-comment__date a { color: var(--gray-400); }
.tge-comment__date a:hover { color: var(--primary); }
.tge-comment__pending { font-size: 12.5px; color: var(--accent); background: #fffbeb; border: 1px solid #fde68a; padding: 6px 12px; border-radius: var(--radius-sm); margin: 0 0 8px; display: inline-block; }
.tge-comment__text { font-size: 14.5px; line-height: 1.7; color: var(--gray-600); }
.tge-comment__text p { margin: 0 0 10px; }
.tge-comment__text p:last-child { margin-bottom: 0; }
.tge-comment__reply { margin-top: 8px; }
.tge-comment__reply a { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--primary); background: var(--primary-light); padding: 5px 14px; border-radius: 30px; transition: background 0.2s; }
.tge-comment__reply a:hover { background: var(--primary); color: #fff; }

.tge-comment-nav { display: flex; justify-content: space-between; gap: 12px; margin: 20px 0 4px; font-size: 13.5px; flex-wrap: wrap; }
.tge-comment-nav a { color: var(--primary); font-weight: 600; }
.tge-comment-nav a:hover { text-decoration: underline; }

.tge-comments-closed { font-size: 13.5px; color: var(--gray-400); background: var(--gray-50); padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; }

.tge-comment-form { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.tge-comment-form__title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--secondary); margin: 0 0 16px; }
.tge-comment-form .comment-form { display: flex; flex-wrap: wrap; gap: 14px; }
.tge-field { width: 100%; margin: 0; }
.tge-field--half { width: calc(50% - 7px); }
.tge-field label { display: block; font-size: 13px; font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
.tge-field label .req { color: var(--danger); }
.tge-field input,
.tge-field textarea {
    width: 100%; font: inherit; font-size: 14px; color: var(--gray-800);
    background: var(--gray-50); border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm); padding: 11px 14px; resize: vertical;
    transition: border-color 0.2s, background 0.2s;
}
.tge-field input:focus,
.tge-field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.tge-comment-form .comment-form-cookies-consent { width: 100%; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gray-400); margin: 0; }
.tge-comment-form .form-submit { width: 100%; margin: 4px 0 0; }
.tge-comment-form .read-more-btn { border: none; cursor: pointer; font-size: 14px; padding: 11px 24px; }

@media (max-width: 560px) {
    .tge-field--half { width: 100%; }
    .tge-comment__avatar img { width: 38px; height: 38px; }
    .tge-comments { padding: 18px; }
}
