:root {
  --ml-primary-color: #d2235c;
  --ml-secondary-color: #9c0f3d;
  --ml-font-family: "Kanchenjunga", sans-serif;
}

.ml-container {
  font-family: var(--ml-font-family);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ml-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 2rem;
  align-items: center;
}

.ml-filter-tags button {
  background: none;
  border: 2px solid var(--ml-primary-color);
  color: var(--ml-primary-color);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
  font-size: 20px;
  line-height: 32px;
}

.ml-filter-tags button:hover {
  background: var(--ml-primary-color);
  color: #fff;
}

.ml-filter-tags button.active,
.ml-filter-tags button:focus {
  background: var(--ml-primary-color);
  outline: none;
  color: #fff;
}

#ml-event-reset-filter {
  color: var(--ml-primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
}

.ml-event-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.ml-event-card img {
  width: 100%;
  border: 1px solid #f1f1f1;
  border-radius: 8px;
}

.ml-event-card .ml-event-category {
  margin-top: 10px;
  margin-bottom: 4px;
}

.ml-event-category a {
  color: var(--ml-primary-color);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  background: none;
}

.ml-event-category a:hover {
	color: var(--ml-secondary-color);
}

.ml-event-content {
  margin-right: 15px;
}

.ml-event-title {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
}

.ml-event-title a {
  color: #333;
  text-decoration: none;
}

.ml-event-title a:hover {
  color: var(--ml-primary-color);
  text-decoration: none;
}

.ml-event-meta {
  font-size: 20px;
  display: flex;
  gap: 16px;
  color: #555;
  margin: 8px 0;
  line-height: 24px;
}

.ml-event-meta img {
  width: 22px;
}

.ml-event-date,
.ml-event-j-date,
.ml-event-time {
  position: relative;
  margin-left: 30px;
  margin-top: 0;
  margin-bottom: 0;
}
/* svg update */
.ml-event-date svg,
.ml-event-j-date svg,
.ml-event-time svg {
  position: absolute;
  top: 0px;
  left: -30px;
}
.ml-register svg {
  position: absolute;
  top: 7px;
  right: -35px;
}

.ml-event-details-page .ml-event-info-item svg {
  position: absolute;
  top: 4px;
  left: 0px;
}

.ml-event-date svg path,
.ml-event-j-date svg path,
.ml-event-time svg path,
.ml-register svg path,
.ml-event-info-duration svg path,
.ml-event-info-date svg path,
.ml-event-info-j-date svg path,
.ml-event-info-time svg path {
  fill: var(--ml-primary-color);
}
/* SVG end */

