:root {
  --brand: #d72323;
  --brand-dark: #b91c1c;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.08);
  --font: 'Figtree', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: fixed; top: 4px; left: 4px; width: auto; height: auto; padding: 12px 20px;
  margin: 0; overflow: visible; clip: auto; z-index: 99999;
  background: var(--brand); color: #fff; border-radius: 4px; font-weight: 600;
}

/* ─── Grid ─── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row > * { padding: 0 12px; }
[class*="col-"] { width: 100%; }

@media (min-width: 768px) {
  .col-md-4 { width: 33.333%; } .col-md-6 { width: 50%; }
  .col-md-3 { width: 25%; } .col-md-12 { width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-2 { width: 16.666%; } .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; } .col-lg-5 { width: 41.666%; }
  .col-lg-6 { width: 50%; } .col-lg-7 { width: 58.333%; }
  .col-lg-8 { width: 66.666%; } .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.333%; } .col-lg-12 { width: 100%; }
  .col-lg { flex: 1; }
}

/* ─── Utilities ─── */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-block { display: block !important; }
@media (min-width: 992px) {
  .d-lg-block { display: block !important; }
  .d-lg-none { display: none !important; }
}
@media (max-width: 991px) {
  .d-block.d-lg-none { display: block !important; }
}
.text-center { text-align: center; }
.text-end { text-align: right; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.m-auto { margin: auto; }
.mt-16 { margin-top: 16px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.ml-30 { margin-left: 30px; }
.mb-50 { margin-bottom: 50px; }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.site-logo img { height: 36px; width: auto; }
.site-logo a { display: flex; align-items: center; }

.nav-main { display: none; }
@media (min-width: 992px) {
  .nav-main { display: flex; align-items: center; gap: 28px; }
}
.nav-main a {
  color: var(--text); font-size: 15px; font-weight: 500; padding: 4px 0;
  border-bottom: 2px solid transparent; transition: all var(--transition);
}
.nav-main a:hover, .nav-main a[aria-current="page"] {
  color: var(--brand); border-bottom-color: var(--brand);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: all var(--transition); line-height: 1.4;
}
.btn-primary {
  background: var(--brand); color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline {
  border: 1.5px solid var(--border); color: var(--text); background: transparent;
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { color: var(--text); padding: 8px; }
.btn-ghost:hover { color: var(--brand); }
.btn-icon {
  width: 40px; height: 40px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--border); background: transparent;
}
.btn-icon:hover { border-color: var(--brand); color: var(--brand); }
.btn-icon svg { width: 18px; height: 18px; }

/* Theme btn1 compat */
.theme-btn1 {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 14px;
  background: var(--brand); color: #fff !important; transition: all var(--transition);
}
.theme-btn1:hover { background: var(--brand-dark); }

/* ─── Mobile Menu ─── */
.menu-toggle { display: flex; }
@media (min-width: 992px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 200; opacity: 0; visibility: hidden;
  transition: all .3s;
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

.mobile-nav-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px;
  background: #fff; z-index: 201; transform: translateX(100%);
  transition: transform .3s ease; overflow-y: auto; padding: 20px;
}
.mobile-nav-overlay.open .mobile-nav-panel { transform: translateX(0); }

.mobile-nav-close {
  display: flex; justify-content: flex-end; margin-bottom: 20px;
}

.mobile-nav-list a {
  display: block; padding: 12px 0; color: var(--text);
  font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border);
}
.mobile-nav-list a:hover { color: var(--brand); }
.mobile-nav-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav-actions .btn { justify-content: center; }

/* ─── Search Dialog ─── */
.search-dialog {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.6); display: none;
  align-items: flex-start; justify-content: center; padding-top: 120px;
}
.search-dialog.open { display: flex; }
.search-dialog-inner {
  background: #fff; border-radius: var(--radius); padding: 24px;
  width: 90%; max-width: 600px; box-shadow: var(--shadow-lg);
}
.search-dialog form { display: flex; gap: 8px; }
.search-dialog input {
  flex: 1; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 16px; outline: none;
  transition: border-color var(--transition);
}
.search-dialog input:focus { border-color: var(--brand); }
.search-dialog button[type="submit"] {
  padding: 12px 20px; background: var(--brand); color: #fff;
  border-radius: 8px; font-weight: 600;
}
.search-dialog-close {
  display: flex; justify-content: flex-end; margin-bottom: 12px;
}

/* ─── Sections ─── */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.sp { padding: 60px 0; }
@media (min-width: 768px) { .sp { padding: 80px 0; } }
.bg1 { background: var(--bg-alt); }

/* ─── Blog Cards ─── */
.posts-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }

