/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
*/

/* ==============================
   🌟 Featured Properties Layout
   ============================== */
.dev-featured-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1300px;
    margin: 80px auto;
}

.dev-featured-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.dev-featured-card:hover {
    transform: translateY(-5px);
}

/* Center single card */
.dev-featured-wrapper.single {
    justify-content: center;
}

.dev-featured-wrapper.single .dev-featured-card {
    width: calc(50% - 20px);
}

/* Inside card */
.dev-featured-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* ✅ align both image + info to the top */
    justify-content: space-between;
}

.dev-featured-image {
    flex: 1 1 55%;
    display: flex;
    align-items: flex-start; /* ✅ anchor image to the top */
    justify-content: center;
    padding: 15px;
    background: #fff;
}

.dev-featured-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.dev-featured-info {
    flex: 1 1 45%;
    padding: 0 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

/* Text styling */
.dev-featured-location a {
    color: #777;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2px; /* small gap before title */
}

.dev-featured-title {
    font-size: 30px !important;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 4px;
    color: #000;
}

.dev-featured-info:not(:has(.dev-featured-location)) .dev-featured-title {
    margin-top: 10px; /* align perfectly with image top */
}

.dev-featured-short {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
}
/* Description + button */
.dev-featured-desc {
    border-top: 1px solid #eee;
    padding: 0 30px 0;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
}

.dev-featured-btn {
    text-align: left;
    padding: 0 30px 30px;
}

/* Button style (inherits global Elementor theme) */
.dev-featured-btn .elementor-button {
    font-size: 15px;
    padding: 10px 24px;
    border-radius: 6px;
}

/* ✅ Mobile Fix: show only one card per row */
@media (max-width: 767px) {
  .dev-featured-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .dev-featured-card {
    width: 100%;
    max-width: 600px; /* keeps it centered and not too wide */
  }
}

/* ==============================
   🌟 Featured Properties css  Ends here
   ============================== */
