.coro-press-rel-my-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Show only 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 50px; /* Approx height for 3 lines, adjust if needed */
 
}

.coro-press-rel-my-card {
    position: relative;
    overflow: hidden;
}
.coro-press-rel-my-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 10 !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px !important;
    height: 42px !important;
 /* Remove fixed height if present */
}
@media (max-width:768px){
.coro-press-rel-my-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 10 !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px !important;
    height: auto !important;
 /* Remove fixed height if present */
}
body .coro-press-rel-my-card-content .coro-press-rel-my-card-title{
font-size:18px !important;
}

}

.coro-press-rel-read-more-link {
    position: absolute;
    bottom: 0; /* Position at the bottom */
    left: 0;
    width: 100%; /* Match the width of the card */
    height: 65px; /* Match the height of the background image */
    background-color: rgba(0, 0, 0, 0); /* Transparent background */
    z-index: 10;
}

.coro-press-rel-read-more-link:hover {
    background-color: rgba(0, 0, 0, 0); /* Light overlay on hover */
}

/* Custom styles for Press Release */
.coro-press-rel-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}

/* Year Filter Container */
.coro-press-rel-year-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.coro-press-rel-my-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.coro-press-rel-my-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
    background-image: url('https://www.coromandel.biz/wp-content/uploads/2025/02/read-more-3.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 115% auto;
    padding-bottom: 65px; /* Space so content doesn’t overlap */
   
}

/* Image Section */
.coro-press-rel-my-cardImg {
    height: 180px !important;
    overflow: hidden;
}

.coro-press-rel-my-cardImg img {
    width: 100%;
    border-radius: 20px 20px 0 0;
    height: 180px !important;
    object-fit: cover;
}

/* Content Section */
.coro-press-rel-my-card-content {
    padding: 15px;
    flex-grow: 1;
}

/* Title */
.coro-press-rel-my-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: black; /* Set title color to black */
}

/* Description */
.coro-press-rel-my-card-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Meta Data */
.coro-press-rel-my-card-meta {
    font-size: 15px;
    color: #888;
    margin-top: 15px;
}


/* Responsive Adjustments */
@media (max-width: 1200px) {
    .coro-press-rel-my-container {
        grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    }
}

@media (max-width: 992px) {
    .coro-press-rel-my-container {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
}

@media (max-width: 768px) {
    .coro-press-rel-my-container {
        grid-template-columns: repeat(1, 1fr); /* 1 card per row */
        justify-content: center;
    }
    .coro-press-rel-my-card {
        width: 80%;
    }
}

.coro-press-rel-card-dynamic-image {
    width: 300px; /* Set uniform width */
    height: 150px; /* Set uniform height */
    object-fit: cover; /* Maintain aspect ratio and cover container */
    border-radius: 8px; /* Optional: for rounded corners */
    box-shadow: none; /* Remove shadow if any */
    border: none; /* Remove border if any */
}
/* Apply styles to all images in Elementor except on the Press Release page (ID: 3539) */
.page-id-3539 .elementor img {
    height: 180px!important;
    }
.single-press_release .coro-press-rel-content a {
    color: orange !important;
}

.main-header-menu .sub-menu .menu-link {
    color: black;}

