/* Wrapper for the shortcode output */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin: 50px 0;
}
/* Each feature item */
.feature-item {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.25s ease;
}
/* Hover effect like Elementor */
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0,0,0,0.08);
}
/* Force consistent image sizing */
.feature-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
/* Title style */
.feature-item h3 {
    font-size: 20px;
    margin: 10px 0 15px;
    font-weight: 600;
}
/* Excerpt */
.feature-item .feature-content {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}
/* Read More link */
.feature-item .read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: underline;
}

.feature-single-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
}

/* TEXT CONTENT (LEFT) */
.feature-single-content {
    flex: 1 1 60%;
    order: 1;
}

/* IMAGE (RIGHT) */
.feature-single-image {
    flex: 1 1 35%;
    order: 2;
}

.feature-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* BACK LINK FULL WIDTH */
.feature-single-back {
    flex: 0 0 100%;
    margin-top: 2rem;
}
.feature-read-more {
	display: inline-block;
  margin-top: 20px;
  background-color: var(--secondary-colour);
  color: #fff;
  padding: 10px 22px;
  font-weight: bold;
  text-decoration: none;
  transition: .25s ease;
  text-transform: uppercase;
}
/* RESPONSIVE STACKING */
@media (max-width: 768px) {
    .feature-single-wrapper {
        flex-direction: column;
    }

    .feature-single-image {
        order: 1;
    }

    .feature-single-content {
        order: 2;
    }
}
/* Responsive tweaks */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}