/*
Theme Name: Indigo Child
Theme URI: https://www.wpzoom.com/themes/indigo
Template: wpzoom-indigo
Description: This is a simple Child Theme.
Author: WPZOOM
Author URI: https://www.wpzoom.com
Version: 1.0
*/

/* Write your custom CSS code below or add it in the Customizer > Additional CSS */
.recent-posts-list {
  list-style: none;
  padding-left: 0;
  padding-top: 1rem;
  margin: 0;
}

.recent-post-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.recent-post-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.recent-post-title a {
  text-decoration: none;
  color: #222;
}

.recent-post-title a:hover {
  text-decoration: underline;
}

.recent-post-meta {
  font-size: 1rem;
  color: #666;
}

.post-category {
  font-weight: 600;
  margin-right: 0.5rem;
}

.post-date {
  color: #999;
}

/* ensure the top header area uses Flexbox for alignment */
.top-navbar .inner-wrap {
  display: flex;
  align-items: center; /* vertically centers items */
  justify-content: space-between; /* optional, adjust as needed */
  flex-wrap: wrap;
}

/* Custom header links formatting */
.custom-header-links {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  height: 100%;
}

.custom-header-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.3rem;
}

.custom-header-links a:hover {
  text-decoration: underline;
}

.custom-header-links .sep {
  margin: 0 0.3rem;
  color: #aaa;
}


/* logo fixing */

/* Wrapper around logo + tagline */
.navbar-brand-wpz {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 150px; /* Adjust as needed */
}

/* Logo image on the left */
.custom-logo-link img {
  max-height: 100px;  /* Resize logo */
  width: auto;
  height: auto;
}

/* Tagline centered on screen */
.navbar-brand-wpz .tagline {
  color: #000;
  font-family: 'Oswald', sans-serif;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem !important;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

/* for mobile layout */
@media (max-width: 768px) {
  .navbar-brand-wpz {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 1rem 0;
    text-align: center;
  }

  .custom-logo-link img {
    max-height: 60px; /* smaller logo on mobile */
    width: auto;
    height: auto;
  }

  .navbar-brand-wpz .tagline {
    font-size: 2rem !important;
    position: static;
    transform: none;
    margin-top: 0.5rem;
    white-space: normal;
    text-align: center;
  }
}


/* Categories custom widget area css */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}

.category-box {
  text-decoration: none;
  color: white;
  background-color: #444;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.category-box:hover {
  background-color: #222;
}

.category-title {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

