.custom-post-slider {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.post-card-link {
    text-decoration: none;
    display: flex;
    width: 100%;
}

.post-card {
    background: #fff;
    border-radius: 0; /* Square corners like in the image */
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.post-title {
    color: #1a4a8e; /* Blue color for title as in image */
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.1;
    font-family: sans-serif;
    text-decoration: none;
}

.post-card-link:hover .post-title {
    text-decoration: none;
}

.post-excerpt {
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    font-family: sans-serif;
    margin-bottom: 20px;
}

.post-date {
    margin-top: auto;
    color: #888;
    font-size: 14px;
    font-family: sans-serif;
    font-weight: 500;
}

/* Swiper Navigation Styling */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff !important; /* White arrows as requested */
    background: transparent;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 40px;
    font-weight: bold;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.custom-post-slider-container {
    padding: 40px 60px; /* Space for arrows */
    background: transparent;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

/* Contact Form Styling */
.custom-form-container {
    max-width: 100%;
    margin: 20px 0;
    font-family: sans-serif;
}
.custom-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.custom-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.custom-form-group.full-width {
    width: 100%;
}
.custom-form-group label {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}
.custom-form-group label span.required {
    color: #ff4d4d;
    font-weight: normal;
    font-size: 14px;
    margin-left: 5px;
}
.custom-form-group input, 
.custom-form-group textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 16px;
    background-color: #fff;
}
.custom-form-group textarea {
    height: 150px;
    resize: vertical;
}
.captcha-placeholder {
    margin-bottom: 20px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    padding: 10px;
    display: inline-block;
    width: 300px;
}
.custom-form-submit {
    background-color: #E4AA10;
    color: #1a4a8e;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}
.custom-form-submit:hover {
    background-color: #c9960e;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .custom-post-slider-container {
        padding: 40px 60px;
    }
    .swiper-button-prev {
        left: 10px;
    }
    .swiper-button-next {
        right: 10px;
    }
}
