/* Styles for blue-menu links */
.blue-menu.menu-item > a {
    color: white !important;
    background-color: #034990 !important; /* Blue background */
    padding: 15px 20px !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    transition: background-color 0.3s ease-in-out !important;
}

.blue-menu.menu-item > a:hover, .blue-menu.menu-item > a:active {
    background-color: #033c7b !important; /* Darker blue on hover/active */
}

/* Styles for green-menu links, setting them to dark grey */
.green-menu.menu-item > a {
    color: white !important;
    background-color: #333333 !important; /* Dark grey background */
    padding: 15px 20px !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border: none !important;
    transition: background-color 0.3s ease-in-out !important;
}

.green-menu.menu-item > a:hover, .green-menu.menu-item > a:active {
    background-color: #1a1a1a !important; /* Even darker grey on hover/active */
}

/* Base styles that apply to both mobile and larger devices */
body {
    font-family: Arial, sans-serif;
}

.container {
    padding: 20px;
}

.navbar, .main-content, .footer {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
}

.nav-item, .footer-item {
    margin-bottom: 10px; /* Add space between items */
}

.img-responsive {
    width: 100%; /* Make images responsive */
    height: auto;
}

/* Media Query for Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Adjust the container for tablet screens */
    .container {
        width: auto;
        max-width: 720px; /* Optional: Limit max width for readability */
        margin: auto; /* Center the container */
    }

    /* Tablet-specific adjustments, if any */
    .navbar, .main-content, .footer {
        flex-direction: column;
    }

    .nav-item, .footer-item {
        /* Keep the margin or adjust as needed for tablet spacing */
    }

    .img-responsive {
        /* No changes needed here if images are already responsive */
    }
}

/* Optional: Media Query for Mobile Devices (if you need to override anything specifically for mobile) */
@media (max-width: 767px) {
    /* Mobile-specific styles here */
}

/* Post table styles */
.derogation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #ffffff;
	margin-top: 30px;
  margin-bottom: 30px;
}

/* HEADER */
.derogation-table th {
  background-color: #1C244B; 
  color: #ffffff;
  text-align: left;
  padding: 16px 18px;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.derogation-table th:last-child {
  border-right: none;
}

/* BODY */
.derogation-table td {
  padding: 18px;
  vertical-align: top;
  border-bottom: 1px solid #E6E8EC;
  border-right: 1px solid #E6E8EC;
}

.derogation-table td:last-child {
  border-right: none;
}

/* Ground column */
.derogation-table td:first-child {
  width: 8%;
  font-weight: 600;
  color: #1C244B;
}

/* Routing column */
.derogation-table td:nth-child(3) {
  width: 28%;
}

.row-highlight td {
  background-color: #fff8e0;
}

/* Post CTA Block */
.cta-block {
  padding: 50px 20px;
  text-align: center;
	margin-bottom: 30px;
	margin-top: 30px;
	 gap: 30px;
}

.grading-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #ffffff;
}

.grading-table th {
  background-color: #1C244B;
  color: #ffffff;
  text-align: left;
  padding: 18px;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.grading-table th:last-child {
  border-right: none;
}

.grading-table td {
  padding: 20px 18px;
  vertical-align: top;
  border-bottom: 1px solid #E6E8EC;
  border-right: 1px solid #E6E8EC;
}

.grading-table td:last-child {
  border-right: none;
}

.grading-table td:first-child {
  width: 6%;
  font-weight: 700;
  color: #1C244B;
}

.grading-table td:nth-child(2) {
  width: 18%;
  font-weight: 600;
  color: #1C244B;
}

h3.wp-block-heading{
	font-size: 24px;
	line-height: 1.5;
}
@media (max-width: 767px) {
 h3.wp-block-heading {
    font-size: 18px;
    line-height: 1.5;
  }
}
@media (max-width: 1024px) {
 h3.wp-block-heading {
    font-size: 24px;
    line-height: 1.5;
  }
}