/*
Theme Name:  Hello Elementer-Child
Theme URL:   https://www.molaprise.com/dev
Description: Write here theme description.
Author:      Arun
Author URL:  https://www.molaprise.com/dev
Template:    hello-elementor
Version:     1.0.0
*/
.elementor-widget-theme-post-content .elementor-widget-container{
  color:black ;
}

/* Events grid - 3 items per row */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

/* Event Card */
.event-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Event image */
.event-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Title, Date, Details */
.event-title {
  font-size: 1.2em;
  margin: 10px 0;
}
.event-title a {
  color:black;
}
.eventTitle{
    padding: 5px;
}
.eventform{
   margin-bottom:30px;
}


.em.em-item.em-item-single .em-item-image img{
   border-left:none;
}
.event-date {
  font-size: 0.95em;
  color: #444;
  margin-bottom: 8px;
}

.event-details {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 12px;
}

/* Tags container in top-left corner */
/* Tags container in top-left corner */
.event-tags-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 10;
  background:blue;
  border-radius:15px;
}

/* Tag pills */
.event-tag {
  display: inline-block;
  font-size: 0.75rem;        /* consistent size */
  font-weight: 700;          /* bold */
  text-transform: uppercase; /* ALL CAPS */
  padding: 5px 12px;         /* pill padding */
  border-radius: 999px;      /* makes perfect pill */
  line-height: 1;            /* keeps pill compact */
  white-space: nowrap;       /* no wrapping inside */
  letter-spacing: 0.5px;     /* adds clean spacing */
  color: #fff;               /* default text color */
}

/* Tag color variations */
.event-tag.tag-upcoming {
  background: #0A2A66; /* Dark Blue */
}

.event-tag.tag-past {
  background: #8A8A8A; /* Gray */
}

.event-tag.tag-on-demand {
  background: #4A90E2; /* Light Blue */
}

.vdisplay {
   display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;       /* full height of screen */
      margin: 0;
      background: #f4f4f4;
}
/* View More button */
.event-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #0073aa;
  color: #fff !important;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.85em;
  transition: background 0.2s ease;
}

.event-button:hover {
  background: #005f8d;
}


.resource-page .grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* 32px */
}

/*
    Media query for tablet devices (md breakpoint equivalent).
    - Switches to a 2-column layout.
*/
@media (min-width: 768px) {
    .resource-page .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*
    Media query for desktop devices (lg breakpoint equivalent).
    - Switches to a 3-column layout.
*/
@media (min-width: 1024px) {
    .resource-page .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card styles */
.resource-page .card {
    background-color: #ffffff;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.5rem; /* 24px */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.resource-page .icon-wrapper {
    border-radius: 9999px; /* rounded-full */
    padding: 1rem; /* 16px */
    margin-bottom: 1rem; /* 16px */
    color: #ffffff;
}

.resource-page .icon-wrapper.indigo { background-color: #6366f1; }
.resource-page .icon-wrapper.green { background-color: #22c55e; }
.resource-page .icon-wrapper.orange { background-color: #f97316; }
.resource-page .icon-wrapper.red { background-color: #ef4444; }

.resource-page .icon {
    height: 2rem; /* 32px */
    width: 2rem; /* 32px */
}

.resource-page .card-title {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    color: #1C96C1;
    margin-bottom: 0.5rem; /* 8px */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis; /* Optional: adds an ellipsis at the end */
}

.resource-page .card-description {
    color: #4b5563;
    margin-bottom: 1rem; /* 16px */
}

.resource-page .card-link {
    margin-top: auto;
    padding: 0.75rem 1.5rem; /* 12px 24px */
    font-weight: 500;
    border-radius: 9999px; /* rounded-full */
    transition-property: background-color;
    transition-duration: 300ms;
}

.resource-page .card-link.indigo {
    background-color: #4f46e5;
    color: #ffffff;
}
.resource-page .card-link.indigo:hover { background-color: #4338ca; }

.resource-page .card-link.green {
    background-color: #16a34a;
    color: #ffffff;
}
.resource-page .card-link.green:hover { background-color: #15803d; }

.resource-page .card-link.orange {
    background-color: #ea580c;
    color: #ffffff;
}
.resource-page .card-link.orange:hover { background-color: #c2410c; }

.resource-page .card-link.red {
    background-color: #dc2626;
    color: #ffffff;
}
.resource-page .card-link.red:hover { background-color: #b91c1c; }

#resourseFilter, #resource-filter{
    width: 200px;
    float: right;
    margin-right:15px;
}

.taxonomy{
  float:left;
}
.featured{
   background-color:#F4F4F4;
   padding:2px;
}
.bannerDisplay{
	margin-left:40px;
	margin-bottom:20px;
	font-weight:700;
}

