/*
Theme Name: Dehradun Girls Blog
Theme URI: https://blog.dehradungirls.com/
Author: DehradunGirls
Description: Elegant adult journal theme for independent Dehradun escort stories, city guides and privacy insights. Elementor & Yoast ready. Sexy, sophisticated design with dark luxury feel.
Version: 1.1.6
License: GPL v2 or later
Text Domain: dehradungirls
Tags: blog, adult, escort, dehradun, elegant, dark
*/

:root {
  --bg: #0f0f0f;
  --card: #1a1a1a;
  --accent: #c9a66b;
  --accent-hover: #e0c080;
  --text: #f5f0e8;
  --muted: #a89b8c;
  --border: #2a2a2a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  font-size: 17px;
}
a { color: var(--accent); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: rgba(15,15,15,0.95);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(10px);
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.site-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}
.site-title span { color: var(--accent); }
.site-tagline { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Navigation */
.main-nav ul { display: flex; list-style: none; gap: 28px; }
.main-nav a { color: var(--text); font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--accent); }

/* Hero / Blog Intro */
.blog-hero {
  padding: 80px 0 50px;
  text-align: center;
  background: linear-gradient(180deg, #161616 0%, var(--bg) 100%);
}
.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}
.blog-hero p { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  padding: 40px 0 80px;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.post-card img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #111;
}
.post-card .content { padding: 22px; }
.post-card h2 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 10px; line-height: 1.3; }
.post-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.post-card .excerpt { color: #ddd; font-size: 15px; margin-bottom: 16px; }
.post-card .read-more { color: var(--accent); font-weight: 600; font-size: 14px; }

/* Single Post */
article.single-post { max-width: 800px; margin: 40px auto 80px; }
.single-post h1 { font-family: 'Playfair Display', serif; font-size: 42px; margin-bottom: 16px; line-height: 1.15; }
.single-post .post-meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.single-post .featured-image { border-radius: 12px; margin-bottom: 30px; overflow: hidden; }
.single-post .content h2 { font-family: 'Playfair Display', serif; font-size: 28px; margin: 36px 0 16px; color: var(--accent); }
.single-post .content h3 { font-size: 22px; margin: 28px 0 12px; }
.single-post .content p { margin-bottom: 18px; }
.single-post .content ul, .single-post .content ol { margin: 16px 0 16px 24px; }
.single-post .content li { margin-bottom: 8px; }
.single-post .content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.single-post .content a:hover,
.single-post .content a:focus {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}
.single-post-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.single-post-navigation > div { flex: 1; }
.single-post-navigation .nav-next { text-align: right; }
.single-post-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 9px;
  color: var(--accent);
  font-weight: 600;
}
.single-post-navigation a:hover,
.single-post-navigation a:focus {
  background: var(--accent);
  color: #111;
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .watermark { color: var(--accent); font-weight: 600; }

/* Responsive */
@media (max-width: 768px) {
  .blog-hero h1 { font-size: 36px; }
  .posts-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .site-header .container { flex-direction: column; gap: 10px; }
}

@media (max-width: 520px) {
  .single-post-navigation { align-items: stretch; flex-direction: column; }
  .single-post-navigation > div,
  .single-post-navigation a { width: 100%; }
  .single-post-navigation .nav-next { text-align: left; }
  .single-post-navigation a { justify-content: center; }
}

/* Version 1.1: two-column journal layout, sidebar and pagination */
.site-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 44px; align-items: start; padding-top: 48px; padding-bottom: 88px; }
.site-main { min-width: 0; }
.site-layout .posts-grid { grid-template-columns: 1fr; gap: 26px; padding: 0; }
.site-layout .post-card { border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
.site-layout .post-card:hover { box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28); }
.post-card-image { display: block; overflow: hidden; }
.post-card img { transition: transform 0.45s ease; }
.post-card:hover img { transform: scale(1.025); }
.site-sidebar { position: sticky; top: 112px; }
.widget { background: linear-gradient(145deg, #1c1c1c, #141414); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16); }
.widget-title { font-family: 'Playfair Display', serif; font-size: 21px; line-height: 1.25; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.widget ul { list-style: none; }
.widget li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.widget li:first-child { padding-top: 0; }
.widget li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget a { color: #e5ded4; font-size: 14px; line-height: 1.45; }
.widget a:hover { color: var(--accent-hover); }
.widget_search form { display: flex; }
.widget_search label { flex: 1; }
.widget_search .search-field { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--text); background: #0f0f0f; border: 1px solid var(--border); border-radius: 8px 0 0 8px; outline: none; }
.widget_search .search-field:focus { border-color: var(--accent); }
.widget_search .search-submit { min-height: 44px; padding: 0 15px; color: #111; background: var(--accent); border: 0; border-radius: 0 8px 8px 0; font-weight: 600; cursor: pointer; }
.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 9px; background: var(--card); color: var(--text); font-size: 14px; font-weight: 600; }
.page-numbers:hover, .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #111; }
.single-layout { padding-top: 52px; }
.single-layout .single-post { margin: 0; }
@media (max-width: 768px) {
  .site-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; padding-top: 34px; padding-bottom: 60px; }
  .site-layout .posts-grid { grid-template-columns: 1fr; }
  .site-sidebar { position: static; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .site-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
  .site-layout .posts-grid { grid-template-columns: 1fr; }
}
