/* ============================================
         CSS Placement Calender
    ============================================ */
.placement-calendar-container {
  max-width: 1200px;
  margin: 20px;
  border: 1px solid #ddd;
  background-color: #fff;
}

/* Header styling */
.placement-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 3px solid #800000;
  /* Maroon color */
}

.placement-calendar-header .placement-calendar-logo {
  flex: 1;
}

.placement-calendar-header .placement-calendar-logo img {
  max-height: 80px;
}

.placement-calendar-header .placement-calendar-title {
  flex: 3;
  text-align: center;
  color: #800000;
  /* Maroon color */
}

.placement-calendar-header .placement-calendar-title h1 {
  margin: 0;
  font-size: 2em;
  font-weight: bold;
}

.placement-calendar-header .placement-calendar-title p {
  margin: 5px 0 0;
  font-size: 1em;
}

/* Table styling */
.placement-calendar-schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.placement-calendar-schedule-table th,
.placement-calendar-schedule-table td {
  border: 1px solid #ddd;
  padding: 12px;
}

.placement-calendar-schedule-table thead {
  background-color: #f0e6cc;
}

.placement-calendar-schedule-table th {
  font-weight: bold;
  text-align: center;
}

.placement-calendar-schedule-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.placement-calendar-schedule-table td:first-child,
.placement-calendar-schedule-table td:last-child {
  text-align: center;
}

/* Responsive styling */
@media screen and (max-width: 768px) {
  .placement-calendar-header {
    flex-direction: column;
  }

  .placement-calendar-schedule-table thead {
    display: none;
  }

  .placement-calendar-schedule-table,
  .placement-calendar-schedule-table tbody,
  .placement-calendar-schedule-table tr,
  .placement-calendar-schedule-table td {
    display: block;
    width: 100%;
  }

  .placement-calendar-schedule-table tr {
    margin-bottom: 15px;
  }

  .placement-calendar-schedule-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .placement-calendar-schedule-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
}

/* ============================================
         CSS Placement Policy
      ============================================ */

.placement-policy-container {
  max-width: 850px;
  margin: 20px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.placement-policy-header {
  text-align: center;
  border-bottom: 3px solid #800000;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.placement-policy-header .placement-policy-logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.placement-policy-header img {
  max-width: 110px;
  height: auto;
  transition: transform 0.3s ease;
}
.placement-policy-header img:hover {
  transform: scale(1.1);
}
.placement-policy-header .placement-policy-university-info {
  flex-grow: 1;
  padding: 0 20px;
}
.placement-policy-header .placement-policy-trust-name {
  color: #555;
  margin: 0;
  font-size: 1em;
  font-weight: normal;
}
.placement-policy-header h1 {
  color: #800000;
  margin: 10px 0;
  font-size: 2em;
  font-weight: 700;
}
.placement-policy-header p {
  font-size: 1em;
  margin: 5px 0;
  font-weight: normal;
  color: #555;
}
.placement-policy-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  color: #800000;
  text-decoration: none;
  margin-bottom: 25px;
  position: relative;
}
.placement-policy-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #800000;
  margin: 10px auto 0;
}
.placement-policy-intro {
  text-align: justify;
  margin-bottom: 25px;
  font-size: 1.1em;
  color: #444;
}
.placement-policy-section {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #fdfdfd;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.placement-policy-section:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}
.placement-policy-section h3 {
  font-weight: 700;
  text-decoration: none;
  font-size: 1.3em;
  color: #800000;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.placement-policy-section p,
.placement-policy-section .placement-policy-clause {
  margin-left: 20px;
  text-align: justify;
  font-size: 1.05em;
}
.placement-policy-clause {
  margin-bottom: 12px;
  padding-left: 15px;
  border-left: 3px solid #800000;
  transition: background-color 0.3s ease;
  padding-top: 5px;
  padding-bottom: 5px;
}
.placement-policy-clause:hover {
  background-color: #fff3f3;
}
.placement-policy-clause b {
  color: #333;
}
.placement-policy-misspelled-word {
  text-decoration: underline;
  text-decoration-color: red;
  cursor: help;
  position: relative;
}
.placement-policy-misspelled-word::after {
  content: "etiquettes";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.placement-policy-misspelled-word:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
  .placement-policy-header .placement-policy-logo-container {
    flex-direction: column;
  }
  .placement-policy-header .placement-policy-university-info {
    padding: 20px 0;
  }
  .placement-policy-header h1 {
    font-size: 1.5em;
  }
}
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  .placement-policy-container {
    padding: 20px;
  }
  .placement-policy-header h1 {
    font-size: 1.3em;
  }
  .placement-policy-title {
    font-size: 1.3em;
  }
  .placement-policy-section h3 {
    font-size: 1.2em;
  }
  .placement-policy-section p,
  .placement-policy-section .placement-policy-clause {
    font-size: 1em;
  }
}
