/*!
Theme Name: routehaven
Theme URI: http://boomdevs.net/theme/routehaven/
Author: Boomdevs
Author URI: https://themeforest.net/user/boomdevs/portfolio
Description: RouteHaven is a Travel & Tour Booking WordPress Theme
Version: 1.0.7
Tested up to: 6.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: routehaven
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Routehaven is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and routehaven-page-contentn Neal https://necolas.github.io/normalize.css/
*/
.bypostauthor {
  font-size: 16px;
}
.breadcrumb-area.only-front-page {
  display: none;
}

li.wp-first-item.current {
    display: none;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.card {
  flex: 1 1 calc(33.333% - 30px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
}

.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px;
  color: #333;
  background-color: #f9f9f9;
}

/*************About page************/
.about_text {
  max-width: 1100px;   
  margin: 0 auto;     
  padding: 0 15px;   
}
/*******Social footer***********/
.social-footer {
  padding: 0 !important; /* remove vertical space */
  margin: 0;
  background: transparent;
  font-family: 'Vazir-Medium', 'IRANSansX-Medium', sans-serif;
}

/* Removed .footer-title since it's no longer needed */

/* Align icons to the left and remove unnecessary spacing */
.social-footer .social-icons {
  text-align: left;
  margin: 0;
  padding: 0;
}

.social-footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 6px 0 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 20px;
  transition: color 0.3s, transform 0.3s;
}

.social-footer .social-icons a:hover {
  color: #ff6600;
  transform: translateY(-3px);
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .social-footer .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin: 0 5px 0 0;
  }
}


 .certificate-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 20px 10px;
  }

  .certificate-logos .logo-item {
    flex: 1 1 120px;
    max-width: 150px;
  }

  .certificate-logos img {
    max-height: 40%;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .certificate-logos p {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
  }

  /* Responsive adjustments */
  @media (max-width: 600px) {
    .certificate-logos {
      gap: 15px;
    }

    .certificate-logos .logo-item {
      flex: 1 1 45%;
      max-width: 45%;
    }

    .certificate-logos img {
      height: 60px;
    }

    .certificate-logos p {
      font-size: 13px;
    }
  }