.post-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.post-card a { color: inherit; }
.post-card-img {
  aspect-ratio: 16/10; overflow: hidden;
}
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 20px; }
.post-card-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px; font-size: 13px;
}
.post-card-category {
  background: rgba(215,35,35,.1); color: var(--brand);
  padding: 3px 10px; border-radius: 20px; font-weight: 600; font-size: 12px;
}
.post-card-time { color: var(--text-light); }
.post-card-title {
  font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 12px;
}
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--brand); }
.post-card-author {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-light);
}
.post-card-author-info { display: flex; align-items: center; gap: 8px; }
.post-card-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
}
.post-card-avatar-placeholder {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}

/* Compat: old card structure */
.blog1-single-box {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .3s; margin-bottom: 20px;
}
.blog1-single-box:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog1-single-box .thumbnail { overflow: hidden; }
.blog1-single-box .thumbnail img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s;
}
.blog1-single-box:hover .thumbnail img { transform: scale(1.04); }
.blog1-single-box .heading1 { padding: 20px; }
.blog1-single-box .social-area {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px;
}
.blog1-single-box .social {
  background: rgba(215,35,35,.1); color: var(--brand);
  padding: 3px 10px; border-radius: 20px; font-weight: 600; font-size: 12px;
}
.blog1-single-box .time { color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.blog1-single-box .time img { width: 14px; height: 14px; display: inline; }
.blog1-single-box .heading1 h2,
.blog1-single-box .heading1 h3 {
  font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 12px;
}
.blog1-single-box .heading1 h2 a,
.blog1-single-box .heading1 h3 a { color: var(--text); transition: color var(--transition); }
.blog1-single-box .heading1 h2 a:hover,
.blog1-single-box .heading1 h3 a:hover { color: var(--brand); }
.blog1-single-box .author-area {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-light);
}
.blog1-single-box .author { display: flex; align-items: center; gap: 8px; }
.blog1-single-box .author-tumb img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.blog1-single-box .pimage {
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.blog1-single-box .date { display: flex; align-items: center; gap: 4px; }
.blog1-single-box .date img { width: 14px; height: 14px; display: inline; }

/* ─── Sidebar ─── */
.sidebar { position: sticky; top: 84px; }
.sidebar-widget {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--brand);
}
.sidebar-widget form input {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 14px; outline: none;
  transition: border-color var(--transition);
}
.sidebar-widget form input:focus { border-color: var(--brand); }

/* Compat: old sidebar */
.blog1-sidebar-area { position: sticky; top: 84px; }
.sidebar-widget_1 {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.sidebar-widget_1 h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--brand);
}
.sidebar-widget_1 form input {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 14px; outline: none;
}
.sidebar-widget_1 form input:focus { border-color: var(--brand); }

.blog1-recent-box {
  display: flex; gap: 12px; align-items: flex-start;
}
.blog1-recent-box .recent-thumb { flex-shrink: 0; width: 80px; }
.blog1-recent-box .recent-thumb img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }
.blog1-recent-box .heading { flex: 1; }
.blog1-recent-box .heading .date { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.blog1-recent-box .heading .date img { width: 12px; height: 12px; display: inline; }
.blog1-recent-box .heading h5 { font-size: 14px; font-weight: 600; line-height: 1.4; margin-top: 4px; }
.blog1-recent-box .heading h5 a { color: var(--text); }
.blog1-recent-box .heading h5 a:hover { color: var(--brand); }

/* ─── Categories Grid ─── */
.categories-section { padding: 60px 0; }
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
@media (min-width: 768px) { .categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .categories-grid { grid-template-columns: repeat(5, 1fr); } }

.category-card {
  text-align: center; padding: 24px 16px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  transition: all .3s;
}
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.category-card img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: 50%; margin: 0 auto 12px;
}
.category-card h3 { font-size: 16px; font-weight: 600; }
.category-card h3 a { color: var(--text); }
.category-card h3 a:hover { color: var(--brand); }

/* Compat: old category */
.blog1-cetegory-box {
  text-align: center; padding: 24px 16px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  transition: all .3s;
}
.blog1-cetegory-box:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog1-cetegory-box .image img {
  width: 80px; height: 80px; object-fit: cover; border-radius: 50%; margin: 0 auto;
}
.blog1-cetegory-box .heading1 h3 { font-size: 16px; font-weight: 600; }
.blog1-cetegory-box .heading1 h3 a { color: var(--text); }
.blog1-cetegory-box .heading1 h3 a:hover { color: var(--brand); }

