/* NowLuckEx.com – Light Escort Site Style */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --primary-light: #fce4ec;
  --accent: #9c27b0;
  --gold: #f9a825;
  --bg: #faf7f8;
  --bg-card: #ffffff;
  --text: #212121;
  --text-muted: #616161;
  --border: #f0e6ea;
  --success: #43a047;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(233,30,99,.08);
  --shadow-hover: 0 6px 24px rgba(233,30,99,.16);
  --font: 'Poppins', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* HEADER */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.logo {
  font-weight: 700; font-size: 1.3rem; color: var(--primary);
  letter-spacing: -.02em;
}
.logo span { color: var(--text); font-weight: 600; }
.main-nav { display: none; gap: 18px; align-items: center; }
.main-nav a {
  color: var(--text-muted); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .03em;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.nav-toggle { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text); }

/* HERO */
.hero {
  background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e8eaf6 100%);
  padding: 40px 16px 48px; text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-with-bg {
  background: #0d0610 !important;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 3, 10, 0.85) 0%, rgba(12, 5, 14, 0.70) 100%) !important;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-with-bg .hero-badge {
  background: rgba(255,255,255,0.22) !important;
  border-color: rgba(255,255,255,0.6) !important;
  color: #ffffff !important;
}
.hero-with-bg h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.65) !important;
}
.hero-with-bg h1 em {
  color: #ffc0d8 !important;
}
.hero-with-bg .lead {
  color: #ffffff !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55) !important;
}
.hero-with-bg .stat-item .num {
  color: #ffc0d8 !important;
}
.hero-with-bg .stat-item .label {
  color: #f0f0f0 !important;
}
.hero-badge {
  display: inline-block; background: #fff; border: 1px solid var(--primary);
  color: var(--primary); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(1.55rem, 4.5vw, 2.3rem); font-weight: 700;
  line-height: 1.25; margin-bottom: 10px; color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead {
  font-size: 14px; color: var(--text-muted); max-width: 500px;
  margin: 0 auto 22px;
}
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; border: none; cursor: pointer;
  transition: all .2s; text-decoration: none;
}
.btn-primary { border:1px solid var(--primary); color: var(--primary); } 
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline {
  background: #fff; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe57; color: #fff; }

.stats-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-item .num { display: block; font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.stat-item .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; }

/* SECTIONS */
.section { padding: 36px 0; }
.section-alt { background: #fff; }
.section-header { text-align: center; margin-bottom: 24px; }
.section-header .eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px;
}
.section-header h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700; margin-bottom: 6px; }
.section-header p { color: var(--text-muted); font-size: 13.5px; max-width: 460px; margin: 0 auto; }

/* PROFILE CARDS */
.profiles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.profile-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  text-decoration: none; color: inherit; display: block;
}
.profile-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.profile-card .img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.profile-card img { width: 100%; height: 100%; object-fit: cover; }
.profile-card .tag {
  position: absolute; top: 8px; left: 8px;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 999px; text-transform: uppercase;
}
.profile-card .tag.vip { background: var(--gold); color: #212121; }
.profile-card .tag.new { background: var(--success); }
.profile-card .info { padding: 10px; }
.profile-card h3 { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.profile-card .area { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.profile-card .meta { display: flex; justify-content: space-between; align-items: center; }
.profile-card .rate { font-size: 13px; font-weight: 700; color: var(--primary); }
.profile-card .rating { font-size: 11px; color: var(--gold); }

/* LOCATION CARDS */
.locations-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.loc-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 10px; text-align: center; text-decoration: none; color: inherit;
  transition: all .2s; box-shadow: var(--shadow);
}
.loc-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.loc-card .icon { font-size: 26px; margin-bottom: 4px; }
.loc-card h3 { font-size: 12.5px; font-weight: 600; margin-bottom: 2px; }
.loc-card .status { font-size: 11px; color: var(--success); font-weight: 500; }

/* CATEGORY CARDS */
.categories-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.cat-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: all .2s;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cat-card .cat-img { width: 100px; min-width: 100px; height: 90px; overflow: hidden; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .cat-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cat-card .cat-tag { font-size: 10px; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 2px; }
.cat-card h3 { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.cat-card p { font-size: 12px; color: var(--text-muted); line-height: 1.35; }

/* FULL WIDTH MID BANNER */
.mid-banner {
  margin: 0; width: 100%; position: relative; height: 180px; overflow: hidden;
}
.mid-banner img { width: 100%; height: 100%; object-fit: cover; }
.mid-banner .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(233,30,99,.75) 0%, rgba(156,39,176,.5) 100%);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
}
.mid-banner .overlay h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; font-weight: 700; }
.mid-banner .overlay p { color: rgba(255,255,255,.9); font-size: 13px; }

/* CONTENT */
.content-block {
  background: #fff; border-radius: var(--radius); padding: 20px 16px;
  margin-bottom: 16px; box-shadow: var(--shadow);
}
.content-block h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.content-block h3 { font-size: 1.05rem; font-weight: 600; margin: 16px 0 8px; color: var(--primary); }
.content-block p, .content-block li { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.content-block ul, .content-block ol { padding-left: 18px; margin-bottom: 12px; }
.content-block a { color: var(--primary); font-weight: 500; }
.content-block img {
  border-radius: var(--radius); margin: 14px 0; width: 100%;
  max-height: 300px; object-fit: cover;
}

/* PROFILE DETAIL */
.profile-hero { background: #fff; padding: 16px 0 0; }
.profile-hero .gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 12px;
}
.profile-hero .gallery img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px;
}
.profile-hero .gallery img:first-child {
  grid-column: 1 / -1; aspect-ratio: 4/3;
}
.profile-meta { padding: 18px 16px; }
.profile-meta h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 3px; }
.profile-meta .subtitle { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.profile-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px;
}
.profile-stats .ps {
  background: var(--primary-light); border-radius: 10px; padding: 10px; text-align: center;
}
.profile-stats .ps .val { font-weight: 700; font-size: 14px; color: var(--primary); }
.profile-stats .ps .lbl { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }

