/* Blog categories page specific styles
 *
 * Paste your /blog/categories/styles.css contents here.
 */
/* Categories Page Styles */
:root {
  --primary-color: #203557;
  --secondary-color: #719976;
  --accent-color: #ffa500;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --white: #ffffff;
}

.main.blog-categories-page {
  width: 100%;
  min-height: 100vh;
  background-color: var(--white);
}

.blog-hero {
  width: 100%;
  height: 350px;
  background: url("https://newvashaepz.com/wp-content/uploads/2025/10/DJI_20250826170440_0288_D-scaled.jpg")
    center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #719976c4;
}

.blog-hero .hero-content {
  z-index: 2;
  text-align: center;
  padding-top: 100px;
}
.blog-hero .hero-content h1 {
  font-size: 3.5rem;
  margin: 0 0 0.5rem 0;
}
.blog-hero .hero-content p {
  opacity: 0.9;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.breadcrumbs {
  background: var(--light-gray);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  font-size: 0.9rem;
}

.breadcrumb-nav {
  max-width: 1200px !important;
  margin: 0 auto;
  width: 90%;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
}
.breadcrumb-nav .current {
  color: #719976;
  font-weight: 600;
}

.categories {
  padding: 3rem 0 5rem 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.categories .blog-categories-container {
  max-width: 1200px !important;
  margin: 0 auto;
  width: 90%;

  padding: 0;
  box-sizing: border-box;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;

  width: 100%;
  height: 100%;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  width: 100%;
  height: 100%;
}

.cat-link {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
}

.cat-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cat-card:hover .cat-image img {
  transform: scale(1.05);
}
 
.cat-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  transition: color 0.3s ease;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-card:hover .cat-title {
  color: var(--secondary-color);
}
.cat-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 968px) {
  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .blog-hero .hero-content {
    z-index: 2;
    text-align: center;
    padding-top: 100px;
    width: 90%;
  }

  .blog-hero .hero-content h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
  }

  .blog-hero .hero-content p {
    opacity: 0.9;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual category: posts grid pagination */
.blog-categories-page .categories .navigation.pagination,
.blog-categories-page .categories .nav-links {
  margin-top: 2rem;
  text-align: center;
  width: 100%;
}