/* ─── Pagination ─── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 40px;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  color: var(--text); border: 1px solid var(--border);
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .active, .pagination a.active {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* Compat: old pagination */
.theme-pagination ul { display: flex; justify-content: center; gap: 6px; }
.theme-pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 8px; font-weight: 600; font-size: 14px;
  color: var(--text); border: 1px solid var(--border);
}
.theme-pagination a:hover { border-color: var(--brand); color: var(--brand); }
.theme-pagination a.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ─── Article / Post Detail ─── */
.article-hero {
  padding: 40px 0; background: var(--bg-alt);
}
.article-hero h1 {
  font-size: clamp(24px, 4vw, 40px); font-weight: 700;
  line-height: 1.25; margin-bottom: 16px;
}
.article-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--text-light); margin-bottom: 24px;
}
.article-meta a { color: var(--brand); font-weight: 600; }
.article-image {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 32px;
}
.article-image img { width: 100%; max-height: 500px; object-fit: cover; }
.article-content {
  max-width: 800px; margin: 0 auto; padding: 0 20px;
  font-size: 18px; line-height: 1.8;
}
.article-content h2 { font-size: 28px; margin: 32px 0 16px; }
.article-content h3 { font-size: 22px; margin: 24px 0 12px; }
.article-content p { margin-bottom: 16px; }
.article-content img { border-radius: 8px; margin: 24px 0; }
.article-content blockquote {
  border-left: 4px solid var(--brand); padding: 16px 24px;
  margin: 24px 0; background: var(--bg-alt); border-radius: 0 8px 8px 0;
  font-style: italic;
}
.article-content ul, .article-content ol {
  padding-left: 24px; margin-bottom: 16px; list-style: revert;
}
.article-content pre {
  background: var(--text); color: #e5e7eb; padding: 20px;
  border-radius: 8px; overflow-x: auto; margin: 24px 0;
}
.article-content code { font-size: 14px; }
.article-content a { color: var(--brand); text-decoration: underline; }

/* ─── Comments ─── */
.comments-section { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.comments-section h2 { font-size: 22px; margin-bottom: 20px; }
.comment-form textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 15px; resize: vertical; min-height: 100px;
  outline: none; transition: border-color var(--transition);
}
.comment-form textarea:focus { border-color: var(--brand); }
.comment-form button {
  margin-top: 12px; padding: 10px 24px;
  background: var(--brand); color: #fff; border-radius: 8px;
  font-weight: 600; transition: background var(--transition);
}
.comment-form button:hover { background: var(--brand-dark); }

/* ─── Footer ─── */
.site-footer {
  background: var(--text); color: #d1d5db; padding: 60px 0 0;
}
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: #fff; }
.site-footer h3 {
  color: #fff; font-size: 18px; font-weight: 700;
  margin-bottom: 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-about p { font-size: 14px; line-height: 1.7; margin-top: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px;
}
.footer-contact-item svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; margin-top: 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 12px; font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 20px; }