/* STEPS */
.steps { display: grid; grid-template-columns: 1fr; gap: 12px; }
.step {
  background: #fff; border-radius: var(--radius); padding: 14px;
  display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow);
}
.step-num {
  width: 34px; height: 34px; min-width: 34px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.step h3 { font-size: 14px; margin-bottom: 2px; }
.step p { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* FAQ */
.faq-item {
  background: #fff; border-radius: var(--radius); margin-bottom: 8px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  padding: 13px 15px; font-weight: 600; font-size: 14px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.15rem; color: var(--primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 15px 13px; color: var(--text-muted); font-size: 13.5px; }

/* FOOTER */
.site-footer {
  background: #2d1f24; color: rgba(255,255,255,.7); padding: 32px 0 24px; font-size: 13px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.footer-brand .logo { color: #fff; margin-bottom: 6px; display: inline-block; }
.footer-col h4 { color: #fff; font-size: 13px; margin-bottom: 8px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,.55); margin-bottom: 5px; font-size: 12.5px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px;
  text-align: center; font-size: 11px;
}

/* STICKY WHATSAPP */
.wa-sticky {
  position: fixed; bottom: 20px; right: 16px; z-index: 300;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 16px rgba(37,211,102,.45);
  text-decoration: none; transition: transform .2s;
}
.wa-sticky:hover { transform: scale(1.08); color: #fff; }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, #fce4ec, #f3e5f5);
  padding: 28px 16px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero.with-bg {
  background: #1a0a12;
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 16px;
}
.page-hero .page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.page-hero .page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(10, 4, 12, 0.78);
  z-index: 1;
}
.page-hero .page-hero-inner {
  position: relative; z-index: 2;
}
.page-hero.with-bg h1 { color: #ffffff; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.page-hero.with-bg p { color: #f0f0f0; }
.page-hero h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 5px; }
.page-hero p { color: var(--text-muted); font-size: 13.5px; max-width: 460px; margin: 0 auto; }

/* DESKTOP */
@media (min-width: 768px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .profiles-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .locations-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-card .cat-img { width: 130px; min-width: 130px; height: 110px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .mid-banner { height: 240px; }
  .hero { padding: 56px 20px 60px; }
  .hero-with-bg { min-height: 480px; padding: 70px 20px; }
  .section { padding: 48px 0; }
  .content-block { padding: 28px 32px; }
  .profile-hero .gallery {
    grid-template-columns: repeat(3, 1fr); max-width: 860px; margin: 0 auto;
  }
  .profile-hero .gallery img:first-child { grid-column: auto; aspect-ratio: 3/4; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .profiles-grid { grid-template-columns: repeat(3, 1fr); }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Product-style profile page */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 16px;
}
.product-img { position: relative; }
.product-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
}
.product-img .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; text-transform: uppercase;
}
.product-img .tag.VIP { background: var(--gold); color: #212121; }
.product-info h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.product-type { color: var(--text-muted); font-size: 13px; margin-bottom: 10px; }
.product-price {
  font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 14px;
}
.product-price small { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.spec-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 8px;
}
.spec-table th, .spec-table td {
  padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left;
}
.spec-table th {
  width: 35%; color: var(--text-muted); font-weight: 500; background: var(--primary-light);
}
.spec-table td { color: var(--text); font-weight: 500; }
@media (min-width: 768px) {
  .product-layout {
    grid-template-columns: 380px 1fr;
    padding: 24px;
    gap: 28px;
    align-items: start;
  }
  .product-img img { max-height: 520px; }
}

/* Product-style profile page */
.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 16px;
}
.product-img { position: relative; }
.product-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
}
.product-img .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; text-transform: uppercase;
}
.product-img .tag.VIP { background: var(--gold); color: #212121; }
.product-info h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.product-type { color: var(--text-muted); font-size: 13px; margin-bottom: 10px; }
.product-price {
  font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 14px;
}
.product-price small { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.spec-table {
  width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 8px;
}
.spec-table th, .spec-table td {
  padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left;
}
.spec-table th {
  width: 35%; color: var(--text-muted); font-weight: 500; background: var(--primary-light);
}
.spec-table td { color: var(--text); font-weight: 500; }
@media (min-width: 768px) {
  .product-layout {
    grid-template-columns: 380px 1fr;
    padding: 24px;
    gap: 28px;
    align-items: start;
  }
  .product-img img { max-height: 520px; }
}

/* ========== BLOG STYLES ========== */
.blog-list { display: grid; gap: 24px; }
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr;
  text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .body { padding: 16px 18px 20px; }
.blog-card .meta { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-card .meta .cat { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.blog-card h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; line-height: 1.35; color: var(--text); }
.blog-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .read-more { font-size: 13px; font-weight: 600; color: var(--primary); }

.blog-single .featured-img {
  width: 100%; border-radius: var(--radius); margin-bottom: 20px; aspect-ratio: 16/9; object-fit: cover;
}
.blog-single .post-meta {
  display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.blog-single .post-meta .cat { background: var(--primary-light); color: var(--primary); padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.blog-single .post-meta .tags a { color: var(--text-muted); margin-right: 6px; }
.blog-single .post-meta .tags a:hover { color: var(--primary); }
.blog-content { font-size: 15px; line-height: 1.7; color: var(--text); }
.blog-content h2 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 12px; color: var(--text); }
.blog-content h3 { font-size: 1.1rem; font-weight: 600; margin: 22px 0 10px; color: var(--primary); }
.blog-content p { margin-bottom: 14px; color: var(--text-muted); }
.blog-content ul, .blog-content ol { padding-left: 20px; margin-bottom: 16px; }
.blog-content li { margin-bottom: 6px; color: var(--text-muted); }
.blog-content img {
  width: 100%; max-width: 100%; border-radius: var(--radius); margin: 20px 0; display: block;
}
.blog-content a { color: var(--primary); font-weight: 500; }
.blog-content blockquote {
  border-left: 4px solid var(--primary); padding: 12px 18px; margin: 20px 0;
  background: var(--primary-light); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text);
}
.blog-tags { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); }
.blog-tags span { font-size: 13px; font-weight: 600; margin-right: 8px; }
.blog-tags a {
  display: inline-block; background: #f5f5f5; color: var(--text-muted);
  padding: 4px 12px; border-radius: 999px; font-size: 12px; margin: 0 4px 6px 0;
  text-decoration: none;
}
.blog-tags a:hover { background: var(--primary-light); color: var(--primary); }

@media (min-width: 768px) {
  .blog-card { grid-template-columns: 280px 1fr; }
  .blog-card .thumb { aspect-ratio: auto; height: 100%; min-height: 180px; }
  .blog-list { gap: 28px; }
}

/* Blog layout with sidebar */
.blog-layout {
  display: grid;
  gap: 28px;
}
.blog-main { min-width: 0; }
.blog-sidebar {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  height: fit-content;
}
.blog-sidebar h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--primary);
  color: var(--text);
}
.sidebar-post {
  display: flex; gap: 12px; margin-bottom: 14px; text-decoration: none; color: inherit;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-post img {
  width: 72px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.sidebar-post .s-title {
  font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-post .s-meta { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.sidebar-cats a, .sidebar-tags a {
  display: inline-block; background: #f5f5f5; color: var(--text-muted);
  padding: 4px 11px; border-radius: 999px; font-size: 12px; margin: 0 4px 6px 0;
  text-decoration: none;
}
.sidebar-cats a:hover, .sidebar-tags a:hover { background: var(--primary-light); color: var(--primary); }

/* White buttons for blog CTAs */
.btn-white {
  background: #fff !important;
  color: var(--primary) !important;
  border: 1.5px solid #fff !important;
}
.btn-white:hover {
  background: #fff !important;
  color: var(--primary-dark) !important;
  border-color: #fff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* Homepage blog section */
.home-blogs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.home-blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  display: block; transition: transform .2s, box-shadow .2s;
}
.home-blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.home-blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.home-blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-blog-card .body { padding: 14px 16px 16px; }
.home-blog-card .meta { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.home-blog-card .meta .cat { color: var(--primary); font-weight: 600; }
.home-blog-card h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; color: var(--text); }
.home-blog-card p { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Contact interactive */
.contact-grid {
  display: grid; gap: 20px;
}
.contact-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 20px; text-align: center;
}
.contact-card .icon { font-size: 28px; margin-bottom: 10px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.contact-form-wrap {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px;
}
.contact-form-wrap h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; background: #fafafa;
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
}

@media (min-width: 768px) {
  .blog-layout { grid-template-columns: 1fr 280px; align-items: start; }
  .home-blogs-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .page-hero.with-bg { min-height: 260px; }
}