.ml-event-description {
  margin: 10px 0;
  color: #444;
  font-size: 20px;
  line-height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ml-register {
  color: var(--ml-primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  line-height: 32px;
  text-decoration: none !important;
  position: relative;
}

.ml-register:hover {
  color: var(--ml-secondary-color);
  text-decoration: underline;
}

.ml-register:hover svg path {
  fill: var(--ml-secondary-color);
}

/** grid css */
/*  SECTIONS  */
.ml-section {
  clear: both;
  padding: 0px;
  margin: 0px;
  margin-bottom: 20px;
}

.ml-event-thumb {
  padding-top: 5px;
  padding-left: 15px;
  padding-right: 15px;
}

/*  COLUMN SETUP  */
.ml-col {
  display: block;
  float: left;
  margin: 1% 0 1% 1%;
}

.ml-col:first-child {
  margin-left: 0;
}

/*  GROUPING  */
.ml-group:before,
.ml-group:after {
  content: "";
  display: table;
}

.ml-group:after {
  clear: both;
}

.ml-group {
  zoom: 1;
  /* For IE 6/7 */
}

.ml-span-12 {
  width: 100%;
}

.ml-span-11 {
  width: 91.53%;
}

.ml-span-10 {
  width: 83.06%;
}

.ml-span-9 {
  width: 74.6%;
}

.ml-span-8 {
  width: 66.13%;
}

.ml-span-7 {
  width: 57.66%;
}

.ml-span-6 {
  width: 49.2%;
}

.ml-span-5 {
  width: 40.73%;
}

.ml-span-4 {
  width: 32.26%;
}

.ml-span-3 {
  width: 23.8%;
}

.ml-span-2 {
  width: 15.33%;
}

.ml-span-1 {
  width: 6.866%;
}

/* Event details */
.ml-event-details-page {
  padding: 2rem 0;
}

.ml-event-header {
  margin-bottom: 2rem;
}

.ml-event-details-page .ml-event-category {
  color: var(--ml-primary-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ml-event-details-page .ml-event-main-title {
  font-size: 62px;
  line-height: 74px;
  font-weight: 900;
}

.ml-event-main-title {
  font-size: 32px;
  line-height: 42px;
  margin: 0 0 12px;
}

.ml-event-details-page .ml-event-info {
  margin-top: 30px;
}

.ml-event-details-page .ml-event-info-item {
  font-size: 20px;
  color: #000;
}

.ml-event-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.ml-event-info-item {
  position: relative;
  padding-left: 30px;
}

.ml-event-info-date::before {
  position: absolute;
  left: 0;
  top: 2px;
}

.ml-event-info-j-date::before {
  position: absolute;
  left: 0;
  top: 2px;
}

.ml-event-info-time::before {
  position: absolute;
  left: 0;
  top: 2px;
}

.ml-event-info-duration::before {
  position: absolute;
  left: 0;
  top: 2px;
}

.ml-event-description p {
  font-size: 20px;
  line-height: 32px;
  color: #333;
}

.ml-event-register-btn {
  display: inline-block;
  margin-top: 15px;
  color: var(--ml-primary-color);
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  position: relative;
}

.ml-event-register-btn::after {
  position: absolute;
  top: 5px;
  right: -35px;
}

.ml-event-register-btn:hover {
  text-decoration: underline;
}

.ml-event-body-text {
  font-size: 20px;
  line-height: 36px;
  color: #444;
  margin-top: 2rem;
}

.ml-event-body-text ul {
  list-style: disc;
  padding-left: 2rem;
  margin: 1rem 0;
}

.ml-event-body-text h2 {
  font-size: 32px;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.ml-event-body-text a {
  color: var(--ml-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.ml-event-body-text a:hover {
  color: var(--ml-primary-color);
  text-decoration: underline;
}

.event-poster img {
  max-width: 100%;
}

.ml-event-container {
  display: flex;
  gap: 40px;
  align-items: center;
  /* background-color: #f8f9fa; */
}

.ml-event-registration {
  width: 50%;
  text-align: center;
}

.ml-event-poster img {
  width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ml-event-register-button {
  background-color: var(--ml-primary-color);
  /* strong orange from your screenshot */
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.ml-event-register-button:hover,
.ml-event-register-button:focus {
  background-color: var(--ml-secondary-color);
  color: #fff;
}

.ml-pagination {
  text-align: center;
  margin-top: 40px;
}

.ml-pagination ul {
  padding-left: 0;
}

.ml-pagination .prev a,
.ml-pagination .next a {
  position: relative;
  background-color: var(--ml-primary-color);
  font-size: 18px;
  color: #fff;
  text-decoration: none !important;
  font-weight: 400;
  line-height: 24px;
  padding: 5px 15px;
  border-radius: 6px;
  border: 1px solid var(--ml-primary-color);
}

.ml-pagination a {
  text-decoration: none !important;
  background: #fff;
  padding: 5px 12px;
  color: #000;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ml-pagination a:hover {
  background: var(--ml-primary-color);
  color: #fff;
  border-radius: 6px;
  transition: 0.3s;
}

.ml-pagination .prev a,
.ml-pagination .next a {
  color: #fff;
  text-decoration: none;
}

.ml-pagination ul li {
  display: inline;
  margin-left: 10px;
}

.ml-pagination .active span {
  background: var(--ml-primary-color);
  font-size: 18px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 0;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ml-events-category-heading {
  font-size: 32px;
  font-weight: 400;
  color: var(--ml-primary-color);
  line-height: 40px;
  margin-bottom: 20px;
}

.ml-events-category-title {
  font-size: 62px;
  font-weight: 400;
  line-height: 74px;
  margin-bottom: 20px;
}

.ml-events-category-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 20px;
}

/*  GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 600px) {
  .ml-col {
    margin: 1% 0 1% 0%;
  }

  .ml-span-1,
  .ml-span-2,
  .ml-span-3,
  .ml-span-4,
  .ml-span-5,
  .ml-span-6,
  .ml-span-7,
  .ml-span-8,
  .ml-span-9,
  .ml-span-10,
  .ml-span-11,
  .ml-span-12,
  .ml-event-registration {
    width: 100%;
  }

  .ml-event-thumb {
    padding-top: 10px;
  }

  .ml-event-poster img {
    width: 100%;
  }

  .ml-event-container {
    display: block;
  }

  .ml-event-poster {
    margin-bottom: 30px;
  }

  .ml-event-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
  }

  .ml-event-meta {
    display: block;
  }

  .ml-event-date,
  .ml-event-j-date,
  .ml-event-time {
    margin-bottom: 15px;
  }

  .ml-pagination ul li {
    line-height: 3.5em;
  }

  .ml-pagination ul li:first-child {
    margin-left: 0;
  }

  .ml-event-details-page .ml-event-category {
    font-size: 24px;
  }

  .ml-event-details-page .ml-event-main-title {
    font-size: 36px;
    line-height: 50px;
  }
}
