/**
 * Theme Name: Astra iTechOps
 * Template: astra
 * Author: iTechOps
 * Description: iTechOps child theme for Astra - V4 Design System
 * Version: 1.0.3
 * Text Domain: astra-itechops
 */

:root {
  --v4-primary: #2563eb;
  --v4-secondary: #4f46e5;
  --v4-accent: #7c3aed;
  --v4-bg: #ffffff;
  --v4-fg: #0f172a;
  --v4-muted: #475569;
  --v4-light: #64748b;
  --v4-border: rgba(0, 0, 0, 0.08);
  --v4-card-bg: rgba(255, 255, 255, 0.8);
  --v4-card-border: rgba(37, 99, 235, 0.1);
  --v4-gradient-primary: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --fs-base: 1rem;
}

body {
  font-family: var(--font-main) !important;
  background: var(--v4-bg) !important;
  color: var(--v4-fg) !important;
  overflow-x: hidden;
  padding-top: 4rem;
}
a { text-decoration: none !important; }
h1,h2,h3,h4,h5,h6 { color: var(--v4-fg) !important; letter-spacing: -0.02em; }

/* === V4 Buttons === */
.v4-btn-primary {
  background: var(--v4-gradient-primary);
  color: white !important;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  text-decoration: none;
  cursor: pointer;
}
.v4-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
  color: white !important;
}
.v4-btn-outline {
  background: transparent;
  color: var(--v4-primary) !important;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid var(--v4-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.v4-btn-outline:hover {
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
  color: var(--v4-primary) !important;
}

/* === NAVBAR === */
.v4-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
}
.hover-opacity-80:hover { opacity:0.8; }

/* === V4 Grid Mesh (subtle dot overlay) === */
.v4-grid-mesh { position: relative; }
.v4-grid-mesh::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(0,0,0,0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}
.text-hero { font-size: 2.25rem !important; }

/* === PAGE HEADER (Split Layout Hero) === */
.v4-page-header {
  position: relative;
  overflow: hidden;
  background: white;
}
.v4-header-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}
.v4-header-glow.top-left { top: -10%; left: -10%; width: 50%; height: 50%; background: rgba(37,99,235,0.08); }
.v4-header-glow.bottom-right { bottom: -10%; right: -10%; width: 50%; height: 50%; background: rgba(79,70,229,0.04); }
.v4-header-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(37,99,235,0.04);
  border: 1px solid rgba(37,99,235,0.1);
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.v4-header-badge i { font-size: 0.8rem; }
.v4-header-title {
  font-size: clamp(2.25rem, 8vw, 2.25rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.v4-header-subtitle {
  font-size: var(--fs-base) !important;
  font-family: var(--font-display);
  color: #64748b;
  max-width: 540px;
  line-height: 1.6 !important;
  margin-bottom: 28px;
}

.animate-float { animation: float-3d 6s ease-in-out infinite; }
@keyframes float-3d { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-15px); } }
.svg-float-1 { animation:svgFloat1 7s ease-in-out infinite; }
.svg-float-2 { animation:svgFloat2 9s ease-in-out infinite; }
.svg-float-3 { animation:svgFloat3 6s ease-in-out infinite; }
.svg-cube { animation:svgCube 12s linear infinite; }
@keyframes svgFloat1 { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }
@keyframes svgFloat2 { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@keyframes svgFloat3 { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes svgCube { 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); } }

/* === Header Visual === */
.v4-header-visual {
  position: relative;
  max-width: 550px;
  margin: 0 auto;
}
.v4-visual-glow {
  position: absolute;
  width: 60%; height: 60%;
  top: 20%; left: 20%;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow { 0%,100% { transform:scale(1); opacity:0.5; } 50% { transform:scale(1.2); opacity:1; } }
.v4-visual-ring {
  position: absolute;
  width: 80%; height: 80%;
  top: 10%; left: 10%;
  border: 1px solid rgba(37,99,235,0.08);
  border-radius: 50%;
  animation: spin-ring 24s linear infinite;
}
.v4-visual-ring-2 {
  width: 60%; height: 60%;
  top: 20%; left: 20%;
  animation-direction: reverse;
  animation-duration: 18s;
}
@keyframes spin-ring { to { transform:rotate(360deg); } }
.v4-visual-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(37,99,235,0.3);
  border-radius: 50%;
  animation: float-dot 6s ease-in-out infinite;
}
@keyframes float-dot {
  0%,100% { transform: translateY(0) scale(1); opacity:0.3; }
  50% { transform: translateY(-20px) scale(1.5); opacity:0.8; }
}
.v4-visual-wave {
  position: absolute;
  bottom: 5%;
  left: 10%;
  width: 80%; height: 10%;
  background: linear-gradient(180deg, rgba(37,99,235,0.03) 0%, transparent 100%);
  border-radius: 50%;
  animation: sway-wave 6s ease-in-out infinite;
}
@keyframes sway-wave { 0%,100% { transform:translateX(-5%); } 50% { transform:translateX(5%); } }

