/* ===== PROFESSIONAL DESCRIPTION STYLING ===== */

.pro-description {
  font-size: 15.5px;
  line-height: 1.8;
  color: #2c3e50;
  background: #ffffff;

  border-radius: 10px;

  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Paragraph spacing */
.pro-description p {
  margin-bottom: 16px;
}

/* Headings inside description */
.pro-description h2,
.pro-description h3,
.pro-description h4 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #0f172a;
  font-weight: 600;
}

/* Lists styling */
.pro-description ul,
.pro-description ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.pro-description li {
  margin-bottom: 6px;
}

/* Highlight important text */
.pro-description strong {
  color: #0d9488;
}

/* Links */
.pro-description a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 500;
}

.pro-description a:hover {
  text-decoration: underline;
}

/* Blockquote (for notes/rules) */
.pro-description blockquote {
  border-left: 4px solid #0d9488;
  padding: 12px 16px;
  background: #f0fdfa;
  border-radius: 6px;
  margin: 18px 0;
  font-style: italic;
  color: #134e4a;
}

/* Table styling (if used in content) */
.pro-description table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.pro-description table th,
.pro-description table td {
  border: 1px solid #e2e8f0;
  padding: 10px;
  text-align: left;
}

.pro-description table th {
  background: #f8fafc;
  font-weight: 600;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .pro-description {
    padding: 18px;
    font-size: 14.5px;
  }
}


.card-inner {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: stretch;
}

.card-icon-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-pale);
    border-right: 1px solid var(--border-light);
    overflow: hidden;
}

.card-body {
    padding: 14px 18px;
    min-width: 0;
    margin-left: 0; /* remove old hack */
}


.card-cta-col .btn,
.card-cta-col a {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--teal);
    background: none;
    border: 1px solid var(--teal);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Hover */
.card-cta-col .btn:hover,
.card-cta-col a:hover {
    background: var(--teal);
    color: #fff;
}


/* Container */
.card-icon-col {
    overflow: hidden; /* IMPORTANT for zoom crop */
    position: relative;
}

/* Image */
.card-icon-col img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* fills nicely */
    transition: transform 0.8s ease;
    border-radius: 2%;
    overflow: hidden;
}

/* Hover Zoom Effect */
.card-icon-col:hover img {
    transform: scale(1.08); /* zoom level */
}


/* Event detail iamge banner */
.event-hero-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}

.event-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Mobile version issue fix for the home page event bnner */
@media (max-width: 768px) {

  .card-inner {
    display: flex;
    flex-direction: column; /* 🔥 Stack into 2 rows */
  }

  /* IMAGE = FULL WIDTH ROW */
  .card-icon-col {
    width: 100%;
    height: 100%;
  }

  .card-icon-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* CONTENT = SECOND ROW */
  .card-body {
    width: 100%;
    padding: 12px;
  }

  .event-dates-bar {
    display: flex;
    flex-direction: column; /* 🔥 stack into single column */
    gap: 10px;
  }

  .dates-bar-cell {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: #f8f9fb;
  }

}

@media (max-width: 768px) {

  .event-dates-bar {
    display: flex; /* switch to flex */
    flex-direction: column; /* stack rows */
    gap: 10px;
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .dates-bar-cell {
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--teal);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  .date-box-label {
    font-size: 12px;
    color: var(--text-muted);
  }

  .date-box-value {
    font-size: 14px;
    font-weight: 600;
  }

}

