/*
Theme Name:     Foxiz child
Template:      	foxiz
Theme URI:      https://foxiz.themeruby.com
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Foxiz in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, featured-images, theme-options, custom-colors, translation-ready, threaded-comments, translation-ready
License:        Themeforest Licence
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */




/* Grid container */
.featured-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Always 4 cards per row */
  gap: 20px;
  margin: 30px 0;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .featured-events-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 per row on medium screens */
  }
}

@media (max-width: 900px) {
  .featured-events-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .featured-events-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
}

/* Card */
.featured-event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

/* Image wrapper */
.card-thumb {
  width: 100%;
  height: 300px; /* Fixed uniform height */
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Crop & center */
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Content */
.card-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-date {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.event-title {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
  font-weight: bold;
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-title a {
  color: #0d3b66;
  text-decoration: none;
}

.event-title a:hover {
  color: #f95738;
}


.mepr-price-menu.minimal_vertical.minimal_dusk_vertical 
.mepr-price-box .mepr-price-box-button a {
  display: inline-block;
  background: #0d3b66;       /* primary button color */
  color: #fff;              /* text color */
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.mepr-price-menu.minimal_vertical.minimal_dusk_vertical 
.mepr-price-box .mepr-price-box-button a:hover {
  background: #f95738;       /* hover color */
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

.mepr-price-menu.minimal_vertical.minimal_dusk_vertical 
.mepr-price-box .mepr-price-box-button a:active {
  transform: translateY(0);  /* pressed effect */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


/* More read css */

.custom-read-more-box {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 2px 15px;
    background: #fff;
    font-family: Arial, sans-serif;
    max-width: 655px;
/*     margin: 20px auto; */
}

.custom-heading .read-more {
    font-size: 16px;
    font-weight: bold;
    color: #001f3f;
}

.custom-heading h4 {
    margin: 8px 0 15px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.custom-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-post-list li {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-top: 1px solid #eee;
    font-size: 16px;
    font-weight: 600;
}

.custom-post-list li:first-child {
    border-top: none;
}

/* Dot (default + hover) */
.custom-post-list .plus-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #001f3f;
    flex-shrink: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Hover: Dot turns orange */
.custom-post-list li:hover .plus-icon {
    background-color: #e65100;
    border-color: #e65100;
}

/* Text link (with underline reserved space) */
.custom-post-list a {
    text-decoration: none;
    color: #001f3f;
    border-bottom: 2px solid transparent; /* Prevent text shift */
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

/* Hover: Text color & underline */
.custom-post-list li:hover a {
    color: #e65100;
    
}

/* ✅ Mobile adjustments */
@media (max-width: 600px) {
    .custom-read-more-box {
        padding: 12px 15px;
    }
    .custom-heading h4 {
        font-size: 16px;
    }
    .custom-post-list li {
        font-size: 14px;
    }
}