.elementor-340 .elementor-element.elementor-element-02e6ae9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-340 .elementor-element.elementor-element-a2b4bd2{text-align:center;}.elementor-340 .elementor-element.elementor-element-a2b4bd2 .elementor-heading-title{font-family:"Amita", Sans-serif;font-size:41px;font-weight:600;line-height:41px;color:var( --e-global-color-5fe37da );}.elementor-340 .elementor-element.elementor-element-0dd31f2{--display:flex;}.elementor-340 .elementor-element.elementor-element-879d389{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:768px){.elementor-340 .elementor-element.elementor-element-0dd31f2{--content-width:1333px;}}@media(max-width:767px){.elementor-340 .elementor-element.elementor-element-a2b4bd2 .elementor-heading-title{font-size:30px;}.elementor-340 .elementor-element.elementor-element-5c1f8b1.elementor-element{--align-self:center;}}/* Start custom CSS for html, class: .elementor-element-5c1f8b1 *//* Main Flex Container */
.holiday-flex.scroll-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar Styling for desktop (optional) */
.holiday-flex::-webkit-scrollbar {
  width: 6px;
}
.holiday-flex::-webkit-scrollbar-thumb {
  background-color: #bdc3c7;
  border-radius: 3px;
}

/* Content Box */
.holiday-box {
  flex: 1 1 45%;
  min-width: 300px;
  background: #ffffff;
  padding: 20px 16px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

.holiday-box h2, .holiday-box h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.holiday-box ul {
  padding-left: 20px;
  margin: 0;
}

.holiday-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: #34495e;
}

/* Table Design */
.exam-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.exam-table th, .exam-table td {
  border: 1px solid #ccc;
  padding: 10px 12px;
  text-align: left;
}

.exam-table thead {
  background-color: #eaf4fb;
  font-weight: bold;
}

.exam-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .holiday-flex {
    flex-direction: column;
    max-height: unset; /* removes height restriction */
    overflow: visible; /* allows natural scrolling */
  }

  .holiday-box {
    width: 100%;
    margin-bottom: 15px;
  }

  /* Responsive Table */
  .exam-table,
  .exam-table thead,
  .exam-table tbody,
  .exam-table th,
  .exam-table td,
  .exam-table tr {
    display: block;
    width: 100%;
  }

  .exam-table thead {
    display: none;
  }

  .exam-table tr {
    margin-bottom: 15px;
  }

  .exam-table td {
    position: relative;
    padding-left: 50%;
    border: none;
    border-bottom: 1px solid #ddd;
    background: #fff;
  }

  .exam-table td::before {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 45%;
    white-space: nowrap;
    font-weight: bold;
    color: #444;
  }

  /* Labels for each column */
  .exam-table td:nth-of-type(1)::before { content: "Class"; }
  .exam-table td:nth-of-type(2)::before { content: "Exam"; }
  .exam-table td:nth-of-type(3)::before { content: "Marks"; }
  .exam-table td:nth-of-type(4)::before { content: "Date"; }
}/* End custom CSS */