/* Compat: old footer */
.footer1 { background: var(--text); color: #d1d5db; padding: 60px 0 0; margin-top: 0 !important; }
.footer1 a { color: #d1d5db; }
.footer1 a:hover { color: #fff; }
.footer1 h3 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.footer1 .heading1 p { color: #9ca3af; font-size: 14px; line-height: 1.7; }
.footer-list1 ul { display: flex; flex-direction: column; gap: 10px; }
.footer-list1 a { font-size: 14px; }
.footer-list1 a:hover { color: #fff; }
.footer-contact-list1 .footer-contact-box1 {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px;
}
.footer-contact-box1 .icon img { width: 18px; height: 18px; }
.coppyrihgt1 { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; margin-top: 40px; }
.coppyrihgt-border { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.coppyrihgt { color: #9ca3af; font-size: 13px; }
.conditions { display: flex; gap: 20px; }
.conditions a { font-size: 13px; }

/* ─── Heading compat ─── */
.heading1 h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.2; margin-bottom: 12px; }
.heading1 h3 { font-size: 20px; font-weight: 600; }
.heading1 p { color: var(--text-light); font-size: 15px; line-height: 1.6; }

/* ─── Scroll to Top ─── */
.scroll-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px);
  transition: all .3s; cursor: pointer;
  border: none; box-shadow: var(--shadow);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--brand-dark); }
.scroll-top svg { width: 20px; height: 20px; }

/* ─── Forms ─── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-input {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 15px; outline: none;
  transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--brand); }

/* ─── Content Container (post detail compat) ─── */
.content-container {
  max-width: 800px; margin: auto; padding: 40px 20px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-container h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; margin-bottom: 16px; }

.inner-hero { padding: 40px 0; }

/* Quill compat */
.ql-editor { height: auto; padding: 0; font-family: var(--font); font-size: 17px; line-height: 1.8; }
.ql-container.ql-snow { border: none; }

/* ─── Tools Page ─── */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.tool-card {
  padding: 24px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); transition: all .3s;
}
.tool-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tool-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.tool-card p { font-size: 14px; color: var(--text-light); }

/* ─── Misc Compat ─── */
.space60 { height: 40px; }
._relative { position: relative; }
.image-anime { overflow: hidden; }
.blog1-posts-area .row { gap: 0; }

@media (max-width: 991px) {
  .ml-30, .ml-50, .ml-80 { margin-left: 0; }
  .footer-list1 { margin-left: 0 !important; }
}

/* ─── Secondary page compat ─── */
.inner-hero.bg-cover {
  background-size: cover; background-position: center;
  padding: 60px 0; color: #fff; position: relative;
}
.inner-hero.bg-cover::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
}
.inner-hero.bg-cover .container { position: relative; z-index: 1; }
.main-heading { text-align: center; }
.main-heading h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-top: 12px; }
.page-prog { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; }
.page-prog a { color: rgba(255,255,255,.8); }
.page-prog a:hover { color: #fff; }
.page-prog span { opacity: .6; }
.page-prog p { margin: 0; }
.page-prog .bold { font-weight: 600; }

.blog-formets { display: flex; gap: 8px; }
.blog-formets img { width: 32px; height: 32px; }
.search-inputs { display: flex; }
.search-inputs input {
  width: 100%; padding: 10px 16px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 14px; outline: none;
}
.search-inputs input:focus { border-color: var(--brand); }
.dropdown-area { display: flex; align-items: center; gap: 8px; }
.dropdown-area p { font-weight: 600; font-size: 14px; white-space: nowrap; }
.dropdown-area select {
  padding: 8px 12px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 14px; background: #fff; outline: none;
  appearance: auto;
}
.mb-60 { margin-bottom: 60px; }
.blog-formets-sec { padding-top: 40px; }

.cta1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #d72323 100%);
  color: #fff; padding: 60px 0;
}
.cta1 a { color: #fff; }
.heading1-w h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.2; }
.heading1-w p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.6; }
.form-area form { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.form-area input {
  flex: 1; min-width: 200px; padding: 12px 16px; border: none;
  border-radius: 8px; font-size: 15px;
}
.form-area .button { flex-shrink: 0; }

.col-12 { width: 100%; }

/* ─── FA icon compat (breadcrumbs) ─── */
.fa-solid.fa-angle-right::before { content: '\203A'; font-family: var(--font); font-style: normal; }
.fa-solid.fa-angle-left::before { content: '\2039'; font-family: var(--font); font-style: normal; }
i[class*="fa-"] { font-style: normal; }

/* ─── Contact page ─── */
.contact-page-sec { padding: 60px 0; }
.contact-page-from { margin-top: 40px; }
.contact-page-from h5 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.single-input { margin-bottom: 16px; }
.single-input input,
.single-input textarea,
.single-input select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border);
  border-radius: 8px; font-size: 15px; outline: none;
  transition: border-color var(--transition);
}
.single-input input:focus,
.single-input textarea:focus { border-color: var(--brand); }
.contact-page-box {
  padding: 24px; background: var(--bg-alt); border-radius: var(--radius);
  margin-top: 20px;
}
.contact-page-box .icon img { width: 24px; height: 24px; margin-bottom: 12px; }
.contact-page-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.contact-page-box a { display: block; font-size: 14px; color: var(--text-light); }
.pt-20 { padding-top: 20px; }
.mt-10 { margin-top: 10px; }
.mt-5 { margin-top: 20px; }
.mb-2 { margin-bottom: 8px; }
.mb-5 { margin-bottom: 20px; }

/* ─── Auth pages ─── */
.auth-page { padding: 60px 0; }
.auth-card {
  max-width: 440px; margin: 0 auto; padding: 40px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

/* Print */
@media print {
  .site-header, .site-footer, .scroll-top, .search-dialog, .mobile-nav-overlay { display: none; }
  body { font-size: 12pt; }
  .article-content { max-width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* High contrast */
@media (prefers-contrast: high) {
  :root { --shadow: 0 0 0 1px var(--text); --border: var(--text); }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
