/*
Theme Name: SmartSpace
Theme URI: https://smartspaceconstructions.com/blog/
Author: Smart Space Constructions
Author URI: https://smartspaceconstructions.com/
Description: A clean, professional WordPress theme for Smart Space Constructions blog — matching the main website's navy and orange design system.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: smartspace
*/

/* ── CSS Variables ────────────────────────────────────── */
:root {
  --navy:         #1B2B3B;
  --navy-light:   #243447;
  --charcoal:     #424A51;
  --orange:       #F68920;
  --orange-dark:  #D4740E;
  --orange-light: #FFF3E0;
  --light-bg:     #F8F9FA;
  --light-bg2:    #F0F4F8;
  --white:        #FFFFFF;
  --text:         #2D3436;
  --text-muted:   #636E72;
  --border:       #DDE3E9;
  --shadow-sm:    0 2px 8px rgba(27,43,59,.08);
  --shadow-md:    0 6px 24px rgba(27,43,59,.12);
  --shadow-lg:    0 16px 48px rgba(27,43,59,.16);
  --radius:       10px;
  --radius-lg:    16px;
  --transition:   .25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.25rem; }

/* ── Utilities ────────────────────────────────────────── */
.text-orange  { color: var(--orange) !important; }
.text-navy    { color: var(--navy) !important; }
.text-muted   { color: var(--text-muted) !important; }
.bg-navy      { background: var(--navy) !important; }
.bg-light-alt { background-color: var(--light-bg) !important; }
.fw-800       { font-weight: 800 !important; }

