@media (width >= 64rem) {
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
}

@media (width >= 40rem) {
    .sm\:flex-row {
        flex-direction: row;
    }
}
/* Mobile & tablet (screens smaller than 64rem / 1024px) */
@media (max-width: 63.99rem) {
    .banner {
        height: 400px;
        object-fit: cover;
    }
}

/* ===== Contact Form 7 Styling ===== */

/* All form fields – make them clearly visible */
.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    border: 2px solid #e2e8f0;        /* light grey border */
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #1e293b;                   /* dark text */
}

/* Improve focus state */
.wpcf7-form input:not([type="submit"]):focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #0b4a6f;            /* your primary colour (navy) */
    box-shadow: 0 0 0 3px rgba(11, 74, 111, 0.1);
}

/* Labels – optional, but make them visible */
.wpcf7-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1e293b;
}

/* Each form group spacing */
.wpcf7-form p {
    margin-bottom: 20px;
}

/* Submit button */
.wpcf7-form input[type="submit"] {
    background: #b7a25f;               /* your primary colour (navy) */
    color: #ffffff;
    font-weight: 600;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

/* Button hover */
.wpcf7-form input[type="submit"]:hover {
    background: #083a57;               /* slightly darker */
}

/* Button active (click) */
.wpcf7-form input[type="submit"]:active {
    transform: scale(0.98);
}

/* Optional: style the error/success messages */
.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 4px;
}
.wpcf7-response-output {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
}


/* ====================================================
   INNER PAGE BANNER – works without Tailwind
   ==================================================== */

/* 1. The banner section – give it a fixed height on all screens */
.banner-section {
    position: relative;
    overflow: hidden;
    background-color: #0b4a6f;  /* navy fallback if image fails */
    height: 280px;              /* mobile default */
}

@media (min-width: 768px) {
    .banner-section {
        height: 340px;
    }
}
@media (min-width: 1024px) {
    .banner-section {
        height: 400px;
    }
}

/* 2. The image – fill the container without distortion */
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;          /* crop to fill, no white space */
    display: block;
}

/* 3. The dark overlay – sits on top of the image */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);   /* 60% black overlay – always works */
    z-index: 1;
}

/* 4. The title – centered on top of the overlay */
.banner-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #ffffff;
    font-size: 2rem;            /* mobile */
    font-weight: 700;
    text-align: center;
    padding: 0 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-top: 50px;           /* adjust if needed */
}

@media (min-width: 768px) {
    .banner-title {
        font-size: 3rem;
    }
}
@media (min-width: 1024px) {
    .banner-title {
        font-size: 3.75rem;
    }
}

  .gray  {background-color: #e9e9e9;}
  
  ul.list-disc.pl-6.space-y-1.text-base {
    list-style: circle;
    margin-left: 20px;
}

p.wp-block-paragraph {
    margin-bottom: 25px;
}

h2.wp-block-heading {
    font-size: 22px;
}

.relative.group:hover > .sub-menu {
    display: block !important;
}

#maritime-header-nav li,
#maritime-mobile-panel li,
.sub-menu li {
    list-style: none !important;
}