/**
Theme Name: Accio
Author: Rakesh Prabhakar
Author URI: https://www.accioenterprises.com
Description: Astra Child
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: accio
Template: astra
*/



/* ===========================
   Resources Filter Styles
   =========================== */
/* ===== Filter Bar ===== */
.resources-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    padding:20px;
    border-radius:8px;
}
.resources-filter-bar input,
.resources-filter-bar select {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    flex: 1;
    min-width: 180px;
}

/* ===== Posts Grid ===== */
.resources-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* ===== Post Card ===== */
.resource-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    transition: box-shadow 0.3s ease;
    min-height: 420px; /* Ensures equal height */
}
.resource-item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* ===== Post Image ===== */
.resource-thumb {
    margin-bottom: 10px;
}
.resource-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

/* ===== Category ===== */
.resource-subcategory{
    font-size:1em;
    text-transform:uppercase;
    color:#4EAC44;
    font-weight:600;
}
.resource-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #4EAC44;
    margin-bottom: 5px;
}

/* ===== Title ===== */
.resource-title {
    font-size: 1.5rem;
    line-height: 1.2em;
    margin-bottom: 10px;
}
.resource-title a {
    text-decoration: none;
    color: #222;
}
.resource-title a:hover {
    color: #4EAC44;
}

/* ===== Excerpt ===== */
.resource-excerpt {
    font-size: 14px;
    color: #555;
    flex-grow: 1;
    margin-bottom: 15px;
}

/* ===== Footer (Read More Button) ===== */
.resource-footer {
    margin-top: auto;
    text-align: left;
    display: flex;
    justify-content: space-between;
}
.read-more-btn {
    display: inline-block;
    background: #4EAC44;
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.read-more-btn:hover {
    background: #3c8e35;
    color: #fff;
}

/* ===== Pagination ===== */
.resources-pagination {
    text-align: center;
    margin-top: 25px;
}
.resources-pagination a {
    padding: 8px 14px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}
.resources-pagination a.active {
    background-color: #4EAC44;
    color: #fff;
}
.resources-pagination a:hover {
    background-color: #4EAC44;
    color: #fff;
}

.bookmark-btn{
  border-radius: 7px;
  background-color: white !important;
}


/* JOURNEY ADVISOR CHATBOX STYLES */
.gemini-chatbox {
    max-width: 100%;
    margin: 40px auto;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}
.gemini-chatbox h4 {
    text-align: center;
    margin-bottom: 15px;
}
.messages {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #fafafa;
    border-radius: 8px;
    margin-bottom: 10px;
}
.bot-message, .user-message {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 8px;
}
.bot-message {
    background: #e8f0fe;
}
.user-message {
    background: #d1e7dd;
    text-align: right;
}
.input-area {
    display: flex;
    gap: 10px;
}
.input-area input {
    flex: 1;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
}
.input-area button {
    background: #4EAC44;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
}
.input-area button:hover {
    background: #4EAC44;
}

/* OUR JOURNEYS CPT POSTS AND FILTERS STYLES */
.journeys-filter-wrapper {
  margin: 20px auto;
  max-width: 100%;
}

.journeys-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding:20px;
  border-radius:8px;
  justify-content: center;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}

.journeys-filters select,
.journeys-filters input {
  padding: 8px 10px;
  min-width: 210px;
  border-radius:5px;
  font-size: 0.82rem;
}

.journeys-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  gap: 20px;
}

.journey-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Full height */
}

.journey-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.journey-img img {
  width: 100%;
  height: auto;
  display: block;
}

.journey-content {
  padding: 15px;
  flex-grow: 1; /* Content should grow to fill the available space */
  display: flex;
  flex-direction: column;
  height: 100%; /* Full height */
}

.journey-buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 0px 0 10px 0;
  margin-top: auto; /* Push buttons to the bottom */
}

.journey-buttons .btn {
  padding: 8px;
  border-radius: 5px;
  text-decoration: none;
  background: #4eac44;
  color: #fff;
  font-size: 0.80rem;
  font-weight:600;
  width: 48%; /* Equal width for both buttons */
  text-align: center;
}

.journey-buttons .btn.apply-now {
  background: #FFFFFF;
  border:1px solid #4eac44;
  color:#4EAC44;
}
.journey-buttons .btn.apply-now:hover {
  background: #EDFBE2;
  border:1px solid #4eac44;
  color:#4EAC44;
}
/* Tablet view */
@media (max-width: 768px) {
  .journey-buttons {
    flex-direction: column; /* Stack buttons vertically on smaller screens */
  }

  .journey-buttons .btn {
    width: 100%; /* Full width for buttons on tablet */
    margin-bottom: 10px; /* Add space between buttons */
  }
}

/* CSS STYLE FOR SEARCH ON SOLUTIONS PAGE */
/* ✅ Solutions Search Results Grid */
#solutions-search-results {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

#solutions-search-results .solutions-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
  box-sizing: border-box;
}

.solution-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

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

.solution-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.solution-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.solution-card p {
  flex-grow: 1;
  color: #555;
  font-size: 14px;
  margin-bottom: 15px;
}

.solution-card .read-more {
  display: inline-block;
  background: #4EAC44;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
}

.solution-card .read-more:hover {
  background: #4EAC44;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr !important;
  }
}

/* POST TO PDF DOWNLOAD BUTTON STYLE */
.wps-pgfw-pdf-generate-icon__wrapper-frontend
{
  border:3px solid #ffffff;
  box-shadow:2px 2px 6px rgba(0, 0, 0, 0.2);
  padding:6px;
  border-radius:15px;
  background:#4EAC44;
  position:fixed;
  bottom:30px;
  right:30px;
  z-index:1;
}
.pgfw-single-pdf-download-button img{
  filter: invert(1) hue-rotate(180deg);
  height:35px !important;
}