.section-label {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid rgba(246,137,32,.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.divider-orange {
  width: 44px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 14px 0 24px;
}
.divider-orange.center { margin-left: auto; margin-right: auto; }

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary-ss {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary-ss:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(246,137,32,.35);
}

.btn-outline-ss {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--orange);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 11px 25px;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline-ss:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Navbar ───────────────────────────────────────────── */
.navbar-ss {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar-ss.scrolled {
  box-shadow: 0 2px 24px rgba(27,43,59,.13);
  border-bottom: 1px solid rgba(27,43,59,.06);
}
.navbar-ss .navbar-brand { padding: 0; }
.navbar-ss .navbar-brand img {
  height: 72px;
  width: auto;
  transition: height var(--transition);
}
.navbar-ss.scrolled .navbar-brand img { height: 56px; }
.navbar-ss .nav-link {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--charcoal);
  padding: 6px 14px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.navbar-ss .nav-link:hover,
.navbar-ss .nav-link.active {
  color: var(--orange);
  background: var(--orange-light);
}
.navbar-cta {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 2px solid var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navbar-cta:hover {
  background: var(--orange-dark) !important;
  color: var(--white) !important;
  border-color: var(--orange-dark) !important;
  transform: translateY(-1px);
}
.navbar-cta-outline {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  background: var(--white);
  color: var(--orange) !important;
  padding: 10px 20px !important;
  border-radius: 50px;
  border: 2px solid var(--orange);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navbar-cta-outline:hover {
  background: var(--orange);
  color: var(--white) !important;
  transform: translateY(-1px);
}
.navbar-toggler { border: none; padding: 4px; }
.navbar-toggler:focus { box-shadow: none; }

/* ── Blog Hero Banner ─────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(246,137,32,.12) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 50%);
  pointer-events: none;
}
.blog-hero h1 { color: var(--white); }
.blog-hero h1 span { color: var(--orange); }
.blog-hero p { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* ── Blog Layout ──────────────────────────────────────── */
.blog-wrapper {
  padding: 56px 0;
  background: var(--light-bg);
  min-height: 60vh;
}

/* ── Post Card ────────────────────────────────────────── */
.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--light-bg2);
}
.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb .no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.post-card-thumb .no-thumb i {
  font-size: 2.5rem;
  color: var(--orange);
  opacity: .6;
}
.post-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.post-card-cat {
  font-family: 'Manrope', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--orange);
  background: var(--orange-light);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(246,137,32,.25);
}
.post-card-date {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.post-card-title a { color: var(--navy); transition: color var(--transition); }
.post-card-title a:hover { color: var(--orange); }
.post-card-excerpt {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.post-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--text-muted);
}
.post-card-author .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.post-read-more {
  font-family: 'Manrope', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: background var(--transition), gap var(--transition), transform var(--transition);
}
.post-read-more:hover {
  gap: 9px;
  color: var(--white);
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* ── Sidebar ──────────────────────────────────────────── */
.blog-sidebar { position: sticky; top: 90px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-family: 'Manrope', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-widget-title i { color: var(--orange); }

.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a {
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}
.sidebar-widget ul li a:hover { color: var(--orange); }
.sidebar-widget ul li a .count {
  background: var(--light-bg2);
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

/* Search widget */
.sidebar-search { position: relative; }
.sidebar-search input {
  width: 100%;
  padding: 11px 44px 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.sidebar-search input:focus { border-color: var(--orange); }
.sidebar-search button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--orange);
  cursor: pointer;
  font-size: .95rem;
}

/* CTA widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.sidebar-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(246,137,32,.2) 0%, transparent 60%);
  pointer-events: none;
}
.sidebar-cta h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}
.sidebar-cta p {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  margin-bottom: 18px;
}

/* Recent posts widget */
.recent-post-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.recent-post-item:last-child { border-bottom: none; }
.recent-post-thumb {
  width: 64px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light-bg2);
}
.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-post-info { flex: 1; min-width: 0; }
.recent-post-info a {
  font-family: 'Manrope', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  transition: color var(--transition);
}
.recent-post-info a:hover { color: var(--orange); }
.recent-post-info span {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Tags cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud a {
  font-size: .78rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--light-bg2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 50px;
  transition: all var(--transition);
}
.tag-cloud a:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* ── Single Post ──────────────────────────────────────── */
.single-post-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 0 40px;
}
.single-post-hero .post-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange);
  background: rgba(246,137,32,.15);
  border: 1px solid rgba(246,137,32,.3);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.single-post-hero h1 { color: var(--white); margin-bottom: 18px; }
.single-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.single-post-meta span {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: 6px;
}
.single-post-meta i { color: var(--orange); }

.single-post-wrapper { padding: 56px 0; background: var(--light-bg); }

.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  aspect-ratio: 16/7;
}
.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content-area {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
}

/* WordPress content styles */
.post-content-area .entry-content { line-height: 1.85; }
.post-content-area .entry-content h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange-light);
}
.post-content-area .entry-content h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}
.post-content-area .entry-content h4 {
  font-size: 1.05rem;
  margin: 20px 0 10px;
}
.post-content-area .entry-content p { margin-bottom: 1.2rem; }
.post-content-area .entry-content ul,
.post-content-area .entry-content ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}
.post-content-area .entry-content li { margin-bottom: .5rem; }
.post-content-area .entry-content blockquote {
  border-left: 4px solid var(--orange);
  background: var(--orange-light);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--charcoal);
}
.post-content-area .entry-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 16px 0;
}
.post-content-area .entry-content a { color: var(--orange); font-weight: 600; }
.post-content-area .entry-content a:hover { color: var(--orange-dark); }
.post-content-area .entry-content code {
  background: var(--light-bg2);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .875rem;
}
.post-content-area .entry-content pre {
  background: var(--navy);
  color: #e8e8e8;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 20px 0;
}
.post-content-area .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.post-content-area .entry-content th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-size: .875rem;
}
.post-content-area .entry-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.post-content-area .entry-content tr:nth-child(even) td { background: var(--light-bg); }

