/*
Theme Name: Aviraa Impex
Theme URI: axebelk.com
Author: Vijay
Author URI: axebelk.com
Description: A custom Gutenberg-ready theme inspired by a clean export products layout.
Version: 1.0.1
License: Private
Text Domain: exportpro-theme
Tags: custom-logo, custom-menu, featured-images, block-styles
*/

:root {
  --color-primary: #1f2a44;
  --color-secondary: #c9a46b;
  --color-bg: #f7f4ef;
  --color-text: #2b2b2b;
  --color-muted: #6b6f76;
  --radius: 18px;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.06);
  --max-width: 1200px;
  --transition: all 0.3s ease;
  --font-base: "Poppins", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  margin: 2rem 0 0.8rem;
  line-height: 1.3;
  color: #1b1b1b;
}

.page-content h1:first-child,
.page-content h2:first-child,
.page-content h3:first-child,
.page-content h4:first-child,
.page-content h5:first-child,
.page-content h6:first-child {
  margin-top: 0;
}

.page-content p {
  margin: 0 0 1.1rem;
  color: var(--color-text);
}

.page-content p:last-child {
  margin-bottom: 0;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
}

.page-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}

.page-content li:last-child {
  margin-bottom: 0;
}

.page-content ul li::marker,
.page-content ol li::marker {
  color: var(--color-primary);
}

.page-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.8rem, 2.3vw, 2.5rem);
  margin: 0 0 1rem;
  color: #1b1b1b;
}

.section-subtitle {
  color: var(--color-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.text-muted {
  color: var(--color-muted);
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.4rem;
  color: rgba(0, 0, 0, 0.25);
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: var(--color-muted);
}

.blog-section .section-title {
  margin-bottom: 0.6rem;
}

.blog-header {
  margin-bottom: 2.5rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
}

.blog-grid {
  display: grid;
  gap: 1.8rem;
}

.blog-card {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  overflow: hidden;
}

.blog-card-media {
  flex: 0 0 240px;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius) - 6px);
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.blog-card-title {
  margin: 0;
  font-size: 1.4rem;
}

.blog-card-title a {
  color: inherit;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.meta-separator {
  color: rgba(0, 0, 0, 0.3);
}

.btn-small {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.pagination-wrapper {
  margin-top: 2.5rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-text);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.blog-sidebar .card {
  margin-bottom: 1.5rem;
}

.sidebar-stack .widget:last-child {
  margin-bottom: 0;
}

.widget-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.widget a {
  color: var(--color-text);
}

.tagcloud a {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(123, 191, 53, 0.12);
  color: var(--color-primary);
  font-size: 0.85rem;
  margin: 0 0.35rem 0.5rem 0;
}

.single-post .post-hero {
  margin: 1.5rem 0;
  padding: 0;
  overflow: hidden;
}

.single-post .post-hero img {
  width: 100%;
  height: auto;
}

.post-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 1.5rem;
}

.post-tags span {
  margin-right: 0.6rem;
}

.post-navigation a {
  display: inline-flex;
  margin-right: 1rem;
  color: var(--color-primary);
}

.comments-area {
  margin-top: 2.5rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.5rem;
}

.comment-list .children {
  list-style: none;
  margin: 1.2rem 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.comment-list .comment-body {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.comment-list .children .comment-body {
  background: rgba(123, 191, 53, 0.08);
  box-shadow: none;
}

.comment-author {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.comment-metadata {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.comment-content {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.comment-list .reply {
  margin-top: 0.75rem;
}

.comment-list .reply a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(123, 191, 53, 0.12);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment-list .reply a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(123, 191, 53, 0.2);
}

.comment-respond {
  margin-top: 2rem;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-base);
  margin-bottom: 1rem;
}

.comment-respond input[type="submit"] {
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 20px rgba(123, 191, 53, 0.25);
}

@media (max-width: 992px) {
  .section {
    padding: 3.5rem 0;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .blog-card {
    flex-direction: column;
  }

  .blog-card-media {
    flex-basis: auto;
  }

  .blog-card-media img {
    height: auto;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 2.5rem 0;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
