/* Main container styling */
.tribe-events-view {
  max-width: 1200px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}


/* Fix search container width */
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control {
  margin-right: 15px !important;
}

/* Find Events button styling */
.tribe-events .tribe-events-c-search__button,
.tribe-common .tribe-common-c-btn {
  background-color: #8e2f8e !important;
  border-radius: 30px !important;
  padding: 10px 25px !important;
  height: auto !important;
  color: white !important;
  font-weight: 500 !important;
  border: none !important;
  transition: background-color 0.3s ease !important;
}

.tribe-common .tribe-common-c-btn-border {
  border: 2px solid #8e2f8e !important;
  border-radius: 30px !important;
  background-color: transparent !important;
  color: #8e2f8e !important;
  padding: 5px 15px !important;
  font-weight: 500 !important;
}



/* Upcoming dropdown text smaller */
.tribe-events-c-view-selector__button-text,
.tribe-events-c-events-bar__filter-button-text {
  font-size: 14px !important;
  color: #333 !important;
}

/* Upcoming dropdown icon */
.tribe-events-c-view-selector__button-icon {
  height: 14px !important;
  width: 14px !important;
}

/* List view event row container */
.tribe-events-calendar-list__event-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  position: relative !important;
  border-left: 4px solid #8e2f8e !important;
  padding-left: 20px !important;
  margin-bottom: 30px !important;
  width: 100% !important;
}

/* Remove the default left border */
.tribe-events .tribe-events-calendar-list__event-wrapper {
  border-left: none !important;
  width: 100% !important;
}

/* Event date tag styling - make it look like a box */
.tribe-events .tribe-events-calendar-list__event-date-tag {
  width: 80px !important;
  min-width: 80px !important;
  margin-right: 20px !important;
  border: 1px solid #ddd !important;
  padding: 5px !important;
  text-align: center !important;
  height: 80px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Add weekday label */
.tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
  color: #777 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  margin-bottom: 0 !important;
  text-align: center !important;
}

/* Style the day number */
.tribe-events .tribe-events-calendar-list__event-date-tag-daynum {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #333 !important;
  text-align: center !important;
  margin-top: 0 !important;
}

/* Event content wrapper - parent container for details and image */
.tribe-events .tribe-events-calendar-list__event {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  justify-content: space-between !important;
}

/* Event featured image - position to rightmost corner */
.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
  width: 300px !important;
  padding-left: 20px !important;
  flex-shrink: 0 !important;
}

/* Fix event featured image */
.tribe-events .tribe-events-calendar-list__event-featured-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* Event details container */
.tribe-events .tribe-events-calendar-list__event-details {
  flex: 1 !important;
  padding-right: 20px !important;
  min-width: 0 !important; /* Important for text overflow */
}

/* Month header styling */
.tribe-events .tribe-events-calendar-list__month-separator {
  margin: 30px 0 20px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #eee !important;
}

.tribe-events .tribe-events-calendar-list__month-separator-text {
  color: #004080 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

/* Event title styling */
.tribe-events .tribe-events-calendar-list__event-title {
  font-size: 24px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}

.tribe-events .tribe-events-calendar-list__event-title a {
  color: #004080 !important;
  text-decoration: none !important;
}

/* Featured tag styling */
.tribe-events .tribe-events-calendar-list__event-datetime-featured-text,
.tribe-events .tribe-events-calendar-list__event-datetime-featured-icon {
  background-color: #8e2f8e !important;
  color: white !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  display: inline-block !important;
  margin-bottom: 8px !important;
  margin-right: 5px !important;
}

/* Event venue styling */
.tribe-events .tribe-events-calendar-list__event-venue {
  font-weight: 600 !important;
  margin-bottom: 10px !important;
}

/* Event description styling */
.tribe-events .tribe-events-calendar-list__event-description {
  margin-top: 15px !important;
  line-height: 1.6 !important;
}

/* Event datetime styling */
.tribe-events .tribe-events-calendar-list__event-datetime {
  color: #666 !important;
  font-size: 14px !important;
  margin-bottom: 10px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tribe-events .tribe-events-calendar-list__event {
    flex-direction: column !important;
  }
  
  .tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
    width: 100% !important;
    padding-left: 0 !important;
    margin-top: 15px !important;
  }
  
  .tribe-events .tribe-events-calendar-list__event-details {
    width: 100% !important;
    padding-right: 0 !important;
  }
}

/* Fix for List view button */
.tribe-events-c-view-selector__list-item--active a {
  color: #8e2f8e !important;
}

/* Fix for placeholder image */
.tribe-events-calendar-list__event-featured-image.tribe-common-c-image {
  display: block !important;
}

/* Fix the month abbreviation in date tag */
.tribe-events-calendar-list__event-date-tag-month {
  text-transform: uppercase !important;
  display: block !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #777 !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}

/* Add month abbreviation if not present */
.tribe-events-calendar-list__event-date-tag-datetime:before {
  content: "MAR";
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #777;
  text-transform: uppercase;
}

.tribe-events-calendar-list__event-description {
    color: black !important;
}


/* Parent container */
.elementskit-info-image-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 900px; /* Adjust width */
    margin: auto;
}

/* Image container */
.image-box-img-center img {
    max-width: 65%; /* Reduce image size */
    height: auto;
    border-radius: 15px; /* Smooth rounded corners */
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

/* Text box overlay */
.ekit-image-box-body {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95); /* Light background */
    padding: 25px;
    border-radius: 10px;
    max-width: 40%;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3); /* Shadow effect */
}

/* Title text */
.elementskit-info-box-title {
    font-size: 22px;
    font-weight: 700;
    color: #002f6c; /* Dark blue */
    margin-bottom: 10px;
}

/* Body text */
.elementskit-box-style-content {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* Read More link */
.elementskit-box-style-content a {
    color: #a73498; /* Purple */
    font-weight: 600;
    text-decoration: none;
}

.elementskit-box-style-content a:hover {
    text-decoration:none;
}

div.tribe-events-calendar-list__event-description {
    color: black !important;
}

.author{
display:none
}

/* Align breadcrumbs to the left */
#breadcrumbs {
  text-align: left; /* Align to the left */
  direction: rtl;  /* Right-to-left text direction */
  width: 100%;
}

.elementor-button-text,
.elementor-button-text:hover {
    text-decoration: none !important;
}

a.elementor-button {
    text-decoration: none !important;
}
a.elementor-button:hover {
    text-decoration: none !important;
}

/* Ensure all profile cards have the same size */
.profile-square-v {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.profile-card {
    width: 300px; /* Set a fixed width for all cards */
    height: 500px; /* Set a fixed height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Ensure all profile images are the same size */
.profile-header img {
    width: 100%; /* Full width */
    height: 250px; /* Set a fixed height */
    object-fit: cover; /* Crop images to fit */
    border-radius: 10px 10px 0 0;
}

/* Make profile titles uniform */
.profile-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
}

/* Adjust profile designation styling */
.profile-designation {
    font-size: 16px;
    color: #666;
}

/* Force all images to the same width and height */
.profile-header img {
    width: 250px !important;  /* Force a fixed width */
    height: 300px !important; /* Force a fixed height */
    object-fit: cover; /* Crop while maintaining aspect ratio */
    display: block; /* Remove unwanted inline spacing */
}
/* Ensure container is the same size */
.profile-header {
    width: 250px; 
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-header::after,
.ekit-team-img::after,
.profile-card::after {
    content: none !important;
    display: none !important;
}