/* Post tags */
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}
.post-tags span {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: var(--navy);
}
.post-tags a {
  font-size: .78rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--light-bg2);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 50px;
  transition: all var(--transition);
}
.post-tags a:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* Share bar */
.post-share {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.post-share span {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
}
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.facebook { background: #1877F2; color: #fff; }
.share-btn.twitter  { background: #000; color: #fff; }
.share-btn.linkedin { background: #0A66C2; color: #fff; }
.share-btn.copy     { background: var(--light-bg2); color: var(--charcoal); border: 1px solid var(--border); }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); color: inherit; }

/* Author box */
.author-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-left: 4px solid var(--orange);
}
.author-box .author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-box .author-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.author-box .author-info p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.post-nav-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.post-nav-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--orange);
}
.post-nav-item .nav-dir {
  font-family: 'Manrope', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-nav-item .nav-dir i { color: var(--orange); }
.post-nav-item .nav-title {
  font-family: 'Manrope', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Comments ─────────────────────────────────────────── */
.comments-area {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}
.comments-title {
  font-size: 1.3rem;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.comment-list { list-style: none; padding: 0; }
.comment-body {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  border-left: 3px solid var(--orange);
}
.comment-meta { margin-bottom: 8px; }
.comment-author strong { font-family: 'Manrope', sans-serif; font-size: .9rem; color: var(--navy); }
.comment-metadata a { font-size: .78rem; color: var(--text-muted); }
.comment-content p { font-size: .9rem; margin: 0; }
.comment-reply-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
}

/* Comment form */
.comment-respond { margin-top: 32px; }
.comment-respond .comment-reply-title { font-size: 1.15rem; margin-bottom: 20px; }
.comment-form label {
  font-family: 'Manrope', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 16px;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--orange); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
  background: var(--orange);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.comment-form .submit:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

/* ── Pagination ───────────────────────────────────────── */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 40px 0 16px;
}
.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  transition: all var(--transition);
}
.blog-pagination a:hover,
.blog-pagination span.current {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.blog-pagination .prev, .blog-pagination .next { width: auto; padding: 0 16px; gap: 6px; }

/* ── Archive / Category Header ────────────────────────── */
.archive-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 0 40px;
}
.archive-hero h1 { color: var(--white); }
.archive-hero p { color: rgba(255,255,255,.65); }

/* ── 404 Page ─────────────────────────────────────────── */
.error-404-wrap {
  padding: 80px 0;
  text-align: center;
}
.error-404-wrap .error-code {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  opacity: .25;
}
.error-404-wrap h2 { margin-bottom: 12px; }
.error-404-wrap p { color: var(--text-muted); margin-bottom: 28px; }

/* ── Footer ───────────────────────────────────────────── */
.footer-ss {
  background-color: #1B2B3B;
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-ss .footer-brand img { height: 72px; margin-bottom: 14px; }
.footer-ss .footer-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: 18px;
}
.footer-ss h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.footer-ss .footer-links { list-style: none; padding: 0; margin: 0; }
.footer-ss .footer-links li { margin-bottom: 8px; }
.footer-ss .footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}
.footer-ss .footer-links a:hover { color: var(--orange); }
.footer-ss .footer-links i { color: var(--orange); font-size: .7rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(246,137,32,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
  font-size: .85rem;
}
.contact-text {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
}
.contact-text a { color: rgba(255,255,255,.6); }
.contact-text a:hover { color: var(--orange); }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  margin-top: 40px;
}
.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--orange); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 999;
  transition: all var(--transition);
  text-decoration: none;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
  color: #fff;
}

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  bottom: 92px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-md);
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; }
.scroll-top-btn:hover { background: var(--orange); transform: translateY(-3px); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991px) {
  .blog-sidebar { position: static; margin-top: 40px; }
  .post-content-area { padding: 28px 24px; }
  .comments-area { padding: 28px 24px; }
  .post-nav { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 767px) {
  .blog-hero { padding: 40px 0 36px; }
  .blog-wrapper { padding: 36px 0; }
  .post-content-area { padding: 22px 18px; }
  .post-content-area .entry-content h2 { font-size: 1.3rem; }
  .post-share { flex-direction: column; align-items: flex-start; }
}

/* ── WordPress Core Alignments ───────────────────────── */
.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; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 6px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