/* === CATEGORY FILTER === */
.category-filter {
  position:relative;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-bottom:2.5rem;
  padding-right:220px;
  min-height:44px;
}
.category-filter-items {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.category-filter-search {
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
}
@media (max-width:991px) {
  .category-filter { flex-direction:column; align-items:flex-start; padding-right:0; min-height:0; }
  .category-filter-items { justify-content:flex-start; }
  .category-filter-search { position:static; transform:none; width:100%; margin-top:8px; }
  .category-filter-search input { width:100%; }
}
.cat-filter-item.cat-filter-item--hidden { display:none; }
.cat-filter-toggle {
  display:inline-flex; align-items:center; gap:4px;
  padding:8px 16px; border-radius:9999px;
  font-size:0.8rem; font-weight:700; color:#64748b;
  background:white; border:1px solid #e2e8f0;
  cursor:pointer; font-family:inherit;
  text-decoration:none; white-space:nowrap;
  transition:all 0.3s ease;
}
.cat-filter-toggle:hover { background:var(--v4-primary); color:#fff; border-color:var(--v4-primary); }
.category-filter-search input {
  padding:8px 36px 8px 16px;
  border-radius:9999px;
  border:1px solid #e2e8f0;
  background:#fff;
  font-size:0.8rem;
  font-weight:500;
  color:var(--v4-fg);
  outline:none;
  width:200px;
  transition:all 0.3s ease;
  font-family:inherit;
}
.category-filter-search input:focus {
  border-color:var(--v4-primary);
  box-shadow:0 0 0 3px rgba(37,99,235,0.1);
  width:240px;
}
.category-filter-search input::placeholder { color:#94a3b8; }
.category-filter-search i {
  position:absolute;
  right:12px;
  color:#94a3b8;
  font-size:0.85rem;
  pointer-events:none;
}
.cat-filter-item {
  display:inline-block;
  padding:8px 20px;
  border-radius:9999px;
  font-size:0.8rem;
  font-weight:700;
  color:#64748b;
  background:white;
  border:1px solid #e2e8f0;
  text-decoration:none;
  transition:all 0.3s ease;
}
.cat-filter-item:hover,
.cat-filter-item.active {
  background:var(--v4-primary);
  color:white !important;
  border-color:var(--v4-primary);
  box-shadow:0 4px 15px rgba(37,99,235,0.2);
}

/* === BLOG ARCHIVE === */
.blog-section { padding: 60px 0 80px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width:991px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:575px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--v4-card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--v4-card-border);
  border-radius: 2.5rem;
  border-top: 4px solid transparent;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.04);
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-12px);
  border-color: rgba(37,99,235,0.2);
  border-top-color: var(--v4-primary);
  box-shadow: 0 40px 80px -15px rgba(37,99,235,0.1);
}
.blog-card-thumb { width:100%; height:180px; min-height:180px; object-fit:cover; background:#f8fafc; }
.blog-card-thumb-default { display:flex; align-items:center; justify-content:center; height:180px; background:#f8fafc; text-decoration:none; }
.blog-card-body { padding:1rem; flex:1; display:flex; flex-direction:column; }

.blog-card-category {
  align-self: flex-start;
  display:inline-block;
  background: rgba(37,99,235,0.09);
  color: #1d4ed8;
  text-decoration:none;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  line-height: 1;
}
.blog-card-tags { display:flex; flex-wrap:wrap; gap:4px; margin-bottom:6px; }
.blog-card-tag { font-size:0.6rem; font-weight:700; color:#64748b; background:#f8fafc; border:1px solid #e2e8f0; padding:3px 10px; border-radius:6px; line-height:1.5; transition:all 0.2s; display:inline-flex; align-items:center; gap:4px; cursor:pointer; }
.blog-card-tag::before { content:'#'; color:var(--v4-primary); font-weight:900; opacity:0.6; }
.blog-card-tag:hover { background:#fff; border-color:var(--v4-primary); color:var(--v4-primary); box-shadow:0 2px 8px rgba(37,99,235,0.1); }
.blog-card-tag:hover::before { opacity:1; }
.blog-card-tag--hidden { display: none; }
.blog-card-tags-toggle {
  cursor:pointer;
  white-space:nowrap;
}
.blog-card-tags-toggle:hover { background:#fff; border-color:var(--v4-primary); color:var(--v4-primary); cursor:pointer; }
.blog-card-title { font-size:1rem; font-weight:800; margin:0 0 6px; line-height:1.3; }
.blog-card-title a { color: var(--v4-fg) !important; text-decoration:none; }
.blog-card-title a:hover { color: var(--v4-primary) !important; }
.blog-card-excerpt { color:var(--v4-light); font-size:0.85rem; line-height:1.65; margin-bottom:0.75rem; flex:1; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.blog-card-meta {
  display:flex; align-items:center; gap:8px;
  padding-top:8px; border-top:1px solid var(--v4-border); margin-top:auto;
}
.blog-card-meta > div {
  min-width: 0;
  line-height: 1.3;
}
.blog-card-avatar { width:32px !important; height:32px !important; max-width:32px !important; border-radius:50%; object-fit:cover; flex-shrink:0; }
.blog-card-author { font-size:0.75rem; font-weight:700; color:var(--v4-fg); line-height:1.2; }
.blog-card-date { font-size:0.65rem; color:var(--v4-light); line-height:1.2; }

/* === PAGINATION === */
.itechops-pagination { margin-top: 3rem; display:flex; justify-content:center; gap:8px; }
.itechops-pagination .page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:12px;
  border:1px solid var(--v4-border); background:white;
  color:var(--v4-muted); text-decoration:none; font-weight:600;
  transition:all 0.3s ease; box-shadow:0 2px 8px rgba(0,0,0,0.04);
}
.itechops-pagination .page-numbers:hover,
.itechops-pagination .page-numbers.current {
  background:var(--v4-primary); border-color:var(--v4-primary); color:white;
  box-shadow:0 4px 15px rgba(37,99,235,0.2);
}

/* === ALIGN FULL SUPPORT === */
.alignfull { margin-left: calc(-50vw + 50%) !important; margin-right: calc(-50vw + 50%) !important; max-width: 100vw !important; width: 100vw !important; }
.alignwide { margin-left: calc(-25vw + 25%) !important; margin-right: calc(-25vw + 25%) !important; max-width: 1200px !important; }

/* === POST HERO BLOCK === */
.wp-block-itechops-post-hero {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
}

.itechops-hero-placeholder {
  padding: 100px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.7) 100%);
  color: rgba(255,255,255,0.6);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  border-radius: 1rem;
}

.itechops-hero-block {
  position: relative;
  width: 100%;
}

.itechops-hero-bg {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.itechops-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.itechops-hero-cat {
  display: inline-block;
  background: rgba(37,99,235,0.15);
  color: #93c5fd;
  text-decoration:none;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  line-height: 1;
}

.itechops-hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff !important;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 20px;
  margin-top: 0;
}

.itechops-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.itechops-hero-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.itechops-hero-author {
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.itechops-hero-date {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.itechops-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.itechops-hero-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  transition: all 0.3s ease;
}

.itechops-hero-tag:hover {
  background: rgba(37,99,235,0.2);
  color: #93c5fd;
  border-color: rgba(37,99,235,0.3);
}

/* === SINGLE POST — block-driven content area === */
article { background: #fff; }
article > .wp-block-itechops-post-hero:first-child { margin-top: 0; }

/* Content blocks spacing */
article:not(.blog-card) p, article:not(.blog-card) h1,
article:not(.blog-card) h2, article:not(.blog-card) h3,
article:not(.blog-card) h4, article:not(.blog-card) h5, article:not(.blog-card) h6,
article:not(.blog-card) .wp-block-paragraph, article:not(.blog-card) .wp-block-heading,
article:not(.blog-card) ul, article:not(.blog-card) ol, article:not(.blog-card) .wp-block-list,
article:not(.blog-card) .wp-block-quote, article:not(.blog-card) .wp-block-pullquote,
article:not(.blog-card) .wp-block-code, article:not(.blog-card) .wp-block-preformatted { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
article:not(.blog-card) > *:not(.wp-block-itechops-post-hero),
article:not(.blog-card) .wp-block-group,
article:not(.blog-card) .wp-block-buttons,
article:not(.blog-card) .wp-block-columns,
.single-post-section { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

/* Core block styling */
article:not(.blog-card) p { color: var(--v4-muted); margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
article:not(.blog-card) h2, article:not(.blog-card) h3 { color: var(--v4-fg); margin-top: 2.5rem; margin-bottom: 1rem; }
article:not(.blog-card) img, article:not(.blog-card) .wp-block-image img { border-radius: 1.5rem; max-width: 100%; height: auto; margin: 2rem auto; border: 1px solid var(--v4-border); }
article:not(.blog-card) blockquote,
article:not(.blog-card) .wp-block-quote {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--v4-primary) !important;
  background: rgba(37,99,235,0.03);
  border-radius: 0 16px 16px 0;
  font-style: italic;
}
article:not(.blog-card) blockquote cite,
article:not(.blog-card) .wp-block-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--v4-light);
}
article:not(.blog-card) ul, article:not(.blog-card) ol { margin-bottom: 1.5rem; }
article:not(.blog-card) li { margin-bottom: 0.5rem; color: var(--v4-muted); }
article:not(.blog-card) code { background: #f1f5f9; padding: 2px 8px; border-radius: 6px; font-size: 0.9em; border: 1px solid #e2e8f0; }
article:not(.blog-card) pre { background: #f8fafc; padding: 1.5rem; border-radius: 16px; overflow-x: auto; border: 1px solid #e2e8f0; margin: 2rem auto; }
article:not(.blog-card) pre code { border: none; background: none; padding: 0; }
article:not(.blog-card) .wp-block-cover { border-radius: 2rem; }

/* === POST NAV === */
.post-navigation { display:flex; justify-content:space-between; gap:1rem; margin-top:3rem; padding-top:2rem; border-top:1px solid var(--v4-border); }
.post-navigation > div { flex:1; min-width:0; }
.post-navigation a {
  background:white; border:1px solid var(--v4-border);
  border-radius:16px; padding:1rem 1.5rem;
  text-decoration:none; transition:all 0.3s ease; flex:1;
  box-shadow:0 2px 8px rgba(0,0,0,0.04);
}
.post-navigation a:hover { border-color:var(--v4-primary); box-shadow:0 8px 20px rgba(37,99,235,0.1); }
.post-nav-label { font-size:0.75rem; text-transform:uppercase; letter-spacing:0.1em; color:var(--v4-light); margin-bottom:0.25rem; }
.post-nav-title { font-weight:700; color:var(--v4-fg); font-size:0.9rem; }

/* === RELATED POSTS === */
.related-posts { margin-top:1rem; padding-top:1rem; border-top:1px solid var(--v4-border); }
.related-posts-title { font-size:1.3rem; font-weight:800; margin-bottom:1.5rem; color:var(--v4-fg); }
.related-posts-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width:575px) { .related-posts-grid { grid-template-columns:1fr; } }
.related-post-card {
  display:flex; flex-direction:column;
  background:white; border:1px solid var(--v4-border);
  border-radius:16px; overflow:hidden;
  text-decoration:none; transition:all 0.3s ease;
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
}
.related-post-card:hover { border-color:rgba(37,99,235,0.2); box-shadow:0 12px 30px rgba(37,99,235,0.1); transform:translateY(-4px); }
.related-post-thumb { width:100%; height:140px; object-fit:cover; }
.related-post-body { padding:1rem; }
.related-post-cat {
  display:inline-block;
  font-size:0.6rem; font-weight:800; text-transform:uppercase;
  letter-spacing:0.08em; color:var(--v4-primary);
  margin-bottom:6px;
}
.related-post-title {
  font-size:0.9rem; font-weight:700; color:var(--v4-fg);
  line-height:1.3; margin:0;
}

/* === COMMENTS === */
.comments-area { margin-top:0; }
.comments-area .comments-title,
.ast-separate-container .comments-title,
.ast-narrow-container .comments-title { font-size:1.3rem; font-weight:800; margin:0 0 1.5rem; padding:0 !important; }
.comment-list { list-style:none; padding:0 !important; margin:0; }

/* Nuke Asta spacing */
.ast-separate-container .ast-comment-list li.depth-1,
.ast-narrow-container .ast-comment-list li.depth-1 { padding:0 !important; }
.ast-comment { padding:0 !important; border:none !important; margin:0 !important; }
.ast-comment-info, .ast-comment-avatar-wrap, .ast-comment-edit-reply-wrap { display:none !important; }

/* Comment card — compact, with hover effect */
.comment-body {
  display:flex; flex-wrap:wrap; align-items:center; gap:1px 6px;
  padding:0.5rem 0.85rem !important;
  background:#fff; border:1px solid #f0f2f5;
  border-radius:10px; margin-bottom:0.45rem;
  transition:border-color 0.25s, box-shadow 0.25s;
}
.comment-body:hover {
  border-color:rgba(37,99,235,0.15);
  box-shadow:0 3px 12px rgba(37,99,235,0.05);
}

/* Avatar + name row */
.comment-body > .comment-author {
  display:inline-flex !important; align-items:center; gap:5px;
  font-weight:600; font-size:0.82rem; color:var(--v4-fg);
  float:none !important; margin:0 !important;
  line-height:1.1 !important;
}
.comment-body > .comment-author img.avatar {
  width:22px !important; height:22px !important;
  border-radius:50%; object-fit:cover; flex-shrink:0;
  display:block !important; float:none !important;
}
.comment-body > .comment-author .fn { line-height:1.1; font-style:normal; }
.comment-body > .comment-author .says { display:none !important; }
.comment-body > .comment-author .edit-link { display:none; }

/* Date — inline after name, gray, non-clickable */
.ast-comment-meta,
.comment-body > .comment-meta {
  font-size:0.7rem; color:#9ca3af;
  margin:0 !important; padding:0 !important;
  border:none !important; float:none !important;
  display:inline !important; cursor:default;
  line-height:1.1;
}
.comment-body > .comment-meta::before { content:"· "; }
.comment-body > .comment-meta a {
  color:inherit !important; text-decoration:none !important;
  pointer-events:none; cursor:default;
}

/* Comment text — full width below */
.comment-body > p {
  flex:0 0 100%;
  font-size:0.85rem; color:#374151; line-height:1.45;
  margin:1px 0 0 27px; padding:0;
}

/* Reply — pill button */
.comment-body > .reply { flex:0 0 100%; margin:3px 0 0 27px; }
.comment-body > .reply a {
  display:inline-flex; align-items:center;
  font-size:0.78rem; font-weight:700; color:#fff !important;
  background:var(--v4-primary); padding:5px 16px;
  border-radius:9999px; text-decoration:none !important;
  line-height:1.3;
}
.comment-body > .reply a:hover { background:#1d4ed8; }
.comment-respond {
  padding:0.5rem 0.85rem !important;
  background:#fff; border:1px solid #f0f2f5;
  border-radius:10px;
}
.comment-reply-title { font-size:1.1rem !important; font-weight:800; margin:0 0 0.75rem !important; }
#cancel-comment-reply-link {
  font-size:0.75rem; font-weight:600; color:var(--v4-primary) !important;
  margin-left:0.5rem; text-decoration:none !important;
}
.comment-form-cookies-consent { display:flex !important; align-items:center !important; gap:10px !important; }
.comment-form-cookies-consent input[type="checkbox"] { width:auto !important; margin:0 !important; }
.comment-form-cookies-consent label { margin:0 !important; font-size:0.85rem; color:#64748b; cursor:pointer; }
.comment-form input,.comment-form textarea {
  width:100%; padding:12px 16px; background:#f8fafc;
  border:1px solid #e2e8f0; border-radius:12px;
  color:var(--v4-fg); outline:none; font-size:0.95rem;
}
.comment-form input:focus,.comment-form textarea:focus { border-color:var(--v4-primary); box-shadow:0 0 0 3px rgba(37,99,235,0.1); }
.form-submit { text-align:center !important; }
.comment-form .submit {
  background:var(--v4-gradient-primary);
  color:white !important; border:none; padding:12px 32px; border-radius:9999px;
  font-weight:700; cursor:pointer; transition:all 0.3s ease;
  box-shadow:0 4px 15px rgba(37,99,235,0.2);
  width:50% !important;
}
.comment-form .submit:hover { transform:scale(1.05); box-shadow:0 8px 25px rgba(37,99,235,0.3); color:white !important; }

/* === PAGINATION === */
.v4-pagination { text-align:center; margin-top:2.5rem; }
.v4-pagination .page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; margin:0 3px;
  border-radius:12px; border:1px solid #e2e8f0;
  background:#fff; color:#64748b; font-weight:700; font-size:0.85rem;
  text-decoration:none; transition:all 0.25s;
}
.v4-pagination .page-numbers:hover { border-color:var(--v4-primary); color:var(--v4-primary); }
.v4-pagination .page-numbers.current { background:var(--v4-primary); color:#fff; border-color:var(--v4-primary); }
.v4-pagination .page-numbers .bi { font-size:0.75rem; }

/* === NO POSTS === */
.v4-no-posts { text-align:center; padding:4rem 2rem; }

/* === FOOTER === */

/* Footer custom link (matches DemoV4Footer.tsx .footer-custom-link) */
.footer-custom-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  font-weight: 500 !important;
  color: #64748b !important;
  text-decoration: none !important;
  transition: all 0.4s ease !important;
  cursor: pointer !important;
  font-size: 0.875rem !important;
}
.footer-custom-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: 0.4s;
}
.footer-custom-link:hover {
  color: #2563eb !important;
  transform: translateX(10px);
}
.footer-custom-link:hover::after {
  width: 100%;
}

/* Social icon hover effect */
.v4-social-icon { transition: all 0.4s ease; }
.v4-social-icon:hover { background:#2563eb !important; color:white !important; box-shadow:0 10px 25px rgba(37,99,235,0.25) !important; }

/* Location card */
.v4-location-card {
  display:flex; align-items:flex-start; gap:18px;
  padding:14px 11px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(37,99,235,0.1);
  border-radius:16px;
  box-shadow:0 14px 35px rgba(15,23,42,0.07);
  transition:transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position:relative; overflow:hidden;
}
.v4-location-card::before {
  content:''; position:absolute; inset:0 auto 0 0; width:4px;
  background:linear-gradient(180deg,#2563eb,#14b8a6);
}
.v4-location-card:hover { transform:translateY(-4px); border-color:rgba(37,99,235,0.22); box-shadow:0 18px 45px rgba(37,99,235,0.13); }
.v4-location-icon {
  width:58px; height:58px; display:inline-flex;
  align-items:center; justify-content:center; flex:0 0 58px;
  color:#ffffff;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  border-radius:16px;
  box-shadow:0 14px 25px rgba(37,99,235,0.22);
  transition:transform 0.3s ease;
}
.v4-location-icon i { width:auto; height:auto; display:inline-flex; background:transparent; color:inherit; border-radius:0; font-size:1.35rem; transition:none; }
.v4-location-card:hover .v4-location-icon { transform:translateY(-2px) rotate(4deg); }
.v4-location-card:hover .v4-location-icon i { transform:none; }

/* Enquiry stack */
.v4-enquiry-stack { display:flex; flex-direction:column; gap:14px; }

/* Contact enquiry card */
.v4-contact-enquiry-card {
  position:relative; overflow:hidden;
  padding:7px 18px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(37,99,235,0.1);
  border-radius:16px;
  box-shadow:0 14px 35px rgba(15,23,42,0.07);
  transition:transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.v4-contact-enquiry-card::before {
  content:''; position:absolute; inset:0 auto 0 0; width:4px;
  background:linear-gradient(180deg,#2563eb,#14b8a6);
}
.v4-contact-enquiry-card:hover { transform:translateY(-4px); border-color:rgba(37,99,235,0.22); box-shadow:0 18px 45px rgba(37,99,235,0.13); }
.v4-enquiry-card-header {
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:5px;
}
.v4-enquiry-badge {
  display:inline-flex; align-items:center; min-height:28px; padding:6px 11px;
  color:#1d4ed8; background:rgba(37,99,235,0.09);
  border-radius:999px; font-size:0.6rem; font-weight:800;
  letter-spacing:0.08em; line-height:1; text-transform:uppercase;
}
.v4-enquiry-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }

/* Contact icon buttons */
.v4-contact-icon-minimal {
  width:36px; height:36px;
  display:inline-flex; align-items:center; justify-content:center;
  background:#ffffff; color:#2563eb !important;
  border:1px solid rgba(37,99,235,0.12);
  border-radius:10px; font-size:0.92rem;
  box-shadow:0 8px 18px rgba(15,23,42,0.06);
  transition:all 0.2s ease-in-out;
  text-decoration:none !important;
}
.v4-contact-icon-minimal:hover {
  background:#2563eb; color:#ffffff !important;
  transform:translateY(-2px);
  box-shadow:0 12px 22px rgba(37,99,235,0.22);
}
.v4-contact-icon-minimal.v4-whatsapp { color:#16a34a !important; border-color:rgba(22,163,74,0.15); }
.v4-contact-icon-minimal.v4-whatsapp:hover { background:#16a34a; color:#ffffff !important; box-shadow:0 12px 22px rgba(22,163,74,0.2); }

/* Enquiry links */
.v4-enquiry-primary-link {
  display:inline-flex; margin-bottom:11px;
  color:#0f172a !important; font-size:0.8rem; font-weight:800;
  line-height:1.25; text-decoration:none !important; transition:color 0.2s ease;
}
.v4-enquiry-primary-link:hover { color:#2563eb !important; }
.v4-enquiry-email-link {
  display:flex; align-items:center; gap:10px;
  color:#475569 !important; font-size:0.8rem; font-weight:600;
  line-height:1.35; text-decoration:none !important;
  word-break:break-word; transition:color 0.2s ease;
}
.v4-enquiry-email-link:hover { color:#2563eb !important; }
.v4-enquiry-email-icon {
  width:30px; height:30px; display:inline-flex;
  align-items:center; justify-content:center; flex:0 0 30px;
  color:#2563eb; background:rgba(37,99,235,0.09);
  border-radius:9px; font-size:0.82rem;
}

/* Mobile responsive */
@media (max-width: 575.98px) {
  .v4-contact-enquiry-card { padding:16px; }
  .v4-location-card { gap:14px; padding:16px; }
  .v4-location-icon { width:48px; height:48px; flex-basis:48px; border-radius:14px; }
  .v4-enquiry-card-header { align-items:flex-start; flex-direction:row; }
  .v4-enquiry-primary-link { font-size:1rem; }
}

/* === GUTENBERG EDITOR STYLES === */
.editor-styles-wrapper {
  font-family:"Plus Jakarta Sans",sans-serif !important;
  font-size:1.05rem !important;
  line-height:1.8 !important;
  color:var(--v4-muted,#475569) !important;
  background:#fff !important;
}

/* Paragraphs */
.editor-styles-wrapper p {
  color:var(--v4-muted,#475569) !important;
  margin-bottom:1.5rem !important;
  font-size:1.05rem !important;
  line-height:1.8 !important;
}

/* Headings — full hierarchy */
.editor-styles-wrapper h1 {
  font-size:2.25rem !important;
  font-weight:900 !important;
  color:var(--v4-fg,#0f172a) !important;
  margin-top:3rem !important;
  margin-bottom:1rem !important;
  letter-spacing:-0.02em !important;
  line-height:1.15 !important;
  border:none !important;
}
.editor-styles-wrapper .itechops-hero-title { margin-top:0 !important; }
.editor-styles-wrapper h2 {
  font-size:1.75rem !important;
  font-weight:800 !important;
  color:var(--v4-fg,#0f172a) !important;
  margin-top:2.5rem !important;
  margin-bottom:1rem !important;
  letter-spacing:-0.02em !important;
  line-height:1.2 !important;
  border:none !important;
}
.editor-styles-wrapper h3 {
  font-size:1.35rem !important;
  font-weight:700 !important;
  color:var(--v4-fg,#0f172a) !important;
  margin-top:2.5rem !important;
  margin-bottom:1rem !important;
  letter-spacing:-0.02em !important;
  line-height:1.25 !important;
  border:none !important;
}
.editor-styles-wrapper h4 {
  font-size:1.15rem !important;
  font-weight:700 !important;
  color:var(--v4-fg,#0f172a) !important;
  margin-top:2rem !important;
  margin-bottom:0.75rem !important;
}
.editor-styles-wrapper h5 {
  font-size:1rem !important;
  font-weight:700 !important;
  color:var(--v4-fg,#0f172a) !important;
  margin-top:1.5rem !important;
  margin-bottom:0.5rem !important;
}
.editor-styles-wrapper h6 {
  font-size:0.9rem !important;
  font-weight:700 !important;
  color:var(--v4-fg,#0f172a) !important;
  text-transform:uppercase !important;
  letter-spacing:0.05em !important;
  margin-top:1.5rem !important;
  margin-bottom:0.5rem !important;
}

/* Links */
.editor-styles-wrapper a { color:var(--v4-primary,#2563eb) !important; text-decoration:none !important; }
.editor-styles-wrapper a:hover { text-decoration:underline !important; }

/* Images, figures, galleries */
.editor-styles-wrapper img {
  border-radius:1.5rem !important;
  max-width:100% !important;
  height:auto !important;
  margin:2rem 0 !important;
  border:1px solid var(--v4-border,#f1f5f9) !important;
  box-shadow:0 4px 16px rgba(0,0,0,0.04) !important;
}
.editor-styles-wrapper figure { margin:2rem 0 !important; }
.editor-styles-wrapper figcaption {
  text-align:center !important;
  font-size:0.85rem !important;
  color:#94a3b8 !important;
  margin-top:0.75rem !important;
  font-style:italic !important;
}
.editor-styles-wrapper .wp-block-image { margin:2rem 0 !important; }
.editor-styles-wrapper .wp-block-image img { margin:0 !important; }
.editor-styles-wrapper .wp-block-gallery { margin:2rem 0 !important; }

/* Blockquote */
.editor-styles-wrapper blockquote {
  border-left:4px solid var(--v4-primary,#2563eb) !important;
  padding:1rem 1.5rem !important;
  margin:2rem 0 !important;
  background:rgba(37,99,235,0.03) !important;
  border-radius:0 16px 16px 0 !important;
  font-style:italic !important;
}
.editor-styles-wrapper blockquote p { margin-bottom:0 !important; font-style:italic !important; }
.editor-styles-wrapper blockquote cite {
  display:block !important;
  margin-top:0.75rem !important;
  font-size:0.85rem !important;
  color:#94a3b8 !important;
  font-style:normal !important;
}

/* Pullquote */
.editor-styles-wrapper .wp-block-pullquote {
  border-top:3px solid var(--v4-primary,#2563eb) !important;
  border-bottom:3px solid var(--v4-primary,#2563eb) !important;
  padding:2rem 1.5rem !important;
  margin:2rem 0 !important;
  color:var(--v4-fg,#0f172a) !important;
}
.editor-styles-wrapper .wp-block-pullquote blockquote {
  border:none !important;
  background:none !important;
  padding:0 !important;
  margin:0 !important;
}
.editor-styles-wrapper .wp-block-pullquote p {
  font-size:1.3rem !important;
  font-weight:700 !important;
  color:var(--v4-fg,#0f172a) !important;
  font-style:italic !important;
}
.editor-styles-wrapper .wp-block-pullquote cite {
  font-size:0.85rem !important;
  color:#94a3b8 !important;
  text-transform:uppercase !important;
  letter-spacing:0.05em !important;
}

/* Lists */
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
  padding-left:1.5rem !important;
  margin-bottom:1.5rem !important;
  color:var(--v4-muted,#475569) !important;
}
.editor-styles-wrapper li {
  margin-bottom:0.5rem !important;
  color:var(--v4-muted,#475569) !important;
}
.editor-styles-wrapper ul ul,
.editor-styles-wrapper ol ol,
.editor-styles-wrapper ul ol,
.editor-styles-wrapper ol ul {
  margin-top:0.5rem !important;
  margin-bottom:0 !important;
}

/* Code / Pre */
.editor-styles-wrapper code {
  background:#f1f5f9 !important;
  padding:2px 8px !important;
  border-radius:6px !important;
  font-size:0.9em !important;
  border:1px solid #e2e8f0 !important;
  font-family:'SF Mono','Fira Code','Consolas',monospace !important;
}
.editor-styles-wrapper pre {
  background:#f8fafc !important;
  padding:1.5rem !important;
  border-radius:16px !important;
  overflow-x:auto !important;
  border:1px solid #e2e8f0 !important;
  margin:2rem 0 !important;
  font-size:0.9rem !important;
  line-height:1.6 !important;
}
.editor-styles-wrapper pre code {
  border:none !important;
  background:none !important;
  padding:0 !important;
  font-size:inherit !important;
}
.editor-styles-wrapper .wp-block-code { margin:2rem 0 !important; }
.editor-styles-wrapper .wp-block-code textarea { font-family:'SF Mono','Fira Code','Consolas',monospace !important; font-size:0.9rem !important; }

/* Verse */
.editor-styles-wrapper .wp-block-verse {
  font-family:'SF Mono','Fira Code','Consolas',monospace !important;
  font-size:0.95rem !important;
  line-height:1.8 !important;
  padding:1.5rem !important;
  background:#f8fafc !important;
  border-radius:16px !important;
  border:1px solid #e2e8f0 !important;
  margin:2rem 0 !important;
}

/* Separator / HR */
.editor-styles-wrapper hr,
.editor-styles-wrapper .wp-block-separator {
  border:none !important;
  height:1px !important;
  background:var(--v4-border,#e2e8f0) !important;
  margin:2.5rem auto !important;
  max-width:100px !important;
}
.editor-styles-wrapper .wp-block-separator.is-style-wide { max-width:100% !important; }
.editor-styles-wrapper .wp-block-separator.is-style-dots {
  height:auto !important;
  background:none !important;
  text-align:center !important;
  max-width:100% !important;
}
.editor-styles-wrapper .wp-block-separator.is-style-dots::before {
  content:'\00B7\00B7\00B7' !important;
  font-size:2rem !important;
  letter-spacing:0.5em !important;
  color:#94a3b8 !important;
}

/* Tables */
.editor-styles-wrapper .wp-block-table { margin:2rem 0 !important; }
.editor-styles-wrapper .wp-block-table table {
  width:100% !important;
  border-collapse:collapse !important;
  font-size:0.9rem !important;
}
.editor-styles-wrapper .wp-block-table th,
.editor-styles-wrapper .wp-block-table td {
  padding:12px 16px !important;
  border:1px solid var(--v4-border,#e2e8f0) !important;
  color:var(--v4-muted,#475569) !important;
}
.editor-styles-wrapper .wp-block-table th {
  font-weight:800 !important;
  background:#f8fafc !important;
  color:var(--v4-fg,#0f172a) !important;
  text-transform:uppercase !important;
  font-size:0.75rem !important;
  letter-spacing:0.05em !important;
}
.editor-styles-wrapper .wp-block-table figcaption {
  text-align:center !important;
  font-size:0.85rem !important;
  color:#94a3b8 !important;
  margin-top:0.75rem !important;
  font-style:italic !important;
}
.editor-styles-wrapper .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background:#f8fafc !important; }

/* Buttons — match frontend CTA */
.editor-styles-wrapper .wp-block-button { margin:2rem 0 !important; }
.editor-styles-wrapper .wp-block-button__link {
  background:var(--v4-gradient-primary,linear-gradient(135deg,#2563eb,#4f46e5)) !important;
  color:#fff !important;
  padding:12px 28px !important;
  border-radius:9999px !important;
  font-weight:700 !important;
  font-size:0.9rem !important;
  border:none !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  box-shadow:0 4px 15px rgba(37,99,235,0.2) !important;
  text-decoration:none !important;
  cursor:pointer !important;
  transition:all 0.3s ease !important;
}
.editor-styles-wrapper .wp-block-button__link:hover {
  box-shadow:0 8px 25px rgba(37,99,235,0.4) !important;
  transform:scale(1.05) !important;
  color:#fff !important;
}
.editor-styles-wrapper .is-style-outline .wp-block-button__link {
  background:transparent !important;
  border:2px solid var(--v4-primary,#2563eb) !important;
  color:var(--v4-primary,#2563eb) !important;
  box-shadow:none !important;
}
.editor-styles-wrapper .is-style-outline .wp-block-button__link:hover {
  background:rgba(37,99,235,0.05) !important;
  transform:translateY(-2px) !important;
  box-shadow:none !important;
  color:var(--v4-primary,#2563eb) !important;
}
.editor-styles-wrapper .is-style-squared .wp-block-button__link { border-radius:12px !important; }

/* Columns */
.editor-styles-wrapper .wp-block-columns { margin:2rem 0 !important; gap:2rem !important; }
.editor-styles-wrapper .wp-block-column { gap:1rem !important; }

/* Cover */
.editor-styles-wrapper .wp-block-cover {
  border-radius:2rem !important;
  margin:2rem 0 !important;
  min-height:400px !important;
}
.editor-styles-wrapper .wp-block-cover p { color:#fff !important; }

/* Group */
.editor-styles-wrapper .wp-block-group { margin:2rem 0 !important; }
.editor-styles-wrapper .wp-block-group.has-background { padding:2rem !important; border-radius:1.5rem !important; }

/* Media & embeds */
.editor-styles-wrapper .wp-block-embed { margin:2rem 0 !important; }
.editor-styles-wrapper .wp-block-embed iframe { border-radius:1.5rem !important; }
.editor-styles-wrapper .wp-block-video video {
  border-radius:1.5rem !important;
  max-width:100% !important;
  border:1px solid var(--v4-border,#f1f5f9) !important;
}
.editor-styles-wrapper .wp-block-audio audio { width:100% !important; }
.editor-styles-wrapper .wp-block-file {
  padding:1rem 1.5rem !important;
  background:#f8fafc !important;
  border-radius:12px !important;
  border:1px solid var(--v4-border,#e2e8f0) !important;
  margin:2rem 0 !important;
}

/* Gutenberg font sizes */
.editor-styles-wrapper .has-small-font-size { font-size:0.85rem !important; }
.editor-styles-wrapper .has-medium-font-size { font-size:1.05rem !important; }
.editor-styles-wrapper .has-large-font-size { font-size:1.35rem !important; line-height:1.5 !important; }
.editor-styles-wrapper .has-x-large-font-size { font-size:1.75rem !important; line-height:1.4 !important; }

/* Color palette matching v4 */
.editor-styles-wrapper .has-v4-primary-color { color:var(--v4-primary,#2563eb) !important; }
.editor-styles-wrapper .has-v4-primary-background-color { background:var(--v4-primary,#2563eb) !important; }
.editor-styles-wrapper .has-v4-fg-color { color:var(--v4-fg,#0f172a) !important; }
.editor-styles-wrapper .has-v4-fg-background-color { background:var(--v4-fg,#0f172a) !important; }
.editor-styles-wrapper .has-v4-muted-color { color:var(--v4-muted,#475569) !important; }
.editor-styles-wrapper .has-v4-muted-background-color { background:var(--v4-muted,#475569) !important; }

/* Alignments */
.editor-styles-wrapper .alignwide { margin-left:-40px !important; margin-right:-40px !important; max-width:880px !important; }
.editor-styles-wrapper .alignfull { margin-left:-72px !important; margin-right:-72px !important; max-width:944px !important; }
@media (max-width:782px) {
  .editor-styles-wrapper .alignwide { margin-left:0 !important; margin-right:0 !important; }
  .editor-styles-wrapper .alignfull { margin-left:0 !important; margin-right:0 !important; }
}

/* Editor overlays */
.editor-styles-wrapper .block-editor-rich-text__editable a { color:var(--v4-primary,#2563eb) !important; }
.editor-styles-wrapper .block-editor-block-list__block { margin-top:0 !important; margin-bottom:0 !important; }
.editor-styles-wrapper .block-editor-block-list__block::before { z-index:0 !important; }
.editor-styles-wrapper .wp-block { margin-top:0 !important; margin-bottom:0 !important; }

/* Editor-specific: hero block must not use frontend full-width trick */
.editor-styles-wrapper .wp-block-itechops-post-hero {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* === Newsletter Section === */
.newsletter-section {
    border-top: 1px solid rgba(0,0,0,0.06);
}
.newsletter-section .form-control:focus {
    box-shadow: none;
    border-color: var(--v4-primary);
}
#newsletter-subscribe:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}
#newsletter-response {
    font-weight: 500;